@sema-agent/core 7.70.0 → 7.71.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 +728 -0
- package/dist/agents/agent-transcript-tool.js +43 -19
- package/dist/agents/inherited-tool-pool.d.ts +5 -1
- package/dist/agents/inherited-tool-pool.js +6 -0
- package/dist/agents/retain-ledger.js +2 -0
- package/dist/agents/send-message-tool.d.ts +12 -1
- package/dist/agents/send-message-tool.js +47 -9
- package/dist/agents/subagent.js +31 -10
- package/dist/agents/tool-filter.js +1 -2
- package/dist/agents/verify.js +13 -2
- package/dist/agents/yield-adoption.js +11 -1
- package/dist/brain/claude-model-id.d.ts +11 -0
- package/dist/brain/claude-model-id.js +3 -1
- package/dist/config/catalog.js +10 -1
- package/dist/config/defaults.d.ts +3 -0
- package/dist/config/defaults.js +1 -0
- package/dist/core/allow-entry.js +1 -2
- package/dist/core/ask-origin.d.ts +55 -21
- package/dist/core/ask-origin.js +19 -11
- package/dist/core/ask-question.d.ts +4 -7
- package/dist/core/ask-question.js +2 -4
- package/dist/core/ask-unresolvable-notice.d.ts +17 -3
- package/dist/core/ask-unresolvable-notice.js +18 -4
- package/dist/core/attachment-source.d.ts +1 -1
- package/dist/core/attachment-source.js +2 -0
- package/dist/core/auto-compaction.d.ts +14 -4
- package/dist/core/auto-compaction.js +3 -2
- package/dist/core/auto-strip.js +2 -0
- package/dist/core/caller-text.d.ts +2 -33
- package/dist/core/caller-text.js +2 -23
- package/dist/core/caller-tool-name.js +1 -2
- package/dist/core/canonical-json.d.ts +9 -0
- package/dist/core/canonical-json.js +6 -0
- package/dist/core/checkpoint-features.d.ts +43 -80
- package/dist/core/checkpoint-features.js +10 -20
- package/dist/core/checkpoint-generation.d.ts +89 -19
- package/dist/core/checkpoint-generation.js +89 -14
- package/dist/core/checkpoint-queries.d.ts +95 -15
- package/dist/core/checkpoint-queries.js +108 -7
- package/dist/core/checkpoint-rekey.d.ts +2 -1
- package/dist/core/checkpoint-rekey.js +2 -2
- package/dist/core/checkpoint-requirements.d.ts +7 -6
- package/dist/core/checkpoint-requirements.js +2 -5
- package/dist/core/checkpoint-row-verdict.d.ts +3 -4
- package/dist/core/checkpoint-row-verdict.js +20 -41
- package/dist/core/checkpoint-store.d.ts +65 -41
- package/dist/core/checkpoint-store.js +28 -14
- package/dist/core/command-sandbox.d.ts +5 -3
- package/dist/core/command-sandbox.js +17 -9
- package/dist/core/config-refusal-codes.d.ts +1 -1
- package/dist/core/config-refusal-codes.js +1 -0
- package/dist/core/declaration-words.d.ts +2 -1
- package/dist/core/declaration-words.js +13 -2
- package/dist/core/effective-path-target.d.ts +23 -0
- package/dist/core/effective-path-target.js +15 -1
- package/dist/core/engine-attestation.d.ts +5 -1
- package/dist/core/engine-attestation.js +1 -0
- package/dist/core/engine-capabilities.d.ts +14 -9
- package/dist/core/engine-capabilities.js +1 -1
- package/dist/core/engine-notice.d.ts +62 -32
- package/dist/core/engine-version.js +1 -1
- package/dist/core/entries-not-applied.d.ts +1 -1
- package/dist/core/entries-not-applied.js +1 -0
- package/dist/core/file-history-store.d.ts +95 -11
- package/dist/core/file-history-store.js +117 -19
- package/dist/core/gate-fold.js +13 -7
- package/dist/core/gate-lanes.js +9 -9
- package/dist/core/governance-codes.d.ts +56 -7
- package/dist/core/governance-codes.js +105 -7
- package/dist/core/grant-holder.d.ts +53 -0
- package/dist/core/grant-holder.js +80 -0
- package/dist/core/hooks.d.ts +7 -3
- package/dist/core/hooks.js +2 -2
- package/dist/core/locked-config.d.ts +7 -1
- package/dist/core/locked-config.js +9 -2
- package/dist/core/mcp-call-meta.d.ts +52 -7
- package/dist/core/mcp-call-meta.js +21 -2
- package/dist/core/mcp-host-read.d.ts +1 -1
- package/dist/core/mcp-server-spec.d.ts +18 -0
- package/dist/core/mcp-server-spec.js +1 -0
- package/dist/core/mcp.js +2 -2
- package/dist/core/member-outcome.d.ts +22 -1
- package/dist/core/member-outcome.js +18 -6
- package/dist/core/memory-engine/delegation-settlement.js +5 -5
- package/dist/core/memory-engine/engine.js +19 -19
- package/dist/core/memory-engine/file-backend.d.ts +7 -2
- package/dist/core/memory-engine/file-backend.js +14 -12
- package/dist/core/memory-engine/frontmatter.js +1 -1
- package/dist/core/memory-engine/index.d.ts +1 -0
- package/dist/core/memory-engine/index.js +1 -0
- package/dist/core/memory-engine/layout.d.ts +34 -9
- package/dist/core/memory-engine/layout.js +36 -19
- package/dist/core/memory-engine/memory-deployment.js +8 -8
- package/dist/core/memory-engine/mount-failed-notice.d.ts +8 -5
- package/dist/core/memory-engine/mount-failed-notice.js +5 -2
- package/dist/core/mode-policy.d.ts +5 -0
- package/dist/core/mode-policy.js +6 -0
- package/dist/core/mods/host.d.ts +2 -1
- package/dist/core/mods/host.js +7 -6
- package/dist/core/mods/kernel/index.d.ts +1 -1
- package/dist/core/mods/kernel/index.js +1 -1
- package/dist/core/mods/kernel/registration.d.ts +5 -2
- package/dist/core/mods/kernel/registration.js +19 -3
- package/dist/core/mods/package.d.ts +12 -1
- package/dist/core/mods/package.js +36 -9
- package/dist/core/mods/stations.d.ts +7 -1
- package/dist/core/mods/stations.js +17 -3
- package/dist/core/mods/teammate-stations.d.ts +4 -1
- package/dist/core/mods/teammate-stations.js +1 -1
- package/dist/core/native-signal.d.ts +13 -0
- package/dist/core/native-signal.js +18 -0
- package/dist/core/park-resumability.d.ts +16 -14
- package/dist/core/park-resumability.js +9 -4
- package/dist/core/path-rule-binding.js +1 -1
- package/dist/core/permission-rule-model.d.ts +11 -5
- package/dist/core/permission-rule-model.js +5 -3
- package/dist/core/permission-rule-org.js +1 -1
- package/dist/core/permission-rule-provider.d.ts +5 -1
- package/dist/core/permission-rule-provider.js +6 -1
- package/dist/core/permission-rule-session.d.ts +35 -5
- package/dist/core/permission-rule-session.js +32 -1
- package/dist/core/permission-rule-store.d.ts +5 -1
- package/dist/core/permission-rule-store.js +28 -5
- package/dist/core/permission-rules.d.ts +2 -2
- package/dist/core/permission-rules.js +2 -3
- package/dist/core/principal-name.d.ts +12 -0
- package/dist/core/principal-name.js +6 -2
- package/dist/core/read-root-grant-screen.d.ts +7 -6
- package/dist/core/read-root-grant-screen.js +7 -8
- package/dist/core/remote-env.d.ts +42 -8
- package/dist/core/resume-config-judge.js +1 -1
- package/dist/core/resume-startup-cause.d.ts +19 -4
- package/dist/core/resume-startup-cause.js +25 -6
- package/dist/core/rewind-conversation.d.ts +4 -0
- package/dist/core/rewrite-rejudge.d.ts +9 -1
- package/dist/core/rewrite-rejudge.js +11 -1
- package/dist/core/rule-offer-read.js +3 -2
- package/dist/core/runner/assemble-result.d.ts +21 -11
- package/dist/core/runner/assemble-result.js +24 -4
- package/dist/core/runner/boundary-reminders.d.ts +104 -0
- package/dist/core/runner/boundary-reminders.js +108 -0
- package/dist/core/runner/branch-writeback.d.ts +21 -7
- package/dist/core/runner/branch-writeback.js +44 -6
- package/dist/core/runner/command-sandbox-frame.js +2 -1
- package/dist/core/runner/compact-session.js +11 -4
- package/dist/core/runner/constraint-layers.d.ts +24 -5
- package/dist/core/runner/constraint-layers.js +21 -2
- package/dist/core/runner/continuation-gate.js +3 -1
- package/dist/core/runner/contracts.d.ts +83 -13
- package/dist/core/runner/cross-boundary-lane.js +2 -1
- package/dist/core/runner/delegation-owner.d.ts +246 -45
- package/dist/core/runner/delegation-owner.js +237 -63
- package/dist/core/runner/expire-settle.d.ts +17 -0
- package/dist/core/runner/expire-settle.js +8 -2
- package/dist/core/runner/file-history-request.d.ts +4 -3
- package/dist/core/runner/file-history-request.js +4 -1
- package/dist/core/runner/file-history-restore.d.ts +11 -3
- package/dist/core/runner/file-history-restore.js +11 -3
- package/dist/core/runner/gate-exit.d.ts +22 -1
- package/dist/core/runner/gate-exit.js +12 -14
- package/dist/core/runner/nested-memory-content.js +1 -1
- package/dist/core/runner/nested-memory-lane.d.ts +10 -2
- package/dist/core/runner/nested-memory-lane.js +29 -8
- package/dist/core/runner/own-model-money-door.d.ts +13 -0
- package/dist/core/runner/own-model-money-door.js +17 -0
- package/dist/core/runner/park-commit.d.ts +4 -2
- package/dist/core/runner/park-commit.js +2 -1
- package/dist/core/runner/permission-rule-lanes.d.ts +4 -0
- package/dist/core/runner/permission-rule-lanes.js +7 -0
- package/dist/core/runner/person-path-rows.js +1 -1
- package/dist/core/runner/placement-fence.d.ts +8 -2
- package/dist/core/runner/placement-fence.js +8 -3
- package/dist/core/runner/policy-throw.d.ts +3 -2
- package/dist/core/runner/policy-throw.js +2 -2
- package/dist/core/runner/prepare-acquire-reconcile.d.ts +23 -14
- package/dist/core/runner/prepare-acquire-reconcile.js +33 -15
- package/dist/core/runner/prepare-artifact.d.ts +14 -1
- package/dist/core/runner/prepare-artifact.js +7 -2
- package/dist/core/runner/prepare-ask-lane.d.ts +8 -0
- package/dist/core/runner/prepare-ask-lane.js +14 -5
- package/dist/core/runner/prepare-boundary-parks.js +5 -4
- package/dist/core/runner/prepare-config-doors.d.ts +9 -4
- package/dist/core/runner/prepare-config-doors.js +25 -8
- package/dist/core/runner/prepare-defer-classify.d.ts +8 -4
- package/dist/core/runner/prepare-defer-classify.js +6 -6
- package/dist/core/runner/prepare-execution-env.d.ts +4 -1
- package/dist/core/runner/prepare-execution-env.js +8 -3
- package/dist/core/runner/prepare-file-history.d.ts +26 -0
- package/dist/core/runner/prepare-file-history.js +15 -1
- package/dist/core/runner/prepare-inherited-gate.d.ts +8 -3
- package/dist/core/runner/prepare-inherited-gate.js +9 -2
- package/dist/core/runner/prepare-leg-adoption.d.ts +2 -2
- package/dist/core/runner/prepare-park-ask.js +8 -5
- package/dist/core/runner/prepare-policy-chain.d.ts +5 -0
- package/dist/core/runner/prepare-policy-chain.js +18 -7
- package/dist/core/runner/prepare-prompt-assembly.d.ts +3 -0
- package/dist/core/runner/prepare-prompt-assembly.js +4 -3
- package/dist/core/runner/prepare-suspend-saga.d.ts +4 -1
- package/dist/core/runner/prepare-suspend-saga.js +19 -5
- package/dist/core/runner/prepare-task.d.ts +2 -5
- package/dist/core/runner/prepare-task.js +71 -26
- package/dist/core/runner/prepare-turn-wiring.js +7 -5
- package/dist/core/runner/prepare-workspace-restore.js +59 -28
- package/dist/core/runner/read-root-grant.d.ts +1 -0
- package/dist/core/runner/read-root-grant.js +1 -2
- package/dist/core/runner/resume-admission.d.ts +3 -0
- package/dist/core/runner/resume-admission.js +6 -4
- package/dist/core/runner/resume-apply.js +7 -5
- package/dist/core/runner/resume-claim.d.ts +2 -2
- package/dist/core/runner/resume-claim.js +4 -4
- package/dist/core/runner/resume-policy-outcome.d.ts +1 -1
- package/dist/core/runner/resume-policy-outcome.js +6 -4
- package/dist/core/runner/resume-preflight.d.ts +3 -0
- package/dist/core/runner/resume-preflight.js +10 -3
- package/dist/core/runner/rewind-conversation.js +11 -4
- package/dist/core/runner/rewind-files.js +29 -14
- package/dist/core/runner/rewind-outcome.d.ts +27 -0
- package/dist/core/runner/rewind-outcome.js +14 -0
- package/dist/core/runner/run-attachment-seats.js +2 -1
- package/dist/core/runner/run-clock-and-content.js +2 -0
- package/dist/core/runner/run-identity-wiring.js +2 -0
- package/dist/core/runner/run-leg.js +11 -1
- package/dist/core/runner/run-notification-lane.d.ts +3 -0
- package/dist/core/runner/run-notification-lane.js +2 -2
- package/dist/core/runner/run-settle-and-teardown.d.ts +4 -2
- package/dist/core/runner/run-settle-and-teardown.js +52 -40
- package/dist/core/runner/run-stop-and-final-verify.d.ts +4 -0
- package/dist/core/runner/run-stop-and-final-verify.js +5 -4
- package/dist/core/runner/run-terminal-adoption.d.ts +1 -1
- package/dist/core/runner/run-terminal-adoption.js +3 -3
- package/dist/core/runner/run-turn-boundary.js +7 -0
- package/dist/core/runner/runtask.d.ts +7 -4
- package/dist/core/runner/runtask.js +18 -9
- package/dist/core/runner/session-call-grant-station.d.ts +64 -0
- package/dist/core/runner/session-call-grant-station.js +119 -0
- package/dist/core/runner/session-file-state-replay.js +2 -2
- package/dist/core/runner/session-prompt-seats.d.ts +95 -0
- package/dist/core/runner/session-prompt-seats.js +62 -0
- package/dist/core/runner/session-rule-policy.js +1 -1
- package/dist/core/runner/session-write-ledger.d.ts +8 -0
- package/dist/core/runner/session-write-ledger.js +16 -0
- package/dist/core/runner/side-call-account.js +5 -1
- package/dist/core/runner/stop-tail-notice.d.ts +7 -0
- package/dist/core/runner/stop-tail-notice.js +23 -8
- package/dist/core/runner/stream-reap.js +4 -2
- package/dist/core/runner/stream-settle-backstop.d.ts +1 -1
- package/dist/core/runner/stream-settle-backstop.js +17 -18
- package/dist/core/runner/terminal-account.js +17 -8
- package/dist/core/runner/terminal-projection.d.ts +3 -2
- package/dist/core/runner/terminal-projection.js +1 -1
- package/dist/core/runner/tool-turn-repair-seat.d.ts +2 -2
- package/dist/core/runner/tool-turn-repair-seat.js +12 -7
- package/dist/core/runner/turn-attachments.d.ts +22 -1
- package/dist/core/runner/turn-attachments.js +20 -3
- package/dist/core/runner-deps.d.ts +6 -2
- package/dist/core/secret-env.d.ts +26 -6
- package/dist/core/secret-env.js +6 -6
- package/dist/core/session-call-grant-screen.d.ts +58 -0
- package/dist/core/session-call-grant-screen.js +18 -0
- package/dist/core/session-call-grant.d.ts +93 -0
- package/dist/core/session-call-grant.js +524 -0
- package/dist/core/session-checkout.d.ts +3 -0
- package/dist/core/session-checkout.js +8 -3
- package/dist/core/session-policy-store.d.ts +14 -0
- package/dist/core/session-policy-store.js +16 -2
- package/dist/core/session-store.d.ts +18 -1
- package/dist/core/session-store.js +20 -4
- package/dist/core/session.d.ts +36 -4
- package/dist/core/shared-artifact-reads.d.ts +93 -0
- package/dist/core/shared-artifact-reads.js +94 -0
- package/dist/core/skill-grant.js +1 -1
- package/dist/core/skills-directory.d.ts +9 -45
- package/dist/core/skills-directory.js +9 -722
- package/dist/core/spend-account.js +3 -0
- package/dist/core/store-contracts/checkpoint-store-contract.d.ts +22 -4
- package/dist/core/store-contracts/checkpoint-store-contract.js +363 -29
- package/dist/core/store-contracts/file-history-store-contract.d.ts +11 -3
- package/dist/core/store-contracts/file-history-store-contract.js +62 -2
- package/dist/core/store-contracts/grant-fixture.d.ts +52 -0
- package/dist/core/store-contracts/grant-fixture.js +84 -0
- package/dist/core/store-contracts/session-repo-contract.js +18 -0
- package/dist/core/store-contracts/session-store-contract.d.ts +15 -1
- package/dist/core/store-contracts/session-store-contract.js +211 -2
- package/dist/core/store-contracts/workflow-journal-store-contract.js +47 -8
- package/dist/core/suspend-lane-reasons.d.ts +13 -0
- package/dist/core/suspend-lane-reasons.js +5 -0
- package/dist/core/synthetic-read-verdict.d.ts +5 -3
- package/dist/core/synthetic-read-verdict.js +1 -1
- package/dist/core/task-limits.d.ts +15 -0
- package/dist/core/task-notification.d.ts +33 -7
- package/dist/core/task-notification.js +34 -9
- package/dist/core/task-registry-agent.d.ts +1 -1
- package/dist/core/task-registry-agent.js +18 -7
- package/dist/core/task-registry-shared.d.ts +29 -4
- package/dist/core/task-registry-shared.js +7 -0
- package/dist/core/task-registry.d.ts +21 -1
- package/dist/core/task-registry.js +36 -9
- package/dist/core/task-result.d.ts +55 -1
- package/dist/core/task-spec.d.ts +17 -3
- package/dist/core/terminal-cause.d.ts +68 -5
- package/dist/core/tool-catalog-entries.js +1 -1
- package/dist/core/tool-check-reading.js +2 -1
- package/dist/core/tool-errors.js +1 -0
- package/dist/core/tool-list-grammar.d.ts +0 -47
- package/dist/core/tool-list-grammar.js +1 -75
- package/dist/core/tool-model-gate.d.ts +7 -11
- package/dist/core/tool-model-gate.js +5 -8
- package/dist/core/tool-name-aliases.js +2 -3
- package/dist/core/tool-name-readings.d.ts +4 -0
- package/dist/core/tool-name-readings.js +1 -0
- package/dist/core/tool-policy.d.ts +46 -4
- package/dist/core/tool-policy.js +47 -18
- package/dist/core/tool-result-store.d.ts +0 -24
- package/dist/core/tool-result-store.js +1 -36
- package/dist/core/tool-spec.d.ts +8 -4
- package/dist/core/untrusted-egress.js +2 -2
- package/dist/core/untrusted-text.d.ts +8 -0
- package/dist/core/untrusted-text.js +14 -0
- package/dist/core/user-attachment.d.ts +16 -1
- package/dist/core/user-attachment.js +42 -18
- package/dist/core/wiring-manifest.d.ts +4 -9
- package/dist/core/wiring-manifest.js +1 -1
- package/dist/core/workflow-journal-store.d.ts +55 -8
- package/dist/core/workflow-journal-store.js +34 -10
- package/dist/core/workflow-run-store-contract.js +56 -1
- package/dist/core/workflow-run-store.d.ts +43 -19
- package/dist/core/workflow-run-store.js +17 -2
- package/dist/engine/execution-env/node-execution-env.d.ts +3 -0
- package/dist/engine/execution-env/node-execution-env.js +4 -0
- package/dist/engine/harness/agent-harness.d.ts +10 -5
- package/dist/engine/harness/agent-harness.js +12 -4
- package/dist/engine/harness/types.d.ts +18 -0
- package/dist/engine/llm/tool-turns.d.ts +1 -1
- package/dist/engine/llm/types.d.ts +5 -4
- package/dist/engine/session/memory-repo.d.ts +15 -3
- package/dist/engine/session/memory-repo.js +21 -3
- package/dist/engine/session/memory-storage.d.ts +5 -0
- package/dist/engine/session/memory-storage.js +8 -3
- package/dist/engine/session/repo-utils.d.ts +9 -0
- package/dist/engine/session/repo-utils.js +14 -0
- package/dist/engine/session/storage-base.d.ts +20 -7
- package/dist/engine/session/storage-base.js +13 -1
- package/dist/index.d.ts +37 -19
- package/dist/index.js +30 -15
- package/dist/internal/harness.d.ts +1 -1
- package/dist/internal/harness.js +1 -1
- package/dist/orchestration/run-workflow-tool.d.ts +13 -1
- package/dist/orchestration/run-workflow-tool.js +101 -32
- package/dist/orchestration/workflow-park-adoption.d.ts +309 -92
- package/dist/orchestration/workflow-park-adoption.js +588 -323
- package/dist/orchestration/workflow-tree-id.d.ts +66 -0
- package/dist/orchestration/workflow-tree-id.js +66 -0
- package/dist/orchestration/workflow-types.d.ts +90 -11
- package/dist/orchestration/workflow-types.js +10 -1
- package/dist/orchestration/workflow.d.ts +30 -4
- package/dist/orchestration/workflow.js +424 -114
- package/dist/prompt-assembly/catalog/constitution.js +5 -1
- package/dist/prompt-assembly/catalog/core-behavior.d.ts +3 -4
- package/dist/prompt-assembly/catalog/core-behavior.js +61 -22
- package/dist/prompt-assembly/catalog/environment.js +2 -2
- package/dist/prompt-assembly/catalog/events.d.ts +16 -0
- package/dist/prompt-assembly/catalog/events.js +2 -0
- package/dist/prompt-assembly/catalog/locales/zh-Hans/core-behavior.js +72 -44
- package/dist/prompt-assembly/catalog/locales/zh-Hans/environment.js +2 -2
- package/dist/prompt-assembly/catalog/locales/zh-Hans/events.js +2 -0
- package/dist/prompt-assembly/catalog/schema.d.ts +5 -1
- package/dist/prompt-assembly/catalog/schema.js +2 -0
- package/dist/prompt-assembly/catalog/sections.js +3 -14
- package/dist/prompt-assembly/event-registry.js +2 -0
- package/dist/prompt-assembly/select.js +1 -0
- package/dist/prompt-assembly/tool-catalog.d.ts +10 -7
- package/dist/prompt-assembly/tool-catalog.js +21 -7
- package/dist/prompt-assembly/types.d.ts +3 -0
- package/dist/prompts/default.d.ts +4 -1
- package/dist/prompts/default.js +6 -0
- package/dist/stores/file/checkpoint-store.d.ts +11 -10
- package/dist/stores/file/checkpoint-store.js +36 -10
- package/dist/stores/file/file-history-store.d.ts +6 -0
- package/dist/stores/file/file-history-store.js +21 -4
- package/dist/stores/file/fs-atomic.d.ts +1 -1
- package/dist/stores/file/index.d.ts +14 -4
- package/dist/stores/file/index.js +21 -5
- package/dist/stores/file/process-anchor.d.ts +9 -1
- package/dist/stores/file/session-policy-store.js +2 -17
- package/dist/stores/file/session-store.d.ts +27 -0
- package/dist/stores/file/session-store.js +81 -9
- package/dist/stores/file/workflow-journal-store.d.ts +14 -4
- package/dist/stores/file/workflow-journal-store.js +32 -24
- package/dist/stores/file/workflow-run-store.d.ts +15 -4
- package/dist/stores/file/workflow-run-store.js +76 -0
- package/dist/tools/artifact/artifact-tool.d.ts +10 -3
- package/dist/tools/artifact/artifact-tool.js +16 -1
- package/dist/tools/fs/bash-program-position.d.ts +10 -4
- package/dist/tools/fs/bash-program-position.js +11 -8
- package/dist/tools/fs/bash-readonly-classifier.d.ts +3 -1
- package/dist/tools/fs/bash-readonly-classifier.js +9 -2
- package/dist/tools/fs/find-actions.d.ts +30 -16
- package/dist/tools/fs/find-actions.js +272 -19
- package/dist/tools/fs/fs-bash.js +8 -5
- package/dist/tools/fs/fs-shared.d.ts +0 -29
- package/dist/tools/fs/fs-shared.js +0 -5
- package/dist/tools/fs/fs-write.js +2 -1
- package/dist/tools/fs/read-deny.d.ts +6 -1
- package/dist/tools/fs/read-deny.js +6 -1
- package/dist/tools/fs/read-floor.d.ts +6 -0
- package/dist/tools/fs/read-floor.js +5 -1
- package/dist/tools/fs/removal-actions.d.ts +43 -0
- package/dist/tools/fs/removal-actions.js +25 -0
- package/dist/tools/fs/removal-targets.d.ts +2 -21
- package/dist/tools/fs/removal-targets.js +2 -3
- package/dist/tools/fs/safety.d.ts +37 -1
- package/dist/tools/fs/safety.js +52 -0
- package/dist/tools/fs/shell-climb.d.ts +46 -0
- package/dist/tools/fs/shell-climb.js +79 -0
- package/dist/tools/fs/shell-read-check.js +47 -19
- package/dist/tools/fs/shell-read-establish.js +36 -22
- package/dist/tools/fs/shell-read-judge.d.ts +10 -2
- package/dist/tools/fs/shell-read-judge.js +4 -4
- package/dist/tools/fs/shell-read-plan.d.ts +3 -0
- package/dist/tools/fs/shell-read-plan.js +1 -1
- package/dist/tools/fs/shell-read-workdir.js +3 -2
- package/dist/tools/fs/shell-read-write-targets.d.ts +4 -3
- package/dist/tools/fs/shell-read-write-targets.js +3 -0
- package/package.json +2 -2
- package/test/export-surface.snapshot.json +169 -15
- package/wire-changes/core-stores-sql@7.71.0.json +40 -0
- package/wire-changes/core@7.71.0.json +5827 -0
- package/wire-changes/mods-kernel@7.71.0.json +52 -0
- package/wire-changes/primitives@7.71.0.json +473 -0
- package/wire-changes/wiki-gate@7.71.0.json +40 -0
- package/dist/core/frontmatter-fence.d.ts +0 -10
- package/dist/core/frontmatter-fence.js +0 -6
- package/dist/core/permission-rule-syntax.d.ts +0 -46
- package/dist/core/permission-rule-syntax.js +0 -52
|
@@ -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", "mods.registration_refused", "mods.display_withheld", "mods.stop_ended", "mods.stop_continue_dropped", "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.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.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.completed_past_limit", "task.verdict_refused", "task.tool_turn_incomplete", "approval.read_root_granted", "approval.read_root_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.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.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"];
|
|
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. */
|
|
@@ -228,7 +228,9 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
228
228
|
readonly "task.halt_unconsumed": "user";
|
|
229
229
|
readonly "task.late_approval": "user";
|
|
230
230
|
readonly "task.interrupt_unconsumed": "user";
|
|
231
|
+
readonly "task.wait_ceiling_reached": "user";
|
|
231
232
|
readonly "task.tool_turn_incomplete": "user";
|
|
233
|
+
readonly "task.tool_turn_unrecovered": "user";
|
|
232
234
|
readonly "task.completed_past_limit": "operator";
|
|
233
235
|
readonly "route.finish_reason_unknown": "user";
|
|
234
236
|
readonly "route.stream_end_ignored": "user";
|
|
@@ -237,6 +239,8 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
237
239
|
readonly "route.credential_mismatch": "user";
|
|
238
240
|
readonly "approval.read_root_granted": "user";
|
|
239
241
|
readonly "approval.read_root_grant_rejected": "user";
|
|
242
|
+
readonly "approval.session_call_granted": "user";
|
|
243
|
+
readonly "approval.session_call_grant_rejected": "user";
|
|
240
244
|
readonly "approval.approver_defect": "operator";
|
|
241
245
|
readonly "config.durable_gate_unavailable": "user";
|
|
242
246
|
readonly "config.permission_mode_unavailable": "user";
|
|
@@ -250,6 +254,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
250
254
|
readonly "config.toolpolicy.unmatched_names": "user";
|
|
251
255
|
readonly "config.agent.unknown_tool": "user";
|
|
252
256
|
readonly "permission.allow_rule_not_used_in_auto": "user";
|
|
257
|
+
readonly "permission.revival_root_policy_unrestated": "operator";
|
|
253
258
|
readonly "mods.registration_refused": "user";
|
|
254
259
|
readonly "mods.display_withheld": "user";
|
|
255
260
|
readonly "mods.stop_ended": "user";
|
|
@@ -261,8 +266,10 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
261
266
|
readonly "memory.consolidation_withheld": "operator";
|
|
262
267
|
readonly "delegation.ask_unresolvable": "user";
|
|
263
268
|
readonly "workflow.parked_decision_unused": "user";
|
|
269
|
+
readonly "workflow.parked_decision_used": "user";
|
|
264
270
|
readonly "task.verdict_refused": "user";
|
|
265
271
|
readonly "inherit_env.names_withheld": "user";
|
|
272
|
+
readonly "mods.registration_refused_deployment": "operator";
|
|
266
273
|
readonly "config.autocompact_window_clamped": "operator";
|
|
267
274
|
readonly "config.env_timeout_discarded": "operator";
|
|
268
275
|
readonly "config.materialize_env_discarded": "operator";
|
|
@@ -319,6 +326,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
319
326
|
readonly "mcp.server_stderr": "operator";
|
|
320
327
|
readonly "workflow.governance_key_stripped": "operator";
|
|
321
328
|
readonly "workflow.agent_option_ignored": "operator";
|
|
329
|
+
readonly "mods.package_key_unread": "operator";
|
|
322
330
|
readonly "workflow.record_unwritten": "operator";
|
|
323
331
|
readonly "memory.content_class_declared": "operator";
|
|
324
332
|
readonly "memory.consolidation_recommended": "operator";
|
|
@@ -345,6 +353,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
345
353
|
readonly "context.tool_schema_removed": "user";
|
|
346
354
|
readonly "context.messages_omitted": "user";
|
|
347
355
|
readonly "instructions.withheld": "user";
|
|
356
|
+
readonly "instructions.outside_root": "user";
|
|
348
357
|
readonly "instructions.family_undeclared": "operator";
|
|
349
358
|
readonly "skills.listing_truncated": "operator";
|
|
350
359
|
readonly "agents.listing_truncated": "operator";
|
|
@@ -372,6 +381,7 @@ declare const NOTICE_AUDIENCE_TABLE: {
|
|
|
372
381
|
readonly "store.lock_retained": "operator";
|
|
373
382
|
readonly "store.lock_reclaimed_on_declaration": "operator";
|
|
374
383
|
readonly "store.append_log_parked": "operator";
|
|
384
|
+
readonly "store.tree_id_stamp_incomplete": "operator";
|
|
375
385
|
readonly "store.process_anchor_unavailable": "operator";
|
|
376
386
|
readonly "store.process_anchor_lost": "operator";
|
|
377
387
|
readonly "memory.notice_unscoped": "operator";
|
|
@@ -435,7 +445,6 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
435
445
|
readonly "memory.harvest_quarantined": "act";
|
|
436
446
|
readonly "memory.harvest_refused": "act";
|
|
437
447
|
readonly "memory.harvest_conflict": "act";
|
|
438
|
-
readonly "memory.hold_opened": "act";
|
|
439
448
|
readonly "memory.hold_disposed": "act";
|
|
440
449
|
readonly "advisor.not_attached": "act";
|
|
441
450
|
readonly "route.finish_reason_unknown": "act";
|
|
@@ -446,25 +455,27 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
446
455
|
readonly "context.messages_omitted": "act";
|
|
447
456
|
readonly "context.tool_schema_removed": "act";
|
|
448
457
|
readonly "instructions.withheld": "act";
|
|
458
|
+
readonly "instructions.outside_root": "inform";
|
|
449
459
|
readonly "task.user_steer_undrained": "act";
|
|
450
460
|
readonly "task.user_followup_undrained": "act";
|
|
451
461
|
readonly "steering.parked_input_blocked": "act";
|
|
452
462
|
readonly "mods.turn_aborted": "act";
|
|
463
|
+
readonly "task.tool_turn_unrecovered": "act";
|
|
453
464
|
readonly "task.halt_unconsumed": "act";
|
|
454
465
|
readonly "task.interrupt_unconsumed": "act";
|
|
466
|
+
readonly "task.wait_ceiling_reached": "act";
|
|
455
467
|
readonly "task.late_approval": "act";
|
|
456
|
-
readonly "memory.capture_opted_out": "act";
|
|
457
468
|
readonly "memory.capture_optout_unpersisted": "act";
|
|
458
469
|
readonly "memory.mount_failed": "act";
|
|
459
470
|
readonly "session.lineage_rerooted": "act";
|
|
460
471
|
readonly "server.model_unreachable": "act";
|
|
461
472
|
readonly "permission.entry_mode_clamped": "act";
|
|
462
473
|
readonly "memory.sync_layer_parked": "act";
|
|
474
|
+
readonly "classifier.seat_rate_limited": "act";
|
|
463
475
|
readonly "config.read_deny_floor_unkept": "inform";
|
|
464
476
|
readonly "mcp.server_connecting": "inform";
|
|
465
477
|
readonly "inherit_env.names_withheld": "inform";
|
|
466
478
|
readonly "mods.display_withheld": "inform";
|
|
467
|
-
readonly "classifier.seat_rate_limited": "inform";
|
|
468
479
|
readonly "memory.session_polluted": "inform";
|
|
469
480
|
readonly "task.tool_turn_incomplete": "inform";
|
|
470
481
|
readonly "model.context_window_assumed": "inform";
|
|
@@ -476,6 +487,8 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
476
487
|
readonly "task.verdict_refused": "inform";
|
|
477
488
|
readonly "rewind.boundary_unrecorded": "inform";
|
|
478
489
|
readonly "verify.verifier_is_implementer": "inform";
|
|
490
|
+
readonly "memory.capture_opted_out": "inform";
|
|
491
|
+
readonly "memory.hold_opened": "inform";
|
|
479
492
|
readonly "mods.stop_ended": "inform";
|
|
480
493
|
readonly "peer.inbound_disposition": "inform";
|
|
481
494
|
readonly "peer.receipt_delivered_user_only": "inform";
|
|
@@ -486,6 +499,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
486
499
|
readonly "route.stream_end_ignored": "inform";
|
|
487
500
|
readonly "mods.turn_abort_unconsumed": "inform";
|
|
488
501
|
readonly "approval.read_root_grant_rejected": "audit";
|
|
502
|
+
readonly "approval.session_call_grant_rejected": "audit";
|
|
489
503
|
readonly "task.turn_interrupted": "audit";
|
|
490
504
|
readonly "classifier.unavailable_handed_on": "audit";
|
|
491
505
|
readonly "peer.held_decision_applied": "audit";
|
|
@@ -495,6 +509,9 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
495
509
|
readonly "memory.delegation_static_mark_waived": "audit";
|
|
496
510
|
readonly "memory.hold_released": "audit";
|
|
497
511
|
readonly "approval.read_root_granted": "audit";
|
|
512
|
+
readonly "workflow.parked_decision_used": "audit";
|
|
513
|
+
readonly "approval.session_call_granted": "audit";
|
|
514
|
+
readonly "mods.registration_refused_deployment": "act";
|
|
498
515
|
readonly "config.autocompact_window_clamped": "act";
|
|
499
516
|
readonly "config.env_timeout_discarded": "act";
|
|
500
517
|
readonly "config.materialize_env_discarded": "act";
|
|
@@ -522,6 +539,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
522
539
|
readonly "config.cross_boundary_posture_undeclared": "act";
|
|
523
540
|
readonly "config.cross_boundary_record_unwritten": "act";
|
|
524
541
|
readonly "permission.rule_store_unreadable_relaxed": "act";
|
|
542
|
+
readonly "permission.revival_root_policy_unrestated": "act";
|
|
525
543
|
readonly "classifier.contract_broken": "act";
|
|
526
544
|
readonly "checkpoint.execution_outcome_unrecorded": "act";
|
|
527
545
|
readonly "delegation.transcript_integrity": "act";
|
|
@@ -547,6 +565,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
547
565
|
readonly "artifact.owner_refused": "act";
|
|
548
566
|
readonly "fs.staging_file_left": "act";
|
|
549
567
|
readonly "store.lock_retained": "act";
|
|
568
|
+
readonly "store.tree_id_stamp_incomplete": "act";
|
|
550
569
|
readonly "store.process_anchor_lost": "act";
|
|
551
570
|
readonly "workspace.sync_failed": "act";
|
|
552
571
|
readonly "memory.layer_locked_legacy": "act";
|
|
@@ -567,6 +586,7 @@ declare const NOTICE_ATTENTION_TABLE: {
|
|
|
567
586
|
readonly "mcp.server_stderr": "inform";
|
|
568
587
|
readonly "workflow.governance_key_stripped": "inform";
|
|
569
588
|
readonly "workflow.agent_option_ignored": "inform";
|
|
589
|
+
readonly "mods.package_key_unread": "inform";
|
|
570
590
|
readonly "memory.consolidation_recommended": "inform";
|
|
571
591
|
readonly "memory.consolidation_refused": "inform";
|
|
572
592
|
readonly "memory.consolidation_withheld": "inform";
|
|
@@ -693,10 +713,13 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
693
713
|
readonly "config.toolpolicy.unmatched_names": "engine";
|
|
694
714
|
readonly "config.agent.unknown_tool": "engine";
|
|
695
715
|
readonly "permission.allow_rule_not_used_in_auto": "engine";
|
|
716
|
+
readonly "permission.revival_root_policy_unrestated": "engine";
|
|
696
717
|
readonly "mods.registration_refused": "engine";
|
|
718
|
+
readonly "mods.registration_refused_deployment": "engine";
|
|
697
719
|
readonly "mods.display_withheld": "engine";
|
|
698
720
|
readonly "mods.stop_ended": "engine";
|
|
699
721
|
readonly "mods.stop_continue_dropped": "engine";
|
|
722
|
+
readonly "mods.package_key_unread": "engine";
|
|
700
723
|
readonly "peer.inbound_disposition": "engine";
|
|
701
724
|
readonly "peer.held_settled": "engine";
|
|
702
725
|
readonly "peer.idle_subscription": "engine";
|
|
@@ -737,6 +760,7 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
737
760
|
readonly "workflow.governance_key_stripped": "engine";
|
|
738
761
|
readonly "workflow.agent_option_ignored": "engine";
|
|
739
762
|
readonly "workflow.parked_decision_unused": "engine";
|
|
763
|
+
readonly "workflow.parked_decision_used": "engine";
|
|
740
764
|
readonly "workflow.record_unwritten": "engine";
|
|
741
765
|
readonly "memory.session_polluted": "engine";
|
|
742
766
|
readonly "memory.harvest_quarantined": "engine";
|
|
@@ -778,6 +802,7 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
778
802
|
readonly "context.tool_schema_removed": "engine";
|
|
779
803
|
readonly "context.messages_omitted": "engine";
|
|
780
804
|
readonly "instructions.withheld": "engine";
|
|
805
|
+
readonly "instructions.outside_root": "engine";
|
|
781
806
|
readonly "instructions.family_undeclared": "engine";
|
|
782
807
|
readonly "task.user_steer_undrained": "engine";
|
|
783
808
|
readonly "task.user_followup_undrained": "engine";
|
|
@@ -789,11 +814,15 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
789
814
|
readonly "mods.turn_abort_unconsumed": "engine";
|
|
790
815
|
readonly "task.late_approval": "engine";
|
|
791
816
|
readonly "task.interrupt_unconsumed": "engine";
|
|
817
|
+
readonly "task.wait_ceiling_reached": "engine";
|
|
792
818
|
readonly "task.completed_past_limit": "engine";
|
|
793
819
|
readonly "task.verdict_refused": "engine";
|
|
794
820
|
readonly "task.tool_turn_incomplete": "engine";
|
|
821
|
+
readonly "task.tool_turn_unrecovered": "engine";
|
|
795
822
|
readonly "approval.read_root_granted": "engine";
|
|
796
823
|
readonly "approval.read_root_grant_rejected": "engine";
|
|
824
|
+
readonly "approval.session_call_granted": "engine";
|
|
825
|
+
readonly "approval.session_call_grant_rejected": "engine";
|
|
797
826
|
readonly "approval.approver_defect": "engine";
|
|
798
827
|
readonly "memory.capture_opted_out": "engine";
|
|
799
828
|
readonly "memory.capture_switched_off": "engine";
|
|
@@ -813,6 +842,7 @@ declare const NOTICE_MINTER_TABLE: {
|
|
|
813
842
|
readonly "store.lock_retained": "engine";
|
|
814
843
|
readonly "store.lock_reclaimed_on_declaration": "engine";
|
|
815
844
|
readonly "store.append_log_parked": "engine";
|
|
845
|
+
readonly "store.tree_id_stamp_incomplete": "engine";
|
|
816
846
|
readonly "store.process_anchor_unavailable": "engine";
|
|
817
847
|
readonly "store.process_anchor_lost": "engine";
|
|
818
848
|
readonly "engine.debug_trace": "engine";
|
|
@@ -834,7 +864,14 @@ export type MinterTableCoversEveryNoticeCode = AssertAllKeysHandled<Exclude<Engi
|
|
|
834
864
|
export declare const NOTICE_MINTER: Readonly<Record<EngineNoticeCode, NoticeMinter>>;
|
|
835
865
|
/** One branch a code gave up: the code it is told under from that release on, and which of the old code's frames it is —
|
|
836
866
|
* `detail` the members that pick them out where the old frame carried them, `when` the same in words (always present) — and
|
|
837
|
-
* where each member of the old frame's `detail` went
|
|
867
|
+
* where each member of the old frame's `detail` went, with the values the new frame carries where the old one had no member
|
|
868
|
+
* (`toDetail`). `detail` reads the OLD frame, `toDetail` the NEW one (the frame told under `to`).
|
|
869
|
+
*
|
|
870
|
+
* Which branch an old frame is, per element where a selector reads `a[].b`: a branch whose `detail` selectors all hold comes first;
|
|
871
|
+
* with none, a retired code's branch without a selector takes it, and under a narrowed code it stays under the code itself (a
|
|
872
|
+
* narrowed code's branch without a selector is one the old frame cannot pick out: its `when` says what decides). A selector stays
|
|
873
|
+
* necessary, not sufficient: two branches it leaves, or a narrowed code's branch it picks, are told apart by `when`. The table
|
|
874
|
+
* maps what the old frame says — what the older engine read — not what this engine says reading the same stored input again. */
|
|
838
875
|
export interface NoticeCodeBranch {
|
|
839
876
|
readonly to: string;
|
|
840
877
|
readonly when: string;
|
|
@@ -850,12 +887,24 @@ export interface NoticeCodeBranch {
|
|
|
850
887
|
readonly keys: Readonly<Record<string, string | null>>;
|
|
851
888
|
/** Members the new frame carries that the old one did not, by path as in {@link keys}. */
|
|
852
889
|
readonly added?: readonly string[];
|
|
890
|
+
/** Members of the NEW frame's `detail` (the frame told under {@link to}), by path as in {@link keys}, and the words this branch's
|
|
891
|
+
* facts carry there: for `config.entries_not_applied`, `{ kind: ["stored_rule_row"] }`. Every path is one of {@link added} — a
|
|
892
|
+
* member the old frame carried is the old frame's ({@link keys} maps it; a selector on it is {@link detail}'s), never here — and every member of `added` whose
|
|
893
|
+
* word the branch decides (the same for every frame of its facts, whatever their entries) is here; one whose value each frame's
|
|
894
|
+
* own facts decide (`count`, `identity`, an entry's `reason`) is not. The values are words, as `detail`'s are: a number a branch
|
|
895
|
+
* fixes (`count` 1 of a one-entry kind) is said in `when`. Necessary, not sufficient: a new frame of this branch's facts carries
|
|
896
|
+
* one of the words, and a frame carrying one may be another branch's (or a fact no older code told). An `a[].b` path reads per
|
|
897
|
+
* element: every element of the branch's facts carries one of the words. More than one word means the old frame does not say
|
|
898
|
+
* which: the branch says so in `when`. */
|
|
899
|
+
readonly toDetail?: Readonly<Record<string, readonly string[]>>;
|
|
853
900
|
/** A list the old frame carried whole and the new one bounds: its new path -> how many it shows (`count` counts them all). */
|
|
854
901
|
readonly bounded?: Readonly<Record<string, number>>;
|
|
855
902
|
}
|
|
856
903
|
/** How a catalogued notice code changed in a release. `narrowed`: the spelling stays and is minted for fewer facts — the branches
|
|
857
|
-
* that left it, and its attention before and after
|
|
858
|
-
*
|
|
904
|
+
* that left it, and its attention before and after as that release shipped it (a row records its release: a later release that
|
|
905
|
+
* moves the code's attention without narrowing it again leaves the row as it is, and the catalog's row is the word today; its
|
|
906
|
+
* audience is the catalog's: no narrowing recorded here moved a code's audience, so {@link noticeAudienceOf} reads the same before
|
|
907
|
+
* and after). A release changes a code's attention alone without a row here: the frame carries the word (`EngineNotice.attention`). `retired`: the spelling is no longer minted — the last
|
|
859
908
|
* release that minted it, its attention and its audience there (the catalog no longer holds the code, so neither can be asked of
|
|
860
909
|
* it), and where each of its facts is told now (`into` is empty where no notice code tells it any more: a refusal replaced the notice). */
|
|
861
910
|
export type NoticeCodeChange = {
|