checkwright 0.31.0 → 0.32.1
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 +8 -7
- package/bin/checkwright.ps1 +3 -3
- package/bin/checkwright.sh +5 -1
- package/package.json +10 -3
- package/payload/artifact/aarch64-apple-darwin/checkwright-gates +0 -0
- package/payload/artifact/aarch64-apple-darwin/checkwright-gates.sha256 +1 -1
- package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe +0 -0
- package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
- package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates +0 -0
- package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
- package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates +0 -0
- package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
- package/payload/artifact/targets.list +5 -5
- package/payload/artifact/x86_64-apple-darwin/checkwright-gates +0 -0
- package/payload/artifact/x86_64-apple-darwin/checkwright-gates.sha256 +1 -1
- 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 -1
- 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 -1
- package/payload/canon-kit/README.md +8 -4
- package/payload/canon-kit/checks/check-amendment-queue.gate +1 -1
- package/payload/canon-kit/checks/check-comment-tier.gate +2 -2
- package/payload/canon-kit/checks/check-delta-agreement.gate +4 -0
- package/payload/canon-kit/checks/check-deprecation-task.gate +1 -1
- package/payload/canon-kit/checks/check-docs-page-length.gate +4 -0
- package/payload/canon-kit/checks/check-docs-page-repeat.gate +2 -2
- package/payload/canon-kit/checks/check-fence-command-head.gate +1 -1
- package/payload/canon-kit/checks/check-fence-paste-unit.gate +4 -0
- package/payload/canon-kit/checks/check-knob-default-coupling.gate +1 -1
- package/payload/canon-kit/checks/check-manifest-count.gate +3 -3
- package/payload/canon-kit/checks/check-manifest-temporal.gate +1 -1
- package/payload/canon-kit/checks/check-pendency-contradiction.gate +3 -0
- package/payload/canon-kit/checks/check-prose-tells.gate +1 -1
- 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-pointer.gate +1 -1
- package/payload/canon-kit/checks/check-todo-task-liveness.gate +1 -1
- package/payload/canon-kit/gate-tests/check-amendment-queue/good/SPEC-widget.md +6 -0
- package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/SPEC-widget.md +7 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target/good/SPEC-widget.md +7 -0
- package/payload/canon-kit/gate-tests/check-citation-link/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-citation-link/bad/site/unclosed.md +4 -0
- package/payload/canon-kit/gate-tests/check-citation-link/good/site/page.md +10 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier.test.sh +9 -1
- package/payload/canon-kit/gate-tests/check-delta-agreement/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/bad/scripts/canon-config.knobs +14 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/bad/work/base/notes/spec.md +9 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/bad/work/changes/one/deltas/notes/spec.md +7 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/bad/work/changes/two/deltas/cli/spec.md +3 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/good/scripts/canon-config.knobs +14 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/good/work/base/notes/spec.md +9 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/good/work/changes/one/deltas/notes/spec.md +19 -0
- package/payload/canon-kit/gate-tests/check-delta-agreement/good/work/changes/two/deltas/cli/spec.md +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-docs-cmd.test.sh +20 -4
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/expect.txt +5 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/scripts/canon-config.knobs +3 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/item.md +5 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/nested.md +7 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/page.md +13 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/short.md +3 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/unclosed.md +4 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/good/site/generated.md +3 -0
- package/payload/canon-kit/gate-tests/check-docs-page-length/good/site/page.md +15 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/scripts/canon-config.knobs +2 -1
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/_chrome/footer.html +4 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/page.md +4 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/unclosed.md +6 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/expect.txt +2 -1
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/scripts/canon-config.knobs +2 -1
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/site/_chrome/layout.html +8 -0
- package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/site/page.md +13 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/kit/index.md +4 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/bad/doc.md +10 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/bad/expect.txt +2 -0
- package/payload/canon-kit/gate-tests/check-fence-command-head/good/doc.md +6 -0
- package/payload/canon-kit/gate-tests/check-fence-paste-unit/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-fence-paste-unit/bad/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-fence-paste-unit/bad/site/page.md +17 -0
- package/payload/canon-kit/gate-tests/check-fence-paste-unit/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-fence-paste-unit/good/scripts/canon-config.knobs +2 -0
- package/payload/canon-kit/gate-tests/check-fence-paste-unit/good/site/page.md +39 -0
- package/payload/canon-kit/gate-tests/check-fence-run/good/doc.md +8 -0
- package/payload/canon-kit/gate-tests/check-install-claim/bad/README.md +4 -0
- package/payload/canon-kit/gate-tests/check-manifest-count/bad/SPEC.md +14 -0
- package/payload/canon-kit/gate-tests/check-manifest-count/bad/expect.txt +2 -0
- package/payload/canon-kit/gate-tests/check-manifest-count/good/SPEC.md +27 -0
- package/payload/canon-kit/gate-tests/check-manifest-count/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-manifest-count/good/posts/note.md +7 -0
- package/payload/canon-kit/gate-tests/check-manifest-count/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-manifest-temporal/good/SPEC.md +7 -0
- package/payload/canon-kit/gate-tests/check-md-refs.test.sh +17 -1
- package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/dotted.md +10 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/good/dotted.md +6 -0
- package/payload/canon-kit/gate-tests/check-md-unwrapped/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-measured-claim/good/SPEC.md +6 -0
- package/payload/canon-kit/gate-tests/check-pendency-contradiction/bad/SPEC.md +14 -0
- package/payload/canon-kit/gate-tests/check-pendency-contradiction/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-pendency-contradiction/good/README.md +3 -0
- package/payload/canon-kit/gate-tests/check-pendency-contradiction/good/SPEC.md +16 -0
- package/payload/canon-kit/gate-tests/check-pendency-contradiction/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/absence-unclosed.md +8 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/absence.md +13 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/expect.txt +4 -0
- package/payload/canon-kit/gate-tests/check-prose-tells/bad/scripts/canon-config.knobs +5 -1
- package/payload/canon-kit/gate-tests/check-prose-tells/good/absence.md +17 -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.knobs +4 -1
- package/payload/canon-kit/gate-tests/check-spec-derivable-section/bad/SPEC.md +9 -0
- package/payload/canon-kit/gate-tests/check-spec-derivable-section/bad/expect.txt +2 -1
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/SPEC.md +14 -0
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-spec-fence-balance/bad/args +1 -0
- package/payload/canon-kit/gate-tests/check-spec-fence-balance/bad/expect.txt +2 -1
- package/payload/canon-kit/gate-tests/check-spec-fence-balance/bad/long.md +7 -0
- package/payload/canon-kit/gate-tests/check-spec-fence-balance/good/doc.md +13 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/scripts/canon-config.knobs +7 -1
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/README.md +8 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/SPEC-repeat.md +11 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/scripts/canon-config.knobs +6 -0
- package/payload/canon-kit/gate-tests/check-task-label-resolution/good/work/tasks.md +6 -0
- package/payload/canon-kit/gate-tests/check-task-path-claim/good/work/tasks.md +6 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/scripts/canon-config.knobs +4 -0
- package/payload/canon-kit/gate-tests/check-tracking-claim/bad/README.md +4 -0
- package/payload/context-kit/README.md +5 -7
- package/payload/context-kit/checks/check-brevity.gate +1 -1
- package/payload/context-kit/gate-tests/check-brevity.test.sh +1 -0
- package/payload/context-kit/gate-tests/check-memory-off.test.sh +25 -1
- package/payload/context-kit/gate-tests/check-settings-paths/bad/expect.txt +3 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/settings.json +16 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/tools/checkwright-gates +2 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/expect.txt +2 -2
- package/payload/context-kit/gate-tests/check-settings-paths/good/settings.json +16 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/tools/checkwright-gates +2 -0
- package/payload/context-kit/gate-tests/session-context-spawn.test.sh +52 -0
- package/payload/context-kit/templates/nudge-delegation.txt +4 -0
- package/payload/context-kit/templates/settings-sessionstart.json +2 -2
- package/payload/delegation-kit/README.md +14 -8
- package/payload/delegation-kit/checks/check-agent-tier-explicit.gate +1 -0
- package/payload/delegation-kit/checks/check-gate-tamper.gate +1 -1
- package/payload/delegation-kit/close-surfaces.txt +3 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/agents/stale-effort.md +10 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/agents/stale.md +9 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/agents/unbound.md +8 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/expect.txt +3 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/scripts/delegation-config.knobs +3 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/agents/explicit-cheap.md +3 -1
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/agents/explicit-paired.md +10 -0
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/expect.txt +1 -1
- package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/scripts/delegation-config.knobs +3 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/exception-arrays.sh +44 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/expect.txt +12 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/staged-files +12 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/good/exception-arrays.sh +44 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/good/staged-files +1 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper.test.sh +22 -1
- package/payload/delegation-kit/templates/agent-execution.md +7 -6
- package/payload/delegation-kit/templates/delegation-config.knobs +32 -0
- package/payload/delegation-kit/usage-tests/cases.tsv +35 -25
- package/payload/delegation-kit/usage-tests/dispatch-guard-cases.tsv +12 -3
- package/payload/doctrine-kit/DOCTRINE.md +109 -25
- package/payload/doctrine-kit/README.md +2 -2
- package/payload/drift-kit/README.md +15 -6
- package/payload/drift-kit/close-surfaces.txt +2 -0
- package/payload/drift-kit/templates/economics.md +7 -3
- package/payload/drift-kit/templates/kpis.list +1 -0
- package/payload/evidence-kit/README.md +3 -3
- package/payload/evidence-kit/gate-tests/check-battery-roster/bad/expect.txt +1 -0
- package/payload/evidence-kit/gate-tests/check-battery-roster/bad/runner.md +2 -1
- package/payload/evidence-kit/gate-tests/check-battery-roster/bad/scripts/evidence-config.knobs +3 -1
- package/payload/evidence-kit/gate-tests/check-battery-roster/good/runner.md +1 -0
- package/payload/evidence-kit/gate-tests/check-battery-roster/good/scripts/evidence-config.knobs +3 -1
- package/payload/evidence-kit/gate-tests/check-evidence-baseline.test.sh +18 -2
- package/payload/evidence-kit/gate-tests/diff-baseline-status.test.sh +2 -3
- package/payload/evidence-kit/gate-tests/run-member-door.test.sh +50 -0
- package/payload/gate-sdk/README.md +9 -13
- package/payload/gate-sdk/bin/build-native.sh +11 -14
- package/payload/gate-sdk/bin/run-gates.ps1 +149 -24
- package/payload/gate-sdk/bin/run-gates.sh +57 -14
- package/payload/gate-sdk/checks/check-commit-msg.gate +1 -1
- package/payload/gate-sdk/checks/check-gate-substrate-parity.gate +1 -1
- package/payload/gate-sdk/checks/check-graph.gate +2 -2
- package/payload/gate-sdk/checks/check-install-disposition.gate +1 -1
- package/payload/gate-sdk/checks/check-path-dialect.gate +1 -1
- package/payload/gate-sdk/checks/check-psscriptanalyzer.gate +4 -0
- package/payload/gate-sdk/checks/check-shellcheck.gate +1 -1
- package/payload/gate-sdk/checks/check-template-copy-parity.gate +1 -1
- package/payload/gate-sdk/checks/check-tree-terms.gate +1 -1
- package/payload/gate-sdk/gate-tests/check-action-gh-repo/bad/args +2 -1
- package/payload/gate-sdk/gate-tests/check-action-gh-repo/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-action-gh-repo/bad/tree/workflows/shapes.yml +29 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/args +2 -1
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-action-permissions/bad/tree/workflows/shapes.yml +22 -0
- package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/docs/demo-kit/index.md +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions.test.sh +17 -1
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/expect.txt +12 -1
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-array-axes.sh +44 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-descriptor.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/expect.txt +2 -1
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-array-axes.sh +46 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-descriptor.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/scripts/check-psopt.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/scripts/check-psopt.ps1 +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/scripts/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/scripts/gates.list +3 -1
- package/payload/gate-sdk/gate-tests/check-gate-output/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/gates.list +4 -2
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/expect.txt +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/kitroot/checks/check-kitexec.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/kitroot/checks/check-kitexec.ps1 +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-climb.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-direxec.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-twoexec.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-txtexec.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-txtexec.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/expect.txt +2 -1
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-psgood.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-psgood.ps1 +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-rsgood.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gates.list +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity.test.sh +42 -5
- package/payload/gate-sdk/gate-tests/check-graph/bad/SPEC-example-gate.md +1 -0
- package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-example-gate.md +9 -1
- package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-second-gate.md +2 -2
- package/payload/gate-sdk/gate-tests/check-graph-tree.test.sh +15 -29
- package/payload/gate-sdk/gate-tests/check-kit-enum/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-kit-enum/good/gates.list +3 -1
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/bad/tree/portability-patterns.notes.list +1 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/args +1 -1
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/demo-kit/templates/portability-patterns.list +5 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/rosters/constructs.list +6 -0
- package/payload/gate-sdk/gate-tests/check-portability-floor.test.sh +15 -2
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/noisy.ps1 +1 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/pwsh +8 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/clean.ps1 +1 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/pwsh +7 -0
- package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/scripts/gate-sdk-config.knobs +2 -0
- package/payload/gate-sdk/gate-tests/check-shellcheck/bad/{warn.sh → alpha-kit/gate-tests/kit-warn.sh} +1 -1
- package/payload/gate-sdk/gate-tests/check-shellcheck/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-shellcheck/bad/scripts/gate-sdk-config.knobs +2 -0
- package/payload/gate-sdk/gate-tests/check-shellcheck/bad/scripts/gate-tests/tests-warn.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-shellcheck/good/{ok.sh → alpha-kit/gate-tests/kit-ok.sh} +1 -1
- package/payload/gate-sdk/gate-tests/check-shellcheck/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-shellcheck/good/scripts/gate-sdk-config.knobs +2 -0
- package/payload/gate-sdk/gate-tests/check-shellcheck/good/scripts/gate-tests/tests-ok.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/bad/args +2 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/bad/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/args +4 -1
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/stray/templates/session-note.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity.test.sh +6 -2
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/bad/drift-kit/templates/kpis.list +1 -0
- package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/drift-kit/templates/kpis.list +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/tree/msg-patterns.old.list +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/args +2 -2
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/scripts/gate-sdk-config.knobs +1 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/demo-kit/templates/msg-patterns.list +2 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/rosters/extra.list +2 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms.test.sh +1 -0
- package/payload/gate-sdk/gate-tests/emit-arm-shape.test.sh +1 -1
- package/payload/gate-sdk/gate-tests/enforcement-map.test.sh +10 -2
- package/payload/gate-sdk/gate-tests/lib-gate.test.sh +29 -3
- package/payload/gate-sdk/gate-tests/lib-test-hermetic.test.sh +24 -0
- package/payload/gate-sdk/gate-tests/native-git-hooks.test.sh +261 -0
- package/payload/gate-sdk/gate-tests/native-rustflags.test.sh +20 -0
- package/payload/gate-sdk/gate-tests/run-arm-contract.test.sh +11 -4
- package/payload/gate-sdk/gate-tests/run-dispatch-streams.test.sh +2 -1
- package/payload/gate-sdk/gate-tests/run-for-path.test.sh +11 -1
- package/payload/gate-sdk/gate-tests/run-gate-tests.test.sh +64 -4
- package/payload/gate-sdk/lib/gate.sh +46 -6
- package/payload/gate-sdk/lib/test-hermetic.sh +16 -8
- package/payload/gate-sdk/templates/adopt.md +1 -1
- package/payload/gate-sdk/templates/msg-patterns.list +1 -1
- package/payload/gate-sdk/templates/portability-patterns.list +1 -1
- package/payload/guard-kit/README.md +12 -7
- package/payload/guard-kit/close-surfaces.txt +3 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/alpha-kit/README.md +1 -1
- package/payload/guard-kit/gate-tests/check-door-binding/bad/expect.txt +1 -0
- package/payload/guard-kit/gate-tests/check-door-binding/bad/scripts/guard-config.knobs +2 -1
- package/payload/guard-kit/gate-tests/check-door-binding/bad/src/remedy.rs +3 -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/guard-config.knobs +2 -1
- package/payload/guard-kit/gate-tests/check-door-binding/good/site/register.md +8 -0
- package/payload/guard-kit/gate-tests/check-door-binding/good/src/remedy.rs +13 -0
- package/payload/guard-kit/gate-tests/compare-settings-allow.test.sh +0 -1
- package/payload/guard-kit/gate-tests/consumer-rules.test.sh +105 -3
- package/payload/guard-kit/gate-tests/git-mutation-under-producer.test.sh +64 -2
- package/payload/guard-kit/gate-tests/guard-config-knobs.test.sh +18 -5
- package/payload/guard-kit/gate-tests/guard-verdict.test.sh +74 -0
- package/payload/guard-kit/gate-tests/worktree-confinement.test.sh +49 -5
- package/payload/guard-kit/guard-tests/background-cases.tsv +103 -1
- package/payload/guard-kit/guard-tests/cases.tsv +834 -64
- package/payload/guard-kit/guard-tests/powershell-cases.tsv +51 -2
- package/payload/guard-kit/guard-tests/variant-limits.tsv +14 -0
- package/payload/guard-kit/templates/close-triage.md +2 -2
- package/payload/guard-kit/templates/guard-config.knobs +9 -0
- package/payload/guard-kit/templates/settings-allow.json +1 -1
- package/payload/guard-kit/templates/settings-hooks.json +4 -4
- package/payload/lifecycle-kit/README.md +11 -6
- package/payload/lifecycle-kit/checks/check-disposed-findings.gate +3 -0
- package/payload/lifecycle-kit/checks/check-skill-binding.gate +1 -1
- package/payload/lifecycle-kit/checks/check-stage-skill-coverage.gate +1 -1
- package/payload/lifecycle-kit/close-surfaces.txt +2 -0
- package/payload/lifecycle-kit/gate-tests/boundary-set-record.test.sh +82 -0
- package/payload/lifecycle-kit/gate-tests/boundary-worktree-refusal.test.sh +11 -2
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces.test.sh +11 -1
- package/payload/lifecycle-kit/gate-tests/check-disposed-findings/bad/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-disposed-findings/bad/disposed-findings.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-disposed-findings/bad/expect.txt +5 -0
- package/payload/lifecycle-kit/gate-tests/check-disposed-findings/good/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-disposed-findings/good/disposed-findings.txt +3 -0
- package/payload/lifecycle-kit/gate-tests/check-disposed-findings/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/gap-inbox.md +1 -1
- package/payload/lifecycle-kit/gate-tests/check-lesson-disposition.test.sh +27 -2
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/surfaces/queue.md +6 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +34 -2
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/align.md +3 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/scripts/lifecycle-config.knobs +3 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/align.md +3 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/scripts/lifecycle-config.knobs +2 -0
- package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage.test.sh +22 -2
- package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +9 -2
- package/payload/lifecycle-kit/gate-tests/file-gap-recurrence.test.sh +27 -1
- package/payload/lifecycle-kit/gate-tests/journal-arm.test.sh +251 -0
- package/payload/lifecycle-kit/gate-tests/lead-journal-open.test.sh +46 -5
- package/payload/lifecycle-kit/gate-tests/stamp-before-write.test.sh +16 -2
- package/payload/lifecycle-kit/templates/consult.md +9 -5
- package/payload/lifecycle-kit/templates/frames/project-critique.md +18 -0
- package/payload/lifecycle-kit/templates/frames/stage-contract-sweep.md +18 -0
- package/payload/lifecycle-kit/templates/frames/stage-contract.md +15 -0
- package/payload/lifecycle-kit/templates/host-protocol.md +10 -0
- package/payload/lifecycle-kit/templates/lead.md +30 -25
- package/payload/lifecycle-kit/templates/stages/align.md +4 -0
- package/payload/lifecycle-kit/templates/stages/build.md +5 -3
- package/payload/lifecycle-kit/templates/stages/close.md +8 -6
- package/payload/lifecycle-kit/templates/stages/scope.md +6 -2
- package/payload/lifecycle-kit/templates/stages/spec.md +4 -0
- package/payload/lifecycle-kit/templates/stages/validate.md +4 -2
- package/payload/lifecycle-kit/templates/upgrade.md +1 -1
- package/payload/queue-kit/README.md +3 -2
- package/payload/queue-kit/close-surfaces.txt +3 -0
- package/payload/queue-kit/gate-tests/check-queue-sections/bad/expect.txt +1 -0
- package/payload/queue-kit/gate-tests/check-queue-sections/bad/scripts/queue-config.knobs +2 -0
- package/payload/queue-kit/gate-tests/check-queue-sections/good/TASK-QUEUE.md +1 -1
- package/payload/queue-kit/gate-tests/check-queue-sections/good/scripts/queue-config.knobs +2 -0
- package/payload/queue-kit/gate-tests/check-queue-sections.test.sh +65 -0
- package/payload/queue-kit/gate-tests/check-queue-slug-liveness.test.sh +10 -1
- package/payload/queue-kit/gate-tests/check-queue-wrap/good/TASK-QUEUE.md +4 -0
- package/payload/queue-kit/gate-tests/check-tag-lead-line/good/TASK-QUEUE.md +4 -0
- package/payload/queue-kit/gate-tests/check-task-conservation.test.sh +38 -0
- package/payload/queue-kit/gate-tests/check-task-names/bad/TASK-QUEUE.md +3 -0
- package/payload/queue-kit/gate-tests/check-task-names/bad/expect.txt +3 -0
- package/payload/queue-kit/gate-tests/check-task-names/good/TASK-QUEUE.md +8 -0
- package/payload/queue-kit/gate-tests/roadmap-lag.test.sh +137 -0
- package/payload/site-kit/README.md +3 -3
- package/payload/site-kit/gate-tests/check-docs-collapsible/bad/docs/unclosed.md +8 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/bad/expect.txt +1 -0
- package/payload/site-kit/gate-tests/check-docs-collapsible/good/docs/regions.md +7 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/docs/dotted.md +9 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/expect.txt +1 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/dotted.md +7 -0
- package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/expect.txt +1 -1
- package/payload/site-kit/gate-tests/site-health-probe.test.sh +219 -0
- package/payload/site-kit/templates/site-health.yml +181 -132
- package/profiles.list +11 -10
- package/recipes/openspec/canon-config.knobs +5 -0
- package/recipes/openspec-overlap/canon-config.knobs +12 -0
- package/recipes/openspec-overlap/unregister.list +1 -0
- package/payload/context-kit/checks/check-footprint-fresh.gate +0 -4
- package/payload/context-kit/gate-tests/check-footprint-fresh/bad/args +0 -4
- package/payload/context-kit/gate-tests/check-footprint-fresh/bad/emit.txt +0 -12
- package/payload/context-kit/gate-tests/check-footprint-fresh/bad/expect.txt +0 -1
- package/payload/context-kit/gate-tests/check-footprint-fresh/bad/projection.txt +0 -11
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/CLAUDE.md +0 -6
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/demo-kit/SPEC.md +0 -3
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/demo-kit/templates/guide.md +0 -3
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/docs/footprint.md +0 -32
- package/payload/context-kit/gate-tests/check-footprint-fresh/good/expect.txt +0 -1
- package/payload/context-kit/templates/session-context.sh +0 -148
- package/payload/delegation-kit/checks/check-rule-citation.gate +0 -3
- package/payload/delegation-kit/gate-tests/check-rule-citation/bad/args +0 -1
- package/payload/delegation-kit/gate-tests/check-rule-citation/bad/expect.txt +0 -1
- package/payload/delegation-kit/gate-tests/check-rule-citation/bad/spec.md +0 -9
- package/payload/delegation-kit/gate-tests/check-rule-citation/bad/tmpl.md +0 -4
- package/payload/delegation-kit/gate-tests/check-rule-citation/good/args +0 -1
- package/payload/delegation-kit/gate-tests/check-rule-citation/good/expect.txt +0 -1
- package/payload/delegation-kit/gate-tests/check-rule-citation/good/spec.md +0 -20
- package/payload/delegation-kit/gate-tests/check-rule-citation/good/tmpl.md +0 -5
- package/payload/drift-kit/templates/kpi-deprecated-surface.sh +0 -54
- package/payload/gate-sdk/checks/check-crate-arms.gate +0 -3
- package/payload/gate-sdk/checks/check-gate-binary-fresh.gate +0 -3
- package/payload/gate-sdk/checks/check-hook-exec-bit.gate +0 -3
- package/payload/gate-sdk/checks/check-kit-roots-dialect.gate +0 -3
- package/payload/gate-sdk/checks/check-packed-links.gate +0 -3
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/Cargo.toml +0 -7
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/src/lib.rs +0 -12
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/expect.txt +0 -5
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.knobs +0 -3
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/Cargo.toml +0 -7
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/src/lib.rs +0 -11
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/expect.txt +0 -2
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.knobs +0 -3
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/args +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/expect.txt +0 -5
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/kitroot/checks/check-vendored.gate +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/check-ported.gate +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/gate-sdk-config.knobs +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/gates.list +0 -4
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/stamp.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/stub-bin +0 -6
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/args +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/expect.txt +0 -5
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/kitroot/checks/check-vendored.gate +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/check-ported.gate +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/gate-sdk-config.knobs +0 -2
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/gates.list +0 -4
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/stamp.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/stub-bin +0 -5
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh.test.sh +0 -97
- package/payload/gate-sdk/gate-tests/check-hook-exec-bit/bad/args +0 -1
- package/payload/gate-sdk/gate-tests/check-hook-exec-bit/bad/expect.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-hook-exec-bit/bad/hooks/pre-commit +0 -2
- package/payload/gate-sdk/gate-tests/check-hook-exec-bit/good/args +0 -1
- package/payload/gate-sdk/gate-tests/check-hook-exec-bit/good/expect.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-hook-exec-bit/good/hooks/pre-commit +0 -2
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/args +0 -5
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/expect.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/checks/placeholder.txt +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/gate-tests/alpha.test.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/lib/alpha.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/checks/placeholder.txt +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/gate-tests/beta.test.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/lib/beta.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/gate-sdk/checks/placeholder.txt +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/gate-sdk/lib/gate.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/scripts/gate-sdk-config.knobs +0 -7
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/scripts/gates.list +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/args +0 -7
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/expect.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/checks/placeholder.txt +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/gate-tests/alpha.test.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/lib/alpha.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/checks/placeholder.txt +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/gate-tests/beta.test.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/lib/beta.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/gate-sdk/checks/placeholder.txt +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/gate-sdk/lib/gate.sh +0 -3
- package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/scripts/gates.list +0 -3
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/alpha-kit/README.md +0 -5
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/args +0 -5
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/beta-kit/README.md +0 -5
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/expect.txt +0 -2
- package/payload/gate-sdk/gate-tests/check-packed-links/bad/scripts/gate-sdk-config.knobs +0 -4
- package/payload/gate-sdk/gate-tests/check-packed-links/good/alpha-kit/README.md +0 -5
- package/payload/gate-sdk/gate-tests/check-packed-links/good/args +0 -8
- package/payload/gate-sdk/gate-tests/check-packed-links/good/beta-kit/README.md +0 -9
- package/payload/gate-sdk/gate-tests/check-packed-links/good/expect.txt +0 -1
- package/payload/gate-sdk/gate-tests/check-packed-links/good/gamma-kit/SPEC.md +0 -4
- package/payload/gate-sdk/gate-tests/check-packed-links/good/scripts/gate-sdk-config.knobs +0 -6
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/patterns.list +0 -5
- package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/portability-patterns.list +0 -5
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/msg-patterns.list +0 -2
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/msg-patterns.local.list +0 -3
- /package/payload/gate-sdk/gate-tests/{check-shellcheck → check-psscriptanalyzer}/bad/args +0 -0
- /package/payload/gate-sdk/gate-tests/{check-shellcheck → check-psscriptanalyzer}/good/args +0 -0
- /package/payload/gate-sdk/gate-tests/check-template-copy-parity/bad/{delegation-kit → vendor/delegation-kit}/templates/agent-budget-guard.sh +0 -0
- /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/agent-budget-guard.sh +0 -0
- /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/delegation-config.sh +0 -0
- /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/session-note.sh +0 -0
- /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/usage-poller.sh +0 -0
package/README.md
CHANGED
|
@@ -10,17 +10,17 @@ What it is not: a dependency channel. Nothing resolves at your build time and th
|
|
|
10
10
|
|
|
11
11
|
## Before you run it
|
|
12
12
|
|
|
13
|
-
Each transport carries its own requirement, and each belongs to the delivery path alone. The
|
|
13
|
+
Each transport carries its own requirement, and each belongs to the delivery path alone. The Requirements page's prerequisites block lists each transport's tools and their floors, per system. The gate battery this vendors uses none of them, and no delivery-path tool joins the toolchain roster.
|
|
14
14
|
|
|
15
|
-
The toolchain the battery *does* assert, with its version floors, is on the
|
|
15
|
+
The toolchain the battery *does* assert, with its version floors, is on the Requirements page. `checkwright doctor` renders it as an exit status and `init` gates on that before any file is written, so a machine below the floor is refused rather than half-installed.
|
|
16
16
|
|
|
17
17
|
## Quick start
|
|
18
18
|
|
|
19
|
-
From your repository's root, in a new project or an existing one with every change committed, run the one line for your system on the install page: [macOS and Linux](https://checkwright.dev/install.html#macos-and-linux) or [Windows](https://checkwright.dev/install.html#windows). The Release tarball recipe
|
|
19
|
+
From your repository's root, in a new project or an existing one with every change committed, run the one line for your system on the install page: [macOS and Linux](https://checkwright.dev/install.html#macos-and-linux) or [Windows](https://checkwright.dev/install.html#windows). The Release tarball recipe on the [Manual steps](https://checkwright.dev/manual-install.html) page is the step-by-step alternative. Either unpacks outside the repository, because `init` refuses a worktree that is not clean.
|
|
20
20
|
|
|
21
|
-
With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
|
|
21
|
+
With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs, and on Windows the [`PATH` block](https://checkwright.dev/install.html#windows) runs first. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
|
|
22
22
|
|
|
23
|
-
`init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the
|
|
23
|
+
`init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the install and the version. It ends by printing the commands that finish the setup, each with its reason — deliberately not copied here, because what `init` prints is `init`'s to say ([`installer/SPEC.md` §init](SPEC.md#init)).
|
|
24
24
|
|
|
25
25
|
Re-running is idempotent and non-destructive. `init` reads the per-file hash `checkwright.lock` recorded: a file still at its recorded hash is rewritten, and one you have changed since is **reported rather than overwritten** unless you pass `--force`. `--dry-run` prints the file plan and the manifest and writes nothing.
|
|
26
26
|
|
|
@@ -36,8 +36,9 @@ Re-running is idempotent and non-destructive. `init` reads the per-file hash `ch
|
|
|
36
36
|
| `update` | bring the install here up to the version this package carries |
|
|
37
37
|
| `uninstall` | reverse the install, keeping anything I have edited |
|
|
38
38
|
| `demo` | show me the adoption arc without touching my repository |
|
|
39
|
+
| `prove` | is a done claim caught on my own tree, and what here is enforced? |
|
|
39
40
|
|
|
40
|
-
`doctor` and `diff` write nothing, so neither takes a `--dry-run`, and nor
|
|
41
|
+
`doctor` and `diff` write nothing, so neither takes a `--dry-run`, and nor do `demo` and `prove`, whose only writes are to a scratch repository each removes. Every verb that does write takes one, and it means the same thing in each: print the plan, write nothing, exit 0.
|
|
41
42
|
|
|
42
43
|
`uninstall` reverses an install against the roster `init` recorded, keeping and reporting any file you edited rather than removing it — which is what lets an evaluation you decide against leave nothing of its own behind.
|
|
43
44
|
|
|
@@ -61,7 +62,7 @@ The flags each verb takes, owned by the binary as the verbs are:
|
|
|
61
62
|
|
|
62
63
|
`starter`, `delegation`, `prose`, `full`. Not four rungs on one ladder: the profiles are ordered by kit-set containment, so moving to one that contains yours only ever adds, and two that contain neither the other — `delegation` and `prose` — are alternatives rather than steps.
|
|
63
64
|
|
|
64
|
-
- **`starter`** — the gate SDK on its own: a battery, a
|
|
65
|
+
- **`starter`** — the gate SDK on its own: a battery, a pre-commit hook, and gates that red on real defects in your tree with no configuration outside your gates directory.
|
|
65
66
|
- **`delegation`** — adds every kit whose subject is the agent session itself.
|
|
66
67
|
- **`prose`** — adds canon-kit instead, for a repository whose artifacts are documents rather than code.
|
|
67
68
|
- **`full`** — everything in the payload.
|
package/bin/checkwright.ps1
CHANGED
|
@@ -9,7 +9,7 @@ Set-StrictMode -Version Latest
|
|
|
9
9
|
$ErrorActionPreference = 'Stop'
|
|
10
10
|
|
|
11
11
|
# spec: installer/SPEC.md §The install boundary — step 5 forwards the caller's tokens through unrewritten, so the two settings that would rewrite them are pinned rather than inherited: 'Standard' stops the binder re-quoting the caller's tokens, and the native-error preference would otherwise turn the artifact's own non-zero status into a thrown exception and lose it
|
|
12
|
-
if (Test-Path Variable:PSNativeCommandArgumentPassing) {
|
|
12
|
+
if (Test-Path Variable:PSNativeCommandArgumentPassing) { Set-Variable -Name PSNativeCommandArgumentPassing -Value 'Standard' }
|
|
13
13
|
if (Test-Path Variable:PSNativeCommandUseErrorActionPreference) { $PSNativeCommandUseErrorActionPreference = $false }
|
|
14
14
|
|
|
15
15
|
function Die {
|
|
@@ -80,7 +80,7 @@ function Get-FallbackTarget {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
# spec: installer/SPEC.md §Selection — step 4's probe: a start failure is the exception `&` throws, and a non-zero exit is the artifact's own answer
|
|
83
|
-
function Test-
|
|
83
|
+
function Test-ArtifactRun {
|
|
84
84
|
param([string] $Artifact)
|
|
85
85
|
$ErrorActionPreference = 'Continue'
|
|
86
86
|
$global:LASTEXITCODE = -1
|
|
@@ -148,7 +148,7 @@ function Select-Artifact {
|
|
|
148
148
|
}
|
|
149
149
|
$pair = Resolve-Pair -Payload $Payload -Target $target
|
|
150
150
|
Test-ArtifactDigest -Artifact $pair.Path -Sidecar $pair.Sidecar
|
|
151
|
-
if (-not $fallback -or (Test-
|
|
151
|
+
if (-not $fallback -or (Test-ArtifactRun -Artifact $pair.Path)) { return $pair }
|
|
152
152
|
if ($declared -notcontains $fallback) {
|
|
153
153
|
Die "the $target gate binary does not run on this host, and this payload carries no fallback for it" `
|
|
154
154
|
'no adopter action; report the host, the triple and the release.'
|
package/bin/checkwright.sh
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/bin/sh
|
|
1
|
+
#!/usr/bin/env sh
|
|
2
2
|
# spec: installer/SPEC.md §The install boundary — the POSIX sh bootstrap, twin of the PowerShell half,
|
|
3
3
|
# authored against that section's five steps: every install step is on the far side of the invoke
|
|
4
4
|
# no-port: installer/SPEC.md §The install boundary — this file's whole body is `bootstrap`-
|
|
@@ -34,6 +34,10 @@ gate_path_rooted() { # <path> — 0 when rooted in either dialect, walk::path_r
|
|
|
34
34
|
# prints the directory it picks, which would corrupt every `$(cd … && pwd)` below
|
|
35
35
|
unset CDPATH
|
|
36
36
|
SELF="$0"
|
|
37
|
+
# spec: installer/SPEC.md §Implementation — npm's .cmd shim hands sh a backslash-separated path
|
|
38
|
+
case "$SELF" in
|
|
39
|
+
[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:\\*) SELF="$(printf '%s' "$SELF" | tr '\\' '/')" ;;
|
|
40
|
+
esac
|
|
37
41
|
while [ -L "$SELF" ]; do
|
|
38
42
|
LINK_DIR="$(cd "$(dirname "$SELF")" && pwd)"
|
|
39
43
|
SELF="$(readlink "$SELF")"
|
package/package.json
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"checkwright-pwsh": "bin/checkwright.ps1"
|
|
5
5
|
},
|
|
6
6
|
"checkwright": {
|
|
7
|
-
"commit": "
|
|
7
|
+
"commit": "febc24b2f5e78b488b8664f40576b7447024db71",
|
|
8
8
|
"spec_base_url": "https://checkwright.dev"
|
|
9
9
|
},
|
|
10
|
-
"description": "
|
|
10
|
+
"description": "Reproducible checks that catch unsupported claims in coding-agent delivery before merge: a task marked done with no recorded test run, a skipped lifecycle stage, a spec naming a file the tree lacks. They prove the evidence a claim rests on exists, not that the code is correct.",
|
|
11
11
|
"files": [
|
|
12
12
|
"bin/",
|
|
13
13
|
"payload/",
|
|
@@ -17,11 +17,18 @@
|
|
|
17
17
|
"LICENSE"
|
|
18
18
|
],
|
|
19
19
|
"homepage": "https://checkwright.dev",
|
|
20
|
+
"keywords": [
|
|
21
|
+
"coding-agents",
|
|
22
|
+
"ai-agents",
|
|
23
|
+
"pre-commit",
|
|
24
|
+
"ci",
|
|
25
|
+
"spec-driven"
|
|
26
|
+
],
|
|
20
27
|
"license": "Apache-2.0",
|
|
21
28
|
"name": "checkwright",
|
|
22
29
|
"repository": {
|
|
23
30
|
"type": "git",
|
|
24
31
|
"url": "git+https://github.com/checkwright/checkwright.git"
|
|
25
32
|
},
|
|
26
|
-
"version": "0.
|
|
33
|
+
"version": "0.32.1"
|
|
27
34
|
}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
09f825f165c39242f66c0bb8a0eb5e30cf62baddaef60e83cae262845b2c824d checkwright-gates
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b494c5d094553c0baca9b213adeba54beadf671327ec2a5a7c81f63b787a3207 *checkwright-gates.exe
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
28af8e0bc7d849ed2ed22a156c03ca99fdd11882cb99d26dfa96ff3c8f35c78a checkwright-gates
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
407d2efd2b2422e898fd29c909ae52e2efe69ca41221b2c83b0697a379e7d410 checkwright-gates
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
# 2. a platform install-smoke leg green having CONSUMED that upload —
|
|
21
21
|
# INSTALLER_SMOKE_ARTIFACTS_DIR pointed at the downloaded directory — and
|
|
22
22
|
# having reached the artifact-present branch, whose completion assertion
|
|
23
|
-
# installer
|
|
23
|
+
# the gate binary's --installer-smoke arm owns and emits.
|
|
24
24
|
#
|
|
25
25
|
# That is *produced and exercised* with no host-built stand-in anywhere in it.
|
|
26
26
|
# On that observation, three edits and nothing else: this file gains <T>'s line,
|
|
27
|
-
# native/runners.list already names its runner, and docs/
|
|
27
|
+
# native/runners.list already names its runner, and docs/requirements.md
|
|
28
28
|
# §Requirements' platform declaration flips <T> from `held` to `joined`. Those
|
|
29
29
|
# three move together or not at all. What that sentence does not say is what
|
|
30
30
|
# lands FIRST, and a reader supplying the natural order gets it backwards: the
|
|
31
31
|
# `held` DECLARATION is what creates <T>'s producer leg — gates.yml's roster job
|
|
32
|
-
# parses docs/
|
|
32
|
+
# parses docs/requirements.md and only then looks the runner up, refusing loudly on an
|
|
33
33
|
# unmapped target — so the declaration and the runner mapping land in one commit,
|
|
34
34
|
# well before the observation, and a runners.list line alone creates nothing.
|
|
35
35
|
#
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
# has ever executed. `native-artifacts` therefore builds each target on that
|
|
70
70
|
# target's own platform (native/runners.list). The musl build on its own
|
|
71
71
|
# architecture's Linux runner is within the rule: that runner executes it.
|
|
72
|
-
# - WSL is Linux and resolves to this same target, so docs/
|
|
72
|
+
# - WSL is Linux and resolves to this same target, so docs/requirements.md
|
|
73
73
|
# §Requirements' Windows-through-WSL route is served by the Linux line and
|
|
74
74
|
# keeps being served by it. That route is a CHOICE beside native Windows
|
|
75
75
|
# rather than a substitute for it, now that the native line is here.
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
# path — rather than the dead code the vacuous-green class exists to refuse —
|
|
107
107
|
# is the DECLARED-AND-HELD platform plus the UNDECLARED COMPLEMENT, never the
|
|
108
108
|
# roster's size: a host on a held platform meets the refusal as one whose
|
|
109
|
-
# artifact is not yet published, and every host outside docs/
|
|
109
|
+
# artifact is not yet published, and every host outside docs/requirements.md
|
|
110
110
|
# §Requirements' declaration block meets it as one the page never declared. A
|
|
111
111
|
# target joins only on the observation above, and never beyond what that
|
|
112
112
|
# section already states.
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
dcd246944a87738754693a97b6a33a4f3d674a345beccac7683520c8e927929d checkwright-gates
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0a4d9df949fd68760851d033ea949cec18f5127a7ee9bced4ec2bf586bb83a6b *checkwright-gates.exe
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3df482d3ded92eb5010ad8ca13e8ae3eca225d8c274cd98e7a8d16fd12af9115 checkwright-gates
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
70360f1b429c4c5d634e5efb28f9add1d4b3bc3e8fa23cba577e4b551336fe91 checkwright-gates
|
|
@@ -4,7 +4,7 @@ Spec discipline for agent-authored components: one canonical spec per component,
|
|
|
4
4
|
|
|
5
5
|
Why: when a coding agent authors the specs, design rationale gets re-derived under build pressure unless it is captured up front, and a parallel copy of any gated fact is an un-gateable second source that drifts silently. The remedy is a lifecycle (amendments authored up front, merged and deleted at build) plus gates over the mechanically-decidable copy failures — a doubled Definition-of-Done, a banned-heading code dump, a fenced block that verbatim-copies a source file, a glossary definition restated on another surface, a feature task with no amendment. See [SPEC.md](https://checkwright.dev/canon-kit/SPEC) for the full contracts.
|
|
6
6
|
|
|
7
|
-
This file ships in the installer payload; what that payload withholds, and where this page's `SPEC.md` links then resolve, is [gate-sdk/SPEC.md §Consumer payload](https://
|
|
7
|
+
This file ships in the installer payload; what that payload withholds, and where this page's `SPEC.md` links then resolve, is [gate-sdk/SPEC.md §Consumer payload](https://checkwright.dev/gate-sdk/SPEC#consumer-payload).
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -26,20 +26,24 @@ Vendor the kit beside [gate-sdk](../gate-sdk/) (required); the queue-facing gate
|
|
|
26
26
|
check-todo-task-liveness # resolves TODO(task:) slugs against the queue
|
|
27
27
|
check-docs-cmd # invoked paths + kit knobs in docs resolve
|
|
28
28
|
check-docs-restatement-parity # needs restating pages (their code tokens held to the README beside each)
|
|
29
|
-
check-docs-page-repeat # needs declared pages (no link target or long sentence stated twice on one)
|
|
29
|
+
check-docs-page-repeat # needs declared pages (no link target or long sentence stated twice on one, or restated from the chrome)
|
|
30
|
+
check-docs-page-length # needs declared pages and a bound (no page past the word bound)
|
|
30
31
|
check-citation-link # needs declared pages (every section citation links its section)
|
|
31
32
|
check-fence-command-head # every shell-fence command starts with a word that can run
|
|
32
33
|
check-fence-run # every shell fence marked runnable runs and exits as declared
|
|
34
|
+
check-fence-paste-unit # needs declared pages (every code block is one paste)
|
|
33
35
|
check-knob-citation # knob values stated only in the owning SPEC
|
|
34
36
|
check-knob-default-coupling # source knob defaults agree with the owning SPEC
|
|
35
|
-
check-manifest-count # no bare cardinal over a governed collection
|
|
37
|
+
check-manifest-count # no bare cardinal over a governed collection, no lead-in count off its list
|
|
36
38
|
check-measured-claim # needs a measured-claim oracle (marked claims re-measured)
|
|
37
39
|
check-unmarked-claim # needs a claim-class roster (a declared class carries a marker)
|
|
38
40
|
check-manifest-temporal # no temporal narration in manifest prose
|
|
41
|
+
check-pendency-contradiction # no file calls one code span both pending and landed
|
|
39
42
|
check-provenance-seam # no publisher provenance in a kit SPEC or a declared seam surface
|
|
40
43
|
check-tracking-claim # a path's tracking status in prose agrees with git
|
|
41
44
|
check-task-path-claim # needs task lists (a ticked task names only paths that exist)
|
|
42
45
|
check-task-label-resolution # needs task lists and label families (a cited label resolves beside it)
|
|
46
|
+
check-delta-agreement # needs deltas and their families (a delta agrees with its base on which items exist)
|
|
43
47
|
check-prose-enum # partial enumeration of a governed set
|
|
44
48
|
check-md-refs # internal markdown links resolve
|
|
45
49
|
check-md-unwrapped # needs an unwrapped markdown set (no paragraph broken across lines)
|
|
@@ -52,7 +56,7 @@ Vendor the kit beside [gate-sdk](../gate-sdk/) (required); the queue-facing gate
|
|
|
52
56
|
check-deprecation-task # needs a deprecation-marker vocabulary
|
|
53
57
|
```
|
|
54
58
|
|
|
55
|
-
They resolve through gate-sdk's registry path (your gates dir first, then each kit's `checks/`), and the pre-commit hook runs the precommit-tier ones their `# graph:` manifests trigger, read at commit. `--
|
|
59
|
+
They resolve through gate-sdk's registry path (your gates dir first, then each kit's `checks/`), and the pre-commit hook runs the precommit-tier ones their `# graph:` manifests trigger, read at commit. `--install-hooks` on the gate binary `GATE_SDK_NATIVE_BIN` names places both hooks in a clone once, and a gate registered later is reached with no re-install.
|
|
56
60
|
|
|
57
61
|
2. Adopt the amendment lifecycle — copy `templates/SPEC-amendment.md` when a designed-but-unimplemented change needs a home. Name it after the feature (`SPEC-<feature>.md`), place it in the owning component's directory (a governance ruling with no component lives at the repo root), and pair it with a queue entry tagged `[spec: SPEC-<feature>.md]`. Merge it into the canonical spec and delete it when the work completes.
|
|
58
62
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/SPEC-*.md dir=bi valve=none tier=precommit
|
|
2
|
-
# install:
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-amendment-queue — the Task↔amendment bidirectional rule, spec-readiness, and the amendment-citation arm
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# graph: couples=*.sh,*.gate
|
|
2
|
-
# install:
|
|
1
|
+
# graph: couples=*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-comment-tier — every full-line comment on a governed surface is a machine/reason directive, rides a directive's bounded window, is comment-tier-exempt, or justifies a positional construct
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# graph: couples=*.sh,*.gate
|
|
1
|
+
# graph: couples=*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
|
|
2
2
|
# install: on-surface
|
|
3
3
|
# armed-by: CANON_KIT_DEPRECATION_MARKERS
|
|
4
4
|
# spec: canon-kit/SPEC.md §check-deprecation-task — every deprecation marker on a governed source binds task: <slug> to a live queue task
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# graph: couples=knob:CANON_KIT_PAGE_REPEAT_PAGES dir=one valve=none tier=precommit
|
|
1
|
+
# graph: couples=knob:CANON_KIT_PAGE_REPEAT_PAGES,knob:CANON_KIT_PAGE_REPEAT_CHROME dir=one valve=none tier=precommit
|
|
2
2
|
# install: zero-config
|
|
3
3
|
# armed-by: CANON_KIT_PAGE_REPEAT_PAGES
|
|
4
|
-
# spec: canon-kit/SPEC.md §check-docs-page-repeat — no declared page states a relative link target, or a sentence of CANON_KIT_PAGE_REPEAT_MIN_WORDS words or more, twice
|
|
4
|
+
# spec: canon-kit/SPEC.md §check-docs-page-repeat — no declared page states a relative link target, or a sentence of CANON_KIT_PAGE_REPEAT_MIN_WORDS words or more, twice, nor restates the site chrome around it
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:GATE_SDK_GATES_DIR/*.sh,kit:*.sh,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
|
|
2
|
-
# install:
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-fence-command-head — every command in a governed doc's shell fence starts with a word that can run, and a word beginning with `-` never can
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# graph: couples=knob:CANON_KIT_FENCE_PASTE_PAGES dir=one valve=none tier=precommit
|
|
2
|
+
# install: zero-config
|
|
3
|
+
# armed-by: CANON_KIT_FENCE_PASTE_PAGES
|
|
4
|
+
# spec: canon-kit/SPEC.md §check-fence-paste-unit — on a page CANON_KIT_FENCE_PASTE_PAGES declares, every shell fence is one paste, and every PowerShell fence of more than one statement is one script block
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=kit:*.sh,kit:SPEC.md dir=one valve=none tier=precommit
|
|
2
|
-
# install:
|
|
2
|
+
# install: never
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-knob-default-coupling — every literal kit-knob default in kit source agrees across its sites and with the default the owning SPEC states
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
|
|
2
|
-
# install:
|
|
3
|
-
# spec: canon-kit/SPEC.md §check-manifest-count — no bare cardinal quantifying a governed collection noun in manifest prose outside an exempt site
|
|
1
|
+
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_TEMPORAL_EXEMPT_PATHS dir=one valve=none tier=precommit
|
|
2
|
+
# install: on-surface
|
|
3
|
+
# spec: canon-kit/SPEC.md §check-manifest-count — no bare cardinal quantifying a governed collection noun, and no lead-in cardinal disagreeing with its list, in manifest prose outside an exempt site
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
|
|
2
|
-
# install:
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-manifest-temporal — no temporal-narration marker in governed manifest prose outside an exempt site
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
|
|
2
|
+
# install: zero-config
|
|
3
|
+
# spec: canon-kit/SPEC.md §check-pendency-contradiction — no governed manifest file calls one code span both pending and landed
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# graph: couples=knob:CANON_KIT_PROSE_TELL_GLOBS dir=one valve=none tier=precommit
|
|
1
|
+
# graph: couples=knob:CANON_KIT_PROSE_TELL_GLOBS,knob:CANON_KIT_PROSE_TELL_ABSENCE_GLOBS dir=one valve=none tier=precommit
|
|
2
2
|
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-prose-tells — the mechanical AI-prose tells over the consumer-configured prose surfaces, each threshold-gated, with the prose-tell-exempt valve
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=*SPEC*.md,kit:SPEC.md,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=align-only
|
|
2
|
-
# install:
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-spec-derivable-section — a banned-heading section may not be a fenced code dump above the density budget
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=*SPEC*.md,kit:SPEC.md,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=align-only
|
|
2
|
-
# install:
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-spec-dod-singleton — a canonical spec carries the Definition-of-Done heading the configured number of times
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=*SPEC*.md,kit:SPEC.md,kit:SPEC-*.md,kit:templates/SPEC-*.md,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_AMENDMENT_GLOB,knob:CANON_KIT_EMBED_LANGS.file-globs dir=one valve=none tier=precommit
|
|
2
|
-
# install:
|
|
2
|
+
# install: on-surface
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-spec-embedded-source — a canonical spec's fenced block must not verbatim-copy a tracked source file
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,*.sh,*.gate
|
|
1
|
+
# graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
|
|
2
2
|
# install: zero-config
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-spec-pointer — every spec:/contract: directive on a governed source and every free-prose §<heading> citation on a governed manifest resolves, against its tracked path or link target when it names one and against the manifest set otherwise, and no manifest file carries one title twice
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# graph: couples=*.sh,*.gate
|
|
1
|
+
# graph: couples=*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
|
|
2
2
|
# install: zero-config
|
|
3
3
|
# spec: canon-kit/SPEC.md §check-todo-task-liveness — every TODO(task: <slug>) marker on a governed source resolves to a live queue task, stale-flagged on a done slug
|
|
@@ -18,6 +18,13 @@ A fence must read as neither a delta heading nor a declared spelling:
|
|
|
18
18
|
- `fenced-spelling` — retired by delta 9, and invisible to every arm
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
+
The same block as a list item:
|
|
22
|
+
|
|
23
|
+
- ```
|
|
24
|
+
### (9) not a heading
|
|
25
|
+
- `fenced-spelling` — retired by delta 9, and invisible to every arm
|
|
26
|
+
```
|
|
27
|
+
|
|
21
28
|
## Existing sections updated
|
|
22
29
|
|
|
23
30
|
- `component/SPEC.md` §One — a surface the roster names, which is what makes the
|
|
@@ -19,6 +19,13 @@ must read as neither a delta heading nor an update target:
|
|
|
19
19
|
- **not/a/target.md** — and no citation anywhere in it
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
The same block as a list item:
|
|
23
|
+
|
|
24
|
+
- ```
|
|
25
|
+
### (9) not a heading
|
|
26
|
+
- **not/a/target.md** — and no citation anywhere in it
|
|
27
|
+
```
|
|
28
|
+
|
|
22
29
|
### (3) The third delta
|
|
23
30
|
|
|
24
31
|
Body prose.
|
|
@@ -4,3 +4,4 @@ site/page.md:7: unlinked citation: [SPEC.md](kit/SPEC.md) §The upgrade contract
|
|
|
4
4
|
site/page.md:9: unlinked citation: §Requirements lists.
|
|
5
5
|
site/page.md:11: citation link carries no #anchor
|
|
6
6
|
site/page.md:13: citation link's #anchor names another section
|
|
7
|
+
site/unclosed.md:4: unlinked citation: kit/SPEC.md §Requirements.
|
|
@@ -23,6 +23,16 @@ kit/SPEC.md §A fenced citation
|
|
|
23
23
|
<!-- citation-link-exempt: a quoted directive line the fixture shows as prose -->
|
|
24
24
|
contract: kit/SPEC.md §Valved
|
|
25
25
|
|
|
26
|
+
<!-- roster:begin -->
|
|
27
|
+
An emitter wrote kit/SPEC.md §A generated citation here.
|
|
28
|
+
<!-- roster:end -->
|
|
29
|
+
|
|
26
30
|
## Choosing a profile
|
|
27
31
|
|
|
28
32
|
Here kit/SPEC.md §Requirements, then kit/SPEC.md §Requirements again.
|
|
33
|
+
|
|
34
|
+
The same block as a list item:
|
|
35
|
+
|
|
36
|
+
- ```text
|
|
37
|
+
kit/SPEC.md §A fenced citation
|
|
38
|
+
```
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
# spec: canon-kit/SPEC.md §check-comment-tier — fixture consumer config: the actions tier on, so the workflow's prose is read
|
|
2
2
|
CANON_KIT_COMMENT_ACTIONS = on
|
|
3
|
+
# spec: canon-kit/SPEC.md §The shared spec adapters — a Rust consumer brings its language into the derived surface through the knob, the arm this pair proves
|
|
4
|
+
CANON_KIT_COMMENT_SURFACE[] = **/*.sh
|
|
5
|
+
CANON_KIT_COMMENT_SURFACE[] = **/*.gate
|
|
6
|
+
CANON_KIT_COMMENT_SURFACE[] = **/*.rs
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# graph: couples=X dir=one valve=none tier=precommit
|
|
2
2
|
# install: zero-config
|
|
3
|
+
# knob: GATE_LOCAL_PROBE_PAGE = docs/page.md
|
|
4
|
+
# knob: GATE_LOCAL_PROBE_SITES[] = a.md
|
|
3
5
|
# spec: some/SPEC.md §thing — the descriptor arm of the governed corpus: a
|
|
4
6
|
# declaration file is directives end to end, and the run cap covers this wrap.
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
# spec: canon-kit/SPEC.md §check-comment-tier — fixture consumer config: the actions tier on, so the workflow's directives are read and the non-actions YAML stays out
|
|
2
2
|
CANON_KIT_COMMENT_ACTIONS = on
|
|
3
|
+
# spec: canon-kit/SPEC.md §The shared spec adapters — a Rust consumer brings its language into the derived surface through the knob, the arm this pair proves
|
|
4
|
+
CANON_KIT_COMMENT_SURFACE[] = **/*.sh
|
|
5
|
+
CANON_KIT_COMMENT_SURFACE[] = **/*.gate
|
|
6
|
+
CANON_KIT_COMMENT_SURFACE[] = **/*.rs
|
|
@@ -173,9 +173,17 @@ check_case "configured-glob-skips-pruned-dir" prune-cfg.knobs 0 "COMMENT-TIER: c
|
|
|
173
173
|
"$SANDBOX/prune-root"
|
|
174
174
|
chmod a+x "$SANDBOX/prune-root/target/deps"
|
|
175
175
|
|
|
176
|
+
# The prune set reads a path below the scan root, never the root's own ancestors: a root lying
|
|
177
|
+
# under a pruned name (a runner's scratch under `.tmp`, here `target`) still governs its sources.
|
|
178
|
+
mkdir -p "$SANDBOX/target/rooted"
|
|
179
|
+
cp "$SANDBOX/bad.rs" "$SANDBOX/target/rooted/bad.rs"
|
|
180
|
+
mkcfg "$SANDBOX/rooted-cfg.knobs" 'CANON_KIT_COMMENT_SURFACE[] = **/*.rs' 'CANON_KIT_COMMENT_POSITIONAL[] = unsafe'
|
|
181
|
+
check_case "pruned-ancestor-root-governed" rooted-cfg.knobs 1 "standalone slash block restates" \
|
|
182
|
+
"$SANDBOX/target/rooted"
|
|
183
|
+
|
|
176
184
|
if [[ "$fails" -gt 0 ]]; then
|
|
177
185
|
echo "check-comment-tier.test.sh: $fails case(s) failed"
|
|
178
186
|
exit 1
|
|
179
187
|
fi
|
|
180
|
-
echo "check-comment-tier.test.sh: clean (slash surface + positional rescue + txt restricted roster + templates/ governance + count override edges + paragraph-join wrap + workflow-dir markdown headings as structure with its single-hash lines still governed + a configured ** kept out of pruned dirs)"
|
|
188
|
+
echo "check-comment-tier.test.sh: clean (slash surface + positional rescue + txt restricted roster + templates/ governance + count override edges + paragraph-join wrap + workflow-dir markdown headings as structure with its single-hash lines still governed + a configured ** kept out of pruned dirs + a root under a pruned name still governed)"
|
|
181
189
|
exit 0
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
work/changes/one/deltas/notes/spec.md:3: family `new` names `Entry length`, which work/base/notes/spec.md already carries
|
|
2
|
+
work/changes/one/deltas/notes/spec.md:7: family `changed` names `Entry limit`, which work/base/notes/spec.md lacks
|
|
3
|
+
work/changes/two/deltas/cli/spec.md:3: family `changed` names `Export command`, and its base work/base/cli/spec.md does not exist
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# spec: canon-kit/SPEC.md §check-delta-agreement — fixture consumer config: each change's deltas under work/changes/ against the base specs under work/base/
|
|
2
|
+
CANON_KIT_DELTA_PATH = ^work/changes/[^/]+/deltas/(.+\.md)$
|
|
3
|
+
CANON_KIT_DELTA_BASE_DIR = work/base
|
|
4
|
+
CANON_KIT_DELTA_BASE_ITEM = ^### Item:[[:space:]]*(.+)$
|
|
5
|
+
CANON_KIT_DELTA_PRESENT[changed] = ^## Changed
|
|
6
|
+
CANON_KIT_DELTA_PRESENT[moved] = ^## Moved
|
|
7
|
+
CANON_KIT_DELTA_ABSENT[moved-to] = ^## Moved
|
|
8
|
+
CANON_KIT_DELTA_ABSENT[new] = ^## New
|
|
9
|
+
CANON_KIT_DELTA_ITEM[changed] = ^### Item:[[:space:]]*(.+)$
|
|
10
|
+
CANON_KIT_DELTA_ITEM[moved] = ^- From: (.+)$
|
|
11
|
+
CANON_KIT_DELTA_ITEM[moved-to] = ^- To: (.+)$
|
|
12
|
+
CANON_KIT_DELTA_ITEM[new] = ^### Item:[[:space:]]*(.+)$
|
|
13
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = changed
|
|
14
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = moved
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
DELTA-AGREEMENT: clean (2 delta(s), 4 famil(ies), 5 item(s) agree with their base)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# spec: canon-kit/SPEC.md §check-delta-agreement — fixture consumer config: each change's deltas under work/changes/ against the base specs under work/base/
|
|
2
|
+
CANON_KIT_DELTA_PATH = ^work/changes/[^/]+/deltas/(.+\.md)$
|
|
3
|
+
CANON_KIT_DELTA_BASE_DIR = work/base
|
|
4
|
+
CANON_KIT_DELTA_BASE_ITEM = ^### Item:[[:space:]]*(.+)$
|
|
5
|
+
CANON_KIT_DELTA_PRESENT[changed] = ^## Changed
|
|
6
|
+
CANON_KIT_DELTA_PRESENT[moved] = ^## Moved
|
|
7
|
+
CANON_KIT_DELTA_ABSENT[moved-to] = ^## Moved
|
|
8
|
+
CANON_KIT_DELTA_ABSENT[new] = ^## New
|
|
9
|
+
CANON_KIT_DELTA_ITEM[changed] = ^### Item:[[:space:]]*(.+)$
|
|
10
|
+
CANON_KIT_DELTA_ITEM[moved] = ^- From: (.+)$
|
|
11
|
+
CANON_KIT_DELTA_ITEM[moved-to] = ^- To: (.+)$
|
|
12
|
+
CANON_KIT_DELTA_ITEM[new] = ^### Item:[[:space:]]*(.+)$
|
|
13
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = changed
|
|
14
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = moved
|