@sema-agent/core 7.71.1 → 7.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +500 -0
- package/dist/agents/cross-session-ref.d.ts +2 -2
- package/dist/agents/cross-session-ref.js +7 -2
- package/dist/agents/inherited-tool-pool.d.ts +30 -2
- package/dist/agents/inherited-tool-pool.js +53 -7
- package/dist/agents/parked-resume-drive.d.ts +10 -0
- package/dist/agents/parked-resume-drive.js +9 -0
- package/dist/agents/retain-ledger.d.ts +3 -0
- package/dist/agents/send-message-tool.js +7 -2
- package/dist/agents/send-user-message-tool.d.ts +12 -0
- package/dist/agents/send-user-message-tool.js +67 -0
- package/dist/agents/subagent-steps.d.ts +9 -0
- package/dist/agents/subagent-steps.js +38 -0
- package/dist/agents/subagent.d.ts +2 -0
- package/dist/agents/subagent.js +47 -12
- package/dist/agents/verify.js +23 -7
- package/dist/agents/yield-adoption.js +3 -1
- package/dist/brain/anthropic.js +14 -9
- package/dist/brain/open-responses.js +4 -5
- package/dist/brain/openai.js +30 -23
- package/dist/brain/stream-engine.js +159 -151
- package/dist/core/a2a.d.ts +24 -3
- package/dist/core/a2a.js +27 -8
- package/dist/core/actions-digest.d.ts +43 -0
- package/dist/core/actions-digest.js +22 -0
- package/dist/core/agent-state.d.ts +28 -7
- package/dist/core/agent-state.js +19 -6
- package/dist/core/allow-entry.js +3 -3
- package/dist/core/approval-object.d.ts +7 -3
- package/dist/core/approval-object.js +30 -9
- package/dist/core/auto-mode.d.ts +7 -9
- package/dist/core/auto-mode.js +114 -8
- package/dist/core/checkpoint-features.d.ts +16 -5
- package/dist/core/checkpoint-features.js +35 -6
- package/dist/core/checkpoint-rekey.d.ts +1 -1
- package/dist/core/checkpoint-rekey.js +6 -1
- package/dist/core/checkpoint-requirements.d.ts +23 -3
- package/dist/core/checkpoint-requirements.js +5 -1
- package/dist/core/checkpoint-row-verdict.d.ts +1 -1
- package/dist/core/checkpoint-row-verdict.js +10 -4
- package/dist/core/checkpoint-store.d.ts +24 -2
- package/dist/core/checkpoint-store.js +1 -0
- package/dist/core/child-clamp-seats.d.ts +15 -0
- package/dist/core/child-clamp-seats.js +15 -0
- package/dist/core/delegation-frames.d.ts +1 -0
- package/dist/core/delegation-frames.js +1 -1
- package/dist/core/effective-path-target.d.ts +19 -0
- package/dist/core/effective-path-target.js +95 -38
- package/dist/core/engine-capabilities.d.ts +5 -1
- package/dist/core/engine-capabilities.js +1 -1
- package/dist/core/engine-notice.d.ts +34 -23
- package/dist/core/engine-version.js +1 -1
- package/dist/core/entries-not-applied.d.ts +19 -7
- package/dist/core/entries-not-applied.js +33 -1
- package/dist/core/file-history-store.d.ts +15 -4
- package/dist/core/file-history-store.js +53 -23
- package/dist/core/gate-fold.js +3 -1
- package/dist/core/governance-codes.d.ts +10 -1
- package/dist/core/governance-codes.js +17 -5
- package/dist/core/hooks.d.ts +3 -0
- package/dist/core/hooks.js +1 -0
- package/dist/core/host-instance.d.ts +23 -0
- package/dist/core/host-instance.js +69 -0
- package/dist/core/instruction-preview.d.ts +63 -0
- package/dist/core/instruction-preview.js +406 -0
- package/dist/core/judged-read.d.ts +57 -0
- package/dist/core/judged-read.js +1 -0
- package/dist/core/leg-budget.d.ts +26 -0
- package/dist/core/leg-budget.js +9 -0
- package/dist/core/leg-identity.d.ts +51 -1
- package/dist/core/leg-identity.js +45 -2
- package/dist/core/manager-launch-check.d.ts +48 -0
- package/dist/core/manager-launch-check.js +64 -0
- package/dist/core/mcp-call-meta.d.ts +2 -2
- package/dist/core/mcp-host-seat.d.ts +5 -0
- package/dist/core/mcp-host-seat.js +7 -1
- package/dist/core/mcp-injection-drop.d.ts +20 -10
- package/dist/core/mcp-injection-drop.js +9 -3
- package/dist/core/mcp-server-spec.d.ts +2 -1
- package/dist/core/mcp.js +3 -1
- package/dist/core/member-outcome.d.ts +3 -2
- package/dist/core/member-outcome.js +1 -1
- package/dist/core/memory-engine/deletion-record.d.ts +46 -0
- package/dist/core/memory-engine/deletion-record.js +96 -0
- package/dist/core/memory-engine/engine.js +24 -16
- package/dist/core/memory-engine/file-backend.js +7 -5
- package/dist/core/memory-engine/index.d.ts +1 -1
- package/dist/core/memory-engine/index.js +1 -1
- package/dist/core/memory-engine/layout.js +6 -4
- package/dist/core/memory-engine/projection-ledger.d.ts +1 -1
- package/dist/core/memory-engine/projection-ledger.js +1 -1
- package/dist/core/memory-engine/scope-contract.d.ts +69 -11
- package/dist/core/memory-engine/scope-contract.js +99 -34
- package/dist/core/memory-engine/sync-client.js +26 -6
- package/dist/core/memory-engine/sync.d.ts +20 -2
- package/dist/core/memory-engine/sync.js +18 -17
- package/dist/core/mode-policy.d.ts +21 -6
- package/dist/core/mode-policy.js +15 -6
- package/dist/core/mounted-mcp.d.ts +7 -2
- package/dist/core/mounted-mcp.js +10 -1
- package/dist/core/own-property-receipt.js +11 -4
- package/dist/core/param-rule-reach.d.ts +8 -3
- package/dist/core/param-rule-reach.js +9 -1
- package/dist/core/parent-spec-seat.d.ts +13 -1
- package/dist/core/parent-spec-seat.js +18 -0
- package/dist/core/peer-registration.d.ts +52 -0
- package/dist/core/peer-registration.js +37 -0
- package/dist/core/peer-seat.d.ts +3 -1
- package/dist/core/peer-seat.js +3 -3
- package/dist/core/peer-task-store.d.ts +365 -0
- package/dist/core/peer-task-store.js +682 -0
- package/dist/core/permission-rule-consent.js +6 -11
- package/dist/core/permission-rule-model.d.ts +27 -0
- package/dist/core/permission-rule-model.js +34 -6
- package/dist/core/permission-rule-provider.d.ts +35 -33
- package/dist/core/permission-rule-provider.js +38 -295
- package/dist/core/permission-rule-store.d.ts +181 -8
- package/dist/core/permission-rule-store.js +420 -17
- package/dist/core/permission-rule-sync.js +15 -1
- package/dist/core/project-seat.d.ts +55 -0
- package/dist/core/project-seat.js +96 -0
- package/dist/core/protocol-http-auth.d.ts +3 -2
- package/dist/core/protocol-http-auth.js +26 -18
- package/dist/core/remote-env.d.ts +4 -4
- package/dist/core/retired-keys.js +1 -0
- package/dist/core/rule-offer-read.d.ts +1 -1
- package/dist/core/rule-offer-read.js +32 -4
- package/dist/core/run-ledger-seat.d.ts +66 -0
- package/dist/core/run-ledger-seat.js +70 -0
- package/dist/core/run-ledger.d.ts +332 -0
- package/dist/core/run-ledger.js +550 -0
- package/dist/core/runner/chain-mismatch.d.ts +32 -0
- package/dist/core/runner/chain-mismatch.js +29 -0
- package/dist/core/runner/changes-history.d.ts +1 -0
- package/dist/core/runner/changes-history.js +2 -2
- package/dist/core/runner/checkpoint-scope.d.ts +13 -3
- package/dist/core/runner/checkpoint-scope.js +12 -4
- package/dist/core/runner/construction-doors.js +6 -0
- package/dist/core/runner/contracts.d.ts +22 -3
- package/dist/core/runner/delegation-owner.d.ts +30 -0
- package/dist/core/runner/delegation-owner.js +20 -4
- package/dist/core/runner/file-history-restore.d.ts +3 -1
- package/dist/core/runner/file-history-restore.js +9 -6
- package/dist/core/runner/finish-reason-seat.js +4 -2
- package/dist/core/runner/leg-frame.js +3 -0
- package/dist/core/runner/loaded-skills.d.ts +2 -0
- package/dist/core/runner/loaded-skills.js +10 -0
- package/dist/core/runner/nested-memory-lane.d.ts +22 -5
- package/dist/core/runner/nested-memory-lane.js +91 -30
- package/dist/core/runner/person-path-rows.d.ts +23 -20
- package/dist/core/runner/person-path-rows.js +82 -18
- package/dist/core/runner/prepare-caps-and-workflow.d.ts +4 -0
- package/dist/core/runner/prepare-caps-and-workflow.js +105 -90
- package/dist/core/runner/prepare-config-doors.d.ts +1 -0
- package/dist/core/runner/prepare-config-doors.js +5 -3
- package/dist/core/runner/prepare-context-lane.js +1 -0
- package/dist/core/runner/prepare-delegation-surface.d.ts +3 -0
- package/dist/core/runner/prepare-delegation-surface.js +6 -0
- package/dist/core/runner/prepare-execution-env.d.ts +3 -3
- package/dist/core/runner/prepare-file-history.js +1 -1
- package/dist/core/runner/prepare-hands-readface.d.ts +10 -2
- package/dist/core/runner/prepare-hands-readface.js +36 -22
- package/dist/core/runner/prepare-inherited-gate.d.ts +8 -5
- package/dist/core/runner/prepare-inherited-gate.js +14 -6
- package/dist/core/runner/prepare-memory-engine-session.d.ts +2 -2
- package/dist/core/runner/prepare-memory-engine-session.js +2 -2
- package/dist/core/runner/prepare-memory.js +3 -15
- package/dist/core/runner/prepare-project-context.d.ts +1 -1
- package/dist/core/runner/prepare-project-context.js +3 -7
- package/dist/core/runner/prepare-protocol-tools.d.ts +5 -0
- package/dist/core/runner/prepare-protocol-tools.js +2 -2
- package/dist/core/runner/prepare-run-refs.d.ts +1 -1
- package/dist/core/runner/prepare-run-refs.js +3 -2
- package/dist/core/runner/prepare-suspend-saga.d.ts +6 -2
- package/dist/core/runner/prepare-suspend-saga.js +4 -2
- package/dist/core/runner/prepare-task.js +50 -37
- package/dist/core/runner/prepare-turn-wiring.d.ts +4 -3
- package/dist/core/runner/prepare-turn-wiring.js +2 -1
- package/dist/core/runner/prepare-wiring-manifest.d.ts +5 -1
- package/dist/core/runner/prepare-wiring-manifest.js +8 -4
- package/dist/core/runner/read-session-changes.js +1 -1
- package/dist/core/runner/resume-apply.js +11 -5
- package/dist/core/runner/resume-checkpoint-screen.d.ts +8 -7
- package/dist/core/runner/resume-checkpoint-screen.js +7 -6
- package/dist/core/runner/resume-review-outcome.d.ts +3 -0
- package/dist/core/runner/resume-review-outcome.js +24 -1
- package/dist/core/runner/rewind-files.js +3 -2
- package/dist/core/runner/run-harness-handlers.js +3 -0
- package/dist/core/runner/run-identity-wiring.js +3 -2
- package/dist/core/runner/run-leg.js +9 -2
- package/dist/core/runner/run-notification-lane.js +20 -1
- package/dist/core/runner/run-settle-and-teardown.js +21 -12
- package/dist/core/runner/run-stop-and-final-verify.js +6 -0
- package/dist/core/runner/run-telemetry-and-budget-seats.js +1 -1
- package/dist/core/runner/runtask.d.ts +6 -2
- package/dist/core/runner/runtask.js +21 -9
- package/dist/core/runner/shell-env-withheld.d.ts +3 -2
- package/dist/core/runner/shell-env-withheld.js +1 -2
- package/dist/core/runner/stop-tail-notice.d.ts +10 -2
- package/dist/core/runner/stop-tail-notice.js +9 -2
- package/dist/core/runner/stream-settle-backstop.d.ts +1 -0
- package/dist/core/runner/stream-settle-backstop.js +1 -0
- package/dist/core/runner/task-start-doors.js +6 -3
- package/dist/core/runner/terminal-account.d.ts +10 -1
- package/dist/core/runner/terminal-account.js +23 -3
- package/dist/core/runner/tool-face-overlay.d.ts +2 -11
- package/dist/core/runner/tool-face-overlay.js +39 -0
- package/dist/core/runner/trim-stretch.js +7 -2
- package/dist/core/runner/unreadable-person-rows.d.ts +2 -1
- package/dist/core/runner-deps.d.ts +13 -10
- package/dist/core/scheduler.d.ts +47 -7
- package/dist/core/scheduler.js +19 -7
- package/dist/core/secret-env.d.ts +60 -37
- package/dist/core/secret-env.js +45 -48
- package/dist/core/sensitive-path-policy.js +14 -7
- package/dist/core/session-checkout.d.ts +3 -0
- package/dist/core/session-checkout.js +1 -0
- package/dist/core/session-store.d.ts +12 -6
- package/dist/core/session-store.js +26 -6
- package/dist/core/session.d.ts +31 -8
- package/dist/core/shell-read-silence.js +1 -0
- package/dist/core/store-contracts/checkpoint-store-contract.js +17 -0
- package/dist/core/store-contracts/peer-task-store-contract.d.ts +21 -0
- package/dist/core/store-contracts/peer-task-store-contract.js +516 -0
- package/dist/core/store-contracts/session-store-contract.d.ts +15 -2
- package/dist/core/store-contracts/session-store-contract.js +87 -3
- package/dist/core/store-contracts/workflow-journal-store-contract.d.ts +19 -1
- package/dist/core/store-contracts/workflow-journal-store-contract.js +89 -1
- package/dist/core/task-event.d.ts +11 -3
- package/dist/core/task-notification.d.ts +97 -10
- package/dist/core/task-notification.js +129 -5
- package/dist/core/task-registry-shared.d.ts +12 -1
- package/dist/core/task-registry-shared.js +3 -1
- package/dist/core/task-registry-workflow.d.ts +1 -1
- package/dist/core/task-registry-workflow.js +9 -1
- package/dist/core/task-registry.d.ts +39 -2
- package/dist/core/task-registry.js +76 -12
- package/dist/core/task-result.d.ts +13 -0
- package/dist/core/task-spec-members.d.ts +3 -1
- package/dist/core/task-spec-members.js +11 -3
- package/dist/core/task-spec.d.ts +57 -23
- package/dist/core/tool-catalog-entries.js +4 -0
- package/dist/core/tool-face-reader.js +1 -1
- package/dist/core/tool-face.d.ts +7 -0
- package/dist/core/tool-face.js +1 -0
- package/dist/core/tool-mount-facts.d.ts +5 -3
- package/dist/core/tool-mount-facts.js +4 -3
- package/dist/core/tool-mount-plan.d.ts +7 -3
- package/dist/core/tool-mount-plan.js +11 -5
- package/dist/core/tool-mount-static.d.ts +2 -2
- package/dist/core/tool-mount-static.js +28 -14
- package/dist/core/tool-registry.d.ts +33 -1
- package/dist/core/tool-registry.js +33 -0
- package/dist/core/tool-result-store.d.ts +19 -2
- package/dist/core/tool-result-store.js +51 -2
- package/dist/core/tool-roster.d.ts +16 -0
- package/dist/core/tool-roster.js +6 -0
- package/dist/core/tool-spec.d.ts +13 -4
- package/dist/core/tools.d.ts +6 -0
- package/dist/core/tools.js +1 -1
- package/dist/core/user-attachment.d.ts +5 -1
- package/dist/core/user-attachment.js +14 -7
- package/dist/core/wiring-manifest.d.ts +89 -29
- package/dist/core/wiring-manifest.js +44 -4
- package/dist/core/workflow-journal-store.d.ts +53 -10
- package/dist/core/workflow-journal-store.js +27 -4
- package/dist/core/workflow-run-store-contract.js +16 -0
- package/dist/core/workflow-run-store.d.ts +9 -7
- package/dist/core/workflow-run-store.js +4 -1
- package/dist/engine/execution-env/node-execution-env.js +3 -1
- package/dist/engine/harness/messages.d.ts +1 -1
- package/dist/engine/harness/messages.js +2 -1
- package/dist/engine/harness/types.d.ts +24 -1
- package/dist/engine/harness/types.js +10 -0
- package/dist/engine/llm/types.d.ts +5 -7
- package/dist/engine/loop/types.d.ts +2 -0
- package/dist/engine/lsp/node-lsp-manager.js +2 -1
- package/dist/engine/session/import-validate.js +6 -1
- package/dist/engine/session/session.d.ts +15 -2
- package/dist/engine/session/session.js +35 -5
- package/dist/index.d.ts +27 -12
- package/dist/index.js +20 -8
- package/dist/orchestration/run-workflow-tool.js +40 -32
- package/dist/orchestration/workflow-park-adoption.d.ts +51 -12
- package/dist/orchestration/workflow-park-adoption.js +47 -12
- package/dist/orchestration/workflow-stop.d.ts +128 -0
- package/dist/orchestration/workflow-stop.js +156 -0
- package/dist/orchestration/workflow.d.ts +30 -6
- package/dist/orchestration/workflow.js +117 -54
- package/dist/prompts/manager-recipe.d.ts +18 -0
- package/dist/prompts/manager-recipe.js +24 -0
- package/dist/stores/file/adoption/marker.d.ts +2 -27
- package/dist/stores/file/adoption/marker.js +12 -0
- package/dist/stores/file/index.d.ts +1 -1
- package/dist/stores/file/index.js +1 -1
- package/dist/stores/file/permission-rule-store.d.ts +3 -1
- package/dist/stores/file/permission-rule-store.js +0 -1
- package/dist/stores/file/workflow-journal-store.d.ts +16 -3
- package/dist/stores/file/workflow-journal-store.js +93 -5
- package/dist/stores/file/workflow-run-store.d.ts +1 -1
- package/dist/tools/artifact/artifact-tool.js +11 -6
- package/dist/tools/fs/file-read-check.d.ts +45 -11
- package/dist/tools/fs/file-read-check.js +200 -57
- package/dist/tools/fs/file-write-check.js +9 -3
- package/dist/tools/fs/index.d.ts +8 -7
- package/dist/tools/fs/index.js +4 -4
- package/dist/tools/fs/judged-reads.d.ts +51 -0
- package/dist/tools/fs/judged-reads.js +68 -0
- package/dist/tools/fs/read-deny-home.d.ts +1 -1
- package/dist/tools/fs/read-deny-home.js +5 -5
- package/dist/tools/fs/read-deny.d.ts +33 -8
- package/dist/tools/fs/read-deny.js +114 -25
- package/dist/tools/fs/safety.d.ts +12 -1
- package/dist/tools/fs/safety.js +16 -3
- package/dist/tools/fs/shell-read-check.d.ts +25 -5
- package/dist/tools/fs/shell-read-check.js +100 -15
- package/dist/tools/fs/shell-read-establish.d.ts +9 -0
- package/dist/tools/fs/shell-read-establish.js +34 -14
- package/dist/tools/fs/shell-read-judge.d.ts +13 -1
- package/dist/tools/fs/shell-read-judge.js +26 -7
- package/dist/tools/fs/shell-read-plan.d.ts +5 -0
- package/dist/tools/fs/shell-read-write-targets.js +17 -9
- package/dist/tools/scheduler-store-move.d.ts +74 -0
- package/dist/tools/scheduler-store-move.js +103 -0
- package/dist/tools/scheduler-tools.d.ts +43 -29
- package/dist/tools/scheduler-tools.js +161 -118
- package/package.json +2 -2
- package/test/export-surface.snapshot.json +173 -3
- package/wire-changes/answers/core-stores-sql@7.72.0.json +12 -0
- package/wire-changes/answers/core-stores-sql@7.73.0.json +28 -0
- package/wire-changes/answers/core@7.72.0.json +84 -0
- package/wire-changes/answers/core@7.73.0.json +216 -0
- package/wire-changes/answers/mods-kernel@7.72.0.json +7 -0
- package/wire-changes/answers/mods-kernel@7.73.0.json +7 -0
- package/wire-changes/answers/primitives@7.72.0.json +6 -0
- package/wire-changes/answers/primitives@7.73.0.json +12 -0
- package/wire-changes/answers/wiki-gate@7.72.0.json +7 -0
- package/wire-changes/answers/wiki-gate@7.73.0.json +7 -0
- package/wire-changes/core-stores-sql@7.72.0.json +215 -0
- package/wire-changes/core-stores-sql@7.73.0.json +326 -0
- package/wire-changes/core@7.72.0.json +2426 -0
- package/wire-changes/core@7.73.0.json +6480 -0
- package/wire-changes/mods-kernel@7.72.0.json +147 -0
- package/wire-changes/mods-kernel@7.73.0.json +147 -0
- package/wire-changes/primitives@7.72.0.json +143 -0
- package/wire-changes/primitives@7.73.0.json +227 -0
- package/wire-changes/wiki-gate@7.72.0.json +145 -0
- package/wire-changes/wiki-gate@7.73.0.json +145 -0
|
@@ -57,7 +57,7 @@ export interface EngineNotice {
|
|
|
57
57
|
* `tool_end.structured`; once per leg per type; `detail: { type, sessionId, runId }`.
|
|
58
58
|
* - `"config.tool_face_undeclared"` / `"config.tool_face_invalid"` (design/388 §2.7) — an MCP server's
|
|
59
59
|
* `toolFaces` overlay names a tool the listing does not carry / does not fit the tool's materialized
|
|
60
|
-
* schema (the tool
|
|
60
|
+
* schema (the tool is not mounted until the overlay fits); once per leg per tool; `detail: { server, tool, problem?, sessionId, runId }`.
|
|
61
61
|
* - `"agents.listing_truncated"` — the agent-type roster frame did not fit the same listing budget:
|
|
62
62
|
* at least one type is listed name-only (`nameOnly`) or not at all (`dropped`). Audience `operator`.
|
|
63
63
|
* `detail: { budgetBytes, total, kept, nameOnly: [name], dropped: [name], sessionId }`; the same
|
|
@@ -112,13 +112,13 @@ export interface EngineNotice {
|
|
|
112
112
|
* A run whose deployment turned the listing off (`attachments.skillsListing: false`) emits nothing,
|
|
113
113
|
* since nothing is rendered. There is NO dedup key: each notice is one delivered frame`s cost, and
|
|
114
114
|
* a frame is delivered (and committed) once.
|
|
115
|
-
* - `"tool_result.offload_put_failed"` (#167) — a clear-with-offload
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* occurrenceId
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
115
|
+
* - `"tool_result.offload_put_failed"` (#167) — a clear-with-offload put failed: THIS attempt stored nothing and nothing is
|
|
116
|
+
* re-inserted under the ref (an earlier attempt of the same idempotent re-put may have stored the row: a failed write, not an
|
|
117
|
+
* empty ref); `detail: { ref, sessionId, cause, occurrenceId }`, per occurrence (`ref` names the row, not the attempt), dedup
|
|
118
|
+
* key (code, occurrenceId). The session's own entry with no identity recorded is told ONCE PER SESSION instead (its own sentence).
|
|
119
|
+
* - `"tool_result.offload_put_unsettled"` — a request stopped waiting for those puts at `OFFLOAD_PUT_WAIT_BOUND_MS` (10 000 ms)
|
|
120
|
+
* and went out: none had settled, not "failed" — each runs on (lands ⇒ reads back; fails ⇒ `tool_result.offload_put_failed`)
|
|
121
|
+
* and no later request waits for it; once per batch, `detail: { refs, sessionId, boundMs, occurrenceId }`; a cut tells nothing.
|
|
122
122
|
* - `"tool_result.media_refused"` — an executed call's result carried media blocks (an image or a document, from
|
|
123
123
|
* an MCP server, a host tool, an engine tool or a `tool_result` hook's replacement) whose bytes the tool-result
|
|
124
124
|
* seat's admission refused: not a base64 payload, a media type outside the closed set, over the cap, bytes
|
|
@@ -589,8 +589,8 @@ export interface EngineNotice {
|
|
|
589
589
|
* output — a later ending, an error, a frame that only closes or opens a message (attention `inform`); the next code is the other.
|
|
590
590
|
* - `"route.stream_content_dropped"` (7.70.0) — among the frames refused after the end, at least one carried the model's
|
|
591
591
|
* output (text, reasoning, a refusal, a tool call, or a block that opens one: `streamEndIgnored.contentDropped`), which the
|
|
592
|
-
* turn does not have. ONCE PER LEG PER word. Audience `user`, attention `act`; `detail: { word, frames, sessionId, runId }` —
|
|
593
|
-
* `word` the first such frame's kind, `frames` how many frames came after the end in all.
|
|
592
|
+
* turn does not have. ONCE PER LEG PER word. Audience `user`, attention `act`; `detail: { word, ending?, frames, sessionId, runId }` —
|
|
593
|
+
* `word` the first such frame's kind, `ending` present iff the first late frame was itself an ending frame (`content_filter`, `length`, …), `frames` how many frames came after the end in all.
|
|
594
594
|
* - `"route.extra_body_reserved_dropped"` (#1520) — a request's `Model.extraBody` carried keys the wire adapter
|
|
595
595
|
* sets itself (`temperature`, `max_tokens`, `stop`, the thinking-enable keys, `messages`, `tools`, …), so the
|
|
596
596
|
* adapter stripped them and the request went out with the engine's value (or without the key); core wins, and
|
|
@@ -896,23 +896,23 @@ export interface EngineNotice {
|
|
|
896
896
|
* could not be read —, a server's name, a model word) and the kind's own members; `count` all of them; `identity` an opaque digest of
|
|
897
897
|
* the whole set (equal for the same set). Audience `user`, attention `act`. The kinds:
|
|
898
898
|
* · `stored_rule_row` — the person's store served rows that take no part in this run's checks (a foreign writer's or a hand
|
|
899
|
-
* edit's, in practice):
|
|
900
|
-
*
|
|
901
|
-
*
|
|
902
|
-
*
|
|
903
|
-
*
|
|
904
|
-
*
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
*
|
|
908
|
-
*
|
|
899
|
+
* edit's, in practice): project-scoped rows whose scope root is not a complete absolute path — a deny or ask row among them
|
|
900
|
+
* protects nothing — and allow rows whose text is not the canonical spelling of their stored fields, or a member of which
|
|
901
|
+
* could not be read as the type it holds (they allow nothing), until rewritten or removed; and rows of either personal
|
|
902
|
+
* partition a member of which could not be read (`EffectivePermissionRules.unreadableRows`: a deny/ask whose tool, match and
|
|
903
|
+
* path read, or whose text says them, applies as written; one neither of whose spellings reads — or an entry whose behavior
|
|
904
|
+
* word could not be read — stands at its strictest reading so no allow clears a call it may reach). Once per run, by whichever
|
|
905
|
+
* read met them first; one sentence per cause present. Each entry: `reason` (`scope_root_not_absolute` / `invalid_rule_text`
|
|
906
|
+
* / `metadata_mismatch`), `scopeRoot?` (scope rows only, neutralized and bounded), `member?` (the first member that could not
|
|
907
|
+
* be read), `behavior?` (a deny or ask row whose behavior word read), `element?` (host-supplied views only: `{ partition,
|
|
908
|
+
* index, read }`). Left-out rows first. Routing `sessionId`, `runId`.
|
|
909
909
|
* · `rule_text_unreadable` — a leg's own tool policy left out rules a person's settings layer (`user` / `project`) wrote whose
|
|
910
910
|
* text the compiler cannot read (`ToolPolicy.skippedRules`); a deny or ask rule among them is NOT in force, each in its own
|
|
911
911
|
* clause. At prepare on every leg, for rules no ancestor of its delegation chain holds; once per session per set. Each entry:
|
|
912
912
|
* `reason` (the issue code), `behavior`, `layer`. Routing: the leg notice's (`sessionId`, `sourceSessionId?`, `agentId?`), `runId`.
|
|
913
|
-
* · `mcp_injection_dropped` — an
|
|
914
|
-
*
|
|
915
|
-
*
|
|
913
|
+
* · `mcp_injection_dropped` — an MCP server declaration was NOT mounted (request-lane drop at host intake, or agent-definition
|
|
914
|
+
* entry shadowed at spawn; minted through `mcpInjectionDroppedNotice`). One entry: `entry` (server name), `reason`
|
|
915
|
+
* (`MCP_INJECTION_DROP_REASONS`), `field?`, `agent?`. Routing `sessionId` (required at the mint; root session for agent drops).
|
|
916
916
|
* · `model_word_unknown` — a role seat (other than `default` and `classifier`) names a model word the catalog does not hold, or a
|
|
917
917
|
* tier the deployment's tiers leave absent, so the seat is read as an unset one and the run goes on. Once per SESSION per
|
|
918
918
|
* (seat, word, cause), root legs only. One entry: `entry` the word (bounded), `seat`, `role`, `reason` (`unknown_model_ref` /
|
|
@@ -1169,6 +1169,14 @@ export interface EngineNotice {
|
|
|
1169
1169
|
* the sentence names each task with what the run's end does to it. A stop that lands on the run's tail after this cut no wait:
|
|
1170
1170
|
* its `task.interrupt_unconsumed` carries `waitedFor: []`. Audience `"user"`, attention `act` (the result carries nothing from them).
|
|
1171
1171
|
*
|
|
1172
|
+
* - `"task.manager_launch_narrowed"` — a run that declares a member ledger (`TaskSpec.runLedger`) took its launch check
|
|
1173
|
+
* (`managerLaunchCheck`) at prepare and starts narrowed: something it needs for part of its job is missing (read hands, the
|
|
1174
|
+
* worker-record tool, isolated checks, an approval route for its workers' writes, the task list). Once per prepared leg:
|
|
1175
|
+
* `detail: { sessionId, runId, taskId?, launch }`, `launch` the check (`{ verdict, items: [{ item, state, means? }] }`); the
|
|
1176
|
+
* sentence names each missing item and what it means. An item that could not be read is `unknown` and narrows nothing. A check
|
|
1177
|
+
* whose missing item refuses (no background delegation lane, no report tool) refuses the run instead (`config.invalid_argument`,
|
|
1178
|
+
* `detail.reason: "run_ledger_unready"`). Audience `"user"`, attention `act`.
|
|
1179
|
+
*
|
|
1172
1180
|
* - `"approval.read_root_granted"` / `"approval.read_root_grant_rejected"` — an approver's `readRootGrant`
|
|
1173
1181
|
* (`AskOutcome`, with its `readRootGrantLasts`). GRANTED: it equalled the card's `readRootCandidate.dir` beside
|
|
1174
1182
|
* `allow: true`; the READ directories now include it (never the write roots), for `detail.lasts`: `"session"` — a
|
|
@@ -1452,6 +1460,9 @@ export interface EngineNotice {
|
|
|
1452
1460
|
* seat is inert for the run (no ListAgents, peer addresses refuse with the same reason). Once per
|
|
1453
1461
|
* prepared leg; `detail: { reason, code, mailboxWired, sessionId, runId }`. Audience `"operator"`
|
|
1454
1462
|
* (a wiring fact; the fix is the deployment's).
|
|
1463
|
+
* - `"config.scheduler_store_unmoved"` — the env's scheduler backend declares `supported: true` but not
|
|
1464
|
+
* `schedulerCapabilities.scopeKeys: "lane"`: no scheduler tool mounts. Once per declared value per sink;
|
|
1465
|
+
* `detail: { declared }`. Audience `"operator"`.
|
|
1455
1466
|
* - `"peer.inbound_disposition"` (design/385 §1.2④ / §4.6 / §4.4) — a message parked in THIS
|
|
1456
1467
|
* session's own box was settled at the drain WITHOUT reaching the model. `detail.disposition` is
|
|
1457
1468
|
* the arm (closed set `PeerInboundDisposition`): `"refused"` (this session's `crossSessionInbound`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const ENGINE_VERSION = "7.
|
|
1
|
+
export const ENGINE_VERSION = "7.73.0";
|
|
@@ -13,10 +13,22 @@ export type EntryNotApplied = {
|
|
|
13
13
|
} & {
|
|
14
14
|
readonly [key: string]: EntryMember;
|
|
15
15
|
};
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
/** Detail shape minted by {@link entriesNotAppliedDetail}. `entries` lists at most {@link ENTRIES_NOT_APPLIED_SHOWN} entries
|
|
17
|
+
* ordered severest-first ({@link orderEntriesBySeverity}); `count` counts all entries; `identity` digests the full set. */
|
|
18
|
+
export interface EntriesNotAppliedDetail {
|
|
19
|
+
readonly kind: EntriesNotAppliedKind;
|
|
20
|
+
readonly entries: EntryNotApplied[];
|
|
21
|
+
readonly count: number;
|
|
22
|
+
readonly identity: string;
|
|
23
|
+
/** Per-reason totals across the full entry set. Present iff the list was cut (`count > ENTRIES_NOT_APPLIED_SHOWN`) and at least one entry carries a string `reason`. */
|
|
24
|
+
readonly reasonCounts?: Readonly<Record<string, number>>;
|
|
25
|
+
}
|
|
26
|
+
/** Stable severest-first ordering shared by {@link entriesNotAppliedDetail} and message renderers so the sentence and
|
|
27
|
+
* `detail.entries` surface the same high-severity entries when a list is cut. */
|
|
28
|
+
export declare function orderEntriesBySeverity<T extends {
|
|
29
|
+
readonly entry?: unknown;
|
|
30
|
+
readonly reason?: unknown;
|
|
31
|
+
readonly behavior?: unknown;
|
|
32
|
+
}>(all: readonly T[]): T[];
|
|
33
|
+
/** The `kind`, `entries`, `count`, `identity` (and cut-only `reasonCounts`) members of one frame over every entry of the kind. */
|
|
34
|
+
export declare function entriesNotAppliedDetail(kind: EntriesNotAppliedKind, all: readonly EntryNotApplied[]): EntriesNotAppliedDetail;
|
|
@@ -17,11 +17,43 @@ function canonical(v) {
|
|
|
17
17
|
return `{${Object.keys(v).sort().map((k) => `${JSON.stringify(k)}:${canonical(v[k])}`).join(",")}}`;
|
|
18
18
|
return JSON.stringify(v) ?? "null";
|
|
19
19
|
}
|
|
20
|
+
function entrySeverityRank(e) {
|
|
21
|
+
if (e.reason === "wildcard_all" && e.entry === "*")
|
|
22
|
+
return 0;
|
|
23
|
+
if (e.reason === "wildcard_all" || e.reason === "namespace_wildcard" || e.reason === "wildcard_tool")
|
|
24
|
+
return 1;
|
|
25
|
+
if (e.behavior === "deny")
|
|
26
|
+
return 2;
|
|
27
|
+
if (e.behavior === "ask")
|
|
28
|
+
return 3;
|
|
29
|
+
return 4;
|
|
30
|
+
}
|
|
31
|
+
export function orderEntriesBySeverity(all) {
|
|
32
|
+
return all
|
|
33
|
+
.map((item, index) => ({ item, index, rank: entrySeverityRank(item) }))
|
|
34
|
+
.sort((a, b) => a.rank - b.rank || a.index - b.index)
|
|
35
|
+
.map((x) => x.item);
|
|
36
|
+
}
|
|
20
37
|
export function entriesNotAppliedDetail(kind, all) {
|
|
38
|
+
const ordered = orderEntriesBySeverity(all);
|
|
39
|
+
let reasonCounts;
|
|
40
|
+
if (all.length > ENTRIES_NOT_APPLIED_SHOWN) {
|
|
41
|
+
const counts = {};
|
|
42
|
+
let hasReason = false;
|
|
43
|
+
for (const e of all) {
|
|
44
|
+
if (typeof e.reason === "string") {
|
|
45
|
+
counts[e.reason] = (counts[e.reason] ?? 0) + 1;
|
|
46
|
+
hasReason = true;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if (hasReason)
|
|
50
|
+
reasonCounts = counts;
|
|
51
|
+
}
|
|
21
52
|
return {
|
|
22
53
|
kind,
|
|
23
|
-
entries:
|
|
54
|
+
entries: ordered.slice(0, ENTRIES_NOT_APPLIED_SHOWN).map((e) => ({ ...e })),
|
|
24
55
|
count: all.length,
|
|
25
56
|
identity: announceDigest(`config.entries_not_applied:${kind}`, all.map(canonical).sort().join("\n")),
|
|
57
|
+
...(reasonCounts !== undefined ? { reasonCounts } : {}),
|
|
26
58
|
};
|
|
27
59
|
}
|
|
@@ -65,7 +65,10 @@ export type FileHistoryRefusalClass = (typeof FILE_HISTORY_REFUSAL_CLASSES)[numb
|
|
|
65
65
|
* handed (the session's earlier leg worked there, or this fork's source did; that directory may since have been deleted), and
|
|
66
66
|
* the file there no longer holds it: this rewind neither writes nor deletes it there nor at its own root ({@link
|
|
67
67
|
* applyFileRestoreViaEnv}); a rewind handed the root it was recorded under (its old root: `place` with its key's directory
|
|
68
|
-
* segments taken off) restores it.
|
|
68
|
+
* segments taken off) restores it. Also, when the session being rewound is a fork (its row carries `forkedFrom` other than its
|
|
69
|
+
* own id), every file whose real path lies outside the rewind's root is left as it is under this class — neither written,
|
|
70
|
+
* deleted nor re-moded — whether inherited from its source or edited by the fork itself, so a person can restore it by hand or
|
|
71
|
+
* from the source session. Its `place` is the file's own directory.
|
|
69
72
|
* A row is listed only when the restore moved nothing in what it speaks for — a `recorded_outside_root` row the part of its old
|
|
70
73
|
* root outside the rewind's own root (no file there is written, deleted or re-moded by the same restore, under any key), a
|
|
71
74
|
* `frozen_history` row its file, which no key of the same restore writes, deletes or re-modes (another key that would is held
|
|
@@ -1530,9 +1533,10 @@ export type RestoreHolds = ReadonlyMap<string, {
|
|
|
1530
1533
|
readonly frozenKeys: readonly string[];
|
|
1531
1534
|
}>;
|
|
1532
1535
|
/** A view of `env` that performs every call and records the mutations a restore made through it; it holds the files `holds` names
|
|
1533
|
-
* (a plan's, {@link FileHistoryRestorePlan.holds})
|
|
1534
|
-
* {@link FileHistoryRestorePlan.states}),
|
|
1535
|
-
|
|
1536
|
+
* (a plan's, {@link FileHistoryRestorePlan.holds}), refuses a file the plan read otherwise (`planned`, its
|
|
1537
|
+
* {@link FileHistoryRestorePlan.states}), and when `leaveOutsideRoot` is given (a forked session's rewind root) leaves every file
|
|
1538
|
+
* outside that root as it is and refuses unplaced mutations. */
|
|
1539
|
+
export declare function witnessEnvOf(env: ExecutionEnv, holds?: RestoreHolds, planned?: ReadonlyMap<string, string>, leaveOutsideRoot?: string): {
|
|
1536
1540
|
env: ExecutionEnv;
|
|
1537
1541
|
} & RestoreSeen;
|
|
1538
1542
|
/** A restore as the engine answers it: its rows, each stating `outsideRoot`. */
|
|
@@ -1582,6 +1586,9 @@ export interface FileHistoryRestorePlan {
|
|
|
1582
1586
|
* not read (the store converged a file another way, or through an env it wrapped): which file such a write lands on cannot be
|
|
1583
1587
|
* told, so it cannot be held — a seat refuses the whole restore before any file moves. Absent otherwise. */
|
|
1584
1588
|
readonly unheld?: readonly string[];
|
|
1589
|
+
/** True when the plan is for a forked session (`forkedSession`) and asked a mutation whose real path the shared restore half did
|
|
1590
|
+
* not read: where such a write lands cannot be told, so a seat refuses the whole restore before any file moves. Absent otherwise. */
|
|
1591
|
+
readonly unplacedForFork?: true;
|
|
1585
1592
|
/** The plan's mutations one by one, in the order the restore asked them, with what the preview's arithmetic read of each: a
|
|
1586
1593
|
* write's or a delete's current file (`current`: {@link FileHistoryPlannedCurrent}, `undefined` when it could not be read — no
|
|
1587
1594
|
* lines then) and its lines (current → target; `diffStats`' `insertions` / `deletions` are their sums); a change of mode alone
|
|
@@ -1631,6 +1638,10 @@ export declare function planFileHistoryRestore(store: Pick<FileHistoryStore, "re
|
|
|
1631
1638
|
signal?: AbortSignal;
|
|
1632
1639
|
/** The rewind's options as the request states them: the word {@link UNPLACED_AT_REWIND_ROOT} is read as `root` here ({@link restoreOptionsAt}). */
|
|
1633
1640
|
options?: FileHistoryRestoreOptions;
|
|
1641
|
+
/** Whether the session being rewound has a provenance (its row carries `forkedFrom`, other than its own id): when `true`, a
|
|
1642
|
+
* rewind neither writes, deletes nor re-modes any file whose real path lies outside `root` — each such file is left as it is
|
|
1643
|
+
* (`leftAsIs`, class `recorded_outside_root`) and an unplaced mutation is refused. Absent = `false`. */
|
|
1644
|
+
forkedSession?: boolean;
|
|
1634
1645
|
/** Called once for each planned write (with the bytes it would write) or delete (`target` null) whose current file the arithmetic
|
|
1635
1646
|
* read (`current` null: none there), in the order the restore asked them, while the plan holds those bytes — it keeps none after. */
|
|
1636
1647
|
readCurrent?: (at: string, current: Uint8Array | null, target: Uint8Array | null) => void;
|
|
@@ -550,8 +550,10 @@ export async function applyFileRestoreViaEnv(env, absPath, target, opts) {
|
|
|
550
550
|
return { outcome: "left", left: guard.left };
|
|
551
551
|
if ("convergedAtItsPlace" in guard)
|
|
552
552
|
return { outcome: "identical" };
|
|
553
|
-
const
|
|
554
|
-
|
|
553
|
+
const verdict = await noteRealPath(env, absPath, joinUnder(guard.place, lastSegmentOf(absPath)), signal);
|
|
554
|
+
if (signal?.aborted)
|
|
555
|
+
return { outcome: "failed", reason: "aborted" };
|
|
556
|
+
const decline = (action, v) => v.kind === "left" ? { outcome: "left", left: v.left } : { outcome: "refused", reason: v.claim(), class: "link_safety", action };
|
|
555
557
|
const cur = await env.readBinaryFile(absPath, signal);
|
|
556
558
|
const curAbsent = !cur.ok && isAbsence(cur.error.code);
|
|
557
559
|
const curHash = cur.ok ? createHash("sha256").update(cur.value).digest("hex") : undefined;
|
|
@@ -560,8 +562,8 @@ export async function applyFileRestoreViaEnv(env, absPath, target, opts) {
|
|
|
560
562
|
if ("absent" in target) {
|
|
561
563
|
if (curAbsent)
|
|
562
564
|
return { outcome: "identical" };
|
|
563
|
-
if (
|
|
564
|
-
return
|
|
565
|
+
if (verdict !== undefined)
|
|
566
|
+
return decline("delete", verdict);
|
|
565
567
|
if (unplanned)
|
|
566
568
|
return refuseUnplanned("delete");
|
|
567
569
|
const rm = await env.remove(absPath, { force: true, ...(signal !== undefined ? { abortSignal: signal } : {}) });
|
|
@@ -570,9 +572,9 @@ export async function applyFileRestoreViaEnv(env, absPath, target, opts) {
|
|
|
570
572
|
return { outcome: "applied" };
|
|
571
573
|
}
|
|
572
574
|
if (curHash !== undefined && curHash === target.hash) {
|
|
573
|
-
const modeOnly = await applyRecordedMode(env, absPath, opts, guard.currentMode,
|
|
575
|
+
const modeOnly = await applyRecordedMode(env, absPath, opts, guard.currentMode, verdict !== undefined || unplanned);
|
|
574
576
|
if (modeOnly === "held")
|
|
575
|
-
return
|
|
577
|
+
return verdict !== undefined ? decline("write", verdict) : refuseUnplanned("write");
|
|
576
578
|
if (modeOnly === "unchanged")
|
|
577
579
|
return { outcome: "identical" };
|
|
578
580
|
if (modeOnly === "applied")
|
|
@@ -581,8 +583,8 @@ export async function applyFileRestoreViaEnv(env, absPath, target, opts) {
|
|
|
581
583
|
return { outcome: "applied", modeNotPreserved: true };
|
|
582
584
|
return { outcome: "identical", modeNotPreserved: true };
|
|
583
585
|
}
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
586
|
+
if (verdict !== undefined)
|
|
587
|
+
return decline("write", verdict);
|
|
586
588
|
if (unplanned)
|
|
587
589
|
return refuseUnplanned("write");
|
|
588
590
|
const w = await writeRestoredBytes(env, absPath, target.bytes, signal);
|
|
@@ -1365,13 +1367,15 @@ function holdsOf(leftAsIs, targetOf) {
|
|
|
1365
1367
|
function heldWriteReason(file, frozenKeys) {
|
|
1366
1368
|
return `not restored: this file (${file}) also has a history an earlier version recorded through a link (${frozenKeys.join(", ")}: frozen), and a rewind writes or deletes such a file under no key — the version this key holds may not be this turn's; neither key wrote or deleted it, so it stays as it is; restore it by hand if it must be`;
|
|
1367
1369
|
}
|
|
1370
|
+
const FORK_OUTSIDE_ROOT_LEFT_REASON = "this session was forked from another, and a fork's rewind leaves every file outside its root as it is — neither written nor deleted — it is listed here so you can restore it by hand or from the source session";
|
|
1371
|
+
const FORK_ROOT_UNREADABLE_REASON = "not restored: this session was forked from another, and the rewind root's real path could not be read, so whether this file lies inside the fork's root cannot be told — it was neither written nor deleted; to restore it, check that the rewind root still exists and can be reached, then rewind again — or restore the file by hand";
|
|
1368
1372
|
const REAL_PATH_SEAT = Symbol("file-history restore: the real path of a mutation");
|
|
1369
|
-
function noteRealPath(env, at, real) {
|
|
1373
|
+
async function noteRealPath(env, at, real, signal) {
|
|
1370
1374
|
const seat = Reflect.get(env, REAL_PATH_SEAT);
|
|
1371
1375
|
if (typeof seat !== "function")
|
|
1372
1376
|
return undefined;
|
|
1373
|
-
const
|
|
1374
|
-
return typeof
|
|
1377
|
+
const verdict = await Reflect.apply(seat, undefined, [at, real, signal]);
|
|
1378
|
+
return verdict !== null && typeof verdict === "object" && "kind" in verdict ? verdict : undefined;
|
|
1375
1379
|
}
|
|
1376
1380
|
const PLANNED_STATE_SEAT = Symbol("file-history restore: the state a plan read");
|
|
1377
1381
|
function notePlannedState(env, at, state) {
|
|
@@ -1381,13 +1385,15 @@ function notePlannedState(env, at, state) {
|
|
|
1381
1385
|
const CHANGED_SINCE_PLAN_REASON = "not restored: this file is not as the rewind's plan read it a moment before (another writer changed or removed it in between, or the version to restore is another), so it was neither written nor deleted — what is there now stays; rewind again (a preview first) to restore it as it now stands";
|
|
1382
1386
|
const PLAN_READS = new Set(["absolutePath", "joinPath", "readTextFile", "readTextLines", "readBinaryFile", "fileInfo", "listDir", "canonicalPath", "readLink", "canonicalChain", "fileIdentity", "openBound", "exists"]);
|
|
1383
1387
|
const PLAN_MUTATIONS = { writeFile: "write", writeFileGuarded: "write", writeFileExclusive: "write", appendFile: "write", remove: "delete", setFileMode: "mode", createDir: "none" };
|
|
1384
|
-
function envViewOf(env, perform, holds, planned) {
|
|
1388
|
+
function envViewOf(env, perform, holds, planned, leaveOutsideRoot) {
|
|
1385
1389
|
const mutations = [];
|
|
1386
1390
|
const held = [];
|
|
1387
1391
|
const reals = new Map();
|
|
1388
1392
|
const asked = { issued: 0, done: 0 };
|
|
1389
1393
|
const states = new Map();
|
|
1390
1394
|
const occurrences = new Map();
|
|
1395
|
+
let rootRealPromise;
|
|
1396
|
+
const realRoot = (signal) => (rootRealPromise ??= placeOfDirViaEnv(env, leaveOutsideRoot, signal));
|
|
1391
1397
|
const view = new Proxy(env, {
|
|
1392
1398
|
get(target, prop, receiver) {
|
|
1393
1399
|
if (prop === PLANNED_STATE_SEAT) {
|
|
@@ -1408,15 +1414,29 @@ function envViewOf(env, perform, holds, planned) {
|
|
|
1408
1414
|
};
|
|
1409
1415
|
}
|
|
1410
1416
|
if (prop === REAL_PATH_SEAT) {
|
|
1411
|
-
return (at, real) => {
|
|
1417
|
+
return async (at, real, signal) => {
|
|
1418
|
+
if (leaveOutsideRoot !== undefined) {
|
|
1419
|
+
if (signal?.aborted)
|
|
1420
|
+
return undefined;
|
|
1421
|
+
const rootReal = await realRoot(signal);
|
|
1422
|
+
if (rootReal === undefined)
|
|
1423
|
+
return { kind: "refuse", claim: () => FORK_ROOT_UNREADABLE_REASON };
|
|
1424
|
+
const place = parentDirOf(real) ?? real;
|
|
1425
|
+
if (outsideRootOf(rootReal, place)) {
|
|
1426
|
+
return { kind: "left", left: { class: "recorded_outside_root", place, reason: FORK_OUTSIDE_ROOT_LEFT_REASON } };
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1412
1429
|
const hold = holds?.get(foldedFile(real));
|
|
1413
1430
|
if (hold === undefined) {
|
|
1414
1431
|
reals.set(at, real);
|
|
1415
1432
|
return undefined;
|
|
1416
1433
|
}
|
|
1417
|
-
return
|
|
1418
|
-
|
|
1419
|
-
|
|
1434
|
+
return {
|
|
1435
|
+
kind: "refuse",
|
|
1436
|
+
claim: () => {
|
|
1437
|
+
held.push({ at, real, file: hold.file });
|
|
1438
|
+
return heldWriteReason(hold.file, hold.frozenKeys);
|
|
1439
|
+
},
|
|
1420
1440
|
};
|
|
1421
1441
|
};
|
|
1422
1442
|
}
|
|
@@ -1438,8 +1458,14 @@ function envViewOf(env, perform, holds, planned) {
|
|
|
1438
1458
|
note();
|
|
1439
1459
|
return Promise.resolve({ ok: true, value: undefined });
|
|
1440
1460
|
}
|
|
1441
|
-
|
|
1442
|
-
|
|
1461
|
+
const hasHolds = holds !== undefined && holds.size > 0;
|
|
1462
|
+
if (kind !== "none" && (leaveOutsideRoot !== undefined || hasHolds) && typeof at === "string" && !reals.has(at)) {
|
|
1463
|
+
const why = hasHolds && leaveOutsideRoot !== undefined
|
|
1464
|
+
? "belongs to a forked session (leaving every file outside its root as it is) and holds files a frozen history names"
|
|
1465
|
+
: hasHolds
|
|
1466
|
+
? "holds files a frozen history names"
|
|
1467
|
+
: "belongs to a forked session and leaves every file outside its root as it is";
|
|
1468
|
+
return Promise.resolve({ ok: false, error: { code: "precondition_failed", message: `a rewind that ${why} performs no write it cannot place, and this one (${at}) did not state where it lands` } });
|
|
1443
1469
|
}
|
|
1444
1470
|
asked.issued++;
|
|
1445
1471
|
return Promise.resolve(fn.apply(target, args)).then((r) => {
|
|
@@ -1467,8 +1493,8 @@ function envViewOf(env, perform, holds, planned) {
|
|
|
1467
1493
|
});
|
|
1468
1494
|
return { env: view, mutations, held, told: reals, asked, states };
|
|
1469
1495
|
}
|
|
1470
|
-
export function witnessEnvOf(env, holds, planned) {
|
|
1471
|
-
return envViewOf(env, true, holds, planned);
|
|
1496
|
+
export function witnessEnvOf(env, holds, planned, leaveOutsideRoot) {
|
|
1497
|
+
return envViewOf(env, true, holds, planned, leaveOutsideRoot);
|
|
1472
1498
|
}
|
|
1473
1499
|
function oldRootOf(place, key) {
|
|
1474
1500
|
const dirs = relativeInEveryFamily(key) ? key.split("/").length - 1 : 0;
|
|
@@ -1568,15 +1594,18 @@ export function withRewindFiles(storeAnswer, seen, root) {
|
|
|
1568
1594
|
}
|
|
1569
1595
|
export async function planFileHistoryRestore(store, input) {
|
|
1570
1596
|
const options = restoreOptionsAt(input.options, input.root);
|
|
1597
|
+
const leaveOutsideRoot = input.forkedSession === true ? input.root : undefined;
|
|
1571
1598
|
const pass = async (holds) => {
|
|
1572
|
-
const planning = envViewOf(input.env, false, holds);
|
|
1599
|
+
const planning = envViewOf(input.env, false, holds, undefined, leaveOutsideRoot);
|
|
1573
1600
|
const restored = await store.restore(input.scope, input.entryId, planning.env, input.root, input.signal, options);
|
|
1574
1601
|
return { planning, stored: restored, answered: withRewindFiles(restored, planning, input.root) };
|
|
1575
1602
|
};
|
|
1576
1603
|
const first = await pass(undefined);
|
|
1577
1604
|
const holds = holdsOf(first.stored.leftAsIs ?? [], rewindTargetOf(input.root));
|
|
1578
|
-
const
|
|
1579
|
-
const
|
|
1605
|
+
const hasUnplaced = first.planning.mutations.some((m) => m.real === undefined);
|
|
1606
|
+
const unread = holds.size > 0 && hasUnplaced;
|
|
1607
|
+
const unplacedForFork = leaveOutsideRoot !== undefined && hasUnplaced;
|
|
1608
|
+
const reaches = !unread && !unplacedForFork && first.planning.mutations.some((m) => m.real !== undefined && holds.has(foldedFile(m.real)));
|
|
1580
1609
|
const { planning, answered } = reaches ? await pass(holds) : first;
|
|
1581
1610
|
let insertions = 0;
|
|
1582
1611
|
let deletions = 0;
|
|
@@ -1614,6 +1643,7 @@ export async function planFileHistoryRestore(store, input) {
|
|
|
1614
1643
|
holds,
|
|
1615
1644
|
states: planning.states,
|
|
1616
1645
|
...(unread ? { unheld: [...new Set([...holds.values()].flatMap((h) => h.frozenKeys))].sort() } : {}),
|
|
1646
|
+
...(unplacedForFork ? { unplacedForFork: true } : {}),
|
|
1617
1647
|
changes,
|
|
1618
1648
|
};
|
|
1619
1649
|
}
|
package/dist/core/gate-fold.js
CHANGED
|
@@ -286,8 +286,9 @@ function applyStationDisposition(pass, reading, toolName, shellGated) {
|
|
|
286
286
|
verdict.admit?.();
|
|
287
287
|
if (verdict.details !== undefined)
|
|
288
288
|
pass.shellReadDetails = verdict.details;
|
|
289
|
+
const cause = verdict.cause !== undefined ? normalizeProbeCause(verdict.cause) : undefined;
|
|
289
290
|
if (pass.decision.action === "ask")
|
|
290
|
-
pass.decision = silencedBy(pass.decision, verdict, pass.req);
|
|
291
|
+
pass.decision = silencedBy(cause !== undefined && pass.decision.probeCause === undefined ? { ...pass.decision, probeCause: cause } : pass.decision, verdict, pass.req);
|
|
291
292
|
if (pass.decision.action === "allow") {
|
|
292
293
|
const candidate = normalizeReadRootCandidate(verdict.readRootCandidate);
|
|
293
294
|
pass.decision = silencedBy({
|
|
@@ -295,6 +296,7 @@ function applyStationDisposition(pass, reading, toolName, shellGated) {
|
|
|
295
296
|
message: shellReadAskMessage(toolName, verdict),
|
|
296
297
|
decisionReason: "safety",
|
|
297
298
|
...(account !== undefined ? { probeReason: account } : {}),
|
|
299
|
+
...(cause !== undefined ? { probeCause: cause } : {}),
|
|
298
300
|
...(candidate !== undefined ? { probeReadRootCandidate: candidate } : {}),
|
|
299
301
|
}, verdict, pass.req);
|
|
300
302
|
if (candidate !== undefined)
|
|
@@ -180,7 +180,7 @@ export type NoticeAttention = "act" | "inform" | "audit";
|
|
|
180
180
|
* the union's catalog ({@link EngineNotice.code}). The groups below say only which family a row joins,
|
|
181
181
|
* so the catalog is not written a second time here and the two cannot drift.
|
|
182
182
|
*/
|
|
183
|
-
export declare const ENGINE_NOTICE_CODES: readonly ["config.autocompact_window_clamped", "config.env_timeout_discarded", "config.materialize_env_discarded", "config.models_swapped", "config.context_settings_swapped", "config.read_face_swapped", "config.read_face_deployment_clamped", "config.write_face_swapped", "config.write_face_deployment_clamped", "config.read_deny_swapped", "config.tool_model_gate_removed", "config.tool_model_gate_unknown_class", "config.tool_model_gate_env_invalid", "config.artifact_host_invalid", "config.task_root_not_canonical", "config.write_protection_target_view_absent", "config.path_view_unresolved", "config.execution_env_capability_invalid", "config.execution_env_failure_contract_broken", "config.read_deny_floor_unkept", "config.read_floor_confinement_unavailable", "config.inherit_env_declared_late", "config.command_sandbox_unavailable", "config.tool_card_undeclared", "config.tool_face_undeclared", "config.tool_face_invalid", "config.host_sink_failed", "config.seat_malformed", "config.session_delete_withheld", "config.env_knob_adjusted", "config.read_deny_home", "config.permission_rules_skipped", "config.process_start_time_unavailable", "config.data_root_spelling_split", "config.durable_gate_unavailable", "config.peer_admission_out_of_range", "config.peer_lane_unmounted", "config.secret_env_scrubbed", "inherit_env.names_withheld", "config.credential_not_withheld", "config.cross_boundary_posture_undeclared", "config.cross_boundary_record_unwritten", "config.permission_mode_unavailable", "permission.rule_store_unavailable", "permission.rule_store_unreadable_relaxed", "config.entries_not_applied", "config.session_rules_earlier_grammar", "config.session_rules_reread", "config.skill_deny_unreadable", "config.legacy_tool_name", "config.toolpolicy.unmatched_names", "config.agent.unknown_tool", "permission.allow_rule_not_used_in_auto", "permission.revival_root_policy_unrestated", "mods.registration_refused", "mods.registration_refused_deployment", "mods.display_withheld", "mods.stop_ended", "mods.stop_continue_dropped", "mods.package_key_unread", "peer.inbound_disposition", "peer.inbound_unread", "peer.notice_user_only", "peer.receipt_delivered_user_only", "peer.held_settled", "peer.held_approval_unhonored", "peer.held_decision_applied", "peer.idle_subscription", "peer.idle_subscription_declined", "classifier.denial_limit", "classifier.fallback", "classifier.seat_rate_limited", "classifier.role_defaulted", "classifier.contract_broken", "classifier.unavailable", "classifier.unavailable_handed_on", "classifier.review_skipped", "checkpoint.execution_outcome_unrecorded", "delegation.transcript_integrity", "delegation.ask_unresolvable", "delegation.resume_lane_missing", "delegation.spawn_depth_unknown", "delegation.delivery_discarded", "delegation.settlement_external", "delegation.settlement_write_failed", "delegation.durable_row_unpersisted", "delegation.parked_card_unreadable", "delegation.parked_card_id_untrusted", "delegation.agent_row_ending_unreadable", "protocol.revocation_probe_failed", "mcp.server_redialed", "mcp.authorization_required", "mcp.server_unavailable", "mcp.server_connecting", "mcp.credential_echoed", "a2a.peer_card_drift", "mcp.server_stderr", "workflow.governance_key_stripped", "workflow.agent_option_ignored", "workflow.parked_decision_unused", "workflow.parked_decision_used", "workflow.record_unwritten", "memory.session_polluted", "memory.harvest_quarantined", "memory.harvest_refused", "memory.harvest_conflict", "memory.delegation_static_mark_waived", "memory.content_class_declared", "memory.hold_opened", "memory.hold_released", "memory.hold_disposed", "memory.consolidation_recommended", "memory.consolidation_committed", "memory.consolidation_conflict", "memory.consolidation_incomplete", "memory.consolidation_refused", "memory.consolidation_withheld", "memory.restore_withheld", "memory.project_scope_absent", "memory.notice_unscoped", "route.fallback_to_primary", "route.classifier_unroutable", "route.seat_detached", "advisor.not_attached", "route.credential_origin_mismatch", "route.credential_mismatch", "route.credential_rebound", "route.response_model_mismatch", "route.tool_call_id_folded", "route.finish_reason_unknown", "route.stream_end_ignored", "route.stream_content_dropped", "route.extra_body_reserved_dropped", "model.capability_downgraded", "model.fast_mode_changed", "model.fallback", "model.fallback_side_call", "context.tool_turn_repaired", "context.media_removed", "context.tool_schema_removed", "context.messages_omitted", "instructions.withheld", "instructions.outside_root", "instructions.family_undeclared", "task.user_steer_undrained", "task.user_followup_undrained", "task.undelivered_input_dropped", "steering.parked_input_blocked", "task.turn_interrupted", "task.halt_unconsumed", "mods.turn_aborted", "mods.turn_abort_unconsumed", "task.late_approval", "task.interrupt_unconsumed", "task.wait_ceiling_reached", "task.completed_past_limit", "task.verdict_refused", "task.tool_turn_incomplete", "task.tool_turn_unrecovered", "approval.read_root_granted", "approval.read_root_grant_rejected", "approval.session_call_granted", "approval.session_call_grant_rejected", "approval.approver_defect", "memory.capture_opted_out", "memory.capture_switched_off", "memory.capture_optout_unpersisted", "memory.mount_failed", "skills.listing_truncated", "agents.listing_truncated", "tool_result.offload_put_failed", "tool_result.media_refused", "tool_result.media_persisted", "tool_result.read_refused", "artifact.owner_refused", "config.image_processor_unavailable", "fs.staging_file_left", "fs.staging_file_swept", "store.tail_segment_unjudged", "store.lock_retained", "store.lock_reclaimed_on_declaration", "store.append_log_parked", "store.tree_id_stamp_incomplete", "store.process_anchor_unavailable", "store.process_anchor_lost", "engine.debug_trace", "session.lineage_rerooted", "rewind.boundary_unrecorded", "rewind.file_left_as_is", "verify.verifier_is_implementer", "workspace.sync_failed", "memory.layer_locked_legacy", "server.model_unreachable", "permission.entry_mode_clamped", "model.context_window_assumed", "config.store_ephemeral", "memory.sync_layer_parked"];
|
|
183
|
+
export declare const ENGINE_NOTICE_CODES: readonly ["config.autocompact_window_clamped", "config.env_timeout_discarded", "config.materialize_env_discarded", "config.models_swapped", "config.context_settings_swapped", "config.read_face_swapped", "config.read_face_deployment_clamped", "config.write_face_swapped", "config.write_face_deployment_clamped", "config.read_deny_swapped", "config.tool_model_gate_removed", "config.tool_model_gate_unknown_class", "config.tool_model_gate_env_invalid", "config.artifact_host_invalid", "config.task_root_not_canonical", "config.write_protection_target_view_absent", "config.path_view_unresolved", "config.execution_env_capability_invalid", "config.execution_env_failure_contract_broken", "config.read_deny_floor_unkept", "config.read_floor_confinement_unavailable", "config.inherit_env_declared_late", "config.command_sandbox_unavailable", "config.tool_card_undeclared", "config.tool_face_undeclared", "config.tool_face_invalid", "config.host_sink_failed", "config.seat_malformed", "config.session_delete_withheld", "config.env_knob_adjusted", "config.read_deny_home", "config.permission_rules_skipped", "config.process_start_time_unavailable", "config.data_root_spelling_split", "config.durable_gate_unavailable", "config.peer_admission_out_of_range", "config.peer_lane_unmounted", "config.scheduler_store_unmoved", "config.secret_env_scrubbed", "inherit_env.names_withheld", "config.credential_not_withheld", "config.cross_boundary_posture_undeclared", "config.cross_boundary_record_unwritten", "config.permission_mode_unavailable", "permission.rule_store_unavailable", "permission.rule_store_unreadable_relaxed", "config.entries_not_applied", "config.session_rules_earlier_grammar", "config.session_rules_reread", "config.skill_deny_unreadable", "config.legacy_tool_name", "config.toolpolicy.unmatched_names", "config.agent.unknown_tool", "permission.allow_rule_not_used_in_auto", "permission.revival_root_policy_unrestated", "mods.registration_refused", "mods.registration_refused_deployment", "mods.display_withheld", "mods.stop_ended", "mods.stop_continue_dropped", "mods.package_key_unread", "peer.inbound_disposition", "peer.inbound_unread", "peer.notice_user_only", "peer.receipt_delivered_user_only", "peer.held_settled", "peer.held_approval_unhonored", "peer.held_decision_applied", "peer.idle_subscription", "peer.idle_subscription_declined", "classifier.denial_limit", "classifier.fallback", "classifier.seat_rate_limited", "classifier.role_defaulted", "classifier.contract_broken", "classifier.unavailable", "classifier.unavailable_handed_on", "classifier.review_skipped", "checkpoint.execution_outcome_unrecorded", "delegation.transcript_integrity", "delegation.ask_unresolvable", "delegation.resume_lane_missing", "delegation.spawn_depth_unknown", "delegation.delivery_discarded", "delegation.settlement_external", "delegation.settlement_write_failed", "delegation.durable_row_unpersisted", "delegation.parked_card_unreadable", "delegation.parked_card_id_untrusted", "delegation.agent_row_ending_unreadable", "protocol.revocation_probe_failed", "mcp.server_redialed", "mcp.authorization_required", "mcp.server_unavailable", "mcp.server_connecting", "mcp.credential_echoed", "a2a.peer_card_drift", "mcp.server_stderr", "workflow.governance_key_stripped", "workflow.agent_option_ignored", "workflow.parked_decision_unused", "workflow.parked_decision_used", "workflow.record_unwritten", "memory.session_polluted", "memory.harvest_quarantined", "memory.harvest_refused", "memory.harvest_conflict", "memory.delegation_static_mark_waived", "memory.content_class_declared", "memory.hold_opened", "memory.hold_released", "memory.hold_disposed", "memory.consolidation_recommended", "memory.consolidation_committed", "memory.consolidation_conflict", "memory.consolidation_incomplete", "memory.consolidation_refused", "memory.consolidation_withheld", "memory.restore_withheld", "memory.project_scope_absent", "memory.notice_unscoped", "route.fallback_to_primary", "route.classifier_unroutable", "route.seat_detached", "advisor.not_attached", "route.credential_origin_mismatch", "route.credential_mismatch", "route.credential_rebound", "route.response_model_mismatch", "route.tool_call_id_folded", "route.finish_reason_unknown", "route.stream_end_ignored", "route.stream_content_dropped", "route.extra_body_reserved_dropped", "model.capability_downgraded", "model.fast_mode_changed", "model.fallback", "model.fallback_side_call", "context.tool_turn_repaired", "context.media_removed", "context.tool_schema_removed", "context.messages_omitted", "instructions.withheld", "instructions.outside_root", "instructions.family_undeclared", "task.user_steer_undrained", "task.user_followup_undrained", "task.undelivered_input_dropped", "steering.parked_input_blocked", "task.turn_interrupted", "task.halt_unconsumed", "mods.turn_aborted", "mods.turn_abort_unconsumed", "task.late_approval", "task.interrupt_unconsumed", "task.wait_ceiling_reached", "task.manager_launch_narrowed", "task.completed_past_limit", "task.verdict_refused", "task.tool_turn_incomplete", "task.tool_turn_unrecovered", "approval.read_root_granted", "approval.read_root_grant_rejected", "approval.session_call_granted", "approval.session_call_grant_rejected", "approval.approver_defect", "memory.capture_opted_out", "memory.capture_switched_off", "memory.capture_optout_unpersisted", "memory.mount_failed", "skills.listing_truncated", "agents.listing_truncated", "tool_result.offload_put_failed", "tool_result.offload_put_unsettled", "tool_result.media_refused", "tool_result.media_persisted", "tool_result.read_refused", "artifact.owner_refused", "config.image_processor_unavailable", "fs.staging_file_left", "fs.staging_file_swept", "store.tail_segment_unjudged", "store.lock_retained", "store.lock_reclaimed_on_declaration", "store.append_log_parked", "store.tree_id_stamp_incomplete", "store.process_anchor_unavailable", "store.process_anchor_lost", "engine.debug_trace", "session.lineage_rerooted", "rewind.boundary_unrecorded", "rewind.file_left_as_is", "verify.verifier_is_implementer", "workspace.sync_failed", "memory.layer_locked_legacy", "server.model_unreachable", "permission.entry_mode_clamped", "model.context_window_assumed", "config.store_ephemeral", "memory.sync_layer_parked"];
|
|
184
184
|
/** A catalogued code (see {@link ENGINE_NOTICE_CODES}); {@link NOTICE_MINTER} says who mints it. NOT the type of
|
|
185
185
|
* `EngineNotice.code`, which stays `string` — a host forwarding its own notices through the same
|
|
186
186
|
* sink is a supported shape, and narrowing that field would break it. */
|
|
@@ -229,6 +229,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
229
229
|
readonly "task.late_approval": "user";
|
|
230
230
|
readonly "task.interrupt_unconsumed": "user";
|
|
231
231
|
readonly "task.wait_ceiling_reached": "user";
|
|
232
|
+
readonly "task.manager_launch_narrowed": "user";
|
|
232
233
|
readonly "task.tool_turn_incomplete": "user";
|
|
233
234
|
readonly "task.tool_turn_unrecovered": "user";
|
|
234
235
|
readonly "task.completed_past_limit": "operator";
|
|
@@ -297,6 +298,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
297
298
|
readonly "config.tool_face_undeclared": "operator";
|
|
298
299
|
readonly "config.tool_face_invalid": "operator";
|
|
299
300
|
readonly "config.peer_lane_unmounted": "operator";
|
|
301
|
+
readonly "config.scheduler_store_unmoved": "operator";
|
|
300
302
|
readonly "config.peer_admission_out_of_range": "operator";
|
|
301
303
|
readonly "config.secret_env_scrubbed": "operator";
|
|
302
304
|
readonly "config.credential_not_withheld": "operator";
|
|
@@ -358,6 +360,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
358
360
|
readonly "skills.listing_truncated": "operator";
|
|
359
361
|
readonly "agents.listing_truncated": "operator";
|
|
360
362
|
readonly "tool_result.offload_put_failed": "operator";
|
|
363
|
+
readonly "tool_result.offload_put_unsettled": "operator";
|
|
361
364
|
readonly "tool_result.media_refused": "operator";
|
|
362
365
|
readonly "tool_result.media_persisted": "operator";
|
|
363
366
|
readonly "tool_result.read_refused": "operator";
|
|
@@ -464,6 +467,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
464
467
|
readonly "task.halt_unconsumed": "act";
|
|
465
468
|
readonly "task.interrupt_unconsumed": "act";
|
|
466
469
|
readonly "task.wait_ceiling_reached": "act";
|
|
470
|
+
readonly "task.manager_launch_narrowed": "act";
|
|
467
471
|
readonly "task.late_approval": "act";
|
|
468
472
|
readonly "memory.capture_optout_unpersisted": "act";
|
|
469
473
|
readonly "memory.mount_failed": "act";
|
|
@@ -535,6 +539,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
535
539
|
readonly "config.permission_rules_skipped": "act";
|
|
536
540
|
readonly "config.peer_admission_out_of_range": "act";
|
|
537
541
|
readonly "config.peer_lane_unmounted": "act";
|
|
542
|
+
readonly "config.scheduler_store_unmoved": "act";
|
|
538
543
|
readonly "config.credential_not_withheld": "act";
|
|
539
544
|
readonly "config.cross_boundary_posture_undeclared": "act";
|
|
540
545
|
readonly "config.cross_boundary_record_unwritten": "act";
|
|
@@ -562,6 +567,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
562
567
|
readonly "instructions.family_undeclared": "act";
|
|
563
568
|
readonly "approval.approver_defect": "act";
|
|
564
569
|
readonly "tool_result.offload_put_failed": "act";
|
|
570
|
+
readonly "tool_result.offload_put_unsettled": "act";
|
|
565
571
|
readonly "artifact.owner_refused": "act";
|
|
566
572
|
readonly "fs.staging_file_left": "act";
|
|
567
573
|
readonly "store.lock_retained": "act";
|
|
@@ -697,6 +703,7 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
697
703
|
readonly "config.durable_gate_unavailable": "engine";
|
|
698
704
|
readonly "config.peer_admission_out_of_range": "engine";
|
|
699
705
|
readonly "config.peer_lane_unmounted": "engine";
|
|
706
|
+
readonly "config.scheduler_store_unmoved": "engine";
|
|
700
707
|
readonly "config.secret_env_scrubbed": "engine";
|
|
701
708
|
readonly "inherit_env.names_withheld": "engine";
|
|
702
709
|
readonly "config.credential_not_withheld": "engine";
|
|
@@ -815,6 +822,7 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
815
822
|
readonly "task.late_approval": "engine";
|
|
816
823
|
readonly "task.interrupt_unconsumed": "engine";
|
|
817
824
|
readonly "task.wait_ceiling_reached": "engine";
|
|
825
|
+
readonly "task.manager_launch_narrowed": "engine";
|
|
818
826
|
readonly "task.completed_past_limit": "engine";
|
|
819
827
|
readonly "task.verdict_refused": "engine";
|
|
820
828
|
readonly "task.tool_turn_incomplete": "engine";
|
|
@@ -831,6 +839,7 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
831
839
|
readonly "skills.listing_truncated": "engine";
|
|
832
840
|
readonly "agents.listing_truncated": "engine";
|
|
833
841
|
readonly "tool_result.offload_put_failed": "engine";
|
|
842
|
+
readonly "tool_result.offload_put_unsettled": "engine";
|
|
834
843
|
readonly "tool_result.media_refused": "engine";
|
|
835
844
|
readonly "tool_result.media_persisted": "engine";
|
|
836
845
|
readonly "tool_result.read_refused": "engine";
|