checkwright 0.23.0 → 0.25.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 +175 -13
- package/lib/common/lock.sh +7 -0
- package/lib/common/recipe.sh +1 -1
- package/lib/diff.sh +2 -0
- package/lib/init.sh +40 -16
- package/lib/uninstall.sh +2 -0
- package/package.json +2 -2
- 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/canon-kit/README.md +2 -0
- package/payload/canon-kit/SPEC.md +454 -28
- package/payload/canon-kit/checks/check-amendment-queue.gate +3 -0
- package/payload/canon-kit/checks/check-amendment-update-target.gate +3 -0
- package/payload/canon-kit/checks/check-docs-link-convention.gate +3 -0
- package/payload/canon-kit/checks/check-knob-default-coupling.gate +3 -0
- package/payload/canon-kit/checks/check-prose-tells.gate +3 -0
- package/payload/canon-kit/checks/check-spec-embedded-source.gate +3 -0
- package/payload/canon-kit/checks/check-unmarked-claim.gate +3 -0
- package/payload/canon-kit/gate-tests/check-amendment-queue/bad/SPEC-orphan.md +6 -0
- package/payload/canon-kit/gate-tests/check-amendment-queue/bad/TASK-QUEUE.md +7 -2
- package/payload/canon-kit/gate-tests/check-amendment-queue/bad/expect.txt +8 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target/bad/SPEC-thing.md +26 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target/bad/expect.txt +8 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target/good/SPEC-widget.md +47 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-amendment-update-target.test.sh +82 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.sh +3 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.sh +3 -0
- package/payload/canon-kit/gate-tests/check-docs-link-convention.test.sh +4 -4
- package/payload/canon-kit/gate-tests/check-knob-default-coupling.test.sh +2 -2
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/SPEC-wire.md +18 -0
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/expect.txt +3 -1
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/widget.proto +13 -0
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/good/SPEC-wire.md +22 -0
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/good/SPEC.md +17 -0
- package/payload/canon-kit/gate-tests/check-spec-embedded-source/good/widget.proto +13 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/SPEC.md +11 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/bad/scripts/canon-config.sh +6 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/SPEC.md +18 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim/good/scripts/canon-config.sh +6 -0
- package/payload/canon-kit/gate-tests/check-unmarked-claim.test.sh +85 -0
- package/payload/canon-kit/lib/spec.sh +16 -0
- package/payload/canon-kit/smoke/install.sh +3 -1
- package/payload/canon-kit/templates/SPEC-amendment.md +17 -2
- package/payload/context-kit/README.md +6 -4
- package/payload/context-kit/SPEC.md +256 -76
- package/payload/context-kit/bin/always-loaded.sh +5 -21
- package/payload/context-kit/bin/env-probe.sh +2 -17
- package/payload/context-kit/checks/check-brevity.gate +3 -0
- package/payload/context-kit/checks/check-footprint-fresh.gate +3 -0
- package/payload/context-kit/checks/check-memory-off.gate +3 -0
- package/payload/context-kit/checks/check-settings-paths.gate +3 -0
- package/payload/context-kit/checks/check-settings-pins.gate +3 -0
- package/payload/context-kit/gate-tests/check-brevity.test.sh +3 -2
- package/payload/context-kit/gate-tests/check-memory-off/bad/scripts/context-config.sh +4 -0
- package/payload/context-kit/gate-tests/check-memory-off/good/scripts/context-config.sh +4 -0
- package/payload/context-kit/gate-tests/check-memory-off.test.sh +18 -4
- package/payload/context-kit/gate-tests/check-settings-pins.test.sh +70 -0
- package/payload/context-kit/index-tests/expected/toolfloor.txt +5 -5
- package/payload/context-kit/index-tests/toolfloor-cases.sh +5 -5
- package/payload/context-kit/lib/context.sh +56 -0
- package/payload/context-kit/lib/toolfloor.sh +1 -1
- package/payload/context-kit/smoke/agents-md.sh +16 -4
- package/payload/context-kit/smoke/install.sh +3 -2
- package/payload/context-kit/templates/session-context.sh +5 -5
- package/payload/delegation-kit/README.md +11 -1
- package/payload/delegation-kit/SPEC.md +652 -11
- package/payload/delegation-kit/bin/wait-probe.sh +184 -0
- package/payload/delegation-kit/checks/check-agent-tier-explicit.gate +3 -0
- package/payload/delegation-kit/checks/check-gate-tamper.gate +3 -0
- package/payload/delegation-kit/checks/check-rule-citation.gate +3 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/added-exemptions +5 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/expect.txt +2 -0
- package/payload/delegation-kit/gate-tests/check-gate-tamper.test.sh +108 -0
- package/payload/delegation-kit/gate-tests/subagent-stop-liveness.test.sh +99 -0
- package/payload/delegation-kit/smoke/install.sh +21 -1
- package/payload/delegation-kit/templates/agent-execution.md +88 -4
- package/payload/delegation-kit/templates/subagent-stop-liveness.sh +56 -0
- package/payload/doctrine-kit/SPEC.md +1 -1
- package/payload/doctrine-kit/checks/check-doctrine-registration.gate +3 -0
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration.test.sh +2 -3
- package/payload/doctrine-kit/smoke/install.sh +17 -4
- package/payload/drift-kit/README.md +2 -2
- package/payload/drift-kit/SPEC.md +71 -7
- package/payload/drift-kit/bin/stage-economics.sh +1 -1
- package/payload/drift-kit/lib/drift.sh +43 -0
- package/payload/drift-kit/smoke/install.sh +21 -14
- package/payload/evidence-kit/README.md +3 -1
- package/payload/evidence-kit/SPEC.md +160 -19
- package/payload/evidence-kit/checks/check-battery-roster.gate +3 -0
- package/payload/evidence-kit/checks/check-evidence-baseline.gate +3 -0
- package/payload/evidence-kit/checks/check-evidence-manifest.gate +3 -0
- package/payload/evidence-kit/checks/check-producer-liveness.sh +42 -2
- package/payload/evidence-kit/gate-tests/check-battery-roster.test.sh +4 -3
- package/payload/evidence-kit/gate-tests/check-evidence-baseline.test.sh +8 -5
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/WORKFLOW-STATE.txt +1 -1
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/scripts/evidence-config.sh +9 -0
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/WORKFLOW-STATE.txt +1 -1
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/scripts/evidence-config.sh +9 -0
- package/payload/evidence-kit/gate-tests/check-evidence-manifest.test.sh +6 -4
- package/payload/evidence-kit/gate-tests/producer-lock.test.sh +42 -1
- package/payload/evidence-kit/lib/evidence.sh +2 -0
- package/payload/evidence-kit/smoke/install.sh +1 -1
- package/payload/gate-sdk/README.md +17 -9
- package/payload/gate-sdk/SPEC.md +4680 -295
- package/payload/gate-sdk/bin/build-native.sh +66 -1
- package/payload/gate-sdk/bin/install-hooks.sh +14 -2
- package/payload/gate-sdk/bin/port-blockers.sh +37 -9
- package/payload/gate-sdk/bin/run-gate-tests.sh +1 -2
- package/payload/gate-sdk/bin/run-gates.sh +137 -13
- package/payload/gate-sdk/bin/upgrade-smoke.sh +21 -16
- package/payload/gate-sdk/checks/check-action-run-shell.sh +2 -1
- package/payload/gate-sdk/checks/check-commit-msg.gate +3 -0
- package/payload/gate-sdk/checks/check-commit-subject.gate +3 -0
- package/payload/gate-sdk/checks/check-core-files.gate +3 -0
- package/payload/gate-sdk/checks/check-crate-arms.sh +1 -0
- package/payload/gate-sdk/checks/check-enforcement-fresh.gate +3 -0
- package/payload/gate-sdk/checks/check-exec-bit.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-assertions.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-binary-fresh.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-exemption-tasks.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-fail-closed.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-fixture-coverage.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-output.gate +3 -0
- package/payload/gate-sdk/checks/check-gate-substrate-parity.sh +132 -15
- package/payload/gate-sdk/checks/check-graph.gate +3 -0
- package/payload/gate-sdk/checks/check-hook-exec-bit.gate +3 -0
- package/payload/gate-sdk/checks/check-identity.gate +3 -0
- package/payload/gate-sdk/checks/check-install-disposition.sh +1 -0
- package/payload/gate-sdk/checks/check-kit-enum.gate +3 -0
- package/payload/gate-sdk/checks/check-readme-roster.gate +3 -0
- package/payload/gate-sdk/checks/check-reads-couples.gate +3 -0
- package/payload/gate-sdk/checks/check-root-tiering.gate +3 -0
- package/payload/gate-sdk/checks/check-shellcheck.sh +1 -0
- package/payload/gate-sdk/checks/check-template-copy-parity.gate +3 -0
- package/payload/gate-sdk/checks/check-tree-terms.gate +3 -0
- package/payload/gate-sdk/checks/check-workflow-tiering.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-commit-subject.test.sh +17 -12
- package/payload/gate-sdk/gate-tests/check-core-files.test.sh +4 -5
- package/payload/gate-sdk/gate-tests/check-exec-bit/bad/dump.txt +2 -1
- package/payload/gate-sdk/gate-tests/check-exec-bit/bad/expect.txt +2 -1
- package/payload/gate-sdk/gate-tests/check-exec-bit/good/dump.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-exec-bit/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-exec-bit.test.sh +3 -4
- package/payload/gate-sdk/gate-tests/check-gate-assertions/bad/expect.txt +5 -1
- package/payload/gate-sdk/gate-tests/check-gate-assertions/bad/scripts/SPEC.md +22 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/bad/scripts/check-count.sh +11 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/bad/scripts/check-extra.sh +14 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/bad/scripts/check-zero.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-assertions/good/scripts/SPEC.md +27 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions/good/scripts/check-qux.sh +13 -0
- package/payload/gate-sdk/gate-tests/check-gate-assertions.test.sh +117 -0
- package/payload/gate-sdk/gate-tests/check-gate-binary-fresh.test.sh +26 -4
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/args +6 -1
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/kitroot/checks/check-vendored-descriptor.gate +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/kitroot/checks/check-vendored.sh +14 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-descriptor.gate +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-held.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/args +8 -1
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/expect.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/kitroot/checks/check-vendored-descriptor.gate +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/kitroot/checks/check-vendored.sh +14 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-descriptor.gate +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-held.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks.test.sh +77 -0
- package/payload/gate-sdk/gate-tests/check-gate-output.test.sh +4 -5
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/expect.txt +9 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/kit-spec.md +6 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-alpha.sh +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-bare.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-both.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-heldtwice.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-nospec.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-orphan.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-twice.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-ungrounded.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/gates.list +6 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/expect.txt +2 -1
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/kit-spec.md +12 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-alpha.sh +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-held.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity.test.sh +49 -4
- package/payload/gate-sdk/gate-tests/check-graph/bad/SPEC-example-gate.md +15 -5
- package/payload/gate-sdk/gate-tests/check-graph/bad/expect.txt +12 -0
- package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-example-gate.md +27 -5
- package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-second-gate.md +12 -0
- package/payload/gate-sdk/gate-tests/check-graph-cap.test.sh +5 -4
- package/payload/gate-sdk/gate-tests/check-graph-refs.test.sh +14 -12
- package/payload/gate-sdk/gate-tests/check-graph-theme.test.sh +43 -17
- package/payload/gate-sdk/gate-tests/check-graph-tree.test.sh +190 -0
- package/payload/gate-sdk/gate-tests/check-identity/bad/gh-hosts.yml +9 -0
- package/payload/gate-sdk/gate-tests/check-identity/bad/identity.conf +4 -2
- package/payload/gate-sdk/gate-tests/check-identity/bad/scripts/gate-sdk-config.sh +10 -0
- package/payload/gate-sdk/gate-tests/check-identity/good/gh-hosts.yml +11 -0
- package/payload/gate-sdk/gate-tests/check-identity/good/identity.conf +5 -1
- package/payload/gate-sdk/gate-tests/check-identity/good/scripts/gate-sdk-config.sh +10 -0
- package/payload/gate-sdk/gate-tests/check-identity.test.sh +114 -0
- package/payload/gate-sdk/gate-tests/check-kit-enum/bad/check-native-sample.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-kit-enum/bad/gates.list +4 -1
- package/payload/gate-sdk/gate-tests/check-kit-enum/good/check-native-sample.gate +3 -0
- 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 +5 -2
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/args +3 -1
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/delta-kit/README.md +15 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/delta-kit/checks/check-delta-one.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/delta-kit/checks/check-delta-two.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/expect.txt +3 -1
- package/payload/gate-sdk/gate-tests/check-readme-roster/bad/scripts/gate-sdk-config.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/args +3 -1
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/delta-kit/README.md +13 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/delta-kit/checks/check-delta-one.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/epsilon-kit/README.md +14 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/epsilon-kit/checks/check-eps-one.sh +3 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/epsilon-kit/checks/check-eps-two.gate +2 -0
- package/payload/gate-sdk/gate-tests/check-readme-roster/good/scripts/gate-sdk-config.sh +1 -1
- package/payload/gate-sdk/gate-tests/check-reads-couples.test.sh +87 -89
- package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/scripts/agent-budget-guard.sh +4 -0
- package/payload/gate-sdk/gate-tests/check-template-copy-parity.test.sh +56 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/expect.txt +5 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/tree/multi.txt +4 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/bad/tree/second-leak.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/patterns.list +3 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/anchored.txt +4 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/msg-patterns.list +2 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/msg-patterns.local.list +3 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/worktrees/vendored-note.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-tree-terms.test.sh +94 -0
- package/payload/gate-sdk/gate-tests/declaration-lib-parity.test.sh +211 -0
- package/payload/gate-sdk/gate-tests/enforcement-map.test.sh +16 -15
- package/payload/gate-sdk/gate-tests/lib-gate.test.sh +94 -1
- package/payload/gate-sdk/lib/gate.sh +232 -25
- package/payload/gate-sdk/smoke/install.sh +28 -1
- package/payload/guard-kit/README.md +4 -3
- package/payload/guard-kit/SPEC.md +578 -47
- package/payload/guard-kit/bin/compare-settings-allow.sh +36 -12
- package/payload/guard-kit/bin/run-guard-tests.sh +27 -4
- package/payload/guard-kit/gate-tests/compare-settings-allow.test.sh +46 -1
- package/payload/guard-kit/gate-tests/git-mutation-under-producer.test.sh +105 -0
- package/payload/guard-kit/guard-tests/background-cases.tsv +14 -0
- package/payload/guard-kit/guard-tests/cases.tsv +67 -9
- package/payload/guard-kit/lib/guard.sh +361 -18
- package/payload/guard-kit/templates/bash-guard.sh +2 -0
- package/payload/guard-kit/templates/close-triage.md +10 -3
- package/payload/guard-kit/templates/guard-config.sh +3 -0
- package/payload/lifecycle-kit/README.md +3 -2
- package/payload/lifecycle-kit/SPEC.md +509 -77
- package/payload/lifecycle-kit/bin/enter-stage.sh +72 -33
- package/payload/lifecycle-kit/bin/file-gap.sh +2 -2
- package/payload/lifecycle-kit/checks/check-close-surfaces.gate +3 -0
- package/payload/lifecycle-kit/checks/check-stage-entry.gate +3 -0
- package/payload/lifecycle-kit/gate-tests/boundary-scratch-wipe.test.sh +4 -4
- package/payload/lifecycle-kit/gate-tests/check-close-surfaces.test.sh +1 -1
- package/payload/lifecycle-kit/gate-tests/check-stage-entry/bad/.workflow/WORKFLOW-STATE.txt +3 -3
- package/payload/lifecycle-kit/gate-tests/check-stage-entry/good/.workflow/WORKFLOW-STATE.txt +3 -3
- package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +22 -22
- package/payload/lifecycle-kit/gate-tests/check-stage-evidence/bad/.workflow/WORKFLOW-STATE.txt +2 -2
- package/payload/lifecycle-kit/gate-tests/check-stage-evidence/good/.workflow/WORKFLOW-STATE.txt +2 -2
- package/payload/lifecycle-kit/gate-tests/check-stage-evidence.test.sh +120 -10
- package/payload/lifecycle-kit/gate-tests/gap-inbox-route.test.sh +123 -0
- package/payload/lifecycle-kit/gate-tests/rename-iteration.test.sh +11 -11
- package/payload/lifecycle-kit/gate-tests/survey-record-entry.test.sh +16 -5
- package/payload/lifecycle-kit/lib/stages.sh +5 -0
- package/payload/lifecycle-kit/smoke/install.sh +29 -15
- package/payload/lifecycle-kit/templates/lead.md +32 -0
- package/payload/lifecycle-kit/templates/stages/align.md +20 -2
- package/payload/lifecycle-kit/templates/stages/build.md +3 -3
- package/payload/lifecycle-kit/templates/stages/close.md +20 -6
- package/payload/lifecycle-kit/templates/stages/scope.md +20 -1
- package/payload/lifecycle-kit/templates/stages/spec.md +1 -1
- package/payload/lifecycle-kit/templates/stages/validate.md +1 -1
- package/payload/lifecycle-kit/templates/workflow-state-guard.sh +1 -1
- package/payload/queue-kit/README.md +10 -10
- package/payload/queue-kit/SPEC.md +379 -84
- package/payload/queue-kit/bin/queue-counts.sh +1 -1
- package/payload/queue-kit/checks/check-queue-entry-budget.gate +1 -1
- package/payload/queue-kit/checks/check-queue-prose-precondition.gate +3 -0
- package/payload/queue-kit/checks/check-roadmap-fresh.gate +3 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/TASK-QUEUE.md +15 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/expect.txt +2 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/TASK-QUEUE.md +7 -0
- package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/expect.txt +4 -0
- package/payload/queue-kit/gate-tests/check-roadmap-fresh/bad/expect.txt +1 -1
- package/payload/queue-kit/gate-tests/queue-counts.test.sh +1 -1
- package/payload/queue-kit/gate-tests/queue-index.test.sh +55 -119
- package/payload/queue-kit/gate-tests/roadmap.test.sh +22 -12
- package/payload/queue-kit/lib/queue.sh +0 -49
- package/payload/queue-kit/smoke/install.sh +1 -1
- package/payload/site-kit/SPEC.md +41 -2
- package/payload/site-kit/checks/check-docs-cname-parity.gate +3 -0
- package/payload/site-kit/checks/check-docs-render-fidelity.sh +1 -0
- package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/args +5 -4
- package/payload/site-kit/gate-tests/check-docs-cname-parity/good/args +6 -5
- package/payload/site-kit/gate-tests/check-docs-cname-parity/good/checks/check-sample.gate +3 -0
- package/payload/site-kit/gate-tests/check-docs-cname-parity/good/expect.txt +1 -1
- package/payload/site-kit/smoke/install.sh +1 -1
- package/payload/canon-kit/checks/check-amendment-queue.sh +0 -117
- package/payload/canon-kit/checks/check-docs-link-convention.sh +0 -79
- package/payload/canon-kit/checks/check-knob-default-coupling.sh +0 -240
- package/payload/canon-kit/checks/check-prose-tells.sh +0 -208
- package/payload/canon-kit/checks/check-spec-embedded-source.sh +0 -134
- package/payload/context-kit/bin/footprint.sh +0 -144
- package/payload/context-kit/checks/check-brevity.sh +0 -124
- package/payload/context-kit/checks/check-footprint-fresh.sh +0 -39
- package/payload/context-kit/checks/check-memory-off.sh +0 -113
- package/payload/context-kit/checks/check-settings-paths.sh +0 -94
- package/payload/context-kit/checks/check-settings-pins.sh +0 -111
- package/payload/context-kit/gate-tests/check-memory-off/bad/args +0 -1
- package/payload/context-kit/gate-tests/check-memory-off/good/args +0 -1
- package/payload/delegation-kit/checks/check-agent-tier-explicit.sh +0 -62
- package/payload/delegation-kit/checks/check-gate-tamper.sh +0 -140
- package/payload/delegation-kit/checks/check-rule-citation.sh +0 -77
- package/payload/doctrine-kit/checks/check-doctrine-registration.sh +0 -246
- package/payload/drift-kit/bin/trajectory.sh +0 -242
- package/payload/evidence-kit/checks/check-battery-roster.sh +0 -87
- package/payload/evidence-kit/checks/check-evidence-baseline.sh +0 -104
- package/payload/evidence-kit/checks/check-evidence-manifest.sh +0 -105
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/args +0 -3
- package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/args +0 -3
- package/payload/gate-sdk/bin/enforcement-map.sh +0 -273
- package/payload/gate-sdk/checks/check-commit-msg.sh +0 -51
- package/payload/gate-sdk/checks/check-commit-subject.sh +0 -44
- package/payload/gate-sdk/checks/check-core-files.sh +0 -76
- package/payload/gate-sdk/checks/check-enforcement-fresh.sh +0 -38
- package/payload/gate-sdk/checks/check-exec-bit.sh +0 -96
- package/payload/gate-sdk/checks/check-gate-assertions.sh +0 -148
- package/payload/gate-sdk/checks/check-gate-binary-fresh.sh +0 -107
- package/payload/gate-sdk/checks/check-gate-exemption-tasks.sh +0 -106
- package/payload/gate-sdk/checks/check-gate-fail-closed.sh +0 -85
- package/payload/gate-sdk/checks/check-gate-fixture-coverage.sh +0 -93
- package/payload/gate-sdk/checks/check-gate-output.sh +0 -103
- package/payload/gate-sdk/checks/check-graph.sh +0 -632
- package/payload/gate-sdk/checks/check-hook-exec-bit.sh +0 -46
- package/payload/gate-sdk/checks/check-identity.sh +0 -135
- package/payload/gate-sdk/checks/check-kit-enum.sh +0 -95
- package/payload/gate-sdk/checks/check-readme-roster.sh +0 -108
- package/payload/gate-sdk/checks/check-reads-couples.sh +0 -200
- package/payload/gate-sdk/checks/check-root-tiering.sh +0 -67
- package/payload/gate-sdk/checks/check-template-copy-parity.sh +0 -127
- package/payload/gate-sdk/checks/check-tree-terms.sh +0 -66
- package/payload/gate-sdk/checks/check-workflow-tiering.sh +0 -85
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/args +0 -1
- package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/args +0 -1
- package/payload/gate-sdk/gate-tests/check-identity/bad/args +0 -1
- package/payload/gate-sdk/gate-tests/check-identity/good/args +0 -1
- package/payload/lifecycle-kit/bin/close-surfaces.sh +0 -94
- package/payload/lifecycle-kit/checks/check-close-surfaces.sh +0 -64
- package/payload/lifecycle-kit/checks/check-stage-entry.sh +0 -198
- package/payload/queue-kit/bin/queue-index.sh +0 -182
- package/payload/queue-kit/bin/roadmap.sh +0 -76
- package/payload/queue-kit/checks/check-queue-prose-precondition.sh +0 -64
- package/payload/queue-kit/checks/check-roadmap-fresh.sh +0 -111
- package/payload/site-kit/checks/check-docs-cname-parity.sh +0 -81
- /package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/{gates → scripts}/check-sample.sh +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/{gates → scripts}/check-sample.sh +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{check-gamma.sh → scripts/check-gamma.sh} +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{gate-tests → scripts/gate-tests}/check-alpha/bad/.keep +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{gate-tests → scripts/gate-tests}/check-alpha/good/.keep +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{gates.list → scripts/gates.list} +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{check-beta.sh → scripts/check-beta.sh} +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{gate-tests → scripts/gate-tests}/check-alpha/bad/.keep +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{gate-tests → scripts/gate-tests}/check-alpha/good/.keep +0 -0
- /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{gates.list → scripts/gates.list} +0 -0
- /package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/{site-config.sh → scripts/site-config.sh} +0 -0
- /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree → docs}/CNAME +0 -0
- /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree → docs}/index.md +0 -0
- /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree/docs → docs}/posts/2026-01-01-legacy.md +0 -0
- /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree/pkg → pkg}/gate-tests/fixture.md +0 -0
- /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{site-config.sh → scripts/site-config.sh} +0 -0
package/README.md
CHANGED
|
@@ -24,9 +24,9 @@ vendored keeps working — it needs nothing from a package registry again.
|
|
|
24
24
|
## Implementation
|
|
25
25
|
|
|
26
26
|
Bash. npm is the delivery vehicle, never the implementation: the `bin` entry is
|
|
27
|
-
a bash script, so a reader reviewing what they are about to run reads
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
a bash script, so a reader reviewing what they are about to run reads source
|
|
28
|
+
rather than a build product, and the linter that governs every other script in
|
|
29
|
+
the repository governs these too.
|
|
30
30
|
|
|
31
31
|
## Requirements
|
|
32
32
|
|
|
@@ -39,6 +39,26 @@ delivery-path tool joins the toolchain roster, and the manual vendoring path
|
|
|
39
39
|
documented on the site needs neither. The toolchain the battery does assert,
|
|
40
40
|
with its version floors, is on the install page.
|
|
41
41
|
|
|
42
|
+
**The verbs themselves need `jq`.** `init`, `diff` and `uninstall` read JSON —
|
|
43
|
+
this package's own version stamp and the `checkwright.lock` manifest — and they
|
|
44
|
+
read it with `jq`, so every one of them refuses without it, naming the program
|
|
45
|
+
and the remedy (§The manifest). This is a claim about *these verbs*, separate
|
|
46
|
+
from the install page's toolchain block, which names `jq` for the gates in the
|
|
47
|
+
battery being vendored: different programs' users, and a machine can satisfy
|
|
48
|
+
either without the other, though a machine missing `jq` is below both.
|
|
49
|
+
|
|
50
|
+
`doctor` is the exception by design, and the exception is that it **reaches its
|
|
51
|
+
diagnosis** rather than that it is content: it reports a toolchain instead of
|
|
52
|
+
refusing before it can report one, so on a machine with no `jq` it renders its
|
|
53
|
+
whole report, names `jq` as missing, and tells you that is also why the manifest
|
|
54
|
+
could not be read. Its verdict is still **below contract**, because `jq` is a
|
|
55
|
+
consumer-audience member of the toolchain floor and the battery being vendored
|
|
56
|
+
needs it too. So the installer always knew about this dependency and `doctor`
|
|
57
|
+
always said so — what was wrong is that `init` runs `doctor` *last*, after the
|
|
58
|
+
JSON reads that need `jq`, so the one verdict that named the program was ordered
|
|
59
|
+
behind the refusals that could not. The precondition above is that ordering
|
|
60
|
+
corrected, not a fact newly discovered.
|
|
61
|
+
|
|
42
62
|
## Layout
|
|
43
63
|
|
|
44
64
|
- `bin/checkwright.sh` — the verb dispatcher, and the package's `bin` entry.
|
|
@@ -118,17 +138,36 @@ and checked against a published digest before it is written, which is what makes
|
|
|
118
138
|
zero build step a property of `init` itself rather than of which profile you
|
|
119
139
|
picked (gate-sdk/SPEC.md §Porting a gate to the binary substrate, criterion 5).
|
|
120
140
|
|
|
121
|
-
|
|
141
|
+
Four preconditions, and all of them **refuse** rather than warn — a partial
|
|
122
142
|
install is the outcome none of them may produce, so every one is checked before
|
|
123
143
|
a single file is written:
|
|
124
144
|
|
|
125
145
|
- **You are inside a git work tree.** The vendored source is meant to be
|
|
126
146
|
committed; that is what makes it auditable rather than merely present.
|
|
147
|
+
- **`jq` is installed.** It sits immediately before the first JSON read rather
|
|
148
|
+
than at the very top of the verb, because that is where *before the first
|
|
149
|
+
read* falls: the two preconditions either side of it are about the package and
|
|
150
|
+
the repository and are answerable without `jq`, while every refusal after it
|
|
151
|
+
is one a `jq`-less machine would otherwise meet as a misdiagnosis. That is the
|
|
152
|
+
whole of what this precondition buys, and it is worth stating as the
|
|
153
|
+
deliverable rather than leaving it to be read as a side effect: the refusals
|
|
154
|
+
below it — *this package carries no version stamp*, and *`checkwright.lock`
|
|
155
|
+
carries a schema this build does not know* — **keep their exact text and
|
|
156
|
+
recover their accuracy**. Each is the right message for the condition it
|
|
157
|
+
names, and each was only ever wrong as the message a `jq`-less machine
|
|
158
|
+
received, reached by a path that had nothing to do with what it said. After
|
|
159
|
+
this precondition, meeting one of them means the condition it names is
|
|
160
|
+
actually true.
|
|
127
161
|
- **The worktree is clean.** `init` makes one commit, and a dirty tree would
|
|
128
162
|
fold your work into it, leaving a reviewer's diff wider than what was
|
|
129
|
-
actually vendored.
|
|
163
|
+
actually vendored. It is also what makes a run's own residue attributable:
|
|
164
|
+
anything dirty at a path `init` recorded, when the run ends, was written by
|
|
165
|
+
that run and by nothing else — which is what lets a run that changed nothing
|
|
166
|
+
still commit what it rewrote rather than guess whose the change was.
|
|
167
|
+
`--no-commit` is the valve: it writes and stages the
|
|
130
168
|
files and leaves the commit to you, so an operator who wants to compose the
|
|
131
|
-
change themselves has taken that guarantee on deliberately
|
|
169
|
+
change themselves has taken that guarantee on deliberately — and because it
|
|
170
|
+
waives the precondition, it waives that attribution with it.
|
|
132
171
|
- **`doctor` passes.** The contract it holds you to is the consumer-audience
|
|
133
172
|
subset of the roster — the tools the vendored battery runs, never a tool that
|
|
134
173
|
only builds Checkwright (§doctor) — so a machine with no Rust toolchain is
|
|
@@ -156,7 +195,31 @@ meets the same protection rather than a clean slate — which is the one window
|
|
|
156
195
|
which an unowned path could otherwise be written straight over your edits. A
|
|
157
196
|
re-run that finds
|
|
158
197
|
nothing to change says so and exits clean; an unchanged tree is the success
|
|
159
|
-
case, not an error.
|
|
198
|
+
case, not an error.
|
|
199
|
+
|
|
200
|
+
**"Nothing to change" does not mean "nothing was committed".** `init` regenerates
|
|
201
|
+
the projections its vendored tools own on every run, so a run it classifies as a
|
|
202
|
+
no-op has still rewritten files — and **one commit** is a promise about what the
|
|
203
|
+
run leaves behind, not about which branch it took to get there. So the no-op exit
|
|
204
|
+
commits anything it rewrote that is not already committed, under the same message
|
|
205
|
+
the ordinary vendoring commit uses, and says so. Expect it to find nothing: a run
|
|
206
|
+
that rewrote something normally stages it and never reaches that branch at all.
|
|
207
|
+
The arm is there so the promise holds when it does. Under `--no-commit` the arm
|
|
208
|
+
is off, because the commit is yours.
|
|
209
|
+
|
|
210
|
+
**Two shapes this is deliberately not, and one ordering it must not take.** It is
|
|
211
|
+
not a freshness comparison that skips regenerating a projection whose inputs have
|
|
212
|
+
not moved: `init` does not compare freshness, and the projections are the vendored
|
|
213
|
+
tools' own output rather than something `init` holds an input for. It is not a
|
|
214
|
+
change of owner either — the projections stay `init`'s `files` entries rather than
|
|
215
|
+
becoming yours to regenerate, because the ownership rule in §The manifest is what
|
|
216
|
+
protects your edits to everything else `init` writes. And the commit on that branch
|
|
217
|
+
sits **inside** the exit rather than ahead of it: a commit against an empty index
|
|
218
|
+
exits non-zero and `init` treats a failed commit as a fatal install error, so an arm
|
|
219
|
+
placed before the "nothing to change" test would turn the pure idempotent path into
|
|
220
|
+
a false hard failure.
|
|
221
|
+
|
|
222
|
+
A payload older than the recorded install is refused as a
|
|
160
223
|
silent downgrade — `--force` covers that refusal too, which is what makes a
|
|
161
224
|
rollback a thing you asked for rather than a thing that happened to you.
|
|
162
225
|
`--force` means the same thing in all three places it appears — the changed-file
|
|
@@ -454,7 +517,10 @@ with the same remedy, a re-run of `init`.
|
|
|
454
517
|
|
|
455
518
|
`doctor` defines no floor of its own. It sources the toolchain roster out of
|
|
456
519
|
its own `payload/` and renders whatever verdict that roster's predicate
|
|
457
|
-
returns, so the contract keeps one owner and this stays a display of it.
|
|
520
|
+
returns, so the contract keeps one owner and this stays a display of it. Which
|
|
521
|
+
members are consumer-audience — and so which absences set the verdict — is read
|
|
522
|
+
off that roster, never listed here; §Requirements works the one case a reader
|
|
523
|
+
arrives with, `jq`, and says why it is below contract rather than outside it. The
|
|
458
524
|
payload copy is the one it reads, never a copy in the tree it is inspecting:
|
|
459
525
|
at `init` time nothing has been vendored there yet, so a tree copy would not
|
|
460
526
|
exist at the moment the answer is needed.
|
|
@@ -477,7 +543,12 @@ what stops `DOCTOR: clean` from being read as a claim about the tree's contents.
|
|
|
477
543
|
A third exit status, `2`, means the question could not be answered rather than
|
|
478
544
|
that the answer was bad: the package carries no payload, or the manifest
|
|
479
545
|
carries a schema key this build does not know. A build refuses an unfamiliar
|
|
480
|
-
manifest rather than guessing at the shape behind it.
|
|
546
|
+
manifest rather than guessing at the shape behind it. **A missing program is that
|
|
547
|
+
same status by derivation rather than by a new code** — a verb refusing because
|
|
548
|
+
`jq` is absent has not judged the tree, the package or the manifest, which is
|
|
549
|
+
what `1` is reserved for; it could not answer. It is also the status the
|
|
550
|
+
misdiagnosing refusals already exited with, so no caller's exit-code handling
|
|
551
|
+
changes and only the message does.
|
|
481
552
|
|
|
482
553
|
## update
|
|
483
554
|
|
|
@@ -508,8 +579,12 @@ to it rather than being misreported as an absent manifest.
|
|
|
508
579
|
most of what you see comes from `init` and says so. The one refusal `update`
|
|
509
580
|
owns is prefixed `checkwright update:`; every other refusal — not a git work
|
|
510
581
|
tree, an unknown schema, a dirty worktree, a stale downgrade, a below-contract
|
|
511
|
-
toolchain — arrives prefixed **`checkwright init:`**, and the
|
|
512
|
-
|
|
582
|
+
toolchain, an absent `jq` — arrives prefixed **`checkwright init:`**, and the
|
|
583
|
+
success path
|
|
584
|
+
reports `INIT:`, because that is literally which verb produced the line. The
|
|
585
|
+
`jq` refusal inherits this without a second rule: it is raised from `lock.sh` but
|
|
586
|
+
surfaces through the calling verb's own `die`, so it carries that verb's prefix,
|
|
587
|
+
its `help:` line and its exit code rather than a separate idiom. This is
|
|
513
588
|
honest rather than untidy: the prefix names the operation that actually ran, and
|
|
514
589
|
renaming it cosmetically would hide exactly the delegation that makes these two
|
|
515
590
|
verbs one. It is written down here so that a `checkwright init:` line answering
|
|
@@ -555,7 +630,12 @@ anything is removed, because a partial removal is the outcome none of them may
|
|
|
555
630
|
produce: inside a git work tree; a manifest present with a schema this build
|
|
556
631
|
knows, else a refusal naming `init`; and a clean worktree, for `init`'s own
|
|
557
632
|
reason — one commit is made, and a dirty tree would fold your work into it.
|
|
558
|
-
`--no-commit` is the same valve on the same terms.
|
|
633
|
+
`--no-commit` is the same valve on the same terms. The parallel with `init`
|
|
634
|
+
stops one clause short, and the divergence is deliberate rather than an
|
|
635
|
+
oversight to be tidied: `init` regenerates on every run, so it needs an arm that
|
|
636
|
+
commits what a no-op rewrote (§init), while `uninstall` only ever removes — a
|
|
637
|
+
removal it declines to make writes nothing, so there is no residue for such an
|
|
638
|
+
arm to find.
|
|
559
639
|
|
|
560
640
|
**The removal rule is the ownership contract seen from the other side.** For
|
|
561
641
|
each `files` entry: hash the file, remove it while the hash still matches what
|
|
@@ -674,7 +754,20 @@ live there, so the two verbs that write a manifest and the verbs that read one
|
|
|
674
754
|
cannot drift apart. Being the single writer is what makes the shape a contract
|
|
675
755
|
rather than a convention: keys are sorted at every nesting level, and a field is
|
|
676
756
|
present exactly when its writer supplied one, so an omission leaves the key
|
|
677
|
-
**absent** rather than null or blank.
|
|
757
|
+
**absent** rather than null or blank. `commit` is the field that rule most
|
|
758
|
+
recently had to be applied to: a package with no commit stamp leaves it out of
|
|
759
|
+
the manifest rather than writing it empty, on the same conditional footing the
|
|
760
|
+
`artifact` key already sat on. Until the `jq` precondition landed ahead of it, an
|
|
761
|
+
empty `commit` was ambiguous between *no stamp* and *no `jq`* and was masked by
|
|
762
|
+
statement order alone; with `jq`'s absence refused up front the field is
|
|
763
|
+
decidable, and the writer's existing omission rule settles it with no new one.
|
|
764
|
+
|
|
765
|
+
Reading it needs `jq`, and that is a dependency of the verbs rather than of the
|
|
766
|
+
file: `lock.sh` declares it once, beside the wire format it is a fact about, and
|
|
767
|
+
each JSON-reading verb calls that declaration before its first read. So a machine
|
|
768
|
+
without `jq` is told which program is missing, instead of being told the package
|
|
769
|
+
has no version stamp or the manifest has an unknown schema — refusals that are
|
|
770
|
+
correct for the conditions they name and were never correct for this one.
|
|
678
771
|
|
|
679
772
|
The wire key is versioned (`checkwright-lock v1`, in `CHECKWRIGHT_LOCK_SCHEMA`)
|
|
680
773
|
and a build that meets a key it does not know refuses rather than guessing at
|
|
@@ -751,6 +844,17 @@ so `files` is bounded by the files `init` created that still exist, which is the
|
|
|
751
844
|
ownership set itself. What `init` never does is delete, so a path no release
|
|
752
845
|
ships any more stays on disk and stays yours to remove.
|
|
753
846
|
|
|
847
|
+
**"Nothing visited it on the run" is a claim about the whole run, so the
|
|
848
|
+
carry-forward is the last pass `init` makes before it stages.** Every path `init`
|
|
849
|
+
writes has to be on the written set by the time that pass runs, or it carries a
|
|
850
|
+
path `init` rewrote seconds earlier at a hash the run has already superseded — and
|
|
851
|
+
a carried path is not staged, so the file is left dirty *and* the roster records a
|
|
852
|
+
hash the run itself has replaced. Both halves reach past the worktree: `uninstall`
|
|
853
|
+
and `diff` read that hash to decide whether a path is still `init`'s, so a
|
|
854
|
+
superseded one reads to them as your edit. The generated projections are the ones
|
|
855
|
+
that can reach the pass from the wrong side, which is why `init` produces them
|
|
856
|
+
before it rather than after.
|
|
857
|
+
|
|
754
858
|
The hash carried forward is the one `init` wrote, not the one this payload would
|
|
755
859
|
have written. Either would protect the file, so protection does not decide it —
|
|
756
860
|
the **revert** does. Restore the file to what `init` put there and it is `init`'s
|
|
@@ -1029,6 +1133,47 @@ knob, a knob that suppressed a roster member would be a second, test-only
|
|
|
1029
1133
|
audience axis whose production behavior no adopter ever exercises, and a masked
|
|
1030
1134
|
`PATH` is what a machine with no Rust toolchain actually is.
|
|
1031
1135
|
|
|
1136
|
+
**The `jq`-less arm** asserts what a machine without `jq` is told. It drives
|
|
1137
|
+
`init` on a tree with no manifest — the case that used to surface as *this
|
|
1138
|
+
package carries no version stamp* — then makes an ordinary install and drives
|
|
1139
|
+
`init`, `diff` and `uninstall` against it with `jq` gone, the cases that used to
|
|
1140
|
+
surface as *carries a schema this build does not know*. Each must refuse, **name
|
|
1141
|
+
`jq`**, carry a `help:` line and exit 2. Naming the program is the whole
|
|
1142
|
+
assertion, and asserting the exit status alone would have been worthless: these
|
|
1143
|
+
verbs already exited 2 before the precondition existed, so a status-only arm
|
|
1144
|
+
would have passed against the very defect being fixed. `doctor` is asserted on
|
|
1145
|
+
the other side of the boundary, and the boundary is *reaching the diagnosis*
|
|
1146
|
+
rather than the exit code: it must render its below-contract verdict, name `jq`
|
|
1147
|
+
as missing in the toolchain block, **and** say `jq` is why the manifest could not
|
|
1148
|
+
be read. Exit 1 is the correct verdict there, and asserting exit 0 would have
|
|
1149
|
+
been asserting the opposite of the contract — `jq` is a floor member, so a
|
|
1150
|
+
machine without it is below contract and `doctor` is the verb that says so.
|
|
1151
|
+
|
|
1152
|
+
The gap that arm closes was total, and it is why this defect could be filed
|
|
1153
|
+
twice: the smoke's preflight requires `jq` and this harness reads every manifest
|
|
1154
|
+
assertion above with it, so nothing in this tree had ever exercised a `jq`-less
|
|
1155
|
+
install. **Masking is per-arm** here for a reason the other two masks do not
|
|
1156
|
+
have — a mask on the harness's own `PATH` would disarm the assertions rather
|
|
1157
|
+
than the installer, so the mask rides the verb's `PATH` alone and the preflight
|
|
1158
|
+
is unchanged.
|
|
1159
|
+
|
|
1160
|
+
**This mask is by absence, and that is a different instrument from the other
|
|
1161
|
+
two** — the distinction is which question is being asked, not a matter of taste,
|
|
1162
|
+
and it is written down because the failing-shim idiom is what a later reader will
|
|
1163
|
+
reach for. The Node-free and toolchain-free arms ask whether the payload ever
|
|
1164
|
+
*reaches* a program, so a shim that fails loudly and names itself is exactly the
|
|
1165
|
+
right tool. This arm asks what a machine *without* `jq` is told, and a shim is a
|
|
1166
|
+
`jq` that is present: `command -v jq` — the precondition's own predicate —
|
|
1167
|
+
resolves it, the precondition never fires, and the verbs run straight into the
|
|
1168
|
+
misdiagnosis the arm exists to catch. So the arm builds a directory of links to
|
|
1169
|
+
every program on `PATH` except `jq` and runs the verbs against that. It is
|
|
1170
|
+
derived from the live `PATH` rather than from a maintained list of the programs
|
|
1171
|
+
these verbs happen to use, so it cannot fall out of date the way such a list
|
|
1172
|
+
would, and the mask is proved in **both** directions: `jq` must resolve to
|
|
1173
|
+
nothing, and a control program must still resolve, since a farm that failed to
|
|
1174
|
+
populate would fail every verb for a reason that has nothing to do with `jq` and
|
|
1175
|
+
pass this arm on the wrong refusal.
|
|
1176
|
+
|
|
1032
1177
|
**The upgrade arm** drives a cross-version run, because every arm above installs
|
|
1033
1178
|
at one version and re-runs at that same one. It packs a second tarball a patch
|
|
1034
1179
|
version higher, installs `starter` from the first, has the adopter edit and
|
|
@@ -1071,6 +1216,23 @@ derived from the one packed before it and the arm refuses to run unless the
|
|
|
1071
1216
|
derivation is strictly higher, so neither hop can quietly turn into a second test
|
|
1072
1217
|
of the downgrade refusal.
|
|
1073
1218
|
|
|
1219
|
+
**The first hop's clean-worktree assertion carries a tripwire**, for the same
|
|
1220
|
+
reason the binary-less leg's disclosure count does: the assertion is evidence
|
|
1221
|
+
only over a hop that rewrote something. This arm's payload is artifact-free over
|
|
1222
|
+
the lattice minimum, and for as long as that kit set dispatched no member to the
|
|
1223
|
+
binary, `init` seeded no omission, the hop rewrote nothing beyond the manifest,
|
|
1224
|
+
and the assertion passed for a reason unrelated to correctness — which is how a
|
|
1225
|
+
defect leaving that very worktree dirty reached the tree under a green
|
|
1226
|
+
assertion. So the hop asserts a **non-zero** count of omission-declaring lines in
|
|
1227
|
+
the consumer's own registry *before* asserting the worktree is clean, reading the
|
|
1228
|
+
registry rather than the run's output because the registry is what a later run
|
|
1229
|
+
and a reviewer both read, and treating an absent registry as a count of zero
|
|
1230
|
+
rather than as a reason to abort. Its failure names the remedy — **re-scope the
|
|
1231
|
+
arm onto a profile whose kit set ships a member `init` seeds and dispatches to
|
|
1232
|
+
the binary, never drop the assertion.** Its scope is the first hop; the second
|
|
1233
|
+
hop's clean-worktree assertion carries no tripwire, and widening it is a separate
|
|
1234
|
+
judgment.
|
|
1235
|
+
|
|
1074
1236
|
**The seam arm** covers the two surfaces `init` rewrites on every run — a
|
|
1075
1237
|
`templates/*-config.sh` destination and gate-sdk's `msg-patterns.list` — which no
|
|
1076
1238
|
arm above reaches. That is not an oversight in those arms: the upgrade arm's
|
package/lib/common/lock.sh
CHANGED
|
@@ -9,6 +9,13 @@ lock_path() { # $1 = repo root -> the manifest's path within it
|
|
|
9
9
|
printf '%s/%s' "${1%/}" "$CHECKWRIGHT_LOCK_FILE"
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
# spec: installer/README.md §Requirements — the single declaration that this installer reads JSON with jq, living beside the wire format it is a fact about so four verbs do not grow four copies of it. Every verb that reads JSON calls this before its first read, never lazily inside an accessor: init reads the package's own version stamp before it touches any accessor here, and a lazy probe would let the first and most misleading refusal through. It refuses through the caller's own die(), so the verb prefix, the help: line and the exit code are the published idiom rather than a second one
|
|
13
|
+
lock_require_jq() { # -> 0 when jq is on PATH; otherwise refuses through the calling verb's die()
|
|
14
|
+
command -v jq >/dev/null 2>&1 && return 0
|
|
15
|
+
die "jq is not installed, and this installer reads its JSON with it" \
|
|
16
|
+
"install jq and re-run. Until it is on PATH nothing here can read $CHECKWRIGHT_LOCK_FILE or the package's own version stamp, so the tree can be neither checked nor changed."
|
|
17
|
+
}
|
|
18
|
+
|
|
12
19
|
lock_schema_ok() { # $1 = manifest path -> 0 iff .schema is the key this build knows
|
|
13
20
|
local got
|
|
14
21
|
got="$(jq -r 'if type == "object" then (.schema // "") else "" end' "$1" 2>/dev/null)" || return 1
|
package/lib/common/recipe.sh
CHANGED
|
@@ -93,7 +93,7 @@ recipe_seed() { # $1 = kit name, $2 = kit payload dir, $3 = consumer root; pri
|
|
|
93
93
|
mkdir -p "$root/.workflow" || return 1
|
|
94
94
|
[[ -f "$root/.workflow/WORKFLOW-STATE.txt" ]] && return 0
|
|
95
95
|
printf '%s\n' "# contract: lifecycle-kit/SPEC.md §check-stage-evidence" \
|
|
96
|
-
"# One data line per stage-skill invocation: <iteration> <stage> <session-id> <date>." \
|
|
96
|
+
"# One data line per stage-skill invocation: <iteration> <stage> <session-id> <date> <head>." \
|
|
97
97
|
"" "---" "" > "$root/.workflow/WORKFLOW-STATE.txt" || return 1
|
|
98
98
|
printf '%s\n' ".workflow/WORKFLOW-STATE.txt" ;;
|
|
99
99
|
doctrine-kit)
|
package/lib/diff.sh
CHANGED
|
@@ -30,6 +30,8 @@ ROOT="$(git rev-parse --show-toplevel 2>/dev/null)" \
|
|
|
30
30
|
LOCK="$(lock_path "$ROOT")"
|
|
31
31
|
[[ -f "$LOCK" ]] || die "no $CHECKWRIGHT_LOCK_FILE at $ROOT" \
|
|
32
32
|
"init is the verb that makes an install, and the manifest it writes is what diff compares against. Without one there is nothing here to compare."
|
|
33
|
+
# spec: installer/README.md §init — the jq preflight before the first JSON read, so the schema refusal below is reached only when the schema is actually the problem
|
|
34
|
+
lock_require_jq
|
|
33
35
|
lock_schema_ok "$LOCK" || die "$CHECKWRIGHT_LOCK_FILE carries a schema this build does not know" \
|
|
34
36
|
"this manifest was written by a different Checkwright release. Upgrade the installer rather than letting it guess at a shape it was not built for."
|
|
35
37
|
|
package/lib/init.sh
CHANGED
|
@@ -50,6 +50,9 @@ if (( ! DRY )) && (( DO_COMMIT )) && [[ -n "$(git -C "$ROOT" status --porcelain)
|
|
|
50
50
|
"init makes one commit, and a dirty tree would fold your work into it — so a reviewer's diff would no longer be the whole of what was vendored. Commit or stash first, or pass --no-commit to stage the vendoring yourself." 1
|
|
51
51
|
fi
|
|
52
52
|
|
|
53
|
+
# spec: installer/README.md §init — the jq preflight sits here rather than at the top of the file because here is where "before its first JSON read" falls: every precondition above is about the package or the repository and is answerable without jq, and every refusal below is one a jq-less machine would otherwise meet as a misdiagnosis
|
|
54
|
+
lock_require_jq
|
|
55
|
+
|
|
53
56
|
PKG="$INSTALLER/package.json"
|
|
54
57
|
VERSION="$(jq -r '.version // ""' "$PKG" 2>/dev/null)"
|
|
55
58
|
COMMIT="$(jq -r '.checkwright.commit // ""' "$PKG" 2>/dev/null)"
|
|
@@ -158,9 +161,12 @@ prior_hash() { # $1 = repo-relative path -> the hash the manifest recorded for
|
|
|
158
161
|
|
|
159
162
|
WRITTEN=()
|
|
160
163
|
declare -A CARRIED=()
|
|
164
|
+
# spec: installer/README.md §The manifest — membership in the written set is held as a key rather than re-derived by piping the list into a quiet grep: that grep exits on its first match while the writer is still writing, the writer takes SIGPIPE, and under the pipefail this file sets the pipeline's status becomes the signal instead of the match. The test then reads as "absent" for a path init wrote seconds earlier, which carries it forward at its prior hash and drops it from the staged set — and because a carried path is appended to the list, every later lookup starts further from the tail. The array is written where paths are recorded so the two cannot part company
|
|
165
|
+
declare -A IS_WRITTEN=()
|
|
161
166
|
# spec: installer/README.md §The manifest — a recorded hash is what init last wrote at that path, so an entry init did not write this run — because it refused the write, or because this payload no longer ships the path — carries its hash forward verbatim instead of letting manifest() hash the tree at emit time: hashing the tree there would file the adopter's own content as init's, and the next run would find cur == want, claim the path and overwrite it silently
|
|
162
167
|
record() { # $1 = repo-relative path, $2 = the hash to emit for it; omitted, the tree is hashed at emit time
|
|
163
168
|
WRITTEN+=("$1")
|
|
169
|
+
IS_WRITTEN["$1"]=1
|
|
164
170
|
[[ -n "${2:-}" ]] && CARRIED["$1"]="$2"
|
|
165
171
|
return 0
|
|
166
172
|
}
|
|
@@ -297,27 +303,20 @@ if [[ -n "$ARTIFACT_TARGET" ]]; then
|
|
|
297
303
|
} > "$ROOT/$SEAM.tmp" \
|
|
298
304
|
&& mv "$ROOT/$SEAM.tmp" "$ROOT/$SEAM" || die "could not write $SEAM"
|
|
299
305
|
fi
|
|
300
|
-
|
|
306
|
+
[[ -n "${IS_WRITTEN[$SEAM]:-}" ]] || record "$SEAM"
|
|
301
307
|
fi
|
|
302
308
|
fi
|
|
303
309
|
|
|
304
|
-
# spec: installer/README.md §The manifest — the roster's exit condition, and it is the whole rule: init owns a path because it wrote the file there, so ownership ends when the file leaves the tree and at no other moment. Dropping an entry would disown a file init created, and an uninstall reading this roster would then leave it behind. A payload that stops shipping a path is not that moment either — the file is still on disk, it may carry the adopter's edits, and disowning it is precisely what lets a later payload re-adding the same path write straight through them. So membership and existence are the only tests: every path this payload still ships has already reached claim(), which records it on the write and on the refusal alike, leaving exactly the paths no copy_in visited this run to reach here
|
|
305
|
-
if [[ -n "$PRIOR_FILES" ]]; then
|
|
306
|
-
while IFS=$'\t' read -r p h; do
|
|
307
|
-
[[ -n "$p" ]] || continue
|
|
308
|
-
printf '%s\n' "${WRITTEN[@]}" | grep -qxF "$p" && continue
|
|
309
|
-
[[ -f "$ROOT/$p" ]] || continue
|
|
310
|
-
record "$p" "$h"
|
|
311
|
-
done <<<"$PRIOR_FILES"
|
|
312
|
-
fi
|
|
313
|
-
|
|
314
310
|
# spec: installer/README.md §init — the generated projections are produced by the vendored tools themselves, never restated by the installer: the hook generator and the graph emitter are gate-sdk's, so a consumer's artifacts are the ones their own gate-sdk makes
|
|
315
311
|
GENERATED=("$GATES_DIR/git-hooks/pre-commit" "$GATES_DIR/CHECK-GRAPH.html")
|
|
316
312
|
if (( ! DRY )); then
|
|
317
313
|
( cd "$ROOT" && bash "$ROOT/gate-sdk/bin/gen-pre-commit.sh" --write ) >/dev/null \
|
|
318
314
|
|| die "gate-sdk's hook generator failed"
|
|
319
|
-
|
|
320
|
-
|
|
315
|
+
# spec: installer/README.md §The gate binary — the graph emitter is a binary arm, reached through the front-end that resolves its bridged knobs (gate-sdk/SPEC.md §The non-gate arm). It runs exactly when an artifact was selected, because a payload that omitted the binary has written the graph gate into gates.list as an omission and the consumer therefore has no graph gate for this artifact to be fresh against — and because omission must never fail an install over something the adopter did not choose. The roster loop below already tolerates a generated file that was not produced.
|
|
316
|
+
if [[ -n "$ARTIFACT_TARGET" ]]; then
|
|
317
|
+
( cd "$ROOT" && bash "$ROOT/gate-sdk/bin/run-gates.sh" --emit graph ) > "$ROOT/$GATES_DIR/CHECK-GRAPH.html" \
|
|
318
|
+
|| die "gate-sdk's graph emitter failed"
|
|
319
|
+
fi
|
|
321
320
|
fi
|
|
322
321
|
[[ -f "$ROOT/$GATES_DIR/git-hooks/commit-msg" ]] && GENERATED+=("$GATES_DIR/git-hooks/commit-msg")
|
|
323
322
|
for g in "${GENERATED[@]}"; do
|
|
@@ -325,6 +324,16 @@ for g in "${GENERATED[@]}"; do
|
|
|
325
324
|
record "$g"
|
|
326
325
|
done
|
|
327
326
|
|
|
327
|
+
# spec: installer/README.md §The manifest — the roster's exit condition, and it is the whole rule: init owns a path because it wrote the file there, so ownership ends when the file leaves the tree and at no other moment. Dropping an entry would disown a file init created, and an uninstall reading this roster would then leave it behind. A payload that stops shipping a path is not that moment either — the file is still on disk, it may carry the adopter's edits, and disowning it is precisely what lets a later payload re-adding the same path write straight through them. So membership and existence are the only tests: every path this payload still ships has already reached claim(), which records it on the write and on the refusal alike, leaving exactly the paths no copy_in visited this run to reach here — and "this run" is why the loop is last rather than merely late: every path init writes must already be recorded when it runs, or the loop carries a path init rewrote seconds earlier at its superseded hash and the staged set loses it. The generated projections above are the ones that reached it from the wrong side
|
|
328
|
+
if [[ -n "$PRIOR_FILES" ]]; then
|
|
329
|
+
while IFS=$'\t' read -r p h; do
|
|
330
|
+
[[ -n "$p" ]] || continue
|
|
331
|
+
[[ -n "${IS_WRITTEN[$p]:-}" ]] && continue
|
|
332
|
+
[[ -f "$ROOT/$p" ]] || continue
|
|
333
|
+
record "$p" "$h"
|
|
334
|
+
done <<<"$PRIOR_FILES"
|
|
335
|
+
fi
|
|
336
|
+
|
|
328
337
|
# spec: installer/README.md §The manifest — what init wrote this run is a subset of the roster it records, because a path left alone for the adopter and a path this payload no longer ships are both carried forward rather than written; the two part company here so every reader downstream takes the one it means, and staging takes the written set: folding an adopter's file into the vendoring commit is what the clean-worktree precondition exists to prevent
|
|
329
338
|
STAGE=()
|
|
330
339
|
for f in "${WRITTEN[@]}"; do [[ -n "${CARRIED[$f]:-}" ]] || STAGE+=("$f"); done
|
|
@@ -339,7 +348,9 @@ files_hash() { # $1 = repo-relative path -> the hash its files[] entry carries
|
|
|
339
348
|
manifest() {
|
|
340
349
|
local f
|
|
341
350
|
# spec: installer/README.md §The manifest — the binary is neither vendored nor generated, so it joins as its own key rather than a files[] row: a files[] entry means hashed with git hash-object and rewritten when unmodified, and this one is hashed with SHA-256 against a published value and rewritten on a different rule. Its absence on a run that omitted the artifact is the omission's machine-readable form, which is why the flag is passed only when a target was selected
|
|
342
|
-
local -a args=(version="$VERSION"
|
|
351
|
+
local -a args=(version="$VERSION" profile="$PROFILE" kits="${KITS[*]}")
|
|
352
|
+
# spec: installer/README.md §The manifest — commit is passed on the same conditional footing as the artifact key, for the reason lock_emit already states: an identity field is present exactly when the caller supplied it, and an empty commit written as "" would be a placeholder standing in for an omission. Its emptiness was masked by statement order alone until the jq preflight landed ahead of it; with jq's absence ruled out, an empty commit means only that the package carries no commit stamp, and the existing rule settles what to do about it
|
|
353
|
+
[[ -n "$COMMIT" ]] && args+=(commit="$COMMIT")
|
|
343
354
|
[[ -n "$ARTIFACT_TARGET" ]] && args+=(--artifact "$ARTIFACT_TARGET" "$ARTIFACT_DIGEST")
|
|
344
355
|
for f in "${WRITTEN[@]}"; do
|
|
345
356
|
printf '%s\t%s\n' "$f" "$(files_hash "$f")"
|
|
@@ -380,9 +391,22 @@ fi
|
|
|
380
391
|
|
|
381
392
|
git -C "$ROOT" add -- "${STAGE[@]}" || die "could not stage the vendored files"
|
|
382
393
|
|
|
383
|
-
# spec: installer/README.md §init — idempotence is a property of the tree, so a re-run that changed nothing reports and exits clean rather than failing on an empty commit: "nothing to do" is the success case, not an error
|
|
394
|
+
# spec: installer/README.md §init — idempotence is a property of the tree, so a re-run that changed nothing reports and exits clean rather than failing on an empty commit: "nothing to do" is the success case, not an error. The predicate reads the index rather than the worktree and it stays the guard on whether a commit is attempted, because a commit against an empty index exits non-zero and init treats a failed commit as a fatal install failure — an arm placed ahead of this branch would turn the pure idempotent path into a false hard error
|
|
384
395
|
if git -C "$ROOT" diff --cached --quiet; then
|
|
385
|
-
|
|
396
|
+
# spec: installer/README.md §init — a run init considers a no-op still commits what it rewrote, so this branch asks what the predicate above cannot: whether anything on the roster init just recorded differs from the committed tree. The clean-worktree precondition is what makes the answer attributable — nothing dirty at those paths can be the adopter's — and --no-commit is exempt because it waives that precondition and hands the commit over. The expected answer is "nothing", at the cost of one status call; the arm is here so the one-commit contract survives the staged set failing to cover what init wrote rather than resting on the assumption that it never will, and the inner index check is what keeps that survival from becoming the empty commit the paragraph above rules out
|
|
397
|
+
if (( DO_COMMIT )) && [[ -n "$(git -C "$ROOT" status --porcelain -- "${WRITTEN[@]}")" ]]; then
|
|
398
|
+
git -C "$ROOT" add -- "${WRITTEN[@]}" \
|
|
399
|
+
|| die "could not stage the files init rewrote but left out of the vendoring commit"
|
|
400
|
+
if ! git -C "$ROOT" diff --cached --quiet; then
|
|
401
|
+
residue="$(git -C "$ROOT" diff --cached --name-only | grep -c .)"
|
|
402
|
+
git -C "$ROOT" commit -q -m "chore: vendor Checkwright kits ($PROFILE profile, v$VERSION)" \
|
|
403
|
+
|| die "the commit failed — the files are staged; commit them yourself to finish the install" "" 1
|
|
404
|
+
printf 'INIT: already at the %s profile (v%s) — %d file(s) checked; %d that init had rewritten were uncommitted and are now committed.\n' \
|
|
405
|
+
"$PROFILE" "$VERSION" "${#WRITTEN[@]}" "$residue"
|
|
406
|
+
exit 0
|
|
407
|
+
fi
|
|
408
|
+
fi
|
|
409
|
+
printf 'INIT: already at the %s profile (v%s) — %d file(s) checked, nothing to change and nothing it rewrote left uncommitted.\n' \
|
|
386
410
|
"$PROFILE" "$VERSION" "${#WRITTEN[@]}"
|
|
387
411
|
exit 0
|
|
388
412
|
fi
|
package/lib/uninstall.sh
CHANGED
|
@@ -39,6 +39,8 @@ ROOT="$(git rev-parse --show-toplevel 2>/dev/null)" \
|
|
|
39
39
|
LOCK="$(lock_path "$ROOT")"
|
|
40
40
|
[[ -f "$LOCK" ]] || die "no $CHECKWRIGHT_LOCK_FILE at $ROOT" \
|
|
41
41
|
"init is the verb that makes an install, and the manifest it writes is the only record of which files are this installer's to remove. Without one there is nothing here to reverse."
|
|
42
|
+
# spec: installer/README.md §init — the jq preflight before the first JSON read, so the schema refusal below is reached only when the schema is actually the problem
|
|
43
|
+
lock_require_jq
|
|
42
44
|
lock_schema_ok "$LOCK" || die "$CHECKWRIGHT_LOCK_FILE carries a schema this build does not know" \
|
|
43
45
|
"this manifest was written by a different Checkwright release. Upgrade the installer rather than letting it guess at a shape it was not built for."
|
|
44
46
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "checkwright",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Vendors pinned Checkwright kit source into your repository and commits it — a coding-agent-assisted delivery methodology (gate SDK, evidence-stamped lifecycle, agent context economics).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"README.md"
|
|
20
20
|
],
|
|
21
21
|
"checkwright": {
|
|
22
|
-
"commit": "
|
|
22
|
+
"commit": "b5629b333379de6d4ca7d5d0cdaee7c187a58a23"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ce155e6bb76a8365cdbded00d65a428e52aa848d17722fc8fe01df4b1de57889 checkwright-gates
|
|
@@ -26,6 +26,7 @@ reads the tag syntax [queue-kit](../queue-kit/) defines.
|
|
|
26
26
|
<!-- gate-roster:begin -->
|
|
27
27
|
```
|
|
28
28
|
check-amendment-queue # needs a task queue
|
|
29
|
+
check-amendment-update-target # every update target cites a delta the amendment defines
|
|
29
30
|
check-spec-dod-singleton # needs canonical specs
|
|
30
31
|
check-spec-derivable-section # needs canonical specs
|
|
31
32
|
check-spec-embedded-source # needs canonical specs + tracked source
|
|
@@ -38,6 +39,7 @@ reads the tag syntax [queue-kit](../queue-kit/) defines.
|
|
|
38
39
|
check-knob-default-coupling # source knob defaults agree with the owning SPEC
|
|
39
40
|
check-manifest-count # no bare cardinal over a governed collection
|
|
40
41
|
check-measured-claim # needs a measured-claim oracle (marked claims re-measured)
|
|
42
|
+
check-unmarked-claim # needs a claim-class roster (a declared class carries a marker)
|
|
41
43
|
check-manifest-temporal # no temporal narration in manifest prose
|
|
42
44
|
check-tracking-claim # a path's tracking status in prose agrees with git
|
|
43
45
|
check-prose-enum # partial enumeration of a governed set
|