checkwright 0.31.0 → 0.32.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 +7 -6
- package/bin/checkwright.ps1 +3 -3
- 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
|
@@ -8,13 +8,12 @@ on:
|
|
|
8
8
|
workflow_dispatch:
|
|
9
9
|
inputs:
|
|
10
10
|
force_fail:
|
|
11
|
-
description: 'Inject a synthetic probe failure to exercise the
|
|
11
|
+
description: 'Inject a synthetic probe failure to exercise the failure path'
|
|
12
12
|
type: boolean
|
|
13
13
|
default: false
|
|
14
14
|
|
|
15
|
-
# spec: site-kit/SPEC.md §templates/site-health.yml — the permissions block is an allowlist
|
|
15
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the permissions block is an allowlist; ISSUE_TRACKING: 'on' adds issues: write
|
|
16
16
|
permissions:
|
|
17
|
-
issues: write
|
|
18
17
|
contents: read
|
|
19
18
|
|
|
20
19
|
jobs:
|
|
@@ -36,6 +35,9 @@ jobs:
|
|
|
36
35
|
# spec: site-kit/SPEC.md §templates/site-health.yml — set both, or delete them with the theme-drift arm
|
|
37
36
|
HIGHLIGHT_CSS_PATH: ''
|
|
38
37
|
HIGHLIGHT_TOKENS_FILE: ''
|
|
38
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the resample's bounds; RESAMPLE_ATTEMPTS: '1' turns it off
|
|
39
|
+
RESAMPLE_ATTEMPTS: '3'
|
|
40
|
+
RESAMPLE_PAUSE: '30'
|
|
39
41
|
FORCE_FAIL: ${{ inputs.force_fail }}
|
|
40
42
|
GH_TOKEN: ${{ github.token }}
|
|
41
43
|
run: |
|
|
@@ -49,156 +51,181 @@ jobs:
|
|
|
49
51
|
fi
|
|
50
52
|
echo "apex host: $apex"
|
|
51
53
|
|
|
52
|
-
|
|
54
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the resample
|
|
55
|
+
attempts="${RESAMPLE_ATTEMPTS-}"
|
|
56
|
+
pause="${RESAMPLE_PAUSE-}"
|
|
57
|
+
knob=""
|
|
58
|
+
if ! [[ "$attempts" =~ ^[1-9][0-9]*$ ]]; then
|
|
59
|
+
knob="RESAMPLE_ATTEMPTS must be a positive integer, 1 turning the resample off (got '$attempts')"
|
|
60
|
+
elif ! [[ "$pause" =~ ^[0-9]+$ ]]; then
|
|
61
|
+
knob="RESAMPLE_PAUSE must be whole seconds, 0 admitted (got '$pause')"
|
|
62
|
+
fi
|
|
63
|
+
attempt=1
|
|
64
|
+
while [ -z "$knob" ]; do
|
|
65
|
+
failures=()
|
|
53
66
|
|
|
54
|
-
|
|
55
|
-
|
|
67
|
+
code="$(curl -sS -m 20 -o /dev/null -w '%{http_code}' "https://$apex/")"
|
|
68
|
+
[ "$code" = 200 ] || failures+=("apex https did not answer 200 (got '$code')")
|
|
56
69
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
70
|
+
read -r code loc < <(curl -sS -m 20 -o /dev/null -w '%{http_code} %{redirect_url}' "https://www.$apex/") || true
|
|
71
|
+
case "${code}::${loc}" in
|
|
72
|
+
301::*"//$apex/"*) ;;
|
|
73
|
+
*) failures+=("www did not 301 to apex (got '$code' -> '$loc')") ;;
|
|
74
|
+
esac
|
|
62
75
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
76
|
+
read -r code loc < <(curl -sS -m 20 -o /dev/null -w '%{http_code} %{redirect_url}' "http://$apex/") || true
|
|
77
|
+
case "${code}::${loc}" in
|
|
78
|
+
301::https://*) ;;
|
|
79
|
+
*) failures+=("http did not 301 to https (got '$code' -> '$loc')") ;;
|
|
80
|
+
esac
|
|
68
81
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
82
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the ALT_DOMAIN arm; delete it with its env if unused
|
|
83
|
+
read -r code loc < <(curl -sS -m 20 -o /dev/null -w '%{http_code} %{redirect_url}' "https://$ALT_DOMAIN/install.html") || true
|
|
84
|
+
case "${code}::${loc}" in
|
|
85
|
+
301::*"//$apex/install.html"*) ;;
|
|
86
|
+
*) failures+=("$ALT_DOMAIN did not 301 to apex keeping path (got '$code' -> '$loc')") ;;
|
|
87
|
+
esac
|
|
75
88
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
else
|
|
80
|
-
exp_epoch="$(date -d "$expire" +%s 2>/dev/null)"
|
|
81
|
-
if [ -z "$exp_epoch" ]; then
|
|
82
|
-
failures+=("unparseable certificate expiry for $apex: '$expire'")
|
|
89
|
+
expire="$(curl -sSv -m 20 "https://$apex/" 2>&1 >/dev/null | sed -n 's/^\* *expire date: //p' | head -1)"
|
|
90
|
+
if [ -z "$expire" ]; then
|
|
91
|
+
failures+=("could not read certificate expiry for $apex")
|
|
83
92
|
else
|
|
84
|
-
|
|
85
|
-
[ "$
|
|
93
|
+
exp_epoch="$(date -d "$expire" +%s 2>/dev/null)"
|
|
94
|
+
if [ -z "$exp_epoch" ]; then
|
|
95
|
+
failures+=("unparseable certificate expiry for $apex: '$expire'")
|
|
96
|
+
else
|
|
97
|
+
days=$(( (exp_epoch - $(date +%s)) / 86400 ))
|
|
98
|
+
[ "$days" -ge 14 ] || failures+=("certificate for $apex expires in $days day(s) (< 14): $expire")
|
|
99
|
+
fi
|
|
86
100
|
fi
|
|
87
|
-
fi
|
|
88
101
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
102
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the release-body arm; delete it with its env if unused
|
|
103
|
+
notes=()
|
|
104
|
+
shopt -s nullglob
|
|
105
|
+
for f in $RELEASE_NOTE_GLOB; do
|
|
106
|
+
notes+=("$f")
|
|
107
|
+
done
|
|
108
|
+
shopt -u nullglob
|
|
109
|
+
if [ "${#notes[@]}" -eq 0 ]; then
|
|
110
|
+
failures+=("release-note glob matched nothing: '$RELEASE_NOTE_GLOB' — set the RELEASE_NOTE_* env above, or delete this arm")
|
|
111
|
+
fi
|
|
99
112
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
113
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the tag list comes from the API, paginated
|
|
114
|
+
tag_err="$(mktemp)"
|
|
115
|
+
tags="$(gh api --paginate 'repos/{owner}/{repo}/tags' --jq '.[].name' 2>"$tag_err")"
|
|
116
|
+
tag_rc=$?
|
|
117
|
+
if [ "$tag_rc" -ne 0 ]; then
|
|
118
|
+
failures+=("could not read the tag list (gh exit $tag_rc): $(tr '\n' ' ' < "$tag_err")")
|
|
119
|
+
tags=""
|
|
120
|
+
fi
|
|
121
|
+
rm -f "$tag_err"
|
|
122
|
+
n_tags="$(grep -c . <<<"$tags")"
|
|
110
123
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
124
|
+
n_found="${#notes[@]}"; n_keyed=0; n_released=0; n_checked=0
|
|
125
|
+
for f in "${notes[@]:-}"; do
|
|
126
|
+
[ -n "$f" ] || continue
|
|
127
|
+
tag="$(awk -v key="$RELEASE_NOTE_TAG_KEY" '
|
|
128
|
+
NR == 1 { if ($0 !~ /^---[[:space:]]*$/) exit; next }
|
|
129
|
+
/^(---|\.\.\.)[[:space:]]*$/ { if (found) print v; exit }
|
|
130
|
+
!found && index($0, key ":") == 1 {
|
|
131
|
+
v = substr($0, length(key) + 2); sub(/^[[:space:]]+/, "", v); found = 1
|
|
132
|
+
}' "$f")"
|
|
133
|
+
[ -n "$tag" ] || continue
|
|
134
|
+
n_keyed=$(( n_keyed + 1 ))
|
|
135
|
+
grep -Fxq -- "$tag" <<<"$tags" || continue
|
|
136
|
+
n_released=$(( n_released + 1 ))
|
|
123
137
|
|
|
124
|
-
|
|
125
|
-
|
|
138
|
+
slug="${f##*/}"; slug="${slug%.*}"
|
|
139
|
+
want="https://$apex${RELEASE_NOTE_URL_PATH//\{slug\}/$slug}"
|
|
126
140
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
141
|
+
rel_err="$(mktemp)"
|
|
142
|
+
body="$(gh api "repos/{owner}/{repo}/releases/tags/$tag" --jq '.body // ""' 2>"$rel_err")"
|
|
143
|
+
rel_rc=$?
|
|
144
|
+
if [ "$rel_rc" -ne 0 ]; then
|
|
145
|
+
failures+=("$tag: no readable Release for a tag that exists (gh exit $rel_rc): $(tr '\n' ' ' < "$rel_err")")
|
|
146
|
+
rm -f "$rel_err"
|
|
147
|
+
continue
|
|
148
|
+
fi
|
|
132
149
|
rm -f "$rel_err"
|
|
133
|
-
|
|
134
|
-
fi
|
|
135
|
-
rm -f "$rel_err"
|
|
136
|
-
n_checked=$(( n_checked + 1 ))
|
|
137
|
-
|
|
138
|
-
case "$body" in
|
|
139
|
-
*"$want"*) ;;
|
|
140
|
-
*) failures+=("$tag: Release body does not carry the note URL $want") ;;
|
|
141
|
-
esac
|
|
150
|
+
n_checked=$(( n_checked + 1 ))
|
|
142
151
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
"https://$apex"|"https://$apex/"*|"http://$apex"|"http://$apex/"*) ;;
|
|
147
|
-
*) continue ;;
|
|
152
|
+
case "$body" in
|
|
153
|
+
*"$want"*) ;;
|
|
154
|
+
*) failures+=("$tag: Release body does not carry the note URL $want") ;;
|
|
148
155
|
esac
|
|
149
|
-
code="$(curl -sS -m 20 -o /dev/null -w '%{http_code}' "$u")"
|
|
150
|
-
[ "$code" = 200 ] || failures+=("$tag: Release body URL $u did not answer 200 (got '$code')")
|
|
151
|
-
done < <(grep -oE 'https?://[^[:space:]<>"]+' <<<"$body" | sed -E 's/[).,;:!?*]+$//' | sort -u)
|
|
152
|
-
done
|
|
153
156
|
|
|
154
|
-
|
|
157
|
+
while read -r u; do
|
|
158
|
+
[ -n "$u" ] || continue
|
|
159
|
+
case "$u" in
|
|
160
|
+
"https://$apex"|"https://$apex/"*|"http://$apex"|"http://$apex/"*) ;;
|
|
161
|
+
*) continue ;;
|
|
162
|
+
esac
|
|
163
|
+
code="$(curl -sS -m 20 -o /dev/null -w '%{http_code}' "$u")"
|
|
164
|
+
[ "$code" = 200 ] || failures+=("$tag: Release body URL $u did not answer 200 (got '$code')")
|
|
165
|
+
done < <(grep -oE 'https?://[^[:space:]<>"]+' <<<"$body" | sed -E 's/[).,;:!?*]+$//' | sort -u)
|
|
166
|
+
done
|
|
155
167
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
css_err="$(mktemp)"
|
|
166
|
-
curl -sS -f -m 20 -o "$css" "https://$apex$HIGHLIGHT_CSS_PATH" 2>"$css_err"
|
|
167
|
-
css_rc=$?
|
|
168
|
-
if [ "$css_rc" -ne 0 ]; then
|
|
169
|
-
failures+=("theme-drift: could not fetch https://$apex$HIGHLIGHT_CSS_PATH (curl exit $css_rc): $(tr '\n' ' ' < "$css_err")")
|
|
168
|
+
echo "release-body: $n_found note(s) found, $n_keyed keyed '$RELEASE_NOTE_TAG_KEY:', $n_released released of $n_tags remote tag(s), $n_checked checked"
|
|
169
|
+
|
|
170
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the theme-drift arm; delete it with its env if unused
|
|
171
|
+
if [ -z "${HIGHLIGHT_CSS_PATH:-}${HIGHLIGHT_TOKENS_FILE:-}" ]; then
|
|
172
|
+
echo "theme-drift: skipped (HIGHLIGHT_CSS_PATH and HIGHLIGHT_TOKENS_FILE unset)"
|
|
173
|
+
elif [ -z "${HIGHLIGHT_CSS_PATH:-}" ] || [ -z "${HIGHLIGHT_TOKENS_FILE:-}" ]; then
|
|
174
|
+
failures+=("theme-drift: set both HIGHLIGHT_CSS_PATH and HIGHLIGHT_TOKENS_FILE, or neither")
|
|
175
|
+
elif [ ! -r "$HIGHLIGHT_TOKENS_FILE" ]; then
|
|
176
|
+
failures+=("theme-drift: snapshot $HIGHLIGHT_TOKENS_FILE is not a readable tracked file")
|
|
170
177
|
else
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
print "rule"
|
|
178
|
-
m = split(part[n - 1], sel, ",")
|
|
179
|
-
for (i = 1; i <= m; i++) {
|
|
180
|
-
s = sel[i]
|
|
181
|
-
gsub(/[[:space:]]+/, " ", s); sub(/^ /, "", s); sub(/ $/, "", s)
|
|
182
|
-
if (s ~ /^\.highlight \.[A-Za-z0-9_-]+$/) print "class " substr(s, 12)
|
|
183
|
-
}
|
|
184
|
-
}')"
|
|
185
|
-
theme="$(sed -n 's/^class //p' <<<"$extracted" | sort -u)"
|
|
186
|
-
snap="$(grep -v '^[[:space:]]*#' "$HIGHLIGHT_TOKENS_FILE" | tr -d '[:blank:]\r' | grep . | sort -u)"
|
|
187
|
-
n_theme="$(grep -c . <<<"$theme")"
|
|
188
|
-
echo "theme-drift: $(wc -c < "$css" | tr -d ' ') byte(s) fetched, $(grep -c '^rule$' <<<"$extracted") colour-bearing rule(s), $n_theme class(es) extracted, $(grep -c . <<<"$snap") in the snapshot"
|
|
189
|
-
if [ "$n_theme" -eq 0 ]; then
|
|
190
|
-
failures+=("theme-drift: https://$apex$HIGHLIGHT_CSS_PATH yielded zero .highlight classes — the extraction or the theme's structure broke")
|
|
178
|
+
css="$(mktemp)"
|
|
179
|
+
css_err="$(mktemp)"
|
|
180
|
+
curl -sS -f -m 20 -o "$css" "https://$apex$HIGHLIGHT_CSS_PATH" 2>"$css_err"
|
|
181
|
+
css_rc=$?
|
|
182
|
+
if [ "$css_rc" -ne 0 ]; then
|
|
183
|
+
failures+=("theme-drift: could not fetch https://$apex$HIGHLIGHT_CSS_PATH (curl exit $css_rc): $(tr '\n' ' ' < "$css_err")")
|
|
191
184
|
else
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
185
|
+
extracted="$(tr '\n' ' ' < "$css" | sed -E 's#/\*([^*]|\*+[^*/])*\*+/##g' | awk '
|
|
186
|
+
BEGIN { RS = "}" }
|
|
187
|
+
{
|
|
188
|
+
n = split($0, part, "{")
|
|
189
|
+
if (n < 2) next
|
|
190
|
+
if (part[n] !~ /(^|[;[:space:]])(color|background|background-color)[[:space:]]*:/) next
|
|
191
|
+
print "rule"
|
|
192
|
+
m = split(part[n - 1], sel, ",")
|
|
193
|
+
for (i = 1; i <= m; i++) {
|
|
194
|
+
s = sel[i]
|
|
195
|
+
gsub(/[[:space:]]+/, " ", s); sub(/^ /, "", s); sub(/ $/, "", s)
|
|
196
|
+
if (s ~ /^\.highlight \.[A-Za-z0-9_-]+$/) print "class " substr(s, 12)
|
|
197
|
+
}
|
|
198
|
+
}')"
|
|
199
|
+
theme="$(sed -n 's/^class //p' <<<"$extracted" | sort -u)"
|
|
200
|
+
snap="$(grep -v '^[[:space:]]*#' "$HIGHLIGHT_TOKENS_FILE" | tr -d '[:blank:]\r' | grep . | sort -u)"
|
|
201
|
+
n_theme="$(grep -c . <<<"$theme")"
|
|
202
|
+
echo "theme-drift: $(wc -c < "$css" | tr -d ' ') byte(s) fetched, $(grep -c '^rule$' <<<"$extracted") colour-bearing rule(s), $n_theme class(es) extracted, $(grep -c . <<<"$snap") in the snapshot"
|
|
203
|
+
if [ "$n_theme" -eq 0 ]; then
|
|
204
|
+
failures+=("theme-drift: https://$apex$HIGHLIGHT_CSS_PATH yielded zero .highlight classes — the extraction or the theme's structure broke")
|
|
205
|
+
else
|
|
206
|
+
added="$(comm -23 <(printf '%s\n' "$theme") <(printf '%s\n' "$snap") | paste -sd ' ' -)"
|
|
207
|
+
removed="$(comm -13 <(printf '%s\n' "$theme") <(printf '%s\n' "$snap") | paste -sd ' ' -)"
|
|
208
|
+
if [ -n "$added$removed" ]; then
|
|
209
|
+
[ -z "$added" ] || failures+=("theme-drift: the theme colours class(es) the snapshot lacks: $added")
|
|
210
|
+
[ -z "$removed" ] || failures+=("theme-drift: the snapshot lists class(es) the theme does not colour: $removed")
|
|
211
|
+
failures+=("theme-drift: the full new list for $HIGHLIGHT_TOKENS_FILE:"$'\n'"$theme")
|
|
212
|
+
fi
|
|
198
213
|
fi
|
|
199
214
|
fi
|
|
215
|
+
rm -f "$css" "$css_err"
|
|
200
216
|
fi
|
|
201
|
-
|
|
217
|
+
|
|
218
|
+
[ "${#failures[@]}" -gt 0 ] || break
|
|
219
|
+
[ "$attempt" -lt "$attempts" ] || break
|
|
220
|
+
echo "attempt $attempt of $attempts: ${#failures[@]} probe(s) failed; resampling in ${pause}s"
|
|
221
|
+
printf ' - %s\n' "${failures[@]}"
|
|
222
|
+
attempt=$(( attempt + 1 ))
|
|
223
|
+
sleep "$pause"
|
|
224
|
+
done
|
|
225
|
+
if [ -n "$knob" ]; then
|
|
226
|
+
failures=("$knob")
|
|
227
|
+
else
|
|
228
|
+
echo "probe set settled on attempt $attempt of $attempts"
|
|
202
229
|
fi
|
|
203
230
|
|
|
204
231
|
if [ "$FORCE_FAIL" = true ]; then
|
|
@@ -219,14 +246,36 @@ jobs:
|
|
|
219
246
|
echo "all probes green"
|
|
220
247
|
fi
|
|
221
248
|
|
|
222
|
-
- name:
|
|
249
|
+
- name: report the probe result
|
|
223
250
|
env:
|
|
251
|
+
# spec: site-kit/SPEC.md §templates/site-health.yml — the issue path: 'on' also needs issues: write in the permissions block
|
|
252
|
+
ISSUE_TRACKING: 'off'
|
|
224
253
|
GH_TOKEN: ${{ github.token }}
|
|
225
254
|
STATUS: ${{ steps.probe.outputs.status }}
|
|
226
255
|
REPORT: ${{ steps.probe.outputs.report }}
|
|
227
256
|
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
|
228
257
|
run: |
|
|
229
258
|
set -euo pipefail
|
|
259
|
+
tracking="${ISSUE_TRACKING-}"
|
|
260
|
+
case "$tracking" in
|
|
261
|
+
on|off) ;;
|
|
262
|
+
*)
|
|
263
|
+
echo "ISSUE_TRACKING must be 'on' or 'off' (got '$tracking')"
|
|
264
|
+
exit 1
|
|
265
|
+
;;
|
|
266
|
+
esac
|
|
267
|
+
|
|
268
|
+
if [ "$tracking" = off ]; then
|
|
269
|
+
if [ "$STATUS" = fail ]; then
|
|
270
|
+
echo "FAILED probe(s):"
|
|
271
|
+
printf '%s\n' "$REPORT"
|
|
272
|
+
echo "issue path off; the red run is the signal"
|
|
273
|
+
exit 1
|
|
274
|
+
fi
|
|
275
|
+
echo "all probes green; issue path off"
|
|
276
|
+
exit 0
|
|
277
|
+
fi
|
|
278
|
+
|
|
230
279
|
label=site-health
|
|
231
280
|
gh label create "$label" --color b60205 \
|
|
232
281
|
--description "Live-site monitoring probe failure" 2>/dev/null || true
|
package/profiles.list
CHANGED
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
# no count to raise here.
|
|
22
22
|
|
|
23
23
|
# starter — the smallest set that reaches a green battery with a working
|
|
24
|
-
#
|
|
24
|
+
# pre-commit hook and at least one gate that reds on a real consumer defect
|
|
25
25
|
# needing no configuration outside the gates directory. gate-sdk is forced in:
|
|
26
|
-
# without it there is no runner, no
|
|
27
|
-
# name to resolve against. It also already satisfies the last clause
|
|
28
|
-
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
26
|
+
# without it there is no runner, no git hooks, and no registry for a gate
|
|
27
|
+
# name to resolve against. It also already satisfies the last clause, through a
|
|
28
|
+
# gate that reads the adopter's own tree rather than the vendored source — a
|
|
29
|
+
# pipeline under `pipefail` that can lose its match to a closed pipe. So any
|
|
30
|
+
# second kit would make the set larger than the
|
|
31
31
|
# criterion asks for, and the first experience is the framework, not a reading
|
|
32
32
|
# list.
|
|
33
33
|
starter gate-sdk
|
|
@@ -56,16 +56,17 @@ delegation guard-kit
|
|
|
56
56
|
delegation doctrine-kit
|
|
57
57
|
|
|
58
58
|
# prose — the smallest set that governs a repository whose artifacts are prose,
|
|
59
|
-
# on the floor docs/
|
|
60
|
-
# starter: no runner, no
|
|
59
|
+
# on the floor docs/requirements.md §Installing and running the shipped gates states for it. gate-sdk is forced in for the same reason it is forced in
|
|
60
|
+
# starter: no runner, no git hooks, no registry. canon-kit is the kit whose
|
|
61
61
|
# subject is authored documents; every other kit's subject is either the agent
|
|
62
62
|
# session — which is delegation's criterion, and why these two are alternatives
|
|
63
63
|
# rather than steps — or a deployed site.
|
|
64
64
|
#
|
|
65
65
|
# What the adopter actually receives, stated here because a criterion that
|
|
66
|
-
# overpromises is worse than none: link,
|
|
66
|
+
# overpromises is worse than none: link, citation, command and claim checks
|
|
67
67
|
# over every README.md at any depth plus the agent file, which is real for a
|
|
68
|
-
# documentation repository since a docs tree is usually a tree of READMEs
|
|
68
|
+
# documentation repository since a docs tree is usually a tree of READMEs;
|
|
69
|
+
# canon-kit's house rules are the adopter's to turn on. It is
|
|
69
70
|
# not governance over `docs/*.md` — neither the manifest set nor the comment
|
|
70
71
|
# surface reads that path, and widening to it is the adopter's own
|
|
71
72
|
# CANON_KIT_PROSE_SURFACE_GLOBS edit in the config seam init already delivers.
|
|
@@ -2,3 +2,8 @@
|
|
|
2
2
|
CANON_KIT_PROSE_SURFACE_GLOBS[] = openspec/**/*.md
|
|
3
3
|
CANON_KIT_TEMPORAL_EXEMPT_PATHS[] = openspec/changes/**
|
|
4
4
|
CANON_KIT_TASK_LIST_GLOBS[] = openspec/changes/*/tasks.md
|
|
5
|
+
CANON_KIT_DELTA_PATH = ^openspec/changes/[^/]+/specs/(.+/spec\.md)$
|
|
6
|
+
CANON_KIT_DELTA_BASE_DIR = openspec/specs
|
|
7
|
+
CANON_KIT_DELTA_BASE_ITEM = ^### Requirement:[[:space:]]*(.+)$
|
|
8
|
+
CANON_KIT_DELTA_PRESENT[removed] = ^## REMOVED Requirements
|
|
9
|
+
CANON_KIT_DELTA_ITEM[removed] = ^### Requirement:[[:space:]]*(.+)$
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# spec: companion/SPEC.md §The OpenSpec overlap — composed by `init --recipe openspec-overlap` after the recipe's lines into the consumer's scripts/canon-config.knobs
|
|
2
|
+
CANON_KIT_DELTA_PRESENT[modified] = ^## MODIFIED Requirements
|
|
3
|
+
CANON_KIT_DELTA_ITEM[modified] = ^### Requirement:[[:space:]]*(.+)$
|
|
4
|
+
CANON_KIT_DELTA_PRESENT[renamed] = ^## RENAMED Requirements
|
|
5
|
+
CANON_KIT_DELTA_ITEM[renamed] = ^- FROM: `### Requirement:[[:space:]]*(.+)`
|
|
6
|
+
CANON_KIT_DELTA_ABSENT[renamed-to] = ^## RENAMED Requirements
|
|
7
|
+
CANON_KIT_DELTA_ITEM[renamed-to] = ^- TO: `### Requirement:[[:space:]]*(.+)`
|
|
8
|
+
CANON_KIT_DELTA_ABSENT[added] = ^## ADDED Requirements
|
|
9
|
+
CANON_KIT_DELTA_ITEM[added] = ^### Requirement:[[:space:]]*(.+)$
|
|
10
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = modified
|
|
11
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = renamed
|
|
12
|
+
CANON_KIT_DELTA_BASE_REQUIRED[] = removed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# spec: companion/SPEC.md §The OpenSpec overlap — each gate named below is dropped from the consumer's scripts/gates.list
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
# graph: couples=knob:CONTEXT_KIT_FOOTPRINT_FILE,knob:CONTEXT_KIT_SURFACES,*/SPEC.md,kit:templates/*.md,native/src/diff.rs dir=one valve=none tier=precommit
|
|
2
|
-
# projection: knob:CONTEXT_KIT_FOOTPRINT_FILE
|
|
3
|
-
# install: on-surface
|
|
4
|
-
# spec: context-kit/SPEC.md §check-footprint-fresh — the footprint page (CONTEXT_KIT_FOOTPRINT_FILE) is the byte-fresh projection of the footprint emitter, which this member calls in-process rather than spawning
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
is stale vs the footprint emitter
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Footprint
|
|
3
|
-
nav_parent: value
|
|
4
|
-
nav_child_order: 2
|
|
5
|
-
---
|
|
6
|
-
<!-- door-contributor: a generated projection whose only door is the emitter command behind its own numbers, read by the contributor who regenerates it -->
|
|
7
|
-
|
|
8
|
-
# Context footprint
|
|
9
|
-
|
|
10
|
-
What vendoring Checkwright costs a consumer's context budget, measured per kit and split by when the cost is paid. Every number here is generated from the tracked kit surfaces by `bash gate-sdk/bin/run-gates.sh --emit footprint` and held current by a freshness gate, so the page cannot drift from what the kits actually ship.
|
|
11
|
-
|
|
12
|
-
## What is measured
|
|
13
|
-
|
|
14
|
-
Each kit's footprint splits by when its cost lands in a session:
|
|
15
|
-
|
|
16
|
-
- **Always-loaded** — the fixed block a kit injects into the consumer's always-loaded agent file, so it rides every session's context. Measured as the content a kit generates between its own `begin`/`end` markers in the configured surface files.
|
|
17
|
-
- **Load-triggered** — the kit's shipped skill and template markdown, pulled into context only when its trigger fires. Measured over the markdown the kit ships under its templates directory.
|
|
18
|
-
|
|
19
|
-
Code-point counts (`cp`) are exact. The token column is a labeled estimate — a bytes-over-four heuristic, marked with a leading `~` because the true count is model-tokenizer-dependent; read it as an order of magnitude, never a precise figure.
|
|
20
|
-
|
|
21
|
-
## What is excluded
|
|
22
|
-
|
|
23
|
-
The figures are kit-share only — what a kit itself ships. A consumer's own bindings (the skill shims that point at a vendored template), consumer configuration, the reference SPEC and README pages a reader opens on demand, and the session hook's dynamic body (which is consumer state, not fixed kit text) are all left out, so each number reflects the kit's advertised cost rather than a host repository's residue.
|
|
24
|
-
|
|
25
|
-
## Per-kit footprint
|
|
26
|
-
|
|
27
|
-
Every top-level directory carrying a `SPEC.md` takes a row, kit or not, and one that ships nothing into context shows an empty tier in both columns.
|
|
28
|
-
|
|
29
|
-
| kit | always-loaded | load-triggered |
|
|
30
|
-
| --- | --- | --- |
|
|
31
|
-
| demo-kit | 59cp · ~15t | 64cp · ~16t |
|
|
32
|
-
| **total** | 59cp · ~15t | 64cp · ~16t |
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
FOOTPRINT-FRESH: clean
|