@lannguyensi/harness 0.64.0 → 1.0.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 +64 -0
- package/README.md +46 -42
- package/dist/cli/add/index.js +17 -21
- package/dist/cli/add/index.js.map +1 -1
- package/dist/cli/adopt/derive.d.ts +2 -2
- package/dist/cli/adopt/derive.js +2 -19
- package/dist/cli/adopt/derive.js.map +1 -1
- package/dist/cli/adopt/index.d.ts +1 -1
- package/dist/cli/adopt/index.js +1 -12
- package/dist/cli/adopt/index.js.map +1 -1
- package/dist/cli/apply/apply.d.ts +20 -35
- package/dist/cli/apply/apply.js +61 -136
- package/dist/cli/apply/apply.js.map +1 -1
- package/dist/cli/apply/generate-codex-config.js +10 -58
- package/dist/cli/apply/generate-codex-config.js.map +1 -1
- package/dist/cli/apply/generate-memory-index.js +1 -2
- package/dist/cli/apply/generate-memory-index.js.map +1 -1
- package/dist/cli/apply/generate-opencode-config.d.ts +2 -10
- package/dist/cli/apply/generate-opencode-config.js +74 -113
- package/dist/cli/apply/generate-opencode-config.js.map +1 -1
- package/dist/cli/apply/generate-settings.d.ts +11 -64
- package/dist/cli/apply/generate-settings.js +27 -132
- package/dist/cli/apply/generate-settings.js.map +1 -1
- package/dist/cli/apply/index.d.ts +1 -1
- package/dist/cli/apply/index.js +1 -1
- package/dist/cli/apply/index.js.map +1 -1
- package/dist/cli/apply/install-codex-config.d.ts +153 -1
- package/dist/cli/apply/install-codex-config.js +445 -70
- package/dist/cli/apply/install-codex-config.js.map +1 -1
- package/dist/cli/apply/next-steps.d.ts +7 -0
- package/dist/cli/apply/next-steps.js +13 -1
- package/dist/cli/apply/next-steps.js.map +1 -1
- package/dist/cli/bounded-stdin.d.ts +0 -23
- package/dist/cli/bounded-stdin.js +2 -49
- package/dist/cli/bounded-stdin.js.map +1 -1
- package/dist/cli/describe.d.ts +1 -1
- package/dist/cli/describe.js +0 -3
- package/dist/cli/describe.js.map +1 -1
- package/dist/cli/diff/engine.d.ts +0 -11
- package/dist/cli/diff/engine.js +1 -17
- package/dist/cli/diff/engine.js.map +1 -1
- package/dist/cli/diff/index.js +14 -25
- package/dist/cli/diff/index.js.map +1 -1
- package/dist/cli/doctor/claude-mcp.d.ts +4 -19
- package/dist/cli/doctor/claude-mcp.js +11 -22
- package/dist/cli/doctor/claude-mcp.js.map +1 -1
- package/dist/cli/doctor/codex.d.ts +12 -14
- package/dist/cli/doctor/codex.js +31 -144
- package/dist/cli/doctor/codex.js.map +1 -1
- package/dist/cli/doctor/format.js +23 -345
- package/dist/cli/doctor/format.js.map +1 -1
- package/dist/cli/doctor/hook-liveness.d.ts +56 -0
- package/dist/cli/doctor/hook-liveness.js +455 -0
- package/dist/cli/doctor/hook-liveness.js.map +1 -0
- package/dist/cli/doctor/index.d.ts +13 -87
- package/dist/cli/doctor/index.js +57 -713
- package/dist/cli/doctor/index.js.map +1 -1
- package/dist/cli/doctor/opencode.d.ts +2 -1
- package/dist/cli/doctor/opencode.js.map +1 -1
- package/dist/cli/doctor/types.d.ts +21 -387
- package/dist/cli/doctor/types.js.map +1 -1
- package/dist/cli/drain-stdio.d.ts +31 -0
- package/dist/cli/drain-stdio.js +76 -0
- package/dist/cli/drain-stdio.js.map +1 -0
- package/dist/cli/export.d.ts +3 -1
- package/dist/cli/export.js +7 -16
- package/dist/cli/export.js.map +1 -1
- package/dist/cli/gate/codex-disable.d.ts +29 -0
- package/dist/cli/gate/codex-disable.js +195 -0
- package/dist/cli/gate/codex-disable.js.map +1 -0
- package/dist/cli/gate/codex-enable.d.ts +41 -0
- package/dist/cli/gate/codex-enable.js +127 -0
- package/dist/cli/gate/codex-enable.js.map +1 -0
- package/dist/cli/gate/codex-snapshot.d.ts +208 -0
- package/dist/cli/gate/codex-snapshot.js +402 -0
- package/dist/cli/gate/codex-snapshot.js.map +1 -0
- package/dist/cli/gate/disable.d.ts +9 -0
- package/dist/cli/gate/disable.js +263 -28
- package/dist/cli/gate/disable.js.map +1 -1
- package/dist/cli/gate/enable.d.ts +26 -6
- package/dist/cli/gate/enable.js +152 -80
- package/dist/cli/gate/enable.js.map +1 -1
- package/dist/cli/gate/link-chain.d.ts +53 -0
- package/dist/cli/gate/link-chain.js +122 -0
- package/dist/cli/gate/link-chain.js.map +1 -0
- package/dist/cli/gate/snapshot.d.ts +289 -12
- package/dist/cli/gate/snapshot.js +481 -22
- package/dist/cli/gate/snapshot.js.map +1 -1
- package/dist/cli/index.d.ts +0 -9
- package/dist/cli/index.js +9 -2131
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/composer.d.ts +3 -6
- package/dist/cli/init/composer.js +6 -370
- package/dist/cli/init/composer.js.map +1 -1
- package/dist/cli/init/dependencies.d.ts +1 -2
- package/dist/cli/init/dependencies.js +4 -80
- package/dist/cli/init/dependencies.js.map +1 -1
- package/dist/cli/init/detect.js +5 -4
- package/dist/cli/init/detect.js.map +1 -1
- package/dist/cli/init/interactive.d.ts +1 -23
- package/dist/cli/init/interactive.js +33 -247
- package/dist/cli/init/interactive.js.map +1 -1
- package/dist/cli/init/profiles.d.ts +2 -2
- package/dist/cli/init/profiles.js +51 -245
- package/dist/cli/init/profiles.js.map +1 -1
- package/dist/cli/init/templates.d.ts +2 -37
- package/dist/cli/init/templates.js +25 -1237
- package/dist/cli/init/templates.js.map +1 -1
- package/dist/cli/list.d.ts +1 -1
- package/dist/cli/list.js +1 -38
- package/dist/cli/list.js.map +1 -1
- package/dist/cli/loader.d.ts +15 -1
- package/dist/cli/loader.js +56 -39
- package/dist/cli/loader.js.map +1 -1
- package/dist/cli/main.js +7 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/migrate-home/index.js +2 -2
- package/dist/cli/migrate-home/index.js.map +1 -1
- package/dist/cli/pack/add.js +1 -1
- package/dist/cli/pack/add.js.map +1 -1
- package/dist/cli/pack/hook-bootstrap.d.ts +5 -164
- package/dist/cli/pack/hook-bootstrap.js +15 -291
- package/dist/cli/pack/hook-bootstrap.js.map +1 -1
- package/dist/cli/pack/hook-branch-protection.d.ts +28 -21
- package/dist/cli/pack/hook-branch-protection.js +365 -340
- package/dist/cli/pack/hook-branch-protection.js.map +1 -1
- package/dist/cli/pack/index.d.ts +0 -1
- package/dist/cli/pack/index.js +0 -1
- package/dist/cli/pack/index.js.map +1 -1
- package/dist/cli/pack/list.js +1 -6
- package/dist/cli/pack/list.js.map +1 -1
- package/dist/cli/pack/mutate.d.ts +7 -9
- package/dist/cli/pack/mutate.js +6 -9
- package/dist/cli/pack/mutate.js.map +1 -1
- package/dist/cli/pack/reseed.d.ts +2 -2
- package/dist/cli/pack/reseed.js +16 -22
- package/dist/cli/pack/reseed.js.map +1 -1
- package/dist/cli/{delegate/register.d.ts → register-gate-group.d.ts} +1 -1
- package/dist/cli/register-gate-group.js +348 -0
- package/dist/cli/register-gate-group.js.map +1 -0
- package/dist/cli/register-inspect-group.d.ts +6 -0
- package/dist/cli/register-inspect-group.js +189 -0
- package/dist/cli/register-inspect-group.js.map +1 -0
- package/dist/cli/register-operator-lifecycle.d.ts +1 -1
- package/dist/cli/register-operator-lifecycle.js +3 -100
- package/dist/cli/register-operator-lifecycle.js.map +1 -1
- package/dist/cli/register-pack-group.d.ts +5 -0
- package/dist/cli/register-pack-group.js +134 -0
- package/dist/cli/register-pack-group.js.map +1 -0
- package/dist/cli/{register-audit-group.d.ts → register-setup-group.d.ts} +1 -1
- package/dist/cli/register-setup-group.js +495 -0
- package/dist/cli/register-setup-group.js.map +1 -0
- package/dist/cli/remove/index.d.ts +0 -14
- package/dist/cli/remove/index.js +2 -115
- package/dist/cli/remove/index.js.map +1 -1
- package/dist/cli/remove/mutate.d.ts +0 -2
- package/dist/cli/remove/mutate.js +1 -19
- package/dist/cli/remove/mutate.js.map +1 -1
- package/dist/cli/remove/register.js +2 -19
- package/dist/cli/remove/register.js.map +1 -1
- package/dist/cli/shell-quote.d.ts +7 -0
- package/dist/cli/shell-quote.js +17 -0
- package/dist/cli/shell-quote.js.map +1 -0
- package/dist/cli/uninstall/index.d.ts +4 -2
- package/dist/cli/uninstall/index.js +15 -7
- package/dist/cli/uninstall/index.js.map +1 -1
- package/dist/cli/uninstall/register.js +6 -4
- package/dist/cli/uninstall/register.js.map +1 -1
- package/dist/cli/uninstall/snapshot.d.ts +15 -0
- package/dist/cli/uninstall/snapshot.js +38 -0
- package/dist/cli/uninstall/snapshot.js.map +1 -1
- package/dist/cli/validate/checks.d.ts +0 -77
- package/dist/cli/validate/checks.js +3 -1049
- package/dist/cli/validate/checks.js.map +1 -1
- package/dist/cli/validate/index.js +19 -15
- package/dist/cli/validate/index.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/io/claude-mcp.d.ts +1 -1
- package/dist/io/claude-mcp.js +27 -14
- package/dist/io/claude-mcp.js.map +1 -1
- package/dist/io/harness-lock.js +2 -2
- package/dist/io/harness-lock.js.map +1 -1
- package/dist/io/lock.d.ts +0 -26
- package/dist/io/lock.js +10 -27
- package/dist/io/lock.js.map +1 -1
- package/dist/io/merge-settings.js +6 -4
- package/dist/io/merge-settings.js.map +1 -1
- package/dist/io/project-name.d.ts +22 -39
- package/dist/io/project-name.js +25 -42
- package/dist/io/project-name.js.map +1 -1
- package/dist/io/read-regular-file.d.ts +103 -40
- package/dist/io/read-regular-file.js +196 -35
- package/dist/io/read-regular-file.js.map +1 -1
- package/dist/io/restart-hints.js +3 -6
- package/dist/io/restart-hints.js.map +1 -1
- package/dist/io/version-compare.d.ts +1 -3
- package/dist/io/version-compare.js +1 -3
- package/dist/io/version-compare.js.map +1 -1
- package/dist/io/write-regular-file.d.ts +30 -0
- package/dist/io/write-regular-file.js +85 -0
- package/dist/io/write-regular-file.js.map +1 -0
- package/dist/overrides/index.d.ts +1 -0
- package/dist/overrides/index.js +1 -0
- package/dist/overrides/index.js.map +1 -1
- package/dist/overrides/merge-layers.d.ts +43 -0
- package/dist/overrides/merge-layers.js +76 -0
- package/dist/overrides/merge-layers.js.map +1 -0
- package/dist/overrides/merge.d.ts +16 -0
- package/dist/overrides/merge.js +21 -8
- package/dist/overrides/merge.js.map +1 -1
- package/dist/policy-packs/builtin/branch-protection-runtime.d.ts +4 -69
- package/dist/policy-packs/builtin/branch-protection-runtime.js +12 -84
- package/dist/policy-packs/builtin/branch-protection-runtime.js.map +1 -1
- package/dist/policy-packs/builtin/branch-protection.d.ts +7 -30
- package/dist/policy-packs/builtin/branch-protection.js +56 -89
- package/dist/policy-packs/builtin/branch-protection.js.map +1 -1
- package/dist/policy-packs/config-check.d.ts +7 -5
- package/dist/policy-packs/config-check.js +2 -2
- package/dist/policy-packs/config-check.js.map +1 -1
- package/dist/policy-packs/expand.d.ts +1 -3
- package/dist/policy-packs/expand.js +5 -42
- package/dist/policy-packs/expand.js.map +1 -1
- package/dist/policy-packs/index.d.ts +3 -3
- package/dist/policy-packs/index.js +2 -2
- package/dist/policy-packs/index.js.map +1 -1
- package/dist/policy-packs/registry.d.ts +9 -38
- package/dist/policy-packs/registry.js +5 -65
- package/dist/policy-packs/registry.js.map +1 -1
- package/dist/policy-packs/runtime.d.ts +0 -4
- package/dist/policy-packs/runtime.js +9 -22
- package/dist/policy-packs/runtime.js.map +1 -1
- package/dist/policy-packs/types.d.ts +0 -19
- package/dist/policy-packs/ux-compare.d.ts +1 -11
- package/dist/policy-packs/ux-compare.js +6 -42
- package/dist/policy-packs/ux-compare.js.map +1 -1
- package/dist/policy-packs/ux-drift-check.d.ts +5 -5
- package/dist/policy-packs/ux-drift-check.js +17 -22
- package/dist/policy-packs/ux-drift-check.js.map +1 -1
- package/dist/policy-packs/version-check.d.ts +5 -26
- package/dist/policy-packs/version-check.js +19 -74
- package/dist/policy-packs/version-check.js.map +1 -1
- package/dist/probes/memory.d.ts +1 -1
- package/dist/probes/memory.js +1 -1
- package/dist/probes/memory.js.map +1 -1
- package/dist/runtime/agent-facing.d.ts +9 -0
- package/dist/runtime/agent-facing.js +28 -14
- package/dist/runtime/agent-facing.js.map +1 -1
- package/dist/runtime/bounded-text.d.ts +15 -0
- package/dist/runtime/bounded-text.js +27 -0
- package/dist/runtime/bounded-text.js.map +1 -0
- package/dist/runtime/git-branch.d.ts +125 -0
- package/dist/runtime/git-branch.js +381 -0
- package/dist/runtime/git-branch.js.map +1 -0
- package/dist/runtime/hermetic-spawn-guard.d.ts +2 -2
- package/dist/runtime/hermetic-spawn-guard.js +24 -34
- package/dist/runtime/hermetic-spawn-guard.js.map +1 -1
- package/dist/runtime/home-dir.js +3 -2
- package/dist/runtime/home-dir.js.map +1 -1
- package/dist/runtime/tool-name-aliases.d.ts +0 -6
- package/dist/runtime/tool-name-aliases.js +5 -18
- package/dist/runtime/tool-name-aliases.js.map +1 -1
- package/dist/schema/grounding.d.ts +7 -54
- package/dist/schema/grounding.js +10 -12
- package/dist/schema/grounding.js.map +1 -1
- package/dist/schema/hooks.d.ts +39 -136
- package/dist/schema/hooks.js +3 -6
- package/dist/schema/hooks.js.map +1 -1
- package/dist/schema/index.d.ts +114 -3828
- package/dist/schema/index.js +41 -80
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/memory.d.ts +54 -131
- package/dist/schema/memory.js +2 -2
- package/dist/schema/memory.js.map +1 -1
- package/dist/schema/policy-packs.d.ts +3 -45
- package/dist/schema/policy-packs.js +7 -13
- package/dist/schema/policy-packs.js.map +1 -1
- package/dist/schema/policy-ux.d.ts +7 -0
- package/dist/schema/policy-ux.js +18 -0
- package/dist/schema/policy-ux.js.map +1 -0
- package/dist/schema/removed-keys.d.ts +185 -0
- package/dist/schema/removed-keys.js +531 -0
- package/dist/schema/removed-keys.js.map +1 -0
- package/dist/schema/tools.d.ts +30 -268
- package/dist/schema/tools.js +4 -4
- package/dist/schema/tools.js.map +1 -1
- package/package.json +5 -16
- package/dist/cli/approve/branch-protection.d.ts +0 -69
- package/dist/cli/approve/branch-protection.js +0 -144
- package/dist/cli/approve/branch-protection.js.map +0 -1
- package/dist/cli/approve/risk.d.ts +0 -112
- package/dist/cli/approve/risk.js +0 -197
- package/dist/cli/approve/risk.js.map +0 -1
- package/dist/cli/approve/stdin-report.d.ts +0 -57
- package/dist/cli/approve/stdin-report.js +0 -145
- package/dist/cli/approve/stdin-report.js.map +0 -1
- package/dist/cli/approve/understanding.d.ts +0 -410
- package/dist/cli/approve/understanding.js +0 -996
- package/dist/cli/approve/understanding.js.map +0 -1
- package/dist/cli/audit.d.ts +0 -80
- package/dist/cli/audit.js +0 -252
- package/dist/cli/audit.js.map +0 -1
- package/dist/cli/delegate/index.d.ts +0 -76
- package/dist/cli/delegate/index.js +0 -444
- package/dist/cli/delegate/index.js.map +0 -1
- package/dist/cli/delegate/register.js +0 -90
- package/dist/cli/delegate/register.js.map +0 -1
- package/dist/cli/doctor/auto-approve-mode.d.ts +0 -37
- package/dist/cli/doctor/auto-approve-mode.js +0 -80
- package/dist/cli/doctor/auto-approve-mode.js.map +0 -1
- package/dist/cli/doctor/bypass-without-auto-approve.d.ts +0 -38
- package/dist/cli/doctor/bypass-without-auto-approve.js +0 -95
- package/dist/cli/doctor/bypass-without-auto-approve.js.map +0 -1
- package/dist/cli/doctor/codex-config-drift.d.ts +0 -28
- package/dist/cli/doctor/codex-config-drift.js +0 -240
- package/dist/cli/doctor/codex-config-drift.js.map +0 -1
- package/dist/cli/doctor/expire-on-tool-match.d.ts +0 -15
- package/dist/cli/doctor/expire-on-tool-match.js +0 -58
- package/dist/cli/doctor/expire-on-tool-match.js.map +0 -1
- package/dist/cli/doctor/rogue-ledger.d.ts +0 -53
- package/dist/cli/doctor/rogue-ledger.js +0 -153
- package/dist/cli/doctor/rogue-ledger.js.map +0 -1
- package/dist/cli/doctor/session-start-preflight-setup-version.d.ts +0 -83
- package/dist/cli/doctor/session-start-preflight-setup-version.js +0 -114
- package/dist/cli/doctor/session-start-preflight-setup-version.js.map +0 -1
- package/dist/cli/doctor/settings-drift.d.ts +0 -25
- package/dist/cli/doctor/settings-drift.js +0 -213
- package/dist/cli/doctor/settings-drift.js.map +0 -1
- package/dist/cli/doctor/toolchain-parity.d.ts +0 -63
- package/dist/cli/doctor/toolchain-parity.js +0 -154
- package/dist/cli/doctor/toolchain-parity.js.map +0 -1
- package/dist/cli/doctor/ug-auto-approvals.d.ts +0 -40
- package/dist/cli/doctor/ug-auto-approvals.js +0 -91
- package/dist/cli/doctor/ug-auto-approvals.js.map +0 -1
- package/dist/cli/doctor/ug-delegations.d.ts +0 -26
- package/dist/cli/doctor/ug-delegations.js +0 -121
- package/dist/cli/doctor/ug-delegations.js.map +0 -1
- package/dist/cli/doctor/ug-inflight.d.ts +0 -35
- package/dist/cli/doctor/ug-inflight.js +0 -57
- package/dist/cli/doctor/ug-inflight.js.map +0 -1
- package/dist/cli/doctor/understanding-mode-env.d.ts +0 -51
- package/dist/cli/doctor/understanding-mode-env.js +0 -98
- package/dist/cli/doctor/understanding-mode-env.js.map +0 -1
- package/dist/cli/dry-run.d.ts +0 -58
- package/dist/cli/dry-run.js +0 -283
- package/dist/cli/dry-run.js.map +0 -1
- package/dist/cli/enriched-event.d.ts +0 -35
- package/dist/cli/enriched-event.js +0 -60
- package/dist/cli/enriched-event.js.map +0 -1
- package/dist/cli/event-input.d.ts +0 -28
- package/dist/cli/event-input.js +0 -73
- package/dist/cli/event-input.js.map +0 -1
- package/dist/cli/explain-action.d.ts +0 -25
- package/dist/cli/explain-action.js +0 -57
- package/dist/cli/explain-action.js.map +0 -1
- package/dist/cli/explain-policy.d.ts +0 -147
- package/dist/cli/explain-policy.js +0 -248
- package/dist/cli/explain-policy.js.map +0 -1
- package/dist/cli/explain.d.ts +0 -31
- package/dist/cli/explain.js +0 -159
- package/dist/cli/explain.js.map +0 -1
- package/dist/cli/gc/index.d.ts +0 -63
- package/dist/cli/gc/index.js +0 -566
- package/dist/cli/gc/index.js.map +0 -1
- package/dist/cli/pack/approve-escape.d.ts +0 -19
- package/dist/cli/pack/approve-escape.js +0 -190
- package/dist/cli/pack/approve-escape.js.map +0 -1
- package/dist/cli/pack/auto-approve-path.d.ts +0 -146
- package/dist/cli/pack/auto-approve-path.js +0 -462
- package/dist/cli/pack/auto-approve-path.js.map +0 -1
- package/dist/cli/pack/hook-codex-post-tool-use.d.ts +0 -25
- package/dist/cli/pack/hook-codex-post-tool-use.js +0 -160
- package/dist/cli/pack/hook-codex-post-tool-use.js.map +0 -1
- package/dist/cli/pack/hook-codex-pre-tool-use.d.ts +0 -48
- package/dist/cli/pack/hook-codex-pre-tool-use.js +0 -474
- package/dist/cli/pack/hook-codex-pre-tool-use.js.map +0 -1
- package/dist/cli/pack/hook-codex-stop.d.ts +0 -35
- package/dist/cli/pack/hook-codex-stop.js +0 -329
- package/dist/cli/pack/hook-codex-stop.js.map +0 -1
- package/dist/cli/pack/hook-codex-user-prompt-submit.d.ts +0 -24
- package/dist/cli/pack/hook-codex-user-prompt-submit.js +0 -93
- package/dist/cli/pack/hook-codex-user-prompt-submit.js.map +0 -1
- package/dist/cli/pack/hook-post-merge-gate-record.d.ts +0 -37
- package/dist/cli/pack/hook-post-merge-gate-record.js +0 -190
- package/dist/cli/pack/hook-post-merge-gate-record.js.map +0 -1
- package/dist/cli/pack/hook-post-merge-gate.d.ts +0 -34
- package/dist/cli/pack/hook-post-merge-gate.js +0 -277
- package/dist/cli/pack/hook-post-merge-gate.js.map +0 -1
- package/dist/cli/pack/hook-post-tool-use.d.ts +0 -45
- package/dist/cli/pack/hook-post-tool-use.js +0 -137
- package/dist/cli/pack/hook-post-tool-use.js.map +0 -1
- package/dist/cli/pack/hook-pre-tool-use.d.ts +0 -92
- package/dist/cli/pack/hook-pre-tool-use.js +0 -1328
- package/dist/cli/pack/hook-pre-tool-use.js.map +0 -1
- package/dist/cli/pack/hook-runtime-reality.d.ts +0 -63
- package/dist/cli/pack/hook-runtime-reality.js +0 -210
- package/dist/cli/pack/hook-runtime-reality.js.map +0 -1
- package/dist/cli/pack/hook-solution-acceptance-writeguard.d.ts +0 -32
- package/dist/cli/pack/hook-solution-acceptance-writeguard.js +0 -438
- package/dist/cli/pack/hook-solution-acceptance-writeguard.js.map +0 -1
- package/dist/cli/pack/hook-solution-acceptance.d.ts +0 -157
- package/dist/cli/pack/hook-solution-acceptance.js +0 -530
- package/dist/cli/pack/hook-solution-acceptance.js.map +0 -1
- package/dist/cli/pack/hook-stay-in-scope.d.ts +0 -37
- package/dist/cli/pack/hook-stay-in-scope.js +0 -128
- package/dist/cli/pack/hook-stay-in-scope.js.map +0 -1
- package/dist/cli/pack/hook-subagent-start.d.ts +0 -23
- package/dist/cli/pack/hook-subagent-start.js +0 -88
- package/dist/cli/pack/hook-subagent-start.js.map +0 -1
- package/dist/cli/pack/hook-subagent-stop.d.ts +0 -19
- package/dist/cli/pack/hook-subagent-stop.js +0 -41
- package/dist/cli/pack/hook-subagent-stop.js.map +0 -1
- package/dist/cli/pack/hook-track-active-claim.d.ts +0 -27
- package/dist/cli/pack/hook-track-active-claim.js +0 -275
- package/dist/cli/pack/hook-track-active-claim.js.map +0 -1
- package/dist/cli/pack/transcript-report-scan.d.ts +0 -71
- package/dist/cli/pack/transcript-report-scan.js +0 -359
- package/dist/cli/pack/transcript-report-scan.js.map +0 -1
- package/dist/cli/pack/understanding-report-schema-hint.d.ts +0 -26
- package/dist/cli/pack/understanding-report-schema-hint.js +0 -120
- package/dist/cli/pack/understanding-report-schema-hint.js.map +0 -1
- package/dist/cli/pack/upgrade.d.ts +0 -32
- package/dist/cli/pack/upgrade.js +0 -273
- package/dist/cli/pack/upgrade.js.map +0 -1
- package/dist/cli/pause/index.d.ts +0 -113
- package/dist/cli/pause/index.js +0 -251
- package/dist/cli/pause/index.js.map +0 -1
- package/dist/cli/pause-check.d.ts +0 -22
- package/dist/cli/pause-check.js +0 -54
- package/dist/cli/pause-check.js.map +0 -1
- package/dist/cli/policy/intercept.d.ts +0 -233
- package/dist/cli/policy/intercept.js +0 -1022
- package/dist/cli/policy/intercept.js.map +0 -1
- package/dist/cli/policy/risk-envelope-enrichment.d.ts +0 -40
- package/dist/cli/policy/risk-envelope-enrichment.js +0 -110
- package/dist/cli/policy/risk-envelope-enrichment.js.map +0 -1
- package/dist/cli/record/index.d.ts +0 -81
- package/dist/cli/record/index.js +0 -348
- package/dist/cli/record/index.js.map +0 -1
- package/dist/cli/register-audit-group.js +0 -91
- package/dist/cli/register-audit-group.js.map +0 -1
- package/dist/cli/resolve-env.d.ts +0 -32
- package/dist/cli/resolve-env.js +0 -46
- package/dist/cli/resolve-env.js.map +0 -1
- package/dist/cli/session-export/index.d.ts +0 -46
- package/dist/cli/session-export/index.js +0 -169
- package/dist/cli/session-export/index.js.map +0 -1
- package/dist/cli/session-export/redact.d.ts +0 -22
- package/dist/cli/session-export/redact.js +0 -47
- package/dist/cli/session-export/redact.js.map +0 -1
- package/dist/cli/session-export/transcript.d.ts +0 -24
- package/dist/cli/session-export/transcript.js +0 -164
- package/dist/cli/session-export/transcript.js.map +0 -1
- package/dist/cli/session-start/branch-check.d.ts +0 -18
- package/dist/cli/session-start/branch-check.js +0 -140
- package/dist/cli/session-start/branch-check.js.map +0 -1
- package/dist/cli/session-start/index.d.ts +0 -121
- package/dist/cli/session-start/index.js +0 -591
- package/dist/cli/session-start/index.js.map +0 -1
- package/dist/cli/session-start/shared-options.d.ts +0 -103
- package/dist/cli/session-start/shared-options.js +0 -107
- package/dist/cli/session-start/shared-options.js.map +0 -1
- package/dist/cli/session-start/stale-base-check.d.ts +0 -46
- package/dist/cli/session-start/stale-base-check.js +0 -352
- package/dist/cli/session-start/stale-base-check.js.map +0 -1
- package/dist/cli/session-start/toolchain-parity.d.ts +0 -267
- package/dist/cli/session-start/toolchain-parity.js +0 -797
- package/dist/cli/session-start/toolchain-parity.js.map +0 -1
- package/dist/cli/smoke/assertions.d.ts +0 -46
- package/dist/cli/smoke/assertions.js +0 -170
- package/dist/cli/smoke/assertions.js.map +0 -1
- package/dist/cli/smoke/index.d.ts +0 -76
- package/dist/cli/smoke/index.js +0 -245
- package/dist/cli/smoke/index.js.map +0 -1
- package/dist/cli/smoke/runner.d.ts +0 -55
- package/dist/cli/smoke/runner.js +0 -134
- package/dist/cli/smoke/runner.js.map +0 -1
- package/dist/cli/smoke/stream-parser.d.ts +0 -65
- package/dist/cli/smoke/stream-parser.js +0 -115
- package/dist/cli/smoke/stream-parser.js.map +0 -1
- package/dist/cli/test-risk.d.ts +0 -27
- package/dist/cli/test-risk.js +0 -38
- package/dist/cli/test-risk.js.map +0 -1
- package/dist/io/display-path.d.ts +0 -11
- package/dist/io/display-path.js +0 -29
- package/dist/io/display-path.js.map +0 -1
- package/dist/io/duration.d.ts +0 -5
- package/dist/io/duration.js +0 -50
- package/dist/io/duration.js.map +0 -1
- package/dist/io/extract.d.ts +0 -79
- package/dist/io/extract.js +0 -226
- package/dist/io/extract.js.map +0 -1
- package/dist/io/ledger-record.d.ts +0 -83
- package/dist/io/ledger-record.js +0 -301
- package/dist/io/ledger-record.js.map +0 -1
- package/dist/io/read-json-dir-entries.d.ts +0 -36
- package/dist/io/read-json-dir-entries.js +0 -48
- package/dist/io/read-json-dir-entries.js.map +0 -1
- package/dist/io/safe-json-parse.d.ts +0 -5
- package/dist/io/safe-json-parse.js +0 -21
- package/dist/io/safe-json-parse.js.map +0 -1
- package/dist/policies/index.d.ts +0 -5
- package/dist/policies/index.js +0 -6
- package/dist/policies/index.js.map +0 -1
- package/dist/policies/ledger-client.d.ts +0 -113
- package/dist/policies/ledger-client.js +0 -500
- package/dist/policies/ledger-client.js.map +0 -1
- package/dist/policies/producers.d.ts +0 -12
- package/dist/policies/producers.js +0 -61
- package/dist/policies/producers.js.map +0 -1
- package/dist/policies/requires.d.ts +0 -75
- package/dist/policies/requires.js +0 -240
- package/dist/policies/requires.js.map +0 -1
- package/dist/policies/timestamp.d.ts +0 -14
- package/dist/policies/timestamp.js +0 -36
- package/dist/policies/timestamp.js.map +0 -1
- package/dist/policy-packs/builtin/permission-profiles.d.ts +0 -11
- package/dist/policy-packs/builtin/permission-profiles.js +0 -74
- package/dist/policy-packs/builtin/permission-profiles.js.map +0 -1
- package/dist/policy-packs/builtin/post-merge-gate-runtime.d.ts +0 -286
- package/dist/policy-packs/builtin/post-merge-gate-runtime.js +0 -397
- package/dist/policy-packs/builtin/post-merge-gate-runtime.js.map +0 -1
- package/dist/policy-packs/builtin/post-merge-gate.d.ts +0 -56
- package/dist/policy-packs/builtin/post-merge-gate.js +0 -347
- package/dist/policy-packs/builtin/post-merge-gate.js.map +0 -1
- package/dist/policy-packs/builtin/solution-acceptance-reconnect.d.ts +0 -50
- package/dist/policy-packs/builtin/solution-acceptance-reconnect.js +0 -151
- package/dist/policy-packs/builtin/solution-acceptance-reconnect.js.map +0 -1
- package/dist/policy-packs/builtin/solution-acceptance-runtime.d.ts +0 -323
- package/dist/policy-packs/builtin/solution-acceptance-runtime.js +0 -672
- package/dist/policy-packs/builtin/solution-acceptance-runtime.js.map +0 -1
- package/dist/policy-packs/builtin/solution-acceptance.d.ts +0 -45
- package/dist/policy-packs/builtin/solution-acceptance.js +0 -226
- package/dist/policy-packs/builtin/solution-acceptance.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/active-claim.d.ts +0 -25
- package/dist/policy-packs/builtin/understanding-before-execution/active-claim.js +0 -94
- package/dist/policy-packs/builtin/understanding-before-execution/active-claim.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/auto-approve-default.d.ts +0 -35
- package/dist/policy-packs/builtin/understanding-before-execution/auto-approve-default.js +0 -86
- package/dist/policy-packs/builtin/understanding-before-execution/auto-approve-default.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/auto-approve.d.ts +0 -210
- package/dist/policy-packs/builtin/understanding-before-execution/auto-approve.js +0 -361
- package/dist/policy-packs/builtin/understanding-before-execution/auto-approve.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/delegation-markers.d.ts +0 -304
- package/dist/policy-packs/builtin/understanding-before-execution/delegation-markers.js +0 -734
- package/dist/policy-packs/builtin/understanding-before-execution/delegation-markers.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/expiry-reason.d.ts +0 -36
- package/dist/policy-packs/builtin/understanding-before-execution/expiry-reason.js +0 -73
- package/dist/policy-packs/builtin/understanding-before-execution/expiry-reason.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/index.d.ts +0 -19
- package/dist/policy-packs/builtin/understanding-before-execution/index.js +0 -83
- package/dist/policy-packs/builtin/understanding-before-execution/index.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/inflight-records.d.ts +0 -135
- package/dist/policy-packs/builtin/understanding-before-execution/inflight-records.js +0 -643
- package/dist/policy-packs/builtin/understanding-before-execution/inflight-records.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/ledger.d.ts +0 -25
- package/dist/policy-packs/builtin/understanding-before-execution/ledger.js +0 -56
- package/dist/policy-packs/builtin/understanding-before-execution/ledger.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/lifecycle.d.ts +0 -20
- package/dist/policy-packs/builtin/understanding-before-execution/lifecycle.js +0 -106
- package/dist/policy-packs/builtin/understanding-before-execution/lifecycle.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/markers.d.ts +0 -126
- package/dist/policy-packs/builtin/understanding-before-execution/markers.js +0 -245
- package/dist/policy-packs/builtin/understanding-before-execution/markers.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/measured-permission-modes.d.ts +0 -29
- package/dist/policy-packs/builtin/understanding-before-execution/measured-permission-modes.js +0 -82
- package/dist/policy-packs/builtin/understanding-before-execution/measured-permission-modes.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/permission-mode-observations.d.ts +0 -71
- package/dist/policy-packs/builtin/understanding-before-execution/permission-mode-observations.js +0 -175
- package/dist/policy-packs/builtin/understanding-before-execution/permission-mode-observations.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/persisted-reports.d.ts +0 -625
- package/dist/policy-packs/builtin/understanding-before-execution/persisted-reports.js +0 -1076
- package/dist/policy-packs/builtin/understanding-before-execution/persisted-reports.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/post-tool-use-boundary.d.ts +0 -128
- package/dist/policy-packs/builtin/understanding-before-execution/post-tool-use-boundary.js +0 -213
- package/dist/policy-packs/builtin/understanding-before-execution/post-tool-use-boundary.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/stay-in-scope-config.d.ts +0 -129
- package/dist/policy-packs/builtin/understanding-before-execution/stay-in-scope-config.js +0 -166
- package/dist/policy-packs/builtin/understanding-before-execution/stay-in-scope-config.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution/task-markers.d.ts +0 -164
- package/dist/policy-packs/builtin/understanding-before-execution/task-markers.js +0 -275
- package/dist/policy-packs/builtin/understanding-before-execution/task-markers.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution-runtime.d.ts +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution-runtime.js +0 -10
- package/dist/policy-packs/builtin/understanding-before-execution-runtime.js.map +0 -1
- package/dist/policy-packs/builtin/understanding-before-execution.d.ts +0 -526
- package/dist/policy-packs/builtin/understanding-before-execution.js +0 -1078
- package/dist/policy-packs/builtin/understanding-before-execution.js.map +0 -1
- package/dist/policy-packs/permission-translator.d.ts +0 -9
- package/dist/policy-packs/permission-translator.js +0 -76
- package/dist/policy-packs/permission-translator.js.map +0 -1
- package/dist/runtime/action-envelope.d.ts +0 -64
- package/dist/runtime/action-envelope.js +0 -46
- package/dist/runtime/action-envelope.js.map +0 -1
- package/dist/runtime/approval-signing.d.ts +0 -111
- package/dist/runtime/approval-signing.js +0 -384
- package/dist/runtime/approval-signing.js.map +0 -1
- package/dist/runtime/bash-match-facts.d.ts +0 -60
- package/dist/runtime/bash-match-facts.js +0 -196
- package/dist/runtime/bash-match-facts.js.map +0 -1
- package/dist/runtime/bash-match-registry.d.ts +0 -112
- package/dist/runtime/bash-match-registry.js +0 -406
- package/dist/runtime/bash-match-registry.js.map +0 -1
- package/dist/runtime/bash-prefix-parse.d.ts +0 -31
- package/dist/runtime/bash-prefix-parse.js +0 -576
- package/dist/runtime/bash-prefix-parse.js.map +0 -1
- package/dist/runtime/command-normalize.d.ts +0 -658
- package/dist/runtime/command-normalize.js +0 -2410
- package/dist/runtime/command-normalize.js.map +0 -1
- package/dist/runtime/deletion-target-resolve.d.ts +0 -28
- package/dist/runtime/deletion-target-resolve.js +0 -1078
- package/dist/runtime/deletion-target-resolve.js.map +0 -1
- package/dist/runtime/destructive-shell-floor.d.ts +0 -19
- package/dist/runtime/destructive-shell-floor.js +0 -611
- package/dist/runtime/destructive-shell-floor.js.map +0 -1
- package/dist/runtime/environment-resolver.d.ts +0 -36
- package/dist/runtime/environment-resolver.js +0 -138
- package/dist/runtime/environment-resolver.js.map +0 -1
- package/dist/runtime/git-context.d.ts +0 -201
- package/dist/runtime/git-context.js +0 -422
- package/dist/runtime/git-context.js.map +0 -1
- package/dist/runtime/index.d.ts +0 -12
- package/dist/runtime/index.js +0 -13
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/intercept.d.ts +0 -623
- package/dist/runtime/intercept.js +0 -1384
- package/dist/runtime/intercept.js.map +0 -1
- package/dist/runtime/kube-context.d.ts +0 -16
- package/dist/runtime/kube-context.js +0 -63
- package/dist/runtime/kube-context.js.map +0 -1
- package/dist/runtime/kubectl-target-parse.d.ts +0 -31
- package/dist/runtime/kubectl-target-parse.js +0 -249
- package/dist/runtime/kubectl-target-parse.js.map +0 -1
- package/dist/runtime/ledger-add.d.ts +0 -16
- package/dist/runtime/ledger-add.js +0 -150
- package/dist/runtime/ledger-add.js.map +0 -1
- package/dist/runtime/ledger-writer.d.ts +0 -27
- package/dist/runtime/ledger-writer.js +0 -46
- package/dist/runtime/ledger-writer.js.map +0 -1
- package/dist/runtime/pause-sentinel.d.ts +0 -60
- package/dist/runtime/pause-sentinel.js +0 -156
- package/dist/runtime/pause-sentinel.js.map +0 -1
- package/dist/runtime/pending-approval.d.ts +0 -23
- package/dist/runtime/pending-approval.js +0 -67
- package/dist/runtime/pending-approval.js.map +0 -1
- package/dist/runtime/read-only-bash.d.ts +0 -141
- package/dist/runtime/read-only-bash.js +0 -2204
- package/dist/runtime/read-only-bash.js.map +0 -1
- package/dist/runtime/recovery-git-commit.d.ts +0 -22
- package/dist/runtime/recovery-git-commit.js +0 -284
- package/dist/runtime/recovery-git-commit.js.map +0 -1
- package/dist/runtime/reject-malformed-session-id.d.ts +0 -8
- package/dist/runtime/reject-malformed-session-id.js +0 -16
- package/dist/runtime/reject-malformed-session-id.js.map +0 -1
- package/dist/runtime/risk-classifier.d.ts +0 -38
- package/dist/runtime/risk-classifier.js +0 -311
- package/dist/runtime/risk-classifier.js.map +0 -1
- package/dist/runtime/session-id.d.ts +0 -113
- package/dist/runtime/session-id.js +0 -193
- package/dist/runtime/session-id.js.map +0 -1
- package/dist/runtime/shell-word.d.ts +0 -62
- package/dist/runtime/shell-word.js +0 -410
- package/dist/runtime/shell-word.js.map +0 -1
- package/dist/runtime/task-providers/agent-tasks.d.ts +0 -105
- package/dist/runtime/task-providers/agent-tasks.js +0 -247
- package/dist/runtime/task-providers/agent-tasks.js.map +0 -1
- package/dist/runtime/when-eval.d.ts +0 -62
- package/dist/runtime/when-eval.js +0 -212
- package/dist/runtime/when-eval.js.map +0 -1
- package/dist/runtime/workflow-policies.d.ts +0 -207
- package/dist/runtime/workflow-policies.js +0 -596
- package/dist/runtime/workflow-policies.js.map +0 -1
- package/dist/schema/audit.d.ts +0 -71
- package/dist/schema/audit.js +0 -32
- package/dist/schema/audit.js.map +0 -1
- package/dist/schema/doctor.d.ts +0 -25
- package/dist/schema/doctor.js +0 -23
- package/dist/schema/doctor.js.map +0 -1
- package/dist/schema/environments.d.ts +0 -215
- package/dist/schema/environments.js +0 -101
- package/dist/schema/environments.js.map +0 -1
- package/dist/schema/extract.d.ts +0 -9
- package/dist/schema/extract.js +0 -86
- package/dist/schema/extract.js.map +0 -1
- package/dist/schema/permission-profiles.d.ts +0 -2292
- package/dist/schema/permission-profiles.js +0 -60
- package/dist/schema/permission-profiles.js.map +0 -1
- package/dist/schema/policies.d.ts +0 -974
- package/dist/schema/policies.js +0 -298
- package/dist/schema/policies.js.map +0 -1
- package/dist/schema/requires.d.ts +0 -131
- package/dist/schema/requires.js +0 -88
- package/dist/schema/requires.js.map +0 -1
- package/dist/schema/risk.d.ts +0 -144
- package/dist/schema/risk.js +0 -194
- package/dist/schema/risk.js.map +0 -1
- package/dist/schema/session-start-preflight.d.ts +0 -10
- package/dist/schema/session-start-preflight.js +0 -106
- package/dist/schema/session-start-preflight.js.map +0 -1
- package/dist/schema/stale-base-check.d.ts +0 -18
- package/dist/schema/stale-base-check.js +0 -37
- package/dist/schema/stale-base-check.js.map +0 -1
- package/dist/schema/toolchain-parity.d.ts +0 -21
- package/dist/schema/toolchain-parity.js +0 -48
- package/dist/schema/toolchain-parity.js.map +0 -1
- package/dist/schema/workflows.d.ts +0 -519
- package/dist/schema/workflows.js +0 -81
- package/dist/schema/workflows.js.map +0 -1
- package/scripts/runtime-reality-docker-probe.mjs +0 -71
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solution-acceptance-runtime.js","sourceRoot":"","sources":["../../../src/policy-packs/builtin/solution-acceptance-runtime.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,EAAE;AACF,8EAA8E;AAC9E,8EAA8E;AAC9E,sEAAsE;AACtE,8EAA8E;AAC9E,4EAA4E;AAC5E,sEAAsE;AACtE,wEAAwE;AACxE,4EAA4E;AAC5E,6CAA6C;AAC7C,EAAE;AACF,uEAAuE;AACvE,yEAAyE;AACzE,2DAA2D;AAC3D,4EAA4E;AAC5E,yEAAyE;AACzE,8EAA8E;AAC9E,2EAA2E;AAC3E,0EAA0E;AAC1E,gEAAgE;AAChE,EAAE;AACF,2EAA2E;AAC3E,oCAAoC;AACpC,EAAE;AACF,0EAA0E;AAC1E,6EAA6E;AAC7E,wEAAwE;AACxE,8DAA8D;AAC9D,EA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,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;YAAE,OAAO,IAAI,CAAC;IAC9D,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,qFAAqF;AACrF,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAC1C,gFAAgF;AAChF,MAAM,iBAAiB,GAAG,IAAI,MAAM,CAAC,mBAAmB,SAAS,iBAAiB,EAAE,GAAG,CAAC,CAAC;AAEzF;;;;;;;;;GASG;AACH,SAAS,uBAAuB,CAAC,OAAe;IAC9C,OAAO,OAAO;SACX,KAAK,CAAC,OAAO,CAAC;SACd,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC,CAAC;SAC/F,IAAI,CAAC,EAAE,CAAC,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,wBAAwB,GAAsB;IAClD,MAAM;IACN,QAAQ;IACR,kCAAkC;IAClC,mIAAmI;IACnI,iDAAiD;CAClD,CAAC;AAEF,SAAS,sBAAsB,CAAC,OAAe;IAC7C,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACjE,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import type { PolicyPack } from "../../schema/index.js";
|
|
3
|
-
import { type Runtime } from "../runtime.js";
|
|
4
|
-
import type { PackContribution } from "../types.js";
|
|
5
|
-
import { PACK_NAME } from "./solution-acceptance-runtime.js";
|
|
6
|
-
import { type ResolvePackOptions } from "./understanding-before-execution.js";
|
|
7
|
-
export { PACK_NAME };
|
|
8
|
-
/**
|
|
9
|
-
* Zod schema for this pack's `config:` block. Strict by design so typo'd
|
|
10
|
-
* keys fail loud at lint time (mirrors sibling packs).
|
|
11
|
-
*/
|
|
12
|
-
export declare const configSchema: z.ZodObject<{
|
|
13
|
-
protected_completion_tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14
|
-
ux: z.ZodOptional<z.ZodObject<{
|
|
15
|
-
cannot: z.ZodString;
|
|
16
|
-
required: z.ZodArray<z.ZodString, "many">;
|
|
17
|
-
run: z.ZodArray<z.ZodString, "many">;
|
|
18
|
-
}, "strict", z.ZodTypeAny, {
|
|
19
|
-
cannot: string;
|
|
20
|
-
required: string[];
|
|
21
|
-
run: string[];
|
|
22
|
-
}, {
|
|
23
|
-
cannot: string;
|
|
24
|
-
required: string[];
|
|
25
|
-
run: string[];
|
|
26
|
-
}>>;
|
|
27
|
-
}, "strict", z.ZodTypeAny, {
|
|
28
|
-
ux?: {
|
|
29
|
-
cannot: string;
|
|
30
|
-
required: string[];
|
|
31
|
-
run: string[];
|
|
32
|
-
} | undefined;
|
|
33
|
-
protected_completion_tools?: string[] | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
ux?: {
|
|
36
|
-
cannot: string;
|
|
37
|
-
required: string[];
|
|
38
|
-
run: string[];
|
|
39
|
-
} | undefined;
|
|
40
|
-
protected_completion_tools?: string[] | undefined;
|
|
41
|
-
}>;
|
|
42
|
-
export declare function resolve(pack: PolicyPack, runtime?: Runtime, opts?: ResolvePackOptions): {
|
|
43
|
-
contribution: PackContribution;
|
|
44
|
-
warnings: string[];
|
|
45
|
-
};
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
// Builtin Policy Pack: `solution-acceptance`.
|
|
2
|
-
//
|
|
3
|
-
// Consumer half of the solution-acceptance gate (the "Verifier-gated Done"
|
|
4
|
-
// anti-lazyness mechanism). Makes a task's completion EARNED from a real
|
|
5
|
-
// preflight run, not self-attested. The producer is grounding-mcp's
|
|
6
|
-
// `solution_evaluate` (>= 0.3.2); harness reads the HEAD-pinned verdict
|
|
7
|
-
// marker it writes and gates the task-finishing tools on it.
|
|
8
|
-
//
|
|
9
|
-
// Two PreToolUse hooks, both `blocking: hard`:
|
|
10
|
-
//
|
|
11
|
-
// 1. completion-gate (`harness pack hook solution-acceptance`): denies the
|
|
12
|
-
// agent-tasks completion verbs (task_finish / task_submit_pr /
|
|
13
|
-
// task_merge / pull_requests_merge) — and, belt-and-suspenders, a
|
|
14
|
-
// `git push` / `gh pr merge` bash command — unless a READY verdict
|
|
15
|
-
// exists at the CURRENT git HEAD. The verdict id is the active-claim
|
|
16
|
-
// task id; with no active claim the gate fails CLOSED.
|
|
17
|
-
//
|
|
18
|
-
// 2. write-guard (`harness pack hook solution-acceptance-writeguard`): the
|
|
19
|
-
// actual anti-forgery closure. Relocating the verdict dir is NOT enough
|
|
20
|
-
// — understanding-gate allows all Bash post-approval — so this hook
|
|
21
|
-
// blocks the agent's enumerated write paths (Bash redirects/`tee`/`mv`/
|
|
22
|
-
// `cp`/`ln`/interpreter writes that reference the dir, `chmod`/`chattr`
|
|
23
|
-
// on the dir, and Write/Edit/MultiEdit/NotebookEdit whose `file_path`
|
|
24
|
-
// lands inside the dir). The ONLY remaining writer is the producer
|
|
25
|
-
// (the operator-launched grounding-mcp MCP server, which runs real
|
|
26
|
-
// preflight and does not flow through the agent's gated tool surface).
|
|
27
|
-
//
|
|
28
|
-
// Anti-forgery scope (operator decision, 2026-05-30): v1 closes the
|
|
29
|
-
// ENUMERATED-WRITE-PATH residual, NOT arbitrary same-uid forgery. Content
|
|
30
|
-
// signing (a cross-repo follow-up that also touches the producer) is what
|
|
31
|
-
// closes an unguarded write primitive. See solution-acceptance-runtime.ts.
|
|
32
|
-
//
|
|
33
|
-
// Pack is OFF by default; enable per-installation via
|
|
34
|
-
// `harness pack add solution-acceptance`. The `full` init template wires it
|
|
35
|
-
// as a disabled-by-policy exemplar... (see templates.ts). It REQUIRES
|
|
36
|
-
// grounding-mcp under `tools.mcp` (the producer) and the `preflight` binary
|
|
37
|
-
// on PATH; `harness validate` / `harness doctor` warn when the producer is
|
|
38
|
-
// absent (a missing producer means the gate can never see a verdict and
|
|
39
|
-
// would deadlock).
|
|
40
|
-
import { z } from "zod";
|
|
41
|
-
import { PolicyUxSchema } from "../../schema/policies.js";
|
|
42
|
-
import { DEFAULT_RUNTIME } from "../runtime.js";
|
|
43
|
-
import { PACK_NAME, resolveProtectedCompletionTools, VERDICT_DIR_ENV, } from "./solution-acceptance-runtime.js";
|
|
44
|
-
import { renderReconnectInstructionsSection } from "./solution-acceptance-reconnect.js";
|
|
45
|
-
import { agentTasksToolName } from "../../runtime/task-providers/agent-tasks.js";
|
|
46
|
-
import { shellQuoteSingle, } from "./understanding-before-execution.js";
|
|
47
|
-
export { PACK_NAME };
|
|
48
|
-
/**
|
|
49
|
-
* Zod schema for this pack's `config:` block. Strict by design so typo'd
|
|
50
|
-
* keys fail loud at lint time (mirrors sibling packs).
|
|
51
|
-
*/
|
|
52
|
-
export const configSchema = z
|
|
53
|
-
.object({
|
|
54
|
-
// Override the agent-tasks completion verbs the gate fires on. The
|
|
55
|
-
// names are bare verbs (e.g. "task_finish"); the matcher prefixes
|
|
56
|
-
// `mcp__agent-tasks__`. Defaults to DEFAULT_PROTECTED_COMPLETION_TOOLS.
|
|
57
|
-
protected_completion_tools: z.array(z.string().min(1)).min(1).optional(),
|
|
58
|
-
// `ux` renders the agent-facing remediation block when a gate trips.
|
|
59
|
-
ux: PolicyUxSchema.optional(),
|
|
60
|
-
})
|
|
61
|
-
.strict();
|
|
62
|
-
const HOOK_NAME_PREFIX = `policy-pack:${PACK_NAME}`;
|
|
63
|
-
const COMPLETION_BLOCKER_COMMAND = "harness pack hook solution-acceptance";
|
|
64
|
-
const WRITEGUARD_BLOCKER_COMMAND = "harness pack hook solution-acceptance-writeguard";
|
|
65
|
-
// Mirrors the REPORTS_DIR_ENV pattern in understanding-before-execution.ts:
|
|
66
|
-
// imported from the runtime so the const is defined in exactly one place.
|
|
67
|
-
const SOLUTION_VERDICT_DIR_ENV = VERDICT_DIR_ENV;
|
|
68
|
-
function prefixCommandWithVerdictDir(command, verdictDir) {
|
|
69
|
-
if (!verdictDir)
|
|
70
|
-
return command;
|
|
71
|
-
return `${SOLUTION_VERDICT_DIR_ENV}=${shellQuoteSingle(verdictDir)} ${command}`;
|
|
72
|
-
}
|
|
73
|
-
const WRITEGUARD_MATCH_CLAUDE = "Edit|Write|MultiEdit|NotebookEdit|Bash";
|
|
74
|
-
const WRITEGUARD_MATCH_CODEX = "apply_patch|Bash";
|
|
75
|
-
/**
|
|
76
|
-
* PreToolUse `match` for the completion-gate. `Bash` is always included for
|
|
77
|
-
* the `git push` / `gh pr merge` belt-and-suspenders arm; on the Claude
|
|
78
|
-
* runtime the agent-tasks MCP verbs are appended (the reliable choke
|
|
79
|
-
* points). Codex has no agent-tasks MCP surface here, so it gets the Bash
|
|
80
|
-
* arm only (documented limitation).
|
|
81
|
-
*/
|
|
82
|
-
function completionMatch(runtime, tools) {
|
|
83
|
-
if (runtime === "codex")
|
|
84
|
-
return "Bash";
|
|
85
|
-
return `Bash|${tools.map(agentTasksToolName).join("|")}`;
|
|
86
|
-
}
|
|
87
|
-
function buildHooks(runtime, tools, opts = {}) {
|
|
88
|
-
const writeGuardMatch = runtime === "codex" ? WRITEGUARD_MATCH_CODEX : WRITEGUARD_MATCH_CLAUDE;
|
|
89
|
-
// When `opts.solutionVerdictDir` is set (the apply path), each command is
|
|
90
|
-
// prefixed with `SOLUTION_VERDICT_DIR=<absolute>` so the completion-gate
|
|
91
|
-
// hook reads from the same directory the producer (grounding-mcp) writes to,
|
|
92
|
-
// regardless of each process's cwd.
|
|
93
|
-
const wrap = (cmd) => prefixCommandWithVerdictDir(cmd, opts.solutionVerdictDir);
|
|
94
|
-
return [
|
|
95
|
-
{
|
|
96
|
-
name: `${HOOK_NAME_PREFIX}:completion-gate`,
|
|
97
|
-
event: "PreToolUse",
|
|
98
|
-
match: completionMatch(runtime, tools),
|
|
99
|
-
command: wrap(COMPLETION_BLOCKER_COMMAND),
|
|
100
|
-
blocking: "hard",
|
|
101
|
-
budget_ms: 5000,
|
|
102
|
-
description: "Blocker: deny the task-finishing tools (agent-tasks completion verbs + `git push` / `gh pr merge`) unless a ready solution-acceptance verdict exists at the current git HEAD. Fail-closed.",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: `${HOOK_NAME_PREFIX}:write-guard`,
|
|
106
|
-
event: "PreToolUse",
|
|
107
|
-
match: writeGuardMatch,
|
|
108
|
-
command: wrap(WRITEGUARD_BLOCKER_COMMAND),
|
|
109
|
-
blocking: "hard",
|
|
110
|
-
budget_ms: 5000,
|
|
111
|
-
description: "Anti-forgery write-guard: deny any agent write into the solution-verdict dir (redirects/tee/mv/cp/ln/interpreter writes that reference it, chmod/chattr on it, and path-tool file_path inside it). The producer (grounding-mcp MCP server) is the only legitimate writer.",
|
|
112
|
-
},
|
|
113
|
-
];
|
|
114
|
-
}
|
|
115
|
-
function buildInstructions(pack, tools, runtime) {
|
|
116
|
-
const description = pack.description?.trim() ?? "";
|
|
117
|
-
const isOpencode = runtime === "opencode";
|
|
118
|
-
// HIGH-F1 (batch18 fix-round, task f34eb233): unlike the sibling
|
|
119
|
-
// packs, this file previously had NO runtime-conditional text at all
|
|
120
|
-
// — "## Effect" unconditionally claimed the hooks below "are wired
|
|
121
|
-
// into the harness-managed settings", which is false under
|
|
122
|
-
// `--runtime opencode`: opencode has no declarative hook/event field
|
|
123
|
-
// and `harness apply --runtime opencode` never projects `hooks[]`
|
|
124
|
-
// into the generated opencode artefact (see runtime.ts's header).
|
|
125
|
-
// Mirrors post-merge-gate.ts's "## Runtime" UNSUPPORTED marker.
|
|
126
|
-
const runtimeUnsupportedNote = isOpencode
|
|
127
|
-
? " (UNSUPPORTED — opencode has no declarative hook/event wiring; this pack's hooks are not projected into any opencode artefact)"
|
|
128
|
-
: "";
|
|
129
|
-
const wiringSentence = isOpencode
|
|
130
|
-
? "This pack's hooks are **not wired** under `--runtime opencode`: opencode has no declarative hook/event field (only a JS/TS plugin API), and `harness apply --runtime opencode` never projects `hooks[]` into the generated opencode artefact. The mechanics below describe the Claude Code / Codex behavior this pack implements; none of it fires today under opencode."
|
|
131
|
-
: "Two `PreToolUse` hooks (both blocking: hard) are wired into the\nharness-managed settings:";
|
|
132
|
-
return `# Policy Pack: ${PACK_NAME}
|
|
133
|
-
|
|
134
|
-
> Operator audit copy. This pack makes task completion EARNED from a real
|
|
135
|
-
> preflight run (the producer, grounding-mcp \`solution_evaluate\`) rather
|
|
136
|
-
> than self-attested, and closes the enumerated-write-path forgery residual
|
|
137
|
-
> on the verdict marker.
|
|
138
|
-
|
|
139
|
-
## Runtime
|
|
140
|
-
|
|
141
|
-
${runtime}${runtimeUnsupportedNote}
|
|
142
|
-
|
|
143
|
-
## Producer (required)
|
|
144
|
-
|
|
145
|
-
This pack is a pure CONSUMER. It needs the producer wired:
|
|
146
|
-
|
|
147
|
-
- \`grounding-mcp\` (>= 0.3.2) declared under \`tools.mcp\`, exposing
|
|
148
|
-
\`solution_evaluate\` / \`solution_gate\`.
|
|
149
|
-
- The \`preflight\` binary (\`@lannguyensi/agent-preflight\`) on PATH (or
|
|
150
|
-
\`SOLUTION_PREFLIGHT_BIN\`), which \`solution_evaluate\` shells out to.
|
|
151
|
-
|
|
152
|
-
If the producer is absent the gate can never see a verdict and would
|
|
153
|
-
deadlock; \`harness validate\` / \`harness doctor\` warn about this.
|
|
154
|
-
|
|
155
|
-
## Effect
|
|
156
|
-
|
|
157
|
-
${wiringSentence}
|
|
158
|
-
|
|
159
|
-
1. \`completion-gate\` (\`${COMPLETION_BLOCKER_COMMAND}\`): denies the
|
|
160
|
-
completion verbs unless a READY verdict exists at the CURRENT git HEAD.
|
|
161
|
-
Gated tools: ${tools.map((t) => `\`${t}\``).join(", ")} (matched as
|
|
162
|
-
\`mcp__agent-tasks__<verb>\`), plus a \`git push\` / \`gh pr merge\` bash
|
|
163
|
-
match. The verdict id is the active-claim task id; with no active claim
|
|
164
|
-
the gate fails CLOSED.
|
|
165
|
-
|
|
166
|
-
2. \`write-guard\` (\`${WRITEGUARD_BLOCKER_COMMAND}\`): denies any agent write
|
|
167
|
-
into the verdict dir. The only legitimate writer is the producer.
|
|
168
|
-
|
|
169
|
-
## Earning a verdict
|
|
170
|
-
|
|
171
|
-
\`\`\`
|
|
172
|
-
mcp__grounding-mcp__solution_evaluate({ id: "<active-task-id>" })
|
|
173
|
-
\`\`\`
|
|
174
|
-
|
|
175
|
-
This runs \`preflight run --json\` and records a HEAD-pinned verdict. A
|
|
176
|
-
not-ready run (failing checks, dirty tree) records a not-ready verdict; any
|
|
177
|
-
commit after a green run shifts HEAD and invalidates it, so re-run after
|
|
178
|
-
every change.
|
|
179
|
-
|
|
180
|
-
${renderReconnectInstructionsSection()}
|
|
181
|
-
## Orchestrator-workflow process arm (grounding-mcp >= 0.5.0)
|
|
182
|
-
|
|
183
|
-
From grounding-mcp >= 0.5.0, \`solution_evaluate\` also folds
|
|
184
|
-
orchestrator-workflow process-completeness into \`ready\` and surfaces any
|
|
185
|
-
failure reasons through the EXISTING \`blockers\` (each prefixed
|
|
186
|
-
\`orchestrator-workflow: \`). No new verdict field is added, so this consumer
|
|
187
|
-
is unchanged: a not-ready verdict still denies the completion verbs and the
|
|
188
|
-
OW reasons appear in the deny message. Markers from older producers
|
|
189
|
-
(< 0.5.0) stay shape-compatible and remain preflight-only (no OW arm); there
|
|
190
|
-
is no hard incompatibility.
|
|
191
|
-
|
|
192
|
-
## Anti-forgery scope (v1)
|
|
193
|
-
|
|
194
|
-
v1 closes the ENUMERATED-WRITE-PATH residual: the write-guard blocks the
|
|
195
|
-
agent's Bash/Edit/Write spellings that target the verdict dir. It does NOT
|
|
196
|
-
close arbitrary same-uid forgery (an unguarded write primitive). Marker
|
|
197
|
-
signing — a follow-up that also changes the producer — is what closes
|
|
198
|
-
content-authenticity. A \`0500\` chmod on the dir is deliberately NOT used:
|
|
199
|
-
producer and agent share a uid, so it would block the producer too.
|
|
200
|
-
|
|
201
|
-
## Out of scope (v1)
|
|
202
|
-
|
|
203
|
-
- Goodhart test-count-delta guard (producer side).
|
|
204
|
-
- LLM-judge layer / relative best-of-N ranking.
|
|
205
|
-
- Explicit verdict-id source for untasked sessions (follow-up; today an
|
|
206
|
-
untasked session fails closed).
|
|
207
|
-
|
|
208
|
-
## Pack metadata
|
|
209
|
-
${description ? `\n> ${description.replace(/\n/g, "\n> ")}\n` : ""}
|
|
210
|
-
- Source: \`builtin\`
|
|
211
|
-
- Pack: \`${PACK_NAME}\`
|
|
212
|
-
- Runtime: \`${runtime}\`
|
|
213
|
-
`;
|
|
214
|
-
}
|
|
215
|
-
export function resolve(pack, runtime = DEFAULT_RUNTIME, opts = {}) {
|
|
216
|
-
const tools = resolveProtectedCompletionTools(pack);
|
|
217
|
-
const hooks = buildHooks(runtime, tools, opts);
|
|
218
|
-
const files = [
|
|
219
|
-
{
|
|
220
|
-
relativePath: `policy-packs/${PACK_NAME}/instructions.md`,
|
|
221
|
-
content: buildInstructions(pack, tools, runtime),
|
|
222
|
-
},
|
|
223
|
-
];
|
|
224
|
-
return { contribution: { hooks, files }, warnings: [] };
|
|
225
|
-
}
|
|
226
|
-
//# sourceMappingURL=solution-acceptance.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solution-acceptance.js","sourceRoot":"","sources":["../../../src/policy-packs/builtin/solution-acceptance.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,oEAAoE;AACpE,wEAAwE;AACxE,6DAA6D;AAC7D,EAAE;AACF,+CAA+C;AAC/C,EAAE;AACF,6EAA6E;AAC7E,oEAAoE;AACpE,uEAAuE;AACvE,wEAAwE;AACxE,0EAA0E;AAC1E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,yEAAyE;AACzE,6EAA6E;AAC7E,6EAA6E;AAC7E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AK,GAAG,UAAU,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;IAC/C,MAAM,KAAK,GAA2B;QACpC;YACE,YAAY,EAAE,gBAAgB,SAAS,kBAAkB;YACzD,OAAO,EAAE,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC;SACjD;KACF,CAAC;IACF,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;AAC1D,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const ACTIVE_CLAIM_FILENAME = "active-claim";
|
|
2
|
-
export declare function activeClaimPathFor(generatedDir: string): string;
|
|
3
|
-
/**
|
|
4
|
-
* Hook-side: write the active claim file. Atomic. Called from the
|
|
5
|
-
* track-active-claim PostToolUse hook on `task_start`. The body is
|
|
6
|
-
* just the taskId (no JSON) so an operator running
|
|
7
|
-
* `cat ~/.claude/harness.generated/active-claim` sees the id directly.
|
|
8
|
-
*/
|
|
9
|
-
export declare function writeActiveClaim(generatedDir: string, taskId: string): string;
|
|
10
|
-
/**
|
|
11
|
-
* Operator-side: read the active claim file. Returns the taskId or
|
|
12
|
-
* null when the file is absent / unreadable / empty. `harness approve
|
|
13
|
-
* understanding` calls this when --task is absent, then passes the
|
|
14
|
-
* resolved id to writeTaskApprovalMarker.
|
|
15
|
-
*
|
|
16
|
-
* Defense-in-depth: if the on-disk content fails the same
|
|
17
|
-
* path-traversal / newline check that gates writes, the read returns
|
|
18
|
-
* null instead of surfacing a poisoned id. The write side guards
|
|
19
|
-
* against a malformed taskId reaching the file in the first place,
|
|
20
|
-
* but a stale file authored before this guard (or hand-edited)
|
|
21
|
-
* shouldn't escalate into a forged task-marker write downstream.
|
|
22
|
-
*/
|
|
23
|
-
export declare function readActiveClaim(generatedDir: string): string | null;
|
|
24
|
-
/** Hook-side: remove the active claim file. Idempotent. */
|
|
25
|
-
export declare function clearActiveClaim(generatedDir: string): void;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
// Active-claim tracking (harness/494fd1e5), split out of the former
|
|
2
|
-
// monolithic understanding-before-execution-runtime.ts (structural
|
|
3
|
-
// concentration slice 2, agent-tasks 348a4d42). Pure move: see
|
|
4
|
-
// src/policy-packs/builtin/understanding-before-execution/index.ts for
|
|
5
|
-
// the re-exported public surface.
|
|
6
|
-
import * as fs from "node:fs";
|
|
7
|
-
import * as path from "node:path";
|
|
8
|
-
import { atomicWriteFile } from "../../../io/atomic-write.js";
|
|
9
|
-
// Active-claim tracking (harness/494fd1e5). When the agent calls
|
|
10
|
-
// `mcp__agent-tasks__task_start`, a PostToolUse hook writes the claimed
|
|
11
|
-
// task id to a stable file. `harness approve understanding` reads it
|
|
12
|
-
// when --task is absent and auto-supplies it as the task-scoped marker
|
|
13
|
-
// target. This closes the v1 ergonomics gap from PR #184 where the
|
|
14
|
-
// operator had to type the taskId by hand.
|
|
15
|
-
//
|
|
16
|
-
// File contract: a single line containing just the taskId. No JSON,
|
|
17
|
-
// no metadata. Operators can `cat` it to debug. The track-active-claim
|
|
18
|
-
// PostToolUse hook removes the file when `claimEffectForAgentTasksTool`
|
|
19
|
-
// says the claim is released (a task_finish to done, task_abandon,
|
|
20
|
-
// task_merge, a tasks_transition to done); a task_finish that lands in
|
|
21
|
-
// review keeps it. The session approval marker records this id when it
|
|
22
|
-
// is written and, outside `approval_lifecycle: { mode: session }`,
|
|
23
|
-
// counts only while it is unchanged (task 5018c0c4).
|
|
24
|
-
export const ACTIVE_CLAIM_FILENAME = "active-claim";
|
|
25
|
-
export function activeClaimPathFor(generatedDir) {
|
|
26
|
-
return path.join(generatedDir, ACTIVE_CLAIM_FILENAME);
|
|
27
|
-
}
|
|
28
|
-
function rejectMalformedClaimId(taskId) {
|
|
29
|
-
if (taskId.length === 0) {
|
|
30
|
-
throw new Error("taskId is empty");
|
|
31
|
-
}
|
|
32
|
-
if (taskId.includes("\n") ||
|
|
33
|
-
taskId.includes("\r") ||
|
|
34
|
-
taskId.includes("/") ||
|
|
35
|
-
taskId.includes("\\") ||
|
|
36
|
-
taskId.includes("..")) {
|
|
37
|
-
throw new Error(`taskId contains forbidden characters (newline / path-separator / traversal): ${JSON.stringify(taskId)}`);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Hook-side: write the active claim file. Atomic. Called from the
|
|
42
|
-
* track-active-claim PostToolUse hook on `task_start`. The body is
|
|
43
|
-
* just the taskId (no JSON) so an operator running
|
|
44
|
-
* `cat ~/.claude/harness.generated/active-claim` sees the id directly.
|
|
45
|
-
*/
|
|
46
|
-
export function writeActiveClaim(generatedDir, taskId) {
|
|
47
|
-
rejectMalformedClaimId(taskId);
|
|
48
|
-
const filePath = activeClaimPathFor(generatedDir);
|
|
49
|
-
atomicWriteFile(filePath, `${taskId}\n`);
|
|
50
|
-
return filePath;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Operator-side: read the active claim file. Returns the taskId or
|
|
54
|
-
* null when the file is absent / unreadable / empty. `harness approve
|
|
55
|
-
* understanding` calls this when --task is absent, then passes the
|
|
56
|
-
* resolved id to writeTaskApprovalMarker.
|
|
57
|
-
*
|
|
58
|
-
* Defense-in-depth: if the on-disk content fails the same
|
|
59
|
-
* path-traversal / newline check that gates writes, the read returns
|
|
60
|
-
* null instead of surfacing a poisoned id. The write side guards
|
|
61
|
-
* against a malformed taskId reaching the file in the first place,
|
|
62
|
-
* but a stale file authored before this guard (or hand-edited)
|
|
63
|
-
* shouldn't escalate into a forged task-marker write downstream.
|
|
64
|
-
*/
|
|
65
|
-
export function readActiveClaim(generatedDir) {
|
|
66
|
-
const filePath = activeClaimPathFor(generatedDir);
|
|
67
|
-
let raw;
|
|
68
|
-
try {
|
|
69
|
-
raw = fs.readFileSync(filePath, "utf8");
|
|
70
|
-
}
|
|
71
|
-
catch {
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
const trimmed = raw.trim();
|
|
75
|
-
if (trimmed.length === 0)
|
|
76
|
-
return null;
|
|
77
|
-
try {
|
|
78
|
-
rejectMalformedClaimId(trimmed);
|
|
79
|
-
}
|
|
80
|
-
catch {
|
|
81
|
-
return null;
|
|
82
|
-
}
|
|
83
|
-
return trimmed;
|
|
84
|
-
}
|
|
85
|
-
/** Hook-side: remove the active claim file. Idempotent. */
|
|
86
|
-
export function clearActiveClaim(generatedDir) {
|
|
87
|
-
try {
|
|
88
|
-
fs.rmSync(activeClaimPathFor(generatedDir));
|
|
89
|
-
}
|
|
90
|
-
catch {
|
|
91
|
-
/* already gone */
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
//# sourceMappingURL=active-claim.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"active-claim.js","sourceRoot":"","sources":["../../../../src/policy-packs/builtin/understanding-before-execution/active-claim.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,mEAAmE;AACnE,+DAA+D;AAC/D,uEAAuE;AACvE,kCAAkC;AAElC,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,iEAAiE;AACjE,wEAAwE;AACxE,qEAAqE;AACrE,uEAAuE;AACvE,mEAAmE;AACnE,2CAA2C;AAC3C,EAAE;AACF,oEAAoE;AACpE,uEAAuE;AACvE,wEAAwE;AACxE,mEAAmE;AACnE,uEAAuE;AACvE,uEAAuE;AACvE,mEAAmE;AACnE,qDAAqD;AAErD,MAAM,CAAC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEpD,MAAM,UAAU,kBAAkB,CAAC,YAAoB;IACrD,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,qBAAqB,CAAC,CAAC;AACxD,CAAC;AAED,SAAS,sBAAsB,CAAC,MAAc;IAC5C,IAAI,MAAM,CAAC,MAAM,K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D,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,2DAA2D;AAC3D,MAAM,UAAU,gBAAgB,CAAC,YAAoB;IACnD,IAAI,CAAC;QACH,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAAC,CAAC;IAC9C,CAAC;IAAC,MAAM,CAAC;QACP,kBAAkB;IACpB,CAAC;AACH,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/** `auto_approve.when` value this default ships. */
|
|
2
|
-
export declare const AUTO_APPROVE_DEFAULT_WHEN: readonly string[];
|
|
3
|
-
/** `auto_approve.harnesses` value this default ships. */
|
|
4
|
-
export declare const AUTO_APPROVE_DEFAULT_HARNESSES: readonly string[];
|
|
5
|
-
export interface AutoApproveDefaultConfig {
|
|
6
|
-
when: string[];
|
|
7
|
-
harnesses: string[];
|
|
8
|
-
require_report: true;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* The parsed-YAML shape of the shipped default, for structural equality
|
|
12
|
-
* assertions against a template's parsed `config.auto_approve` (mirrors
|
|
13
|
-
* how `defaultUx()` / `defaultProducers()` are consumed by
|
|
14
|
-
* `tests/cli/init-templates-ux-parity.test.ts`).
|
|
15
|
-
*/
|
|
16
|
-
export declare function defaultAutoApproveConfig(): AutoApproveDefaultConfig;
|
|
17
|
-
/**
|
|
18
|
-
* Explanatory comment lines rendered above the `auto_approve:` mapping,
|
|
19
|
-
* WITHOUT the leading `# ` marker or indentation: callers supply both,
|
|
20
|
-
* since the same lines render at different indents in `harness init`
|
|
21
|
-
* templates vs. the `pack upgrade` text-level insertion. Deliberately
|
|
22
|
-
* short: what the block does, that `bypassPermissions` is the
|
|
23
|
-
* operator's own launch choice, and that deleting the block restores
|
|
24
|
-
* the manual prompt.
|
|
25
|
-
*/
|
|
26
|
-
export declare const AUTO_APPROVE_COMMENT_LINES: readonly string[];
|
|
27
|
-
/**
|
|
28
|
-
* Render the full snippet (comment block + `auto_approve:` mapping) so
|
|
29
|
-
* that `auto_approve:` itself sits at `indent` spaces, matching the
|
|
30
|
-
* indentation of its sibling `config:` keys (`mode:`,
|
|
31
|
-
* `approval_lifecycle:`, ...). Each line is independently indented, no
|
|
32
|
-
* trailing newline, so callers can join it directly into a YAML
|
|
33
|
-
* document with no further reformatting.
|
|
34
|
-
*/
|
|
35
|
-
export declare function renderAutoApproveSnippet(indent: number): string;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// Canonical shipped default for `auto_approve` (D-004, task 8f637efd,
|
|
2
|
-
// docs/decisions/2026-08-27-ug-auto-mode-approval.md, "Amendment: install
|
|
3
|
-
// default"). One source of truth for the exact shape and wording that
|
|
4
|
-
// three surfaces need to agree on byte-for-byte:
|
|
5
|
-
//
|
|
6
|
-
// - `harness init` (FULL_TEMPLATE, SOLO_TEMPLATE, TEAM_TEMPLATE): the
|
|
7
|
-
// block a fresh manifest ships with.
|
|
8
|
-
// - `harness pack upgrade understanding-before-execution`: the block
|
|
9
|
-
// it inserts into an existing manifest that predates this default.
|
|
10
|
-
// - `harness doctor`'s "bypassPermissions observed, auto_approve
|
|
11
|
-
// missing" finding: the snippet it prints as the remediation.
|
|
12
|
-
//
|
|
13
|
-
// Keeping these as one importable source (rather than three hand-synced
|
|
14
|
-
// literals) means a future wording or shape change cannot land in one
|
|
15
|
-
// surface without the other two, the same failure class task 68b9ad9c
|
|
16
|
-
// fixed for `config.ux` / `config.producers` via `defaultUx()` /
|
|
17
|
-
// `defaultProducers()` in the sibling `understanding-before-execution.ts`.
|
|
18
|
-
//
|
|
19
|
-
// Rationale for shipping this ACTIVE (not commented out) by default:
|
|
20
|
-
// under `bypassPermissions` the permission system is off by the
|
|
21
|
-
// operator's own launch choice (`--dangerously-skip-permissions` /
|
|
22
|
-
// `--permission-mode bypassPermissions`); a human approval prompt there
|
|
23
|
-
// is exactly the friction that mode exists to remove. `require_report:
|
|
24
|
-
// true` is unchanged (it is the only schema-valid value), and every
|
|
25
|
-
// template that carries this block also ships `mode: grill_me`, so the
|
|
26
|
-
// report the auto path consumes was actually checked, not merely
|
|
27
|
-
// present. The opt-in stays a visible, deletable config key: an
|
|
28
|
-
// existing install is never changed silently, only through the
|
|
29
|
-
// explicit `pack upgrade` verb.
|
|
30
|
-
import { CLAUDE_CODE_HARNESS } from "./auto-approve.js";
|
|
31
|
-
/** `auto_approve.when` value this default ships. */
|
|
32
|
-
export const AUTO_APPROVE_DEFAULT_WHEN = ["bypassPermissions"];
|
|
33
|
-
/** `auto_approve.harnesses` value this default ships. */
|
|
34
|
-
export const AUTO_APPROVE_DEFAULT_HARNESSES = [CLAUDE_CODE_HARNESS];
|
|
35
|
-
/**
|
|
36
|
-
* The parsed-YAML shape of the shipped default, for structural equality
|
|
37
|
-
* assertions against a template's parsed `config.auto_approve` (mirrors
|
|
38
|
-
* how `defaultUx()` / `defaultProducers()` are consumed by
|
|
39
|
-
* `tests/cli/init-templates-ux-parity.test.ts`).
|
|
40
|
-
*/
|
|
41
|
-
export function defaultAutoApproveConfig() {
|
|
42
|
-
return {
|
|
43
|
-
when: [...AUTO_APPROVE_DEFAULT_WHEN],
|
|
44
|
-
harnesses: [...AUTO_APPROVE_DEFAULT_HARNESSES],
|
|
45
|
-
require_report: true,
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Explanatory comment lines rendered above the `auto_approve:` mapping,
|
|
50
|
-
* WITHOUT the leading `# ` marker or indentation: callers supply both,
|
|
51
|
-
* since the same lines render at different indents in `harness init`
|
|
52
|
-
* templates vs. the `pack upgrade` text-level insertion. Deliberately
|
|
53
|
-
* short: what the block does, that `bypassPermissions` is the
|
|
54
|
-
* operator's own launch choice, and that deleting the block restores
|
|
55
|
-
* the manual prompt.
|
|
56
|
-
*/
|
|
57
|
-
export const AUTO_APPROVE_COMMENT_LINES = [
|
|
58
|
-
"auto_approve (shipped default): a session started with",
|
|
59
|
-
"bypassPermissions gets its Understanding Report approved by the",
|
|
60
|
-
"hook's signed auto path instead of a human `harness approve",
|
|
61
|
-
"understanding` prompt; the report itself stays mandatory.",
|
|
62
|
-
"bypassPermissions is the operator's own launch choice",
|
|
63
|
-
"(--dangerously-skip-permissions / --permission-mode",
|
|
64
|
-
"bypassPermissions). Delete this block to restore the manual prompt.",
|
|
65
|
-
];
|
|
66
|
-
/**
|
|
67
|
-
* Render the full snippet (comment block + `auto_approve:` mapping) so
|
|
68
|
-
* that `auto_approve:` itself sits at `indent` spaces, matching the
|
|
69
|
-
* indentation of its sibling `config:` keys (`mode:`,
|
|
70
|
-
* `approval_lifecycle:`, ...). Each line is independently indented, no
|
|
71
|
-
* trailing newline, so callers can join it directly into a YAML
|
|
72
|
-
* document with no further reformatting.
|
|
73
|
-
*/
|
|
74
|
-
export function renderAutoApproveSnippet(indent) {
|
|
75
|
-
const pad = " ".repeat(indent);
|
|
76
|
-
const childPad = " ".repeat(indent + 2);
|
|
77
|
-
const lines = [];
|
|
78
|
-
for (const c of AUTO_APPROVE_COMMENT_LINES)
|
|
79
|
-
lines.push(`${pad}# ${c}`);
|
|
80
|
-
lines.push(`${pad}auto_approve:`);
|
|
81
|
-
lines.push(`${childPad}when: [${AUTO_APPROVE_DEFAULT_WHEN.join(", ")}]`);
|
|
82
|
-
lines.push(`${childPad}harnesses: [${AUTO_APPROVE_DEFAULT_HARNESSES.join(", ")}]`);
|
|
83
|
-
lines.push(`${childPad}require_report: true`);
|
|
84
|
-
return lines.join("\n");
|
|
85
|
-
}
|
|
86
|
-
//# sourceMappingURL=auto-approve-default.js.map
|
package/dist/policy-packs/builtin/understanding-before-execution/auto-approve-default.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auto-approve-default.js","sourceRoot":"","sources":["../../../../src/policy-packs/builtin/understanding-before-execution/auto-approve-default.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,0EAA0E;AAC1E,sEAAsE;AACtE,iDAAiD;AACjD,EAAE;AACF,wEAAwE;AACxE,yCAAyC;AACzC,uEAAu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