checkwright 0.25.0 → 0.27.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/README.md +35 -1361
- package/bin/checkwright.ps1 +176 -0
- package/bin/checkwright.sh +187 -44
- package/package.json +15 -14
- package/payload/artifact/aarch64-apple-darwin/checkwright-gates +0 -0
- package/payload/artifact/aarch64-apple-darwin/checkwright-gates.sha256 +1 -0
- package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe +0 -0
- package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -0
- package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates +0 -0
- package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates.sha256 +1 -0
- package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates +0 -0
- package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates.sha256 +1 -0
- package/payload/artifact/targets.list +133 -24
- package/payload/artifact/x86_64-apple-darwin/checkwright-gates +0 -0
- package/payload/artifact/x86_64-apple-darwin/checkwright-gates.sha256 +1 -0
- package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe +0 -0
- package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -0
- package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
- package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
- package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates +0 -0
- package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates.sha256 +1 -0
- package/payload/canon-kit/README.md +25 -37
- package/payload/canon-kit/checks/check-amendment-queue.gate +2 -2
- package/payload/canon-kit/checks/check-amendment-retired-spelling.gate +3 -0
- package/payload/canon-kit/checks/check-amendment-update-target.gate +1 -1
- package/payload/canon-kit/checks/check-citation-link.gate +4 -0
- package/payload/canon-kit/checks/check-comment-tier.gate +1 -1
- package/payload/canon-kit/checks/check-deprecation-task.gate +2 -1
- package/payload/canon-kit/checks/check-docs-cmd.gate +2 -2
- package/payload/canon-kit/checks/check-docs-link-convention.gate +1 -1
- package/payload/canon-kit/checks/check-docs-page-repeat.gate +4 -0
- package/payload/canon-kit/checks/check-docs-restatement-parity.gate +4 -0
- package/payload/canon-kit/checks/check-fence-command-head.gate +3 -0
- package/payload/canon-kit/checks/check-fence-run.gate +3 -0
- package/payload/canon-kit/checks/check-install-claim.gate +2 -1
- package/payload/canon-kit/checks/check-knob-citation.gate +1 -1
- package/payload/canon-kit/checks/check-manifest-count.gate +1 -1
- package/payload/canon-kit/checks/check-manifest-temporal.gate +1 -1
- package/payload/canon-kit/checks/check-md-refs.gate +1 -1
- package/payload/canon-kit/checks/check-md-unwrapped.gate +3 -0
- package/payload/canon-kit/checks/check-measured-claim.gate +2 -1
- package/payload/canon-kit/checks/check-payload-claim.gate +2 -1
- package/payload/canon-kit/checks/check-prose-bounds.gate +3 -0
- package/payload/canon-kit/checks/check-prose-enum.gate +2 -1
- package/payload/canon-kit/checks/check-prose-tells.gate +1 -1
- package/payload/canon-kit/checks/check-provenance-seam.gate +3 -0
- package/payload/canon-kit/checks/check-spec-derivable-section.gate +1 -1
- package/payload/canon-kit/checks/check-spec-dod-singleton.gate +1 -1
- package/payload/canon-kit/checks/check-spec-embedded-source.gate +1 -1
- package/payload/canon-kit/checks/check-spec-fence-balance.gate +1 -1
- package/payload/canon-kit/checks/check-spec-pointer.gate +2 -2
- package/payload/canon-kit/checks/check-surface-duplication.gate +3 -0
- package/payload/canon-kit/checks/check-todo-task-liveness.gate +1 -1
- package/payload/canon-kit/checks/check-tracking-claim.gate +1 -1
- package/payload/canon-kit/checks/check-unmarked-claim.gate +2 -1
- package/payload/canon-kit/gate-tests/check-amendment-queue/bad/SPEC-tidy.md +3 -0
- package/payload/canon-kit/gate-tests/check-amendment-queue/bad/TASK-QUEUE.md +37 -8
- package/payload/canon-kit/gate-tests/check-amendment-queue/bad/expect.txt +6 -3
- package/payload/canon-kit/gate-tests/check-amendment-queue/good/SPEC-widget.md +7 -0
- package/payload/canon-kit/gate-tests/check-amendment-queue/good/TASK-QUEUE.md +11 -3
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/bad/SPEC-nosection.md +16 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/bad/SPEC-thing.md +26 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/bad/expect.txt +8 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/bad/surface/one.md +4 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/bad/surface/two.md +3 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/SPEC-tidy.md +20 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/SPEC-widget.md +37 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/component/README.md +4 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/component/SPEC.md +4 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/unnamed.md +4 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target.test.sh +1 -1
- package/payload/canon-kit/gate-tests/check-citation-link/bad/expect.txt +6 -0
- package/payload/canon-kit/gate-tests/check-citation-link/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-citation-link/bad/site/page.md +13 -0
- package/payload/canon-kit/gate-tests/check-citation-link/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-citation-link/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-citation-link/good/site/page.md +28 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/.github/workflows/ci.yml +15 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/expect.txt +2 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/.github/workflows/ci.yml +23 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/config.yml +2 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.sh +1 -1
- package/payload/canon-kit/gate-tests/check-comment-tier/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-comment-tier.test.sh +37 -26
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/TASK-QUEUE.md +3 -1
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/TASK-QUEUE.md +6 -2
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task.test.sh +12 -10
- package/payload/canon-kit/gate-tests/check-docs-cmd/good/doc.md +4 -1
- package/payload/canon-kit/gate-tests/check-docs-cmd.test.sh +61 -0
- package/payload/canon-kit/gate-tests/check-docs-link-convention/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-docs-link-convention.test.sh +21 -2
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/expect.txt +2 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/page.md +8 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/site/page.md +24 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/expect.txt +2 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/kit/README.md +10 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/kit/index.md +11 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/scripts/gate-sdk-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/good/kit/README.md +12 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/good/kit/index.md +13 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/good/scripts/gate-sdk-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/bad/args +1 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/bad/doc.md +16 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/bad/expect.txt +5 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/args +1 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/bin/run.sh +3 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/doc.md +41 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/lib/tool.sh +5 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-fence-run/bad/args +1 -0
- package/payload/canon-kit/gate-tests/check-fence-run/bad/doc.md +32 -0
- package/payload/canon-kit/gate-tests/check-fence-run/bad/expect.txt +7 -0
- package/payload/canon-kit/gate-tests/check-fence-run/good/args +1 -0
- package/payload/canon-kit/gate-tests/check-fence-run/good/doc.md +31 -0
- package/payload/canon-kit/gate-tests/check-fence-run/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-install-claim/bad/scripts/canon-config.knobs +7 -0
- package/payload/canon-kit/gate-tests/check-install-claim/good/scripts/canon-config.knobs +7 -0
- package/payload/canon-kit/gate-tests/check-knob-citation.test.sh +42 -7
- package/payload/canon-kit/gate-tests/check-knob-default-coupling/bad/scripts/{gate-sdk-config.sh → gate-sdk-config.knobs} +1 -2
- package/payload/canon-kit/gate-tests/check-knob-default-coupling/good/scripts/{gate-sdk-config.sh → gate-sdk-config.knobs} +2 -3
- package/payload/canon-kit/gate-tests/check-knob-default-coupling.test.sh +37 -8
- package/payload/canon-kit/gate-tests/check-manifest-count/bad/SPEC.md +3 -0
- package/payload/canon-kit/gate-tests/check-manifest-count/good/SPEC.md +10 -0
- package/payload/canon-kit/gate-tests/check-manifest-count.test.sh +6 -6
- package/payload/canon-kit/gate-tests/check-md-refs.test.sh +1 -1
- package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/doc.md +13 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/expect.txt +4 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/good/doc.md +45 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/SPEC.md +3 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/SPEC.md +8 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/worktrees/SPEC.md +12 -0
- package/payload/canon-kit/gate-tests/check-measured-claim.test.sh +32 -13
- package/payload/canon-kit/gate-tests/check-payload-claim/bad/scripts/canon-config.knobs +6 -0
- package/payload/canon-kit/gate-tests/check-payload-claim/good/scripts/canon-config.knobs +6 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/bad/CLAUDE.md +9 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/bad/SPEC.md +11 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/bad/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/good/CLAUDE.md +10 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/good/SPEC.md +27 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds/good/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-prose-bounds.test.sh +98 -0
- package/payload/canon-kit/gate-tests/check-prose-enum/bad/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-prose-enum/good/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-prose-enum.test.sh +55 -25
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/prose.md +2 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/scripts/canon-config.knobs +5 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/good/prose.md +6 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/good/scripts/{canon-config.sh → canon-config.knobs} +2 -5
- package/payload/canon-kit/gate-tests/check-prose-tells/good/worktrees/prose.md +17 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/bad/TASK-QUEUE.md +15 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/bad/expect.txt +8 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/bad/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/bad/scripts/gate-sdk-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/bad/scripts/lifecycle-config.knobs +12 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/bad/widget-toolkit/SPEC.md +27 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/good/TASK-QUEUE.md +15 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/good/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/good/scripts/gate-sdk-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/good/scripts/lifecycle-config.knobs +12 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam/good/widget-toolkit/SPEC.md +20 -0
- package/payload/canon-kit/gate-tests/check-provenance-seam.test.sh +136 -0
- package/payload/canon-kit/gate-tests/check-spec-dod-singleton.test.sh +1 -1
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/README.md +6 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/SPEC-widget.md +5 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.rs +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/expect.txt +4 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/scripts/canon-config.knobs +6 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/README.md +15 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/SPEC-widget.md +10 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.rs +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/scripts/canon-config.knobs +6 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/vendored-kit/notes.txt +4 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/TASK-QUEUE.md +3 -1
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/TASK-QUEUE.md +9 -3
- package/payload/canon-kit/gate-tests/check-tracking-claim.test.sh +1 -1
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/SPEC.md +3 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/SPEC.md +3 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/worktrees/SPEC.md +11 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim.test.sh +53 -28
- package/payload/canon-kit/templates/SPEC-amendment.md +46 -25
- package/payload/canon-kit/templates/canon-config.knobs +1 -0
- package/payload/context-kit/README.md +33 -61
- package/payload/context-kit/checks/check-brevity.gate +2 -2
- package/payload/context-kit/checks/check-footprint-fresh.gate +3 -2
- package/payload/context-kit/checks/check-memory-off.gate +1 -1
- package/payload/context-kit/checks/check-settings-paths.gate +2 -2
- package/payload/context-kit/checks/check-settings-pins.gate +1 -1
- package/payload/context-kit/checks/check-surface-ratchet.gate +3 -0
- package/payload/context-kit/gate-tests/check-brevity/bad/CLAUDE.md +9 -2
- package/payload/context-kit/gate-tests/check-brevity/bad/expect.txt +1 -0
- package/payload/context-kit/gate-tests/check-brevity/good/CLAUDE.md +9 -4
- package/payload/context-kit/gate-tests/check-brevity/good/expect.txt +1 -1
- package/payload/context-kit/gate-tests/check-brevity.test.sh +107 -24
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/CLAUDE.md +6 -0
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/demo-kit/SPEC.md +3 -0
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/demo-kit/templates/guide.md +3 -0
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/docs/footprint.md +32 -0
- package/payload/context-kit/gate-tests/check-memory-off/bad/scripts/{context-config.sh → context-config.knobs} +1 -3
- package/payload/context-kit/gate-tests/check-memory-off/good/scripts/{context-config.sh → context-config.knobs} +1 -3
- package/payload/context-kit/gate-tests/check-memory-off.test.sh +1 -1
- package/payload/context-kit/gate-tests/check-settings-paths/bad/expect.txt +2 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/settings.json +21 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/tools/run-gates.sh +4 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/expect.txt +2 -1
- package/payload/context-kit/gate-tests/check-settings-paths/good/settings.json +48 -1
- package/payload/context-kit/gate-tests/check-settings-paths/good/tools/run-gates.sh +4 -0
- package/payload/context-kit/gate-tests/check-settings-pins.test.sh +1 -1
- package/payload/context-kit/gate-tests/check-surface-ratchet/bad/CLAUDE.md +5 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/bad/expect.txt +2 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/bad/scripts/context-config.knobs +4 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/bad/surface-ceiling.txt +2 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/bad/templates/ungoverned.md +3 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/good/CLAUDE.md +3 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/good/expect.txt +1 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/good/scripts/context-config.knobs +4 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/good/surface-ceiling.txt +4 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet/good/templates/held.md +4 -0
- package/payload/context-kit/gate-tests/check-surface-ratchet.test.sh +76 -0
- package/payload/context-kit/index-tests/corpus/baseline.txt +1 -1
- package/payload/context-kit/index-tests/corpus/surface.md +1 -6
- package/payload/context-kit/index-tests/expected/always-loaded.txt +1 -1
- package/payload/context-kit/templates/close-brevity.md +9 -28
- package/payload/context-kit/templates/context-config.knobs +1 -0
- package/payload/context-kit/templates/session-context.sh +44 -29
- package/payload/delegation-kit/README.md +35 -69
- package/payload/delegation-kit/checks/check-agent-tier-explicit.gate +1 -1
- package/payload/delegation-kit/checks/check-gate-tamper.gate +1 -1
- package/payload/delegation-kit/gate-tests/check-gate-tamper.test.sh +23 -2
- package/payload/delegation-kit/templates/agent-execution.md +23 -389
- package/payload/delegation-kit/templates/delegation-config.knobs +4 -0
- package/payload/delegation-kit/templates/dispatch-checklists.md +8 -45
- package/payload/delegation-kit/usage-tests/dispatch-guard-cases.tsv +33 -17
- package/payload/doctrine-kit/DOCTRINE.md +92 -458
- package/payload/doctrine-kit/README.md +24 -55
- package/payload/doctrine-kit/checks/check-doctrine-registration.gate +1 -1
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration.test.sh +48 -3
- package/payload/drift-kit/README.md +43 -89
- package/payload/drift-kit/templates/close-knowledge.md +7 -22
- package/payload/drift-kit/templates/drift-config.knobs +1 -0
- package/payload/drift-kit/templates/economics.md +10 -48
- package/payload/drift-kit/templates/kpi-deprecated-surface.sh +31 -9
- package/payload/drift-kit/templates/kpis.list +2 -1
- package/payload/drift-kit/templates/price-table.tsv +1 -1
- package/payload/evidence-kit/README.md +24 -43
- package/payload/evidence-kit/checks/check-battery-roster.gate +1 -1
- package/payload/evidence-kit/checks/check-evidence-baseline.gate +2 -2
- package/payload/evidence-kit/checks/check-evidence-manifest.gate +1 -1
- package/payload/evidence-kit/checks/check-producer-liveness.gate +3 -0
- package/payload/evidence-kit/gate-tests/check-battery-roster/bad/scripts/evidence-config.knobs +7 -0
- package/payload/evidence-kit/gate-tests/check-battery-roster/good/scripts/evidence-config.knobs +7 -0
- package/payload/evidence-kit/gate-tests/check-battery-roster.test.sh +7 -7
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/bad/TASK-QUEUE.md +3 -1
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/bad/args +1 -0
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/bad/expect.txt +2 -0
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/bad/scripts/evidence-config.knobs +4 -0
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/bad/validate-baseline.txt +1 -0
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/good/TASK-QUEUE.md +3 -1
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/good/args +1 -0
- package/payload/evidence-kit/gate-tests/check-evidence-baseline/good/scripts/evidence-config.knobs +3 -0
- package/payload/evidence-kit/gate-tests/check-evidence-baseline.test.sh +134 -14
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/scripts/{evidence-config.sh → evidence-config.knobs} +3 -5
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/scripts/{evidence-config.sh → evidence-config.knobs} +3 -5
- package/payload/evidence-kit/gate-tests/check-evidence-manifest.test.sh +5 -4
- package/payload/evidence-kit/gate-tests/diff-baseline-status.test.sh +128 -0
- package/payload/evidence-kit/gate-tests/evidence-lib.test.sh +51 -45
- package/payload/evidence-kit/gate-tests/pre-hook.test.sh +66 -0
- package/payload/evidence-kit/gate-tests/producer-lock.test.sh +29 -16
- package/payload/evidence-kit/templates/evidence-config.knobs +1 -0
- package/payload/gate-sdk/README.md +48 -79
- package/payload/gate-sdk/bin/build-native.sh +27 -4
- package/payload/gate-sdk/bin/run-gates.ps1 +266 -0
- package/payload/gate-sdk/bin/run-gates.sh +53 -277
- package/payload/gate-sdk/checks/check-action-gh-repo.gate +1 -1
- package/payload/gate-sdk/checks/check-action-job-ref.gate +3 -0
- package/payload/gate-sdk/checks/check-action-permissions.gate +3 -0
- package/payload/gate-sdk/checks/check-action-pinning.gate +1 -1
- package/payload/gate-sdk/checks/check-action-run-path.gate +3 -0
- package/payload/gate-sdk/checks/check-action-run-shell.gate +3 -0
- package/payload/gate-sdk/checks/check-commit-msg.gate +2 -1
- package/payload/gate-sdk/checks/check-commit-subject.gate +1 -1
- package/payload/gate-sdk/checks/check-core-files.gate +1 -1
- package/payload/gate-sdk/checks/check-crate-arms.gate +3 -0
- package/payload/gate-sdk/checks/check-enforcement-fresh.gate +3 -2
- package/payload/gate-sdk/checks/check-exec-bit.gate +1 -1
- package/payload/gate-sdk/checks/check-front-end-fail-open.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-assertions.gate +2 -2
- package/payload/gate-sdk/checks/check-gate-binary-fresh.gate +1 -1
- package/payload/gate-sdk/checks/check-gate-exemption-tasks.gate +1 -1
- package/payload/gate-sdk/checks/check-gate-fail-closed.gate +1 -1
- package/payload/gate-sdk/checks/check-gate-fixture-coverage.gate +1 -1
- package/payload/gate-sdk/checks/check-gate-output.gate +1 -1
- package/payload/gate-sdk/checks/check-gate-substrate-parity.gate +3 -0
- package/payload/gate-sdk/checks/check-graph.gate +2 -1
- package/payload/gate-sdk/checks/check-hook-exec-bit.gate +1 -1
- package/payload/gate-sdk/checks/check-identity.gate +1 -1
- package/payload/gate-sdk/checks/check-install-disposition.gate +3 -0
- package/payload/gate-sdk/checks/check-kit-enum.gate +1 -1
- package/payload/gate-sdk/checks/check-kit-registration.gate +1 -1
- package/payload/gate-sdk/checks/check-kit-roots-dialect.gate +3 -0
- package/payload/gate-sdk/checks/check-packed-links.gate +3 -0
- package/payload/gate-sdk/checks/check-path-dialect.gate +3 -0
- package/payload/gate-sdk/checks/check-pipe-membership.gate +3 -0
- package/payload/gate-sdk/checks/check-portability-floor.gate +4 -0
- package/payload/gate-sdk/checks/check-projection-roster.gate +4 -0
- package/payload/gate-sdk/checks/check-reads-couples.gate +1 -1
- package/payload/gate-sdk/checks/check-root-tiering.gate +1 -1
- package/payload/gate-sdk/checks/check-shellcheck.gate +3 -0
- package/payload/gate-sdk/checks/check-template-copy-parity.gate +1 -1
- package/payload/gate-sdk/checks/check-tree-terms.gate +2 -1
- package/payload/gate-sdk/checks/check-workflow-tiering.gate +1 -1
- package/payload/gate-sdk/gate-tests/check-action-job-ref/bad/args +2 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/bad/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/bad/tree/notes.md +3 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/bad/tree/workflows/ci.yml +8 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/good/args +3 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/good/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/good/tree/notes.md +3 -0
- package/payload/gate-sdk/gate-tests/check-action-job-ref/good/tree/workflows/ci.yml +8 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/args +3 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/expect.txt +5 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/tree/workflows/empty-allowlist.yml +29 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/tree/workflows/gates.yml +25 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/good/args +5 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/good/tree/action.yml +9 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/good/tree/not-actions.yml +7 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/good/tree/workflows/declared.yml +69 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/good/tree/workflows/valves.yml +22 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/bad/args +4 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/bad/tree/scripts/present.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/bad/tree/workflows/ci.yml +14 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/good/args +5 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/good/tree/scripts/build.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/good/tree/sub/scripts/inner.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-action-run-path/good/tree/workflows/ci.yml +36 -0
- package/payload/gate-sdk/gate-tests/check-action-run-shell/bad/args +4 -2
- package/payload/gate-sdk/gate-tests/check-action-run-shell/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-action-run-shell/bad/tree/workflows/runner-dialect.yml +36 -0
- package/payload/gate-sdk/gate-tests/check-action-run-shell/good/args +3 -2
- package/payload/gate-sdk/gate-tests/check-action-run-shell/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-action-run-shell/good/tree/workflows/runner-dialect.yml +71 -0
- package/payload/gate-sdk/gate-tests/check-action-run-shell.test.sh +102 -9
- package/payload/gate-sdk/gate-tests/check-assertion-strength/bad/smoke/install.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-assertion-strength/good/smoke/install.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-assertion-strength.test.sh +55 -0
- package/payload/gate-sdk/gate-tests/check-commit-msg/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-commit-msg/bad/msg.txt +4 -0
- package/payload/gate-sdk/gate-tests/check-commit-msg/bad/patterns.list +5 -1
- package/payload/gate-sdk/gate-tests/check-commit-msg/good/msg.txt +7 -0
- package/payload/gate-sdk/gate-tests/check-commit-msg/good/patterns.list +5 -1
- package/payload/gate-sdk/gate-tests/check-commit-subject.test.sh +2 -2
- package/payload/gate-sdk/gate-tests/check-core-files.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.knobs +3 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.knobs +3 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/demo-kit/SPEC.md +3 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/demo-kit/checks/check-demo.gate +1 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/demo-kit/probe.conf +1 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/demo-kit/templates/guide.md +3 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/docs/enforcement.md +33 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/scripts/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-exec-bit.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/bad/args +3 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/bad/gate-sdk/bin/run-gates.ps1 +5 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/bad/gate-sdk/bin/run-gates.sh +9 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/good/args +4 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/good/gate-sdk/bin/run-gates.ps1 +5 -0
- package/payload/gate-sdk/gate-tests/check-front-end-fail-open/good/gate-sdk/bin/run-gates.sh +9 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/good/scripts/SPEC.md +4 -1
- package/payload/gate-sdk/gate-tests/check-gate-assertions.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/gate-sdk-config.knobs +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/gate-sdk-config.knobs +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh.test.sh +6 -12
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/TASK-QUEUE.md +5 -3
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/TASK-QUEUE.md +3 -1
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks.test.sh +4 -2
- package/payload/gate-sdk/gate-tests/check-gate-output.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/ci/build-artifact.sh +9 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/ci.yml +9 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/expect.txt +4 -2
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/gate-sdk-config.knobs +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/gates.list +6 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/ci/build-artifact.sh +9 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/ci.yml +16 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/expect.txt +7 -3
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gate-sdk-config.knobs +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gates.list +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity.test.sh +222 -197
- package/payload/gate-sdk/gate-tests/check-graph/bad/SPEC-example-gate.md +7 -2
- package/payload/gate-sdk/gate-tests/check-graph/bad/expect.txt +4 -0
- package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-second-gate.md +3 -1
- package/payload/gate-sdk/gate-tests/check-graph-cap.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-graph-refs.test.sh +8 -8
- package/payload/gate-sdk/gate-tests/check-graph-theme.test.sh +2 -2
- package/payload/gate-sdk/gate-tests/check-graph-tree.test.sh +49 -14
- package/payload/gate-sdk/gate-tests/check-identity/bad/scripts/{gate-sdk-config.sh → gate-sdk-config.knobs} +4 -4
- package/payload/gate-sdk/gate-tests/check-identity/good/scripts/{gate-sdk-config.sh → gate-sdk-config.knobs} +4 -4
- package/payload/gate-sdk/gate-tests/check-identity.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-eta.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-iota.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-theta.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-zeta.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/smoke/install.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/args +8 -5
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/expect.txt +5 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/native/src/installer/recipe.rs +10 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/scripts/{gate-sdk-config.sh → gate-sdk-config.knobs} +2 -3
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/args +8 -4
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/scripts/{gate-sdk-config.sh → gate-sdk-config.knobs} +2 -3
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/{alpha-kit → site-kit}/checks/check-alpha.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/site-kit/checks/check-beta.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/site-kit/checks/check-gamma.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/site-kit/checks/check-omega.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/site-kit/checks/check-psi.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/{alpha-kit → site-kit}/smoke/install.sh +2 -2
- package/payload/gate-sdk/gate-tests/check-kit-registration/bad/registry-doc.md +15 -12
- package/payload/gate-sdk/gate-tests/check-kit-registration/good/args +7 -5
- package/payload/gate-sdk/gate-tests/check-kit-registration/good/scripts/gate-sdk-config.knobs +2 -0
- package/payload/gate-sdk/gate-tests/check-kit-registration.test.sh +2 -2
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/args +5 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/checks/placeholder.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/gate-tests/alpha.test.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/lib/alpha.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/checks/placeholder.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/gate-tests/beta.test.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/lib/beta.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/gate-sdk/checks/placeholder.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/gate-sdk/lib/gate.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/scripts/gate-sdk-config.knobs +7 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/scripts/gates.list +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/args +7 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/checks/placeholder.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/gate-tests/alpha.test.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/lib/alpha.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/checks/placeholder.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/gate-tests/beta.test.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/lib/beta.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/gate-sdk/checks/placeholder.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/gate-sdk/lib/gate.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/scripts/gates.list +3 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/alpha-kit/README.md +5 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/args +5 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/beta-kit/README.md +5 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/good/alpha-kit/README.md +5 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/good/args +8 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/good/beta-kit/README.md +9 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/good/gamma-kit/SPEC.md +4 -0
- package/payload/gate-sdk/gate-tests/check-packed-links/good/scripts/gate-sdk-config.knobs +6 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/args +3 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/expect.txt +15 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/native/src/primitive.rs +19 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/native/src/producer.rs +8 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/native/src/walk.rs +13 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/bound-root.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/case-arm.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/commented.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/common-dir.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/glob-test.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/late-anchor.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/logical-readback.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/probe.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/bad/tree/two-root.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/args +3 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/expect.txt +13 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/native/src/commented.rs +5 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/native/src/local.rs +12 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/native/src/namespace.rs +11 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/native/src/typed.rs +10 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/native/src/verdict.rs +5 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/native/src/walk.rs +24 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/anchored.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/cd-only.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/commented.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/one-root.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/probe.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/rooted.sh +23 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/subshell.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/two-line.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-path-dialect/good/tree/verdict.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/args +4 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/expect.txt +6 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/tree/array-grep.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/tree/echo-max-count.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/tree/gate-tests/membership.test.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/tree/loop-head.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/bad/tree/tests/relocated.test.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/args +5 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/expect.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/tree/full-reader.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/tree/gate-tests/check-x/bad/violating.test.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/tree/gate-tests/clean.test.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/tree/loop-membership.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/tree/no-pipefail.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-pipe-membership/good/tree/one-line-producer.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/args +2 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/expect.txt +8 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/patterns.list +4 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/tree/empty-reason-verb +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/tree/strings.ps1 +6 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/tree/too-far-verb +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/tree/undeclared-verb +3 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/args +2 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/patterns.list +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/front.ps1 +7 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/plain-verb +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/portability-patterns.list +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/upgrade-verb +7 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor.test.sh +154 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/demo-kit/checks/check-beta.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/docs/roster.md +11 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/expect.txt +7 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/scripts/check-alpha.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/scripts/check-gamma.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/scripts/check-plain.gate +1 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/scripts/gate-sdk-config.knobs +3 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/bad/scripts/gates.list +4 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/demo-kit/checks/check-beta.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/docs/roster.md +16 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/scripts/check-alpha.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/scripts/check-delta.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/scripts/check-epsilon.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/scripts/check-plain.gate +1 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-projection-roster/good/scripts/gates.list +5 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/args +1 -1
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-reads-couples/bad/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-reads-couples/bad/sandbox-gate.sh +4 -4
- package/payload/gate-sdk/gate-tests/check-reads-couples/good/sandbox-gate.sh +4 -4
- package/payload/gate-sdk/gate-tests/check-reads-couples.test.sh +25 -20
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/bad/alpha-kit/smoke/install.sh +1 -1
- package/payload/gate-sdk/gate-tests/{check-template-registry-parity/bad/scripts/gate-sdk-config.sh → check-smoke-entry-guard/bad/scripts/gate-sdk-config.knobs} +2 -3
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/good/alpha-kit/smoke/install.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/good/alpha-kit/smoke/violation.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/good/args +1 -1
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/good/beta-kit/smoke/install.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/good/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/args +3 -1
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/delegation-kit/templates/session-note.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/scripts/session-note.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/bad/args +2 -0
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/bad/drift-kit/templates/kpis.list +18 -0
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/{check-smoke-entry-guard/bad/scripts/gate-sdk-config.sh → check-template-registry-parity/bad/scripts/gate-sdk-config.knobs} +2 -3
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/args +3 -1
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/drift-kit/templates/kpis.list +17 -0
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/scripts/gate-sdk-config.knobs +4 -0
- package/payload/gate-sdk/gate-tests/check-test-hermetic-smoke.test.sh +5 -5
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/patterns.list +4 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/tree/accounts.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/patterns.list +5 -1
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/anchored.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/handles.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms.test.sh +44 -5
- package/payload/gate-sdk/gate-tests/emit-arm-shape.test.sh +95 -0
- package/payload/gate-sdk/gate-tests/enforcement-map.test.sh +10 -10
- package/payload/gate-sdk/gate-tests/lib-gate.test.sh +10 -184
- package/payload/gate-sdk/gate-tests/reads-census.test.sh +96 -0
- package/payload/gate-sdk/gate-tests/run-arm-contract.test.sh +190 -0
- package/payload/gate-sdk/gate-tests/run-dispatch-streams.test.sh +64 -41
- package/payload/gate-sdk/gate-tests/run-for-path.test.sh +2 -2
- package/payload/gate-sdk/gate-tests/run-gate-tests.test.sh +121 -16
- package/payload/gate-sdk/gate-tests/run-gates-linked-worktree.test.sh +136 -0
- package/payload/gate-sdk/lib/gate.sh +231 -484
- package/payload/gate-sdk/lib/test-hermetic.sh +39 -9
- package/payload/gate-sdk/templates/check-skeleton.sh +3 -2
- package/payload/gate-sdk/templates/gates-workflow.yml +16 -32
- package/payload/gate-sdk/templates/msg-patterns.list +14 -5
- package/payload/gate-sdk/templates/portability-patterns.list +56 -0
- package/payload/guard-kit/README.md +43 -47
- package/payload/guard-kit/checks/check-door-binding.gate +3 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/alpha-kit/README.md +6 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/alpha-kit/templates/alpha-config.knobs +3 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/args +5 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/beta-kit/lib/beta.sh +6 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/expect.txt +5 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/scripts/gate-sdk-config.knobs +4 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/scripts/guard-config.knobs +3 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/site/banner.md +8 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/site/landing.md +11 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/alpha-kit/README.md +8 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/alpha-kit/templates/settings-hooks.json +20 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/args +7 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/beta-kit/lib/beta.sh +6 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/expect.txt +1 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/scripts/gate-sdk-config.knobs +4 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/scripts/guard-config.knobs +3 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/site/mirror.md +12 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/site/register.md +24 -0
- package/payload/guard-kit/gate-tests/compare-settings-allow.test.sh +40 -27
- package/payload/guard-kit/gate-tests/consumer-rules.test.sh +189 -0
- package/payload/guard-kit/gate-tests/door-binding-corpus.test.sh +72 -0
- package/payload/guard-kit/gate-tests/git-mutation-under-producer.test.sh +48 -23
- package/payload/guard-kit/gate-tests/guard-config-knobs.test.sh +170 -0
- package/payload/guard-kit/gate-tests/rewrite.test.sh +73 -0
- package/payload/guard-kit/gate-tests/scan-prompts.test.sh +174 -8
- package/payload/guard-kit/gate-tests/scratch-run.test.sh +150 -13
- package/payload/guard-kit/gate-tests/worktree-confinement.test.sh +169 -0
- package/payload/guard-kit/guard-tests/background-cases.tsv +14 -5
- package/payload/guard-kit/guard-tests/cases.tsv +360 -54
- package/payload/guard-kit/guard-tests/powershell-background-cases.tsv +29 -0
- package/payload/guard-kit/guard-tests/powershell-cases.tsv +81 -0
- package/payload/guard-kit/templates/close-triage.md +15 -62
- package/payload/guard-kit/templates/guard-config.knobs +26 -0
- package/payload/guard-kit/templates/settings-allow.json +15 -0
- package/payload/guard-kit/templates/settings-hooks.json +5 -5
- package/payload/lifecycle-kit/README.md +50 -76
- package/payload/lifecycle-kit/checks/check-audit-roster.gate +3 -0
- package/payload/lifecycle-kit/checks/check-close-surfaces.gate +1 -1
- package/payload/lifecycle-kit/checks/check-dispatch-entry.gate +3 -0
- package/payload/lifecycle-kit/checks/check-gap-inbox-neutrality.gate +1 -1
- package/payload/lifecycle-kit/checks/check-lesson-disposition.gate +1 -1
- package/payload/lifecycle-kit/checks/check-lifecycle-registration.gate +1 -1
- package/payload/lifecycle-kit/checks/check-merge-attrs.gate +1 -1
- package/payload/lifecycle-kit/checks/check-scratch-citation.gate +1 -1
- package/payload/lifecycle-kit/checks/check-shim-restatement.gate +1 -1
- package/payload/lifecycle-kit/checks/check-skill-binding.gate +1 -1
- package/payload/lifecycle-kit/checks/check-stage-entry.gate +2 -2
- package/payload/lifecycle-kit/checks/check-stage-evidence.gate +1 -1
- package/payload/lifecycle-kit/checks/check-stage-skill-coverage.gate +2 -2
- package/payload/lifecycle-kit/checks/check-stamp-subject.gate +3 -0
- package/payload/lifecycle-kit/checks/check-survey-record.gate +2 -2
- package/payload/lifecycle-kit/gate-tests/boundary-scratch-wipe.test.sh +98 -21
- package/payload/lifecycle-kit/gate-tests/boundary-stage-journal.test.sh +196 -0
- package/payload/lifecycle-kit/gate-tests/boundary-worktree-refusal.test.sh +214 -0
- package/payload/lifecycle-kit/gate-tests/capture-linked-worktree.test.sh +53 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster/bad/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster/bad/expect.txt +6 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster/bad/roster.txt +34 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster/good/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster/good/roster.txt +22 -0
- package/payload/lifecycle-kit/gate-tests/check-audit-roster.test.sh +101 -0
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces/bad/scripts/lifecycle-config.knobs +2 -0
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces/good/owners/worktrees/inbox.md +5 -0
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces/good/scripts/lifecycle-config.knobs +2 -0
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces.test.sh +21 -4
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/args +6 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/head.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/marker.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/msg.txt +4 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/paths.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/bad/staged.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/args +6 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/head.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/marker.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/msg.txt +4 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/paths.txt +2 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry/good/staged.txt +6 -0
- package/payload/lifecycle-kit/gate-tests/check-dispatch-entry.test.sh +60 -0
- package/payload/lifecycle-kit/gate-tests/check-lesson-disposition.test.sh +1 -1
- package/payload/lifecycle-kit/gate-tests/check-lifecycle-registration/bad/AGENT.md +1 -5
- package/payload/lifecycle-kit/gate-tests/check-lifecycle-registration/good/AGENT.md +1 -5
- package/payload/lifecycle-kit/gate-tests/check-lifecycle-registration.test.sh +1 -1
- package/payload/lifecycle-kit/gate-tests/check-merge-attrs.test.sh +2 -2
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/scripts/lifecycle-config.knobs +2 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/scripts/lifecycle-config.knobs +2 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/surfaces/worktrees/queue.md +13 -0
- package/payload/lifecycle-kit/gate-tests/check-shim-restatement.test.sh +1 -1
- package/payload/lifecycle-kit/gate-tests/check-skill-binding.test.sh +1 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +165 -15
- package/payload/lifecycle-kit/gate-tests/check-stage-evidence.test.sh +27 -2
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/align.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/build.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/close.md +5 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/scope.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/validate.md +1 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/expect.txt +1 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/align.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/build.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/close.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/scope.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/validate.md +4 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage.test.sh +73 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/bad/args +4 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/bad/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/bad/head.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/bad/msg.txt +4 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/bad/staged.txt +6 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/good/args +4 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/good/head.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/good/msg.txt +4 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject/good/staged.txt +7 -0
- package/payload/lifecycle-kit/gate-tests/check-stamp-subject.test.sh +59 -0
- package/payload/lifecycle-kit/gate-tests/check-survey-record/bad/expect.txt +4 -0
- package/payload/lifecycle-kit/gate-tests/check-survey-record/bad/record.md +33 -2
- package/payload/lifecycle-kit/gate-tests/check-survey-record/good/expect.txt +1 -1
- package/payload/lifecycle-kit/gate-tests/check-survey-record/good/record.md +19 -2
- package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +66 -7
- package/payload/lifecycle-kit/gate-tests/dispatch-marker.test.sh +152 -0
- package/payload/lifecycle-kit/gate-tests/file-gap-recurrence.test.sh +23 -48
- package/payload/lifecycle-kit/gate-tests/gap-inbox-route.test.sh +7 -5
- package/payload/lifecycle-kit/gate-tests/lead-journal-open.test.sh +119 -0
- package/payload/lifecycle-kit/gate-tests/preflight-valve.test.sh +170 -0
- package/payload/lifecycle-kit/gate-tests/rename-iteration.test.sh +5 -3
- package/payload/lifecycle-kit/gate-tests/ruling-staleness.test.sh +89 -0
- package/payload/lifecycle-kit/gate-tests/stamp-before-write.test.sh +77 -0
- package/payload/lifecycle-kit/gate-tests/survey-record-entry.test.sh +12 -6
- package/payload/lifecycle-kit/templates/consult.md +9 -63
- package/payload/lifecycle-kit/templates/lead.md +147 -431
- package/payload/lifecycle-kit/templates/lifecycle-config.knobs +1 -0
- package/payload/lifecycle-kit/templates/release-sweep.md +6 -35
- package/payload/lifecycle-kit/templates/stages/align.md +14 -82
- package/payload/lifecycle-kit/templates/stages/build.md +30 -98
- package/payload/lifecycle-kit/templates/stages/close.md +21 -170
- package/payload/lifecycle-kit/templates/stages/scope.md +42 -167
- package/payload/lifecycle-kit/templates/stages/spec.md +31 -97
- package/payload/lifecycle-kit/templates/stages/validate.md +22 -59
- package/payload/lifecycle-kit/templates/upgrade.md +6 -37
- package/payload/queue-kit/README.md +33 -48
- package/payload/queue-kit/checks/check-deferred-board-tags.gate +3 -0
- package/payload/queue-kit/checks/check-queue-entry-budget.gate +2 -2
- package/payload/queue-kit/checks/check-queue-hygiene.gate +2 -2
- package/payload/queue-kit/checks/check-queue-prose-precondition.gate +1 -1
- package/payload/queue-kit/checks/check-queue-sections.gate +1 -1
- package/payload/queue-kit/checks/check-queue-slug-liveness.gate +2 -2
- package/payload/queue-kit/checks/check-queue-wrap.gate +2 -2
- package/payload/queue-kit/checks/check-roadmap-fresh.gate +3 -2
- package/payload/queue-kit/checks/check-tag-lead-line.gate +2 -2
- package/payload/queue-kit/checks/check-task-conservation.gate +1 -1
- package/payload/queue-kit/checks/check-task-names.gate +2 -2
- package/payload/queue-kit/gate-tests/check-deferred-board-tags/bad/TASK-QUEUE.md +41 -0
- package/payload/queue-kit/gate-tests/check-deferred-board-tags/bad/expect.txt +6 -0
- package/payload/queue-kit/gate-tests/check-deferred-board-tags/bad/widget-kit/README.md +3 -0
- package/payload/queue-kit/gate-tests/check-deferred-board-tags/good/TASK-QUEUE.md +39 -0
- package/payload/queue-kit/gate-tests/check-deferred-board-tags/good/expect.txt +1 -0
- package/payload/queue-kit/gate-tests/check-deferred-board-tags/good/widget-kit/README.md +3 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/TASK-QUEUE.md +76 -31
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/expect.txt +12 -4
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/scripts/queue-config.knobs +4 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/TASK-QUEUE.md +58 -19
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/expect.txt +8 -4
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/scripts/queue-config.knobs +4 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget.test.sh +124 -0
- package/payload/queue-kit/gate-tests/check-queue-hygiene/bad/TASK-QUEUE.md +11 -1
- package/payload/queue-kit/gate-tests/check-queue-hygiene/bad/expect.txt +2 -0
- package/payload/queue-kit/gate-tests/check-queue-hygiene/good/TASK-QUEUE.md +30 -11
- package/payload/queue-kit/gate-tests/check-queue-prose-precondition/bad/TASK-QUEUE.md +3 -1
- package/payload/queue-kit/gate-tests/check-queue-prose-precondition/bad/expect.txt +1 -0
- package/payload/queue-kit/gate-tests/check-queue-prose-precondition/good/TASK-QUEUE.md +22 -6
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/bad/TASK-QUEUE.md +3 -1
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/bad/docs/page.md +1 -1
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/bad/expect.txt +3 -1
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/bad/scripts/queue-config.knobs +1 -0
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/good/TASK-QUEUE.md +6 -2
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/good/docs/page.md +3 -3
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/good/docs/worktrees/page.md +4 -0
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/good/scripts/queue-config.knobs +1 -0
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness.test.sh +100 -0
- package/payload/queue-kit/gate-tests/check-queue-wrap/bad/TASK-QUEUE.md +3 -1
- package/payload/queue-kit/gate-tests/check-queue-wrap/good/TASK-QUEUE.md +20 -6
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/bad/TASK-QUEUE.md +15 -8
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/bad/scripts/queue-config.knobs +5 -0
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/good/TASK-QUEUE.md +13 -6
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/good/scripts/queue-config.knobs +5 -0
- package/payload/queue-kit/gate-tests/check-tag-lead-line/bad/TASK-QUEUE.md +28 -7
- package/payload/queue-kit/gate-tests/check-tag-lead-line/bad/expect.txt +10 -2
- package/payload/queue-kit/gate-tests/check-tag-lead-line/good/TASK-QUEUE.md +30 -8
- package/payload/queue-kit/gate-tests/check-task-names/bad/TASK-QUEUE.md +18 -3
- package/payload/queue-kit/gate-tests/check-task-names/bad/expect.txt +9 -0
- package/payload/queue-kit/gate-tests/check-task-names/good/TASK-QUEUE.md +20 -6
- package/payload/queue-kit/gate-tests/entry-history.test.sh +197 -0
- package/payload/queue-kit/gate-tests/queue-counts.test.sh +77 -73
- package/payload/queue-kit/gate-tests/queue-edges.test.sh +168 -87
- package/payload/queue-kit/gate-tests/queue-index.test.sh +30 -16
- package/payload/queue-kit/gate-tests/roadmap.test.sh +65 -58
- package/payload/queue-kit/templates/TASK-QUEUE.md +36 -23
- package/payload/queue-kit/templates/queue-config.knobs +1 -0
- package/payload/site-kit/README.md +29 -45
- package/payload/site-kit/checks/check-docs-cname-parity.gate +1 -1
- package/payload/site-kit/checks/check-docs-collapsible.gate +3 -0
- package/payload/site-kit/checks/check-docs-highlight-coverage.gate +4 -0
- package/payload/site-kit/checks/check-docs-liquid-parse.gate +3 -0
- package/payload/site-kit/checks/check-docs-render-fidelity.gate +3 -0
- package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/args +1 -1
- package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/scripts/site-config.knobs +2 -0
- package/payload/site-kit/gate-tests/check-docs-cname-parity/good/args +2 -2
- package/payload/site-kit/gate-tests/check-docs-cname-parity/good/scripts/site-config.knobs +2 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/bad/docs/regions.md +23 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/bad/expect.txt +4 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/good/docs/plain.md +3 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/good/docs/regions.md +26 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/good/expect.txt +1 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/bad/docs/_layouts/default.html +11 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/bad/expect.txt +4 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/bad/scripts/highlight-tokens.list +7 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/bad/scripts/site-config.knobs +3 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/good/docs/_layouts/default.html +14 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/good/expect.txt +1 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/good/scripts/highlight-tokens.list +7 -0
- package/payload/site-kit/gate-tests/check-docs-highlight-coverage/good/scripts/site-config.knobs +1 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/docs/_layouts/default.html +4 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/docs/span.md +3 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/expect.txt +2 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/_layouts/default.html +4 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/front.md +7 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/loop.md +5 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/plain.html +1 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/raw.md +3 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/search.json +4 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/expect.txt +1 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse-parser.test.sh +62 -0
- package/payload/site-kit/gate-tests/check-docs-render-fidelity-batch.test.sh +40 -45
- package/payload/site-kit/gate-tests/check-docs-render-fidelity-foreign.test.sh +7 -4
- package/payload/site-kit/gate-tests/check-docs-render-fidelity-span.test.sh +7 -4
- package/payload/site-kit/gate-tests/check-docs-render-fidelity-table.test.sh +7 -4
- package/payload/site-kit/templates/site-health.yml +60 -88
- package/profiles.list +4 -5
- package/lib/common/digest.sh +0 -18
- package/lib/common/lock.sh +0 -75
- package/lib/common/profile.sh +0 -91
- package/lib/common/recipe.sh +0 -106
- package/lib/diff.sh +0 -66
- package/lib/doctor.sh +0 -164
- package/lib/init.sh +0 -428
- package/lib/uninstall.sh +0 -214
- package/lib/update.sh +0 -34
- package/payload/canon-kit/SPEC.md +0 -2443
- package/payload/canon-kit/checks/check-surface-duplication.sh +0 -106
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.sh +0 -6
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.sh +0 -6
- package/payload/canon-kit/gate-tests/check-install-claim/bad/scripts/canon-config.sh +0 -10
- package/payload/canon-kit/gate-tests/check-install-claim/good/scripts/canon-config.sh +0 -10
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/scripts/canon-config.sh +0 -6
- package/payload/canon-kit/gate-tests/check-measured-claim/good/scripts/canon-config.sh +0 -6
- package/payload/canon-kit/gate-tests/check-payload-claim/bad/scripts/canon-config.sh +0 -8
- package/payload/canon-kit/gate-tests/check-payload-claim/good/scripts/canon-config.sh +0 -8
- package/payload/canon-kit/gate-tests/check-prose-enum/bad/scripts/canon-config.sh +0 -4
- package/payload/canon-kit/gate-tests/check-prose-enum/good/scripts/canon-config.sh +0 -4
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/scripts/canon-config.sh +0 -8
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/scripts/canon-config.sh +0 -5
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/scripts/canon-config.sh +0 -5
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/scripts/canon-config.sh +0 -6
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/scripts/canon-config.sh +0 -6
- package/payload/canon-kit/lib/spec.sh +0 -560
- package/payload/canon-kit/smoke/install.sh +0 -58
- package/payload/canon-kit/smoke/violation.sh +0 -22
- package/payload/canon-kit/templates/canon-config.sh +0 -2
- package/payload/context-kit/SPEC.md +0 -1134
- package/payload/context-kit/bin/always-loaded.sh +0 -70
- package/payload/context-kit/bin/env-probe.sh +0 -142
- package/payload/context-kit/bin/md-index.sh +0 -80
- package/payload/context-kit/bin/md-section.sh +0 -63
- package/payload/context-kit/bin/pub-index.sh +0 -90
- package/payload/context-kit/bin/run-index-tests.sh +0 -91
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/args +0 -4
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/emit.txt +0 -12
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/projection.txt +0 -12
- package/payload/context-kit/index-tests/expected/toolfloor.txt +0 -23
- package/payload/context-kit/index-tests/toolfloor-cases.sh +0 -49
- package/payload/context-kit/lib/context.sh +0 -56
- package/payload/context-kit/lib/pub-lang/rust.sh +0 -26
- package/payload/context-kit/lib/pub-lang/ts.sh +0 -32
- package/payload/context-kit/lib/toolfloor.sh +0 -58
- package/payload/context-kit/smoke/agents-md.sh +0 -139
- package/payload/context-kit/smoke/install.sh +0 -64
- package/payload/context-kit/smoke/violation.sh +0 -21
- package/payload/context-kit/templates/context-config.sh +0 -2
- package/payload/delegation-kit/SPEC.md +0 -2078
- package/payload/delegation-kit/bin/run-budget-guard-tests.sh +0 -88
- package/payload/delegation-kit/bin/run-dispatch-guard-tests.sh +0 -97
- package/payload/delegation-kit/bin/run-trend-tests.sh +0 -63
- package/payload/delegation-kit/bin/run-usage-tests.sh +0 -226
- package/payload/delegation-kit/bin/usage-trend.sh +0 -120
- package/payload/delegation-kit/bin/usage-verdict.sh +0 -144
- package/payload/delegation-kit/bin/wait-probe.sh +0 -184
- package/payload/delegation-kit/gate-tests/subagent-stop-liveness.test.sh +0 -99
- package/payload/delegation-kit/lib/delegation.sh +0 -84
- package/payload/delegation-kit/smoke/install.sh +0 -83
- package/payload/delegation-kit/smoke/violation.sh +0 -16
- package/payload/delegation-kit/templates/agent-budget-guard.sh +0 -18
- package/payload/delegation-kit/templates/agent-dispatch-guard.sh +0 -61
- package/payload/delegation-kit/templates/delegation-config.sh +0 -6
- package/payload/delegation-kit/templates/statusline-usage.sh +0 -101
- package/payload/delegation-kit/templates/subagent-stop-liveness.sh +0 -56
- package/payload/delegation-kit/templates/usage-poller.sh +0 -67
- package/payload/delegation-kit/usage-tests/budget-guard-cases.tsv +0 -20
- package/payload/doctrine-kit/SPEC.md +0 -385
- package/payload/doctrine-kit/bin/install-doctrine.sh +0 -194
- package/payload/doctrine-kit/bin/stage-rules.sh +0 -51
- package/payload/doctrine-kit/lib/doctrine.sh +0 -29
- package/payload/doctrine-kit/smoke/install.sh +0 -203
- package/payload/doctrine-kit/smoke/violation.sh +0 -13
- package/payload/drift-kit/SPEC.md +0 -1187
- package/payload/drift-kit/bin/drift-report.sh +0 -155
- package/payload/drift-kit/bin/kfric.sh +0 -61
- package/payload/drift-kit/bin/overhead-meter.sh +0 -106
- package/payload/drift-kit/bin/stage-economics.sh +0 -465
- package/payload/drift-kit/kpis/kpi-always-loaded.sh +0 -39
- package/payload/drift-kit/kpis/kpi-amendment-age.sh +0 -33
- package/payload/drift-kit/kpis/kpi-deferred-age.sh +0 -46
- package/payload/drift-kit/kpis/kpi-gate-backlog.sh +0 -52
- package/payload/drift-kit/kpis/kpi-gate-runtime.sh +0 -31
- package/payload/drift-kit/kpis/kpi-incident-recurrence.sh +0 -42
- package/payload/drift-kit/kpis/kpi-knowledge-friction.sh +0 -21
- package/payload/drift-kit/kpis/kpi-overhead.sh +0 -44
- package/payload/drift-kit/kpis/kpi-price-table-age.sh +0 -68
- package/payload/drift-kit/kpis/kpi-prompt-friction.sh +0 -38
- package/payload/drift-kit/kpis/kpi-queue-net-delta.sh +0 -74
- package/payload/drift-kit/kpis/kpi-settings-local.sh +0 -21
- package/payload/drift-kit/kpis/kpi-task-split.sh +0 -43
- package/payload/drift-kit/lib/drift.sh +0 -43
- package/payload/drift-kit/smoke/install.sh +0 -537
- package/payload/drift-kit/smoke/overhead-fixture.jsonl +0 -4
- package/payload/drift-kit/templates/drift-config.sh +0 -2
- package/payload/evidence-kit/SPEC.md +0 -740
- package/payload/evidence-kit/bin/diff-baseline.sh +0 -34
- package/payload/evidence-kit/bin/run-validate.sh +0 -124
- package/payload/evidence-kit/checks/check-producer-liveness.sh +0 -75
- package/payload/evidence-kit/gate-tests/check-battery-roster/bad/scripts/evidence-config.sh +0 -7
- package/payload/evidence-kit/gate-tests/check-battery-roster/good/scripts/evidence-config.sh +0 -7
- package/payload/evidence-kit/lib/evidence.sh +0 -193
- package/payload/evidence-kit/smoke/install.sh +0 -59
- package/payload/evidence-kit/smoke/violation.sh +0 -8
- package/payload/evidence-kit/templates/evidence-config.sh +0 -2
- package/payload/gate-sdk/SPEC.md +0 -10872
- package/payload/gate-sdk/bin/gen-pre-commit.sh +0 -297
- package/payload/gate-sdk/bin/install-hooks.sh +0 -60
- package/payload/gate-sdk/bin/port-blockers.sh +0 -473
- package/payload/gate-sdk/bin/run-consumer-smoke.sh +0 -239
- package/payload/gate-sdk/bin/run-gate-tests.sh +0 -179
- package/payload/gate-sdk/bin/upgrade-smoke.sh +0 -236
- package/payload/gate-sdk/checks/check-action-run-shell.sh +0 -223
- package/payload/gate-sdk/checks/check-crate-arms.sh +0 -62
- package/payload/gate-sdk/checks/check-gate-substrate-parity.sh +0 -450
- package/payload/gate-sdk/checks/check-install-disposition.sh +0 -93
- package/payload/gate-sdk/checks/check-shellcheck.sh +0 -57
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.sh +0 -2
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.sh +0 -2
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/args +0 -4
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/emit.txt +0 -14
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/projection.txt +0 -14
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/gate-sdk-config.sh +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/gate-sdk-config.sh +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/gate-sdk-config.sh +0 -6
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/stub-bin +0 -3
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gate-sdk-config.sh +0 -6
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/stub-bin +0 -3
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/installer/lib/common/recipe.sh +0 -9
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-beta.gate +0 -3
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-gamma.sh +0 -6
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/installer/lib/common/recipe.sh +0 -10
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/scripts/gate-sdk-config.sh +0 -5
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/scripts/gate-sdk-config.sh +0 -5
- package/payload/gate-sdk/gate-tests/check-smoke-entry-guard/good/scripts/gate-sdk-config.sh +0 -5
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/scripts/gate-sdk-config.sh +0 -5
- package/payload/gate-sdk/gate-tests/declaration-lib-parity.test.sh +0 -211
- package/payload/gate-sdk/gate-tests/lib-declaration.test.sh +0 -112
- package/payload/gate-sdk/lib/consumer-smoke.sh +0 -69
- package/payload/gate-sdk/lib/declaration.sh +0 -59
- package/payload/gate-sdk/lib/inject.sh +0 -80
- package/payload/gate-sdk/smoke/install.sh +0 -171
- package/payload/gate-sdk/smoke/violation.sh +0 -13
- package/payload/guard-kit/SPEC.md +0 -1415
- package/payload/guard-kit/bin/compare-settings-allow.sh +0 -115
- package/payload/guard-kit/bin/run-guard-tests.sh +0 -110
- package/payload/guard-kit/bin/scan-prompts.sh +0 -166
- package/payload/guard-kit/bin/scratch-run.sh +0 -34
- package/payload/guard-kit/gate-tests/guard-read-path.test.sh +0 -52
- package/payload/guard-kit/lib/guard.sh +0 -1014
- package/payload/guard-kit/smoke/install.sh +0 -26
- package/payload/guard-kit/templates/bash-guard.sh +0 -20
- package/payload/guard-kit/templates/escalation-guard.sh +0 -27
- package/payload/guard-kit/templates/guard-config.sh +0 -8
- package/payload/guard-kit/templates/wakeup-guard.sh +0 -20
- package/payload/lifecycle-kit/SPEC.md +0 -2884
- package/payload/lifecycle-kit/bin/cite-survey.sh +0 -81
- package/payload/lifecycle-kit/bin/enter-stage.sh +0 -380
- package/payload/lifecycle-kit/bin/file-gap.sh +0 -101
- package/payload/lifecycle-kit/bin/file-survey.sh +0 -69
- package/payload/lifecycle-kit/bin/install-lifecycle.sh +0 -36
- package/payload/lifecycle-kit/bin/session-id.sh +0 -75
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces/bad/scripts/lifecycle-config.sh +0 -4
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces/good/scripts/lifecycle-config.sh +0 -4
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/scripts/lifecycle-config.sh +0 -4
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/scripts/lifecycle-config.sh +0 -4
- package/payload/lifecycle-kit/gate-tests/workflow-state-guard.test.sh +0 -100
- package/payload/lifecycle-kit/lib/stages.sh +0 -194
- package/payload/lifecycle-kit/smoke/install.sh +0 -434
- package/payload/lifecycle-kit/smoke/violation.sh +0 -8
- package/payload/lifecycle-kit/templates/lifecycle-config.sh +0 -2
- package/payload/lifecycle-kit/templates/workflow-state-guard.sh +0 -29
- package/payload/queue-kit/SPEC.md +0 -1436
- package/payload/queue-kit/bin/lesson-sink.sh +0 -28
- package/payload/queue-kit/bin/queue-counts.sh +0 -35
- package/payload/queue-kit/bin/queue-edges.sh +0 -78
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/scripts/queue-config.sh +0 -6
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/scripts/queue-config.sh +0 -6
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/bad/scripts/queue-config.sh +0 -3
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness/good/scripts/queue-config.sh +0 -3
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/bad/scripts/queue-config.sh +0 -6
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/good/scripts/queue-config.sh +0 -6
- package/payload/queue-kit/gate-tests/queue-lib-parity.test.sh +0 -215
- package/payload/queue-kit/lib/queue.sh +0 -129
- package/payload/queue-kit/smoke/install.sh +0 -25
- package/payload/queue-kit/smoke/violation.sh +0 -8
- package/payload/queue-kit/templates/queue-config.sh +0 -2
- package/payload/site-kit/SPEC.md +0 -601
- package/payload/site-kit/checks/check-docs-render-fidelity.sh +0 -242
- package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/scripts/site-config.sh +0 -7
- package/payload/site-kit/gate-tests/check-docs-cname-parity/good/scripts/site-config.sh +0 -7
- package/payload/site-kit/lib/site.sh +0 -43
- package/payload/site-kit/smoke/install.sh +0 -34
- package/payload/site-kit/smoke/violation.sh +0 -20
- /package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/{check-ported.gate → check-stage-entry.gate} +0 -0
|
@@ -1,170 +1,45 @@
|
|
|
1
|
-
The `scope` stage of an iteration — the exploratory half of design. Identify and
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
the
|
|
6
|
-
them. Exit condition: *<exit-condition: your scope exit
|
|
7
|
-
condition — e.g. no design-pending tag left in the active queue; your
|
|
8
|
-
amendment-readiness gate green>*.
|
|
9
|
-
|
|
10
|
-
**First step — reset + stamp evidence.** Run lifecycle-kit's
|
|
11
|
-
`bin/enter-stage.sh scope`. `scope` is the iteration boundary, so the tool
|
|
12
|
-
*resets* the evidence file: it truncates `.workflow/WORKFLOW-STATE.txt` back
|
|
13
|
-
to its header (dropping the prior iteration's stamps — git history is the
|
|
14
|
-
permanent audit trail; the gates only ever read the current iteration), stamps
|
|
15
|
-
`— scope <session-id> <date> <head>` under the unnamed-iteration sentinel, and sets
|
|
16
|
-
the queue header to `## Iteration: —`. It reads `<session-id>`
|
|
17
|
-
from `bin/session-id.sh` itself (the newest transcript — never hand-picked),
|
|
18
|
-
uses `date +%F`, and refuses (writing nothing) if `check-stage-entry` is red.
|
|
19
|
-
On a refusal, **do not force the entry** — escalate to the lead (where one
|
|
20
|
-
exists and this is not a standalone session) and stop; a refused entry is a gate
|
|
21
|
-
verdict to resolve at its source, never to override.
|
|
22
|
-
*<evidence-reset: reset any per-iteration evidence file your validate stage
|
|
23
|
-
writes that the tool does not already truncate — the tool truncates
|
|
24
|
-
WORKFLOW-STATE, the lesson-evidence file, and every `LIFECYCLE_KIT_BOUNDARY_TRUNCATE`
|
|
25
|
-
member, in the same commit as this stamp.>* A new
|
|
26
|
-
iteration stays `—` until this skill names it (below); only `scope` resets,
|
|
27
|
-
later stages append. Honest limit: the stamp proves the skill was *invoked*,
|
|
28
|
-
not that the work was done faithfully — it forces deliberate invocation and an
|
|
29
|
-
audit trail, nothing more.
|
|
30
|
-
|
|
31
|
-
**Second step — take the carried gap bullets, if the entry reported any.** The
|
|
32
|
-
entry admits a boundary whose gap inbox holds bullets the closing stage could
|
|
33
|
-
not have drained, and prints them as an advisory naming them this session's
|
|
34
|
-
intake (lifecycle-kit/SPEC.md §The committed gap inbox owns why it admits rather
|
|
35
|
-
than refuses). Each carried bullet gets **exactly one** disposition — promoted to
|
|
36
|
-
a queue entry, fixed inline this session, or discarded with cause in the commit
|
|
37
|
-
message — after which this session truncates the inbox to its `# contract:`
|
|
38
|
-
header **in the same commit**. That is the drain's own disposition set, run by
|
|
39
|
-
the stage that can now legally run it; no linked-and-skipped middle state, per
|
|
40
|
-
the gap-disposition rule, and deleting a bullet without a disposition is not a
|
|
41
|
-
drain.
|
|
42
|
-
Two properties are obliged rather than suggested. The disposition happens
|
|
43
|
-
**after the stamp**, in-stage — that is the whole point of admitting the entry,
|
|
44
|
-
since a pre-stamp queue write is attributed to a stage that has not started. And
|
|
45
|
-
a promoted entry's provenance sentence carries the **bullet's own date** and
|
|
46
|
-
names the iteration whose close generated it, because the finding's disposition
|
|
47
|
-
lands in this iteration's ledger while the finding belongs to the last one; a
|
|
48
|
-
record that is late and says so is what that trade buys.
|
|
1
|
+
The `scope` stage of an iteration — the exploratory half of design. Identify and bound the iteration's units, promote them into the active queue — debt always, features only where scope also authors (below) — and suggest the iteration name; author the promoted features' design amendments here **unless the roster splits out a dedicated authoring stage** (below), which then owns them. Exit condition: *<exit-condition: your scope exit condition — e.g. every active feature entry spec-ready; your amendment-readiness gate green>*.
|
|
2
|
+
|
|
3
|
+
**First step — reset + stamp evidence.** Run the lifecycle arm `--enter-stage scope` on the gate binary `GATE_SDK_NATIVE_BIN` names. `scope` is the iteration boundary, so the tool *resets* the evidence file: it truncates `.workflow/WORKFLOW-STATE.txt` back to its header (dropping the prior iteration's stamps — git history is the permanent audit trail; the gates only ever read the current iteration), stamps `— scope <session-id> <date> <head>` under the unnamed-iteration sentinel, and sets the queue header to `## Iteration: —`. It reads `<session-id>` from the `--emit-session-id` arm itself (the newest transcript — never hand-picked), uses `date +%F`, and refuses (writing nothing) if `check-stage-entry` is red. On a refusal, **do not force the entry** — escalate to the lead (where one exists and this is not a standalone session) and stop; a refused entry is a gate verdict to resolve at its source, never to override. *<evidence-reset: reset any per-iteration evidence file your validate stage writes that the tool does not already truncate — the tool truncates WORKFLOW-STATE, the lesson-evidence file, and every `LIFECYCLE_KIT_BOUNDARY_TRUNCATE` member, in the same commit as this stamp.>* A new iteration stays `—` until this skill names it (below); only `scope` resets, later stages append. Honest limit: the stamp proves the skill was *invoked*, not that the work was done faithfully — it forces deliberate invocation and an audit trail, nothing more.
|
|
4
|
+
|
|
5
|
+
**Second step — take the carried gap bullets, if the entry reported any.** The entry admits a boundary whose gap inbox holds bullets the closing stage could not have drained, and prints them as an advisory naming them this session's intake (lifecycle-kit/SPEC.md §The committed gap inbox owns why it admits rather than refuses). Each carried bullet gets **exactly one** disposition — promoted to a queue entry after the owner lookup (lifecycle-kit/SPEC.md §The committed gap inbox), fixed inline this session, or discarded with cause in the commit message — after which this session truncates the inbox to its `# contract:` header **in the same commit**. That is the drain's own disposition set, run by the stage that can now legally run it; no linked-and-skipped middle state, per the gap-disposition rule, and deleting a bullet without a disposition is not a drain. Two properties are obliged rather than suggested. The disposition happens **after the stamp**, in-stage — that is the whole point of admitting the entry, since a pre-stamp queue write is attributed to a stage that has not started. And a promoted entry's provenance sentence carries the **bullet's own date** and names the iteration whose close generated it, because the finding's disposition lands in this iteration's ledger while the finding belongs to the last one; a record that is late and says so is what that trade buys.
|
|
49
6
|
|
|
50
7
|
## Session ritual
|
|
51
8
|
|
|
52
|
-
*<ritual: your scope ritual: index the governing docs before reading them
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
a
|
|
59
|
-
|
|
60
|
-
**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
the
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
**
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
`
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
does not promote, it puts the unit in front of the authority this stage already
|
|
90
|
-
escalates to. An automatic promotion would be a second intake path around
|
|
91
|
-
scope-gated intake, and the failure this rule answers was never that the ruling
|
|
92
|
-
went the wrong way — it was that the collision never reached anyone.
|
|
93
|
-
|
|
94
|
-
**Weigh the iteration's cost before opening it — the economic composition test.**
|
|
95
|
-
A lone sub-threshold unit may not justify a whole iteration's fixed cost: either
|
|
96
|
-
bundle related-surface deferred entries into the iteration, or argue the unit is
|
|
97
|
-
significant enough to stand alone. The cost principle — amortize a fixed setup
|
|
98
|
-
cost across a shared-surface batch — is the lead's, owned by
|
|
99
|
-
lifecycle-kit/templates/lead.md §Economics and applied there to dispatch
|
|
100
|
-
batching; scope applies the same principle one axis over, to iteration
|
|
101
|
-
composition. Cite it and weigh it here; do not re-derive the economics.
|
|
102
|
-
|
|
103
|
-
**Scope's censuses are the ones later stages most often re-buy, so record
|
|
104
|
-
them.** A roster built by applying a criterion set to a corpus dies with this
|
|
105
|
-
session's context unless it is written down, and the stage that needs it next
|
|
106
|
-
has no artifact to read. File it, and read the record before dispatching a
|
|
107
|
-
survey of your own: lifecycle-kit/SPEC.md §The survey record owns the block
|
|
108
|
-
grammar, the two-command witness, and the rule that a carried survey is cited
|
|
109
|
-
only while that witness holds.
|
|
110
|
-
|
|
111
|
-
**Authoring the promoted features' amendments is scope's — unless the roster
|
|
112
|
-
splits out a dedicated authoring stage.** Where it does, that stage authors the
|
|
113
|
-
amendment(s) and pairs the feature entries into the queue, and scope keeps only
|
|
114
|
-
the exploratory half: survey, propose, name, and debt promotion — ending at the
|
|
115
|
-
boundary so the survey context drops before authoring begins (that drop is the
|
|
116
|
-
split's whole economics). Feature promotion is not a separable step that could
|
|
117
|
-
fall to either stage: writing the amendment *is* promoting the entry
|
|
118
|
-
(canon-kit/SPEC.md §The amendment lifecycle, the bidirectional rule), so the
|
|
119
|
-
stage that authors is necessarily the stage that promotes. Either way the
|
|
120
|
-
detailed authoring how-to — causal
|
|
121
|
-
completeness (every new field's producer, consumer, and named reader, surveyed
|
|
122
|
-
across the whole component set) and the bidirectional queue pairing — is
|
|
123
|
-
single-sourced in the authoring stage's template
|
|
124
|
-
(`lifecycle-kit/templates/stages/spec.md`); a default-roster scope that authors
|
|
125
|
-
follows it here.
|
|
126
|
-
|
|
127
|
-
A premise inherited from a queued task ("clean/mechanical", "already filed",
|
|
128
|
-
"dead code") is a dated hypothesis — re-verify it against the current tree
|
|
129
|
-
before building on it, whether or not this stage goes on to author.
|
|
130
|
-
|
|
131
|
-
That re-verifies the entry's *own* claims — which is the half a survey already
|
|
132
|
-
reads. The other half is what the **rest of the queue** says about that entry:
|
|
133
|
-
its inbound citations, summed. Reading sibling entries one at a time never
|
|
134
|
-
produces that sum, so a unit that several siblings separately converge on,
|
|
135
|
-
subsume, or block against can be read carefully and still ranked low — the
|
|
136
|
-
failure is aggregation, not retrieval, and no amount of following
|
|
137
|
-
cross-references fixes it. So before ranking a candidate, aggregate its inbound
|
|
138
|
-
edges (queue-kit/SPEC.md §bin/queue-edges.sh) and read what cites it. The
|
|
139
|
-
promotion dividend lives in the total and in no single entry, which is also why
|
|
140
|
-
splitting an entry is safe only against that total: a split scatters an entry's
|
|
141
|
-
weight across siblings, and the sum is what puts it back together.
|
|
142
|
-
|
|
143
|
-
When done, **set the iteration name without waiting for confirmation** and
|
|
144
|
-
inform the user: run `bash lifecycle-kit/bin/enter-stage.sh --rename <name>`,
|
|
145
|
-
which writes both surfaces — the queue header and column 1 of every stamp — in
|
|
146
|
-
one motion and names them for the one commit they ride in. Never edit either by
|
|
147
|
-
hand: `check-stage-evidence` requires every stamp's iteration to match the
|
|
148
|
-
header's, and the state file has one sanctioned writer.
|
|
149
|
-
The header carries the *name axis alone* — there is no stage field to set, and
|
|
150
|
-
no stage field to advance. The *arriving* stage's skill moves the cursor by
|
|
151
|
-
stamping, as that skill's first step. Invoking the next skill is the
|
|
152
|
-
stage-advance approval (the name itself needs none).
|
|
153
|
-
|
|
154
|
-
Close by **recommending the next stage**: where the roster splits out a
|
|
155
|
-
dedicated authoring stage and this iteration promoted a feature, that stage
|
|
156
|
-
(it authors the promoted amendments); otherwise the trigger-gated audit stage
|
|
157
|
-
when one of its triggers fired this session, else the build stage. The
|
|
158
|
-
cross-component trigger is mechanical — an amendment on disk spanning ≥2
|
|
159
|
-
component dirs makes `check-stage-entry` assertion C demand the audit stamp
|
|
160
|
-
(or a user-ruled waiver) at the next stage's entry — so whichever stage
|
|
161
|
-
promoted such an amendment should say so rather than let the entry discover it.
|
|
162
|
-
|
|
163
|
-
With this stage's promotion commit landed (debt, plus the features only where
|
|
164
|
-
scope authored them), the iteration named, and the next stage
|
|
165
|
-
recommended, present the consumer's **hand-off** — how this consumer carries a
|
|
166
|
-
closed scope into the remaining stages: *<handoff: the consumer's start-sequence
|
|
167
|
-
choice at this boundary — driving the rest under a lead versus steering the
|
|
168
|
-
stages by hand, or a plain "no lead — run the stages by hand" line for a
|
|
169
|
-
lead-less or harness-less consumer; point at the consumer's documented
|
|
170
|
-
start sequence by citation, never restating its steps here>*.
|
|
9
|
+
*<ritual: your scope ritual: index the governing docs before reading them whole; update design-ahead projections (diagrams, models) in scope itself behind a gate-safe PROPOSED marker so review happens a stage before the code; ask clarifying questions about scope before proposing; name the grammar owner of each governed surface this stage writes — queue-entry tags, amendment refs — so a session reads the owner instead of re-deriving the grammar from a gate's source.>*
|
|
10
|
+
|
|
11
|
+
**Triage every task at filing — feature vs debt by the new-names litmus.** A task that adds any name to a governed surface (a script, a config knob, a file or directory convention, a tag, a contract another component must honor) is a feature: its design amendment is authored — in this stage unless the roster splits authoring into a dedicated stage (below), however small the diff looks. Debt converges behavior on names the specs already carry and needs no amendment. The tell for misfiling: a design ruling longer than a few lines drafted into a queue entry is an amendment inlined where no gate can see it — move it into one.
|
|
12
|
+
|
|
13
|
+
**Read each promoted entry's `[observed-by: <producer>]` and take one of two branches.** The tag says the entry's completion predicate is an observation of a remote run rather than a tree state (queue-kit/SPEC.md §The tag algebra), and this stage is the `<producer>` field's only reader. If a **mid-iteration push** produces that run, the push-placement rule governs (lifecycle-kit/SPEC.md §The state machine), the observation arrives in time to be drained, and the push counts toward the set's push need (below). If **only a release run** produces it, the placement is unsatisfiable — a release run is tag-triggered, so no mid-iteration push can fire it — and the entry **splits here**: promote the produce half now and file the observe half deferred, carrying the producer name, so the next iteration's first act is reading a run that already exists. Split at promotion rather than later because this is the one moment the unit set is bounded and the one session that may write the queue.
|
|
14
|
+
|
|
15
|
+
**A standing directive is a theme, not a unit list.** A directive received from a lead or operator at iteration open bounds this survey — it names the theme, never the units. The intake sweep and the premise re-verification run regardless, and the proposed unit set is escalated for ruling before promotion: to the lead under the split posture, to the user directly under none — the stage's ordinary stop. The destination changes; the proposal step does not.
|
|
16
|
+
|
|
17
|
+
A **deferred** entry whose recurrence count has reached `LIFECYCLE_KIT_RECURRENCE_THRESHOLD` enters the proposed unit set **regardless of theme**, and rides that same escalation. The directive still bounds the survey; what it may no longer do is silently outrank a counted recurrence. The count is the number of dates on the entry's `[recurrence:]` array (queue-kit/SPEC.md §The tag algebra) — one anchored grep over the deferred section, no tool and no queue-kit dependency. Each of those dates is a **judged** recurrence, stamped by a session that read the grounds rather than derived from a string match, so a count reaching the threshold is a signal to act on rather than a number to sanity-check first. It is scoped to deferred entries because promotion is the decision it forces; an entry already active is being built. **The collision is decided, not resolved in the theme's favour**: the rule does not promote, it puts the unit in front of the authority this stage already escalates to. A decline of such an entry is written on the entry, with its date and who ruled it. An entry already declined twice is escalated as operator-routed: a third threshold recurrence routes to the operator, not to a third decline (lifecycle-kit/SPEC.md §templates/stages/).
|
|
18
|
+
|
|
19
|
+
**Rank the pool by what deferral costs and what landing buys, in this order, before composing.** The board's deferred rows carry each entry's `[cost:]` class and `[surface:]` (queue-kit/SPEC.md §The tag algebra), so the ranking reads the board and opens bodies only for a shortlist. First, the rows whose class is `session` or `iteration` (token waste an always-loaded or every-stage surface re-buys, a gate or leg that reds every run, a fixed cost every stage walk pays), `session` before `iteration` and `high` before `low`; read bodies for that shortlist only. Its lead entry leads the unit set, and it joins the iteration being bounded only where joining re-spends nothing, which takes both of these: its surface is one the unit set already carries, and it triggers no stage the set does not already walk (a feature joining a debt-only set triggers the authoring stage, and a second component can trigger the audit stage). Otherwise it leads the next iteration's set, which its class arranges at that scope without a record. Second, a `[roadmap:]` entry, or one whose landing advances a roadmap item. Third, the window fills with rows whose `[surface:]` matches the lead unit's, under the composition test below. Where the set so far drains no more than the trailing inflow (the composition line's figure), the fill continues with the surface carrying the most board rows, one whole surface at a time: a further surface costs the lead one batch, not an iteration (lifecycle-kit/templates/lead.md §Economics). Recurrence-threshold entries ride the escalation above regardless of rank. What an entry is *about* — the delivery machinery or the product — is not a rank axis; its cost while deferred and its impact are. The class rides the entry's `[cost:]` tag, and the impact rides its cost field's prose, which the shortlist's body read supplies. A directive's theme bounds the survey and never outranks the first tier: a per-iteration cost is the theme's cost too.
|
|
20
|
+
|
|
21
|
+
**Weigh the iteration's cost before opening it — the economic composition test.** A lone sub-threshold unit may not justify a whole iteration's fixed cost: either bundle related-surface deferred entries into the iteration, or argue the unit is significant enough to stand alone. The cost principle — amortize a fixed setup cost across a shared-surface batch — is the lead's, owned by lifecycle-kit/templates/lead.md §Economics and applied there to dispatch batching; scope applies the same principle one axis over, to iteration composition. Cite it and weigh it here; do not re-derive the economics.
|
|
22
|
+
|
|
23
|
+
**Record the test's verdict in the unit-set escalation — on every proposed set, not only a lone unit.** The escalation's Recommendation carries one line in one of two forms: `Composition: bundled — <the deferred entries the set joins and the surface they share>; drain <k> against inflow <m>`, or `Composition: stands alone — <why this unit justifies an iteration's fixed cost>; drain <k> against inflow <m>`. Here `<k>` is the entries the set takes out of the design-pending pool and `<m>` is the `mean-filed` figure drift-kit's `--emit queue-flow` arm prints, never hand-counted (its `n/a` reason, or its absence, where it has no figure). Where `<k>` is not above `<m>`, the line adds why. Where the recommendation stands alone, Options also offers the bundle the test would have formed, so the party ruling on the set sees the cut it declines. The line is unconditional because the lone-unit case is itself a judgment: a requirement gated on it is skipped exactly when the judgment is, while a line on every set has no trigger to miss and costs a set that already bundles one sentence naming what it shares. The bundle rides Options because a stands-alone argument read with no bundle beside it cannot be weighed against anything. No gate reads the line — it travels on the message channel, which is transport and never a store — so under a lead the lead's refusal of a set carrying none is the whole enforcement (lifecycle-kit/templates/lead.md §Opening an iteration), and with no lead this sentence is.
|
|
24
|
+
|
|
25
|
+
**Scope's censuses are the ones later stages most often re-buy, so record them.** A roster built by applying a criterion set to a corpus dies with this session's context unless it is written down, and the stage that needs it next has no artifact to read. File it, and read the record before dispatching a survey of your own: lifecycle-kit/SPEC.md §The survey record owns the block grammar, the two-command witness, and the rule that a carried survey is cited only while that witness holds.
|
|
26
|
+
|
|
27
|
+
**Authoring the promoted features' amendments is scope's — unless the roster splits out a dedicated authoring stage.** Where it does, that stage authors the amendment(s) and pairs the feature entries into the queue, and scope keeps only the exploratory half: survey, propose, name, and debt promotion — ending at the boundary so the survey context drops before authoring begins (that drop is the split's whole economics). Feature promotion is not a separable step that could fall to either stage: writing the amendment *is* promoting the entry (canon-kit/SPEC.md §The amendment lifecycle, the bidirectional rule), so the stage that authors is necessarily the stage that promotes. Either way the detailed authoring how-to — causal completeness (canon-kit's checklist, surveyed across the whole component set) and the bidirectional queue pairing — is single-sourced in the authoring stage's template (`lifecycle-kit/templates/stages/spec.md`); a default-roster scope that authors follows it here.
|
|
28
|
+
|
|
29
|
+
A premise inherited from a queued task ("clean/mechanical", "already filed", "dead code") is a dated hypothesis — re-verify it against the current tree before building on it, whether or not this stage goes on to author. On each entry you promote as debt, run every `**Inferred, not run:**` marker's command, correct the entry and delete the marker, or rewrite it to the cannot-run form.
|
|
30
|
+
|
|
31
|
+
That re-verifies the entry's *own* claims — which is the half a survey already reads. The other half is what the **rest of the queue** says about that entry: its inbound citations, summed. Reading sibling entries one at a time never produces that sum, so a unit that several siblings separately converge on, subsume, or block against can be read carefully and still ranked low — the failure is aggregation, not retrieval, and no amount of following cross-references fixes it. So before ranking a candidate, aggregate its inbound edges (queue-kit/SPEC.md §The queue-edges arm) and read what cites it. **The ranking survey names the queue-edges command as its oracle** (lifecycle-kit/SPEC.md §The survey record). **Read the same output's retired block, which is an input to this ranking and not a footnote to it:** a citation resolving to a slug that was once live and is not now points at *disposed* work, so an entry arguing from one is arguing from a premise that has already been settled or shipped — and it reads exactly like a live one until the block names it. That is the failure this stage is on record for committing, against its own survey. **One class in that block is not a disposed premise, and discounting it is the opposite error:** where a retired slug's *name* shipped as live mechanism, its inbound edges cite that mechanism and are current. The arm marks the row it can prove — `name live at <path>` — so read the mark rather than re-deriving it; it reaches a name that is a tracked file's own stem and no further, so an unmarked target with many inbound edges still earns one resolution in the tree before it reads as disposed. The promotion dividend lives in the total and in no single entry, so splitting an entry is safe only against that total.
|
|
32
|
+
|
|
33
|
+
**Then test each shortlisted candidate for supersession, which no citation records.** Take the names its deliverable edits (its gate, knob, file or convention), grep the deferred pool and the icebox for entries whose deliverable replaces, removes or re-conventions one of them, and read each hit. Rule each pairing **mooted** (the other entry's landing removes the need: rank that entry instead, or bundle the two), **reshaped** (the fix changes shape once the other lands: say which goes first) or **independent**. The unit-set escalation's Recommendation carries one line per non-independent pairing, `Supersession: <candidate> — <mooted|reshaped> by <entry>`, or `Supersession: none — <names searched>` when nothing paired (lifecycle-kit/SPEC.md §templates/stages/).
|
|
34
|
+
|
|
35
|
+
**Count the set's pushes before it is ruled.** The unit-set escalation's Recommendation also carries one line, `Push need: <n> against <b> — <unit>: <why>; …`. `<b>` is the budget the consumer's closing-stage binding fills its `push-budget` slot with. `<n>` is the closing push plus one mid-iteration push per unit whose completion reads a remote run: each `[observed-by:]` entry, and each unit whose change a remote run executes before any local run can — code for a host no local run reaches, or new assertions on a binding leg. Name the units one batch's push could serve. The line is unconditional: a set needing only the closing push says so, and a binding that pushes nothing makes it `Push need: none — no remote`. Where `<n>` exceeds `<b>`, Options also offer the cut that fits. Ruling the set rules its need: on each push-needing entry, land `**Push need (<date>, <grant>):** <the push it spends and why>`, where `<grant>` is `inside the budget` or the party that ruled the overrun.
|
|
36
|
+
|
|
37
|
+
When done, **set the iteration name without waiting for confirmation** and inform the user: run `--enter-stage --rename <name>` on the gate binary `GATE_SDK_NATIVE_BIN` names, which writes both surfaces — the queue header and column 1 of every stamp — in one motion and names them for the one commit they ride in. Never edit either by hand: `check-stage-evidence` requires every stamp's iteration to match the header's, and the state file has one sanctioned writer. The header carries the *name axis alone* — there is no stage field to set, and no stage field to advance. The *arriving* stage's skill moves the cursor by stamping, as that skill's first step. Invoking the next skill is the stage-advance approval (the name itself needs none).
|
|
38
|
+
|
|
39
|
+
Close by **recommending the next stage**: where the roster splits out a dedicated authoring stage and this iteration promoted a feature, that stage (it authors the promoted amendments); otherwise the trigger-gated audit stage when one of its triggers fired this session, else the build stage. The cross-component trigger is mechanical — an amendment on disk spanning ≥2 component dirs makes `check-stage-entry` assertion C demand the audit stamp (or a user-ruled waiver) at the next stage's entry — so whichever stage promoted such an amendment should say so rather than let the entry discover it.
|
|
40
|
+
|
|
41
|
+
With this stage's promotion commit landed (debt, plus the features only where scope authored them), the iteration named, and the next stage recommended, present the consumer's **hand-off** — how this consumer carries a closed scope into the remaining stages: *<handoff: the consumer's start-sequence choice at this boundary — driving the rest under a lead versus steering the stages by hand, or a plain "no lead — run the stages by hand" line for a lead-less or harness-less consumer; point at the consumer's documented start sequence by citation, never restating its steps here>*.
|
|
42
|
+
|
|
43
|
+
**Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the stage you recommended. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
|
|
44
|
+
|
|
45
|
+
**Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report.
|
|
@@ -1,103 +1,37 @@
|
|
|
1
|
-
The `spec` (amendment-authoring) stage of an iteration — the generative half of
|
|
2
|
-
design, split out from `scope` on a roster that carries a dedicated authoring
|
|
3
|
-
stage. The ontology: **scope bounds the units; `spec` authors the amendments;
|
|
4
|
-
the audit stage independently verifies them.** Author the design amendment(s)
|
|
5
|
-
for the feature units this iteration promotes, pair each into the active queue,
|
|
6
|
-
and recommend the next stage. Exit condition: *<exit-condition: your spec exit
|
|
7
|
-
condition — every promoted feature carries a `[spec:]` ref resolving to an
|
|
8
|
-
amendment on disk, and each amendment's causal-completeness check is green>*.
|
|
1
|
+
The `spec` (amendment-authoring) stage of an iteration — the generative half of design, split out from `scope` on a roster that carries a dedicated authoring stage. The ontology: **scope bounds the units; `spec` authors the amendments; the audit stage independently verifies them.** Author the design amendment(s) for the feature units this iteration promotes, pair each into the active queue, and recommend the next stage. Exit condition: *<exit-condition: your spec exit condition — every promoted feature carries a `[spec:]` ref resolving to an amendment on disk, and each amendment's causal-completeness check is green>*.
|
|
9
2
|
|
|
10
3
|
## Trigger (spec is trigger-gated)
|
|
11
4
|
|
|
12
|
-
Run `spec` only when this iteration promotes ≥1 **feature** unit — an amendment
|
|
13
|
-
|
|
14
|
-
the
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
feature entry carries a `[spec: <ref>]` only once this stage has authored the
|
|
18
|
-
file, and the bidirectional rule reds any `[spec:]` ref resolving to no file, so
|
|
19
|
-
a skipped `spec` cannot ship a feature without its amendment (the same
|
|
20
|
-
procedural-plus-one-gated-backstop shape as the audit stage's own trigger).
|
|
21
|
-
|
|
22
|
-
**First step — stamp evidence.** Run lifecycle-kit's `bin/enter-stage.sh spec`:
|
|
23
|
-
it appends `<iteration> spec <session-id> <date> <head>` to
|
|
24
|
-
`.workflow/WORKFLOW-STATE.txt` (required by `check-stage-evidence`; the stamp
|
|
25
|
-
proves invocation, not faithful execution), reading `<session-id>` from
|
|
26
|
-
`bin/session-id.sh` (the newest transcript — never hand-picked), using
|
|
27
|
-
`date +%F`, and refusing (writing nothing) if `check-stage-entry` is red. On a
|
|
28
|
-
refusal, **do not force the entry** — escalate to the lead (where one exists and
|
|
29
|
-
this is not a standalone session) and stop; a refused entry is a gate verdict to
|
|
30
|
-
resolve at its source, never to override. `spec`
|
|
31
|
-
is **not** the iteration boundary, so it **appends** — only the first stage
|
|
32
|
-
resets the evidence file. That stamp *is* the transition — the last stamp is the
|
|
33
|
-
stage cursor, so nothing flips and no queue write is involved. Commit the stamp
|
|
34
|
-
on its own.
|
|
35
|
-
|
|
36
|
-
Because this is a **fresh session** — a fresh prompt cache, on the tier the
|
|
37
|
-
lead chose — the causal-completeness authoring no longer re-reads scope's whole
|
|
38
|
-
survey context through every authoring turn; the exploratory sweep dropped at
|
|
39
|
-
scope's session boundary. That drop is the point of the split.
|
|
5
|
+
Run `spec` only when this iteration promotes ≥1 **feature** unit — an amendment to author. A **debt-only** iteration skips `spec` entirely (scope advances to the next stage), exactly as the audit stage is skipped when no cross-component amendment exists. The trigger is **procedural** — scope's next-stage recommendation — and backstopped by the existing amendment-pairing gate: a feature entry carries a `[spec: <ref>]` only once this stage has authored the file, and the bidirectional rule reds any `[spec:]` ref resolving to no file, so a skipped `spec` cannot ship a feature without its amendment (the same procedural-plus-one-gated-backstop shape as the audit stage's own trigger).
|
|
6
|
+
|
|
7
|
+
**First step — stamp evidence.** Run the lifecycle arm `--enter-stage spec` on the gate binary `GATE_SDK_NATIVE_BIN` names: it appends `<iteration> spec <session-id> <date> <head>` to `.workflow/WORKFLOW-STATE.txt` (required by `check-stage-evidence`; the stamp proves invocation, not faithful execution), reading `<session-id>` from the `--emit-session-id` arm (the newest transcript — never hand-picked), using `date +%F`, and refusing (writing nothing) if `check-stage-entry` is red. On a refusal, **do not force the entry** — escalate to the lead (where one exists and this is not a standalone session) and stop; a refused entry is a gate verdict to resolve at its source, never to override. `spec` is **not** the iteration boundary, so it **appends** — only the first stage resets the evidence file. That stamp *is* the transition — the last stamp is the stage cursor, so nothing flips and no queue write is involved. Commit the stamp on its own — unless the pre-flight valve admitted this entry, which rewrites the valve ledger in the same motion, so the two commit together (lifecycle-kit/SPEC.md §bin/enter-stage.sh).
|
|
8
|
+
|
|
9
|
+
Because this is a **fresh session** — a fresh prompt cache, on the tier the lead chose — the causal-completeness authoring no longer re-reads scope's whole survey context through every authoring turn; the exploratory sweep dropped at scope's session boundary. That drop is the point of the split.
|
|
40
10
|
|
|
41
11
|
## Session ritual
|
|
42
12
|
|
|
43
|
-
*<ritual: your spec ritual: hold the provenance seam and config-via-env
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
on
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
an
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
**Label every delta with its work class.** In the amendment's §What changes,
|
|
69
|
-
every delta carries a **work-class** tag — either **mechanical** or
|
|
70
|
-
**design-bearing** — written **inline, at the end of the delta's own lead
|
|
71
|
-
sentence**, never collected into a separate roster at the section's head or
|
|
72
|
-
foot. A roster is a second copy of the labelling that drifts from the deltas it
|
|
73
|
-
labels the moment one is split or reordered, and its reader (the lead, at
|
|
74
|
-
batch-cut) is scanning the deltas themselves. A delta is **mechanical** when executing it demands only
|
|
75
|
-
oracle-running — running a fixed verification battery, a rename/merge sweep, a
|
|
76
|
-
mechanical pin — with low generative judgment. It is **design-bearing** when
|
|
77
|
-
executing it demands generative or verificational judgment — authoring a
|
|
78
|
-
contract, a cross-spec audit, a non-obvious implementation. The label records
|
|
79
|
-
what the delta *demands*, never a model name: a baked model name is drift by
|
|
80
|
-
construction against a churning roster, and a spec-time model *recommendation*
|
|
81
|
-
would attach to a batch the lead has not cut yet (the lead cuts batches at
|
|
82
|
-
build). The two values apply delegation-kit's unit-shape distinction
|
|
83
|
-
(`templates/agent-execution.md`, "Match the dispatched model and effort to the
|
|
84
|
-
unit's shape" — a read-heavy or mechanical unit rides a cheaper model class; a
|
|
85
|
-
unit carrying design judgment stays on the supervisor's class) at authoring
|
|
86
|
-
time. This is judgment `spec` holds and the lead does not: `spec` knows what
|
|
87
|
-
each delta demands, the lead knows only what the queue entry says. The label's
|
|
88
|
-
one reader is the lead's per-batch tier decision (`lead.md` §Economics), which
|
|
89
|
-
reads the labels of a batch's deltas at batch-cut time.
|
|
90
|
-
|
|
91
|
-
**Writing the amendment *is* promoting the deferred entry.** Land the
|
|
92
|
-
`[spec: <ref>]` ref on the feature entry and the amendment file itself in **one
|
|
93
|
-
commit**, satisfying canon-kit's bidirectional rule — without the pairing,
|
|
94
|
-
design rationale and ruled-out alternatives get re-derived under build pressure.
|
|
95
|
-
scope has already run the feature/debt litmus at filing and bounded the unit
|
|
96
|
-
set; this stage authors, it does not re-triage.
|
|
97
|
-
|
|
98
|
-
Close by **recommending the next stage**: the trigger-gated audit stage when one
|
|
99
|
-
of its triggers fired this session (an amendment changing ≥2 components'
|
|
100
|
-
contracts is one — `check-stage-entry` will demand the audit stamp at the next
|
|
101
|
-
stage's entry), otherwise the build stage. A `spec` that authored a
|
|
102
|
-
cross-component amendment should say so rather than let the downstream entry
|
|
103
|
-
discover it.
|
|
13
|
+
*<ritual: your spec ritual: hold the provenance seam and config-via-env convention; author each promoted feature's amendment against the amendment lifecycle and causal-completeness contract your canon-kit owns; name the queue-entry grammar and `[spec:]` ref-resolution owners the promotion writes against.>*
|
|
14
|
+
|
|
15
|
+
**Verify causal completeness before declaring an amendment ready** — every point of the checklist your canon-kit owns, for each new state, event, interface and obligation. Survey each reader across the **whole component set**, never a hand-picked subset, and never silence a probe's stderr — a `2>/dev/null` on a path grep reads a bad path as "no reader", the false negative that hides a cross-component reader. Where a roster token makes the amendment read as cross-component, keep the token: respelling it so it stops resolving is not a remedy (lifecycle-kit/SPEC.md §check-stage-entry, assertion C).
|
|
16
|
+
|
|
17
|
+
**Before committing an amendment, run each delta's own claims.** Run the command that tells whether the tree already does what the delta instructs; a delta the tree already satisfies is rewritten or deleted, never shipped. Then, for each premise the delta's ruling or reach rests on — what a program does, what a file holds, a count, which readers a surface has — run the one command that settles it and correct the delta to what it returned. That includes every claim a survey block you rely on lists under `inferred`, and every inferred marker on the entry you pair — run it and delete it there, as on a passage. A premise no command settles before build takes the inferred marker on its passage. An illustration the delta does not rest on is exempt. The marker grammar and why the pass is bounded this way: lifecycle-kit/SPEC.md §templates/stages/.
|
|
18
|
+
|
|
19
|
+
**Replacement text re-phrases; it never appends.** Rewrite the passage a delta refines, clearer and briefer, and add text only where no rewrite carries the change (canon-kit's amendment-merge rule).
|
|
20
|
+
|
|
21
|
+
**A delta whose act depends on a sibling unit's landing states both acts.** Where the right act changes with whether a named sibling entry lands in the same build batch, write the act for each case and name the sibling, never one case in the unconditional voice (lifecycle-kit/SPEC.md §templates/stages/).
|
|
22
|
+
|
|
23
|
+
**The roster you need may already have been bought.** Authoring routinely wants an evidence-backed roster over some corpus, and the stage before you may have bought exactly that one. Read the survey record first and, where a block's heading answers your question, run its witness — a clean corpus diff since the recorded rev plus an unchanged oracle verdict licenses citing the finding instead of re-buying it, and a moved one narrows the dispatch to the delta. File what you buy. The contract is lifecycle-kit/SPEC.md §The survey record.
|
|
24
|
+
|
|
25
|
+
**Label every delta with its work class.** In the amendment's §What changes, every delta carries a **work-class** tag — either **mechanical** or **design-bearing** — written **inline, at the end of the delta's own lead sentence**, never collected into a separate roster at the section's head or foot. A delta is **mechanical** when executing it demands only oracle-running — running a fixed verification battery, a rename/merge sweep, a mechanical pin — with low generative judgment. It is **design-bearing** when executing it demands generative or verificational judgment — authoring a contract, a cross-spec audit, a non-obvious implementation. The label records what the delta *demands*, never a model name. The two values apply delegation-kit's unit-shape distinction (`templates/agent-execution.md`, "Match the dispatched model and effort to the unit's shape" — a read-heavy or mechanical unit rides a cheaper model class; a unit carrying design judgment stays on the supervisor's class) at authoring time. The label's one reader is the lead's per-batch tier decision (`lead.md` §Economics), which reads the labels of a batch's deltas at batch-cut time.
|
|
26
|
+
|
|
27
|
+
**Writing the amendment *is* promoting the deferred entry.** Land the `[spec: <ref>]` ref on the feature entry and the amendment file itself in **one commit**, satisfying canon-kit's bidirectional rule — without the pairing, design rationale and ruled-out alternatives get re-derived under build pressure. scope has already run the feature/debt litmus at filing and bounded the unit set; this stage authors, it does not re-triage.
|
|
28
|
+
|
|
29
|
+
**A Definition-of-Done item that moves the entry names a stage that can move it.** An entry's Done move or demotion lands before the drain stage (`LIFECYCLE_KIT_DRAIN_STAGE`), or at it only for a `[drain-exempt:]` entry — never at a stage after it (lifecycle-kit/SPEC.md §check-stage-entry, assertion B). Name that stage by its relation to the drain stage, never by a literal stage name. An entry whose oracle is a remote run moves when build's remote-oracle rule says (build.md, *Run the system*), never in its merge commit.
|
|
30
|
+
|
|
31
|
+
**Amendment text for a governed surface says whether it is landed, on the passage itself.** This stage authors and build lands, so replacement text is a proposal by default — but a stage authorized to land an in-unit edit produces both kinds in one document, and a report claiming an edit applied when only its text exists reads as settled fact to every later session. Mark the pending ones **Not yet applied** at the passage, never only in the report, which a later reader may never open.
|
|
32
|
+
|
|
33
|
+
Close by **recommending the next stage**: the trigger-gated audit stage when one of its triggers fired this session (an amendment changing ≥2 components' contracts is one — `check-stage-entry` will demand the audit stamp at the next stage's entry), otherwise the build stage. A `spec` that authored a cross-component amendment should say so rather than let the downstream entry discover it.
|
|
34
|
+
|
|
35
|
+
**Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the stage you recommended. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
|
|
36
|
+
|
|
37
|
+
**Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report.
|
|
@@ -1,62 +1,25 @@
|
|
|
1
|
-
The `validate` stage of an iteration. Run the full test/verification suites.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
unsatisfiable while any suite is tracked-red on a deferred blocker; each
|
|
5
|
-
held-constant red line carries the live task slug that blocks it>*.
|
|
6
|
-
|
|
7
|
-
**First step — stamp evidence.** Run lifecycle-kit's `bin/enter-stage.sh
|
|
8
|
-
validate`: it appends `<iteration> validate <session-id> <date> <head>` to
|
|
9
|
-
`.workflow/WORKFLOW-STATE.txt` (required by `check-stage-evidence`; the stamp
|
|
10
|
-
proves invocation, not faithful execution), reading `<session-id>` from
|
|
11
|
-
`bin/session-id.sh`
|
|
12
|
-
(the newest transcript — never hand-picked), using `date +%F`. That stamp *is*
|
|
13
|
-
the transition — the last stamp is the stage cursor, so nothing flips and no
|
|
14
|
-
queue write is involved. Commit the stamp on its own. The tool refuses (writing
|
|
15
|
-
nothing) if
|
|
16
|
-
`check-stage-entry` is red — which for `validate` additionally requires the
|
|
17
|
-
active queue drained before this entry (build is not done until the queue is
|
|
18
|
-
empty). On a refusal, **do not force the entry** — escalate to the lead (where
|
|
19
|
-
one exists and this is not a standalone session) and stop; a refused entry is a
|
|
20
|
-
gate verdict to resolve at its source, never to override.
|
|
1
|
+
The `validate` stage of an iteration. Run the full test/verification suites. Exit condition: *<exit-condition: your validate exit condition — prefer "zero NEW failures against a committed baseline" over bare "all pass", which is unsatisfiable while any suite is tracked-red on a deferred blocker; each held-constant red line carries the live task slug that blocks it>*.
|
|
2
|
+
|
|
3
|
+
**First step — stamp evidence.** Run the lifecycle arm `--enter-stage validate` on the gate binary `GATE_SDK_NATIVE_BIN` names: it appends `<iteration> validate <session-id> <date> <head>` to `.workflow/WORKFLOW-STATE.txt` (required by `check-stage-evidence`; the stamp proves invocation, not faithful execution), reading `<session-id>` from the `--emit-session-id` arm (the newest transcript — never hand-picked), using `date +%F`. That stamp *is* the transition — the last stamp is the stage cursor, so nothing flips and no queue write is involved. Commit the stamp on its own — unless the pre-flight valve admitted this entry, which rewrites the valve ledger in the same motion, so the two commit together (lifecycle-kit/SPEC.md §bin/enter-stage.sh). The tool refuses (writing nothing) if `check-stage-entry` is red — which for `validate` additionally requires the active queue drained before this entry (build is not done until the queue is empty). On a refusal, **do not force the entry** — escalate to the lead (where one exists and this is not a standalone session) and stop; a refused entry is a gate verdict to resolve at its source, never to override.
|
|
21
4
|
|
|
22
5
|
## Session ritual
|
|
23
6
|
|
|
24
|
-
*<suites: execute your suites. Compilation is not done — a green build is not a
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
the
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
**
|
|
43
|
-
you across a whole corpus rather than into one failure, check the survey record
|
|
44
|
-
before dispatching that sweep and file its finding afterwards — the next
|
|
45
|
-
iteration's stages read it, and the record is discarded at the boundary anyway
|
|
46
|
-
(lifecycle-kit/SPEC.md §The survey record). Keep it distinct from the evidence
|
|
47
|
-
manifest below: that one records what your suites did, this one what a sweep
|
|
48
|
-
found.
|
|
49
|
-
|
|
50
|
-
**Record the evidence.** Append one line per suite to your per-iteration
|
|
51
|
-
evidence manifest (suite, log digest, verdict, date) and commit it at validate
|
|
52
|
-
completion — the evidence does not exist at the entry stamp, so it rides a
|
|
53
|
-
later commit, not the entry stamp. An iteration with a validate stamp but no
|
|
54
|
-
evidence line is the recorded-nothing gap the manifest closes. If your kit
|
|
55
|
-
provides a codified validate spine — a `run-validate` tool that runs each
|
|
56
|
-
suite, diffs the held-constant baseline, and appends the evidence line —
|
|
57
|
-
invoke it here rather than hand-running the suites and hand-writing the
|
|
58
|
-
manifest.
|
|
59
|
-
|
|
60
|
-
Do not declare validate complete until the baseline diff is clean: no
|
|
61
|
-
baseline-pass item regressed, every held-constant red still carries a live
|
|
62
|
-
blocking slug, and any recovered item has been promoted to pass.
|
|
7
|
+
*<suites: execute your suites. Compilation is not done — a green build is not a green test run; gate on the positive success token of your runner, not the absence of a failure token. Capture runs to files so the evidence outlives the session. Name the baseline-grammar owner any red-triage baseline edit writes against.>*
|
|
8
|
+
|
|
9
|
+
**Triage a red against the queue before excavating it.** On any failure, first grep the queue's deferred/lessons sections — a pre-existing red is usually already a filed task with the diagnosis written. A filed entry that matches a red is a possible cause, not a cause. A red on an item your baseline held passing when the iteration opened is a suspected regression. Reproduce it at the iteration-start commit before you hold it. If it reproduces, hold it against the filed task and record the reproducing commit where your baseline grammar keeps it. If it does not reproduce, this iteration caused it: fix it. Only a red on an item already held red at the iteration start is noted and passed over on the match alone.
|
|
10
|
+
|
|
11
|
+
When filing a finding, place it by kind: nameable deliverable + done-state ⇒ queue task (the deferred section, design-pending, after the owner lookup of lifecycle-kit/SPEC.md §The committed gap inbox, each claim you did not run carrying its inferred marker); an observation about how the work should be done ⇒ the lessons section, dispositioned at close. Undone work parked as a lesson evaporates; a process insight parked as a task rots.
|
|
12
|
+
|
|
13
|
+
**Excavation that spans a corpus is a survey, not a triage.** When a red sends you across a whole corpus rather than into one failure, check the survey record before dispatching that sweep and file its finding afterwards — the next iteration's stages read it, and the record is discarded at the boundary anyway (lifecycle-kit/SPEC.md §The survey record). Keep it distinct from the evidence manifest below: that one records what your suites did, this one what a sweep found.
|
|
14
|
+
|
|
15
|
+
**Record the evidence.** Append one line per suite to your per-iteration evidence manifest (suite, log digest, verdict, date) and commit it at validate completion — the evidence does not exist at the entry stamp, so it rides a later commit, not the entry stamp. An iteration with a validate stamp but no evidence line is the recorded-nothing gap the manifest closes. If your kit provides a codified validate spine — a `run-validate` tool that runs each suite, diffs the held-constant baseline, and appends the evidence line — invoke it here rather than hand-running the suites and hand-writing the manifest.
|
|
16
|
+
|
|
17
|
+
Do not declare validate complete until the baseline diff is clean: no item that passed at the iteration start is held red without a recorded reproduction outside the iteration, every held-constant red still carries a live blocking slug, and any recovered item has been promoted to pass.
|
|
18
|
+
|
|
19
|
+
**Commit a repair the moment you decide it, before you start or resume the suite roster.** Check `git status` against the session's own edits before excavating any suite failure that mentions a dirty tree.
|
|
20
|
+
|
|
21
|
+
**Arm the pre-flight valve when you end on a deliberately accepted red.** A red you understand and that reproduces at the iteration-start commit, and that the closing stage rather than this one must file against, is a hand-off — not a stop for an operator round-trip and not a queue edit. Append one `<iteration> <stage> armed <reason>` line to the configured valve ledger and commit it with your evidence, writing in the reason what close needs: which suite, what the red is, why it is accepted rather than fixed, and the commit it reproduces at. The contract, its narrowings, and the fact that reaching for it twice in one iteration is the failure: lifecycle-kit/SPEC.md §bin/enter-stage.sh. With no ledger configured there is no valve, and an accepted red stops here as it always did.
|
|
22
|
+
|
|
23
|
+
**Then read your successor's entry.** After your last commit, run `--enter-stage --simulate <stage>` for the close stage. It writes nothing (lifecycle-kit/SPEC.md §bin/enter-stage.sh). An exit of 1 relays a refusal: fix one your own work caused and run the read again, and carry any other into your report verbatim.
|
|
24
|
+
|
|
25
|
+
**Last step — the resume journal.** This stage's exit artifact is the resume journal the `--enter-stage` arm named at the stamp; its path is a derivation (lifecycle-kit/SPEC.md §The state machine) and its contract is delegation-kit/SPEC.md §Resume journal — agent writes, scratch reset sweeps. Append `DONE` as the file's last line before you report.
|
|
@@ -1,41 +1,10 @@
|
|
|
1
|
-
The `upgrade` skill — the phase-B disposition walk for a consumer moving their
|
|
2
|
-
vendored kits from one release to the next. Not an iteration stage: it invokes
|
|
3
|
-
no `enter-stage.sh`, stamps no `WORKFLOW-STATE.txt`, and runs in any session at
|
|
4
|
-
an upgrade. Phase A (the deterministic wholesale kit-sync) and this phase-B walk
|
|
5
|
-
are the two halves of the upgrade contract — the install guide §The upgrade
|
|
6
|
-
contract owns the shape, and `gate-sdk/bin/upgrade-smoke.sh` proves it
|
|
7
|
-
mechanically where the consumer has the smoke. Exit condition: the full battery
|
|
8
|
-
is green or every red carries a stamped disposition.
|
|
1
|
+
The `upgrade` skill — the phase-B disposition walk for a consumer moving their vendored kits from one release to the next. Not an iteration stage: it invokes no `--enter-stage`, stamps no `WORKFLOW-STATE.txt`, and runs in any session at an upgrade. Phase A (the deterministic wholesale kit-sync) and this phase-B walk are the two halves of the upgrade contract — the install guide §The upgrade contract owns the shape, and `--upgrade-smoke` on the gate binary `GATE_SDK_NATIVE_BIN` names proves it mechanically where the consumer has the smoke. Exit condition: the full battery is green or every red carries a stamped disposition.
|
|
9
2
|
|
|
10
3
|
## Session ritual
|
|
11
4
|
|
|
12
|
-
1. **Run phase A.** Replace the vendored kit directories wholesale at the
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
set is declared, before you disposition anything by hand.
|
|
17
|
-
2. **Read the target release note.** The note whose front-matter `release:`
|
|
18
|
-
names the target version carries two checklists. Register every gate its
|
|
19
|
-
Tightened gates section names into *<gates-list: where this consumer
|
|
20
|
-
registers its gates — the gates.list path when non-default; a new release's
|
|
21
|
-
gate reaches an upgrading consumer only through this declaration, never
|
|
22
|
-
through the phase-A sync, so registering it here is the delivery step.>*, and
|
|
23
|
-
apply each Renamed knobs rename to your own config.
|
|
24
|
-
3. **Run the full battery; disposition every red.** Each red gate is one of two
|
|
25
|
-
dispositions — **fix-the-tree** (the surface moved; migrate your code to the
|
|
26
|
-
new contract) or **exempt-with-cause** (a gate you shadow or omit from your
|
|
27
|
-
registry, the cause stamped) — and never a weakening of the gate. Stamp one
|
|
28
|
-
disposition line per red into *<disposition-evidence: this consumer's
|
|
29
|
-
evidence/disposition stamp path, committed on the upgrade commit.>*.
|
|
30
|
-
4. **Judge the semantic residual — the ungateable audit.** For every skill you
|
|
31
|
-
bind through a shim, set the target template's slots beside your shim's slot
|
|
32
|
-
fills. A changed slot set reds `check-skill-binding` and a verbatim copy reds
|
|
33
|
-
`check-shim-restatement`, but the residual — a fill you worded to cover what
|
|
34
|
-
the new template's slot now means to own — clears both gates and cannot be
|
|
35
|
-
gated. The upgrade is that class's audit cadence: surface each changed
|
|
36
|
-
template slot against your fill and delete the wording the template now
|
|
37
|
-
carries for you.
|
|
5
|
+
1. **Run phase A.** Replace the vendored kit directories wholesale at the target release, retire each shell config its kits replaced with a knob file, and regenerate the generated artifacts, the install guide's phase-A steps. Where the upgrade smoke is available, run it first: a green verdict is the mechanical proof that the sync is deterministic and the red set is declared, before you disposition anything by hand.
|
|
6
|
+
2. **Read the target release note.** The note whose front-matter `release:` names the target version carries two checklists. Register every gate its Tightened gates section names into *<gates-list: where this consumer registers its gates — the gates.list path when non-default; a new release's gate reaches an upgrading consumer only through this declaration, never through the phase-A sync, so registering it here is the delivery step.>*, and apply each Renamed knobs rename to your own config.
|
|
7
|
+
3. **Run the full battery; disposition every red.** Each red gate is one of two dispositions — **fix-the-tree** (the surface moved; migrate your code to the new contract) or **exempt-with-cause** (a gate you shadow or omit from your registry, the cause stamped) — and never a weakening of the gate. Stamp one disposition line per red into *<disposition-evidence: this consumer's evidence/disposition stamp path, committed on the upgrade commit.>*.
|
|
8
|
+
4. **Judge the semantic residual — the ungateable audit.** For every skill you bind through a shim, set the target template's slots beside your shim's slot fills. A changed slot set reds `check-skill-binding` and a verbatim copy reds `check-shim-restatement`, but the residual — a fill you worded to cover what the new template's slot now means to own — clears both gates and cannot be gated. The upgrade is that class's audit cadence: surface each changed template slot against your fill and delete the wording the template now carries for you.
|
|
38
9
|
|
|
39
|
-
The disposition stamp is operator evidence riding the upgrade commit; nothing
|
|
40
|
-
in the kit reads it. The two named slots hold this consumer's residue — where
|
|
41
|
-
its gates register and where its dispositions land.
|
|
10
|
+
The disposition stamp is operator evidence riding the upgrade commit; nothing in the kit reads it. The two named slots hold this consumer's residue — where its gates register and where its dispositions land.
|