checkwright 0.22.0 → 0.24.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 +855 -96
- package/lib/common/lock.sh +45 -9
- package/lib/common/profile.sh +33 -0
- package/lib/common/recipe.sh +50 -34
- package/lib/diff.sh +66 -0
- package/lib/doctor.sh +67 -42
- package/lib/init.sh +62 -46
- package/lib/uninstall.sh +214 -0
- package/lib/update.sh +34 -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 +1 -0
- package/payload/canon-kit/SPEC.md +527 -63
- package/payload/canon-kit/checks/check-amendment-queue.gate +3 -0
- package/payload/canon-kit/checks/check-comment-tier.gate +3 -0
- package/payload/canon-kit/checks/check-deprecation-task.gate +3 -0
- package/payload/canon-kit/checks/check-docs-cmd.gate +3 -0
- package/payload/canon-kit/checks/check-docs-link-convention.gate +3 -0
- package/payload/canon-kit/checks/check-install-claim.gate +3 -0
- package/payload/canon-kit/checks/check-knob-citation.gate +3 -0
- package/payload/canon-kit/checks/check-knob-default-coupling.gate +3 -0
- package/payload/canon-kit/checks/check-manifest-count.gate +3 -0
- package/payload/canon-kit/checks/check-manifest-temporal.gate +3 -0
- package/payload/canon-kit/checks/check-md-refs.gate +3 -0
- package/payload/canon-kit/checks/check-measured-claim.gate +3 -0
- package/payload/canon-kit/checks/check-payload-claim.gate +3 -0
- package/payload/canon-kit/checks/check-prose-enum.gate +3 -0
- package/payload/canon-kit/checks/check-prose-tells.gate +3 -0
- package/payload/canon-kit/checks/check-spec-derivable-section.gate +3 -0
- package/payload/canon-kit/checks/check-spec-dod-singleton.gate +3 -0
- package/payload/canon-kit/checks/check-spec-embedded-source.gate +3 -0
- package/payload/canon-kit/checks/check-spec-fence-balance.gate +3 -0
- package/payload/canon-kit/checks/check-spec-pointer.gate +3 -0
- package/payload/canon-kit/checks/check-surface-duplication.sh +1 -0
- package/payload/canon-kit/checks/check-todo-task-liveness.gate +3 -0
- package/payload/canon-kit/checks/check-tracking-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-comment-tier/bad/.workflow/fixture-state.txt +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.gate +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.rs +5 -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 +5 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/bad/templates/bad-tmpl.sh +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.gate +4 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.rs +5 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/good.sh +3 -0
- package/payload/canon-kit/gate-tests/check-comment-tier/good/templates/good-tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-comment-tier.test.sh +3 -2
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/bad.gate +2 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/bad.rs +4 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.sh +6 -5
- package/payload/canon-kit/gate-tests/check-deprecation-task/bad/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/good.rs +4 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.sh +6 -5
- package/payload/canon-kit/gate-tests/check-deprecation-task/good/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-deprecation-task.test.sh +4 -3
- package/payload/canon-kit/gate-tests/check-docs-link-convention.test.sh +4 -4
- package/payload/canon-kit/gate-tests/check-knob-citation.test.sh +2 -2
- package/payload/canon-kit/gate-tests/check-knob-default-coupling.test.sh +2 -2
- package/payload/canon-kit/gate-tests/check-manifest-count/good/SPEC.md +4 -0
- package/payload/canon-kit/gate-tests/check-manifest-count.test.sh +27 -5
- package/payload/canon-kit/gate-tests/check-md-refs.test.sh +61 -9
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/SPEC.md +12 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/bad/scripts/canon-config.sh +6 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/SPEC.md +23 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/expect.txt +1 -0
- package/payload/canon-kit/gate-tests/check-measured-claim/good/scripts/canon-config.sh +6 -0
- package/payload/canon-kit/gate-tests/check-measured-claim.test.sh +90 -0
- package/payload/canon-kit/gate-tests/check-prose-enum.test.sh +3 -3
- package/payload/canon-kit/gate-tests/check-spec-dod-singleton.test.sh +21 -7
- 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-spec-pointer/bad/.workflow/fixture-state.txt +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.gate +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.rs +4 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/bad/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/.workflow/fixture-state.txt +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.rs +4 -0
- package/payload/canon-kit/gate-tests/check-spec-pointer/good/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/bad.gate +2 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/bad.rs +4 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/expect.txt +3 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/.workflow/fixture-state.txt +3 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/expect.txt +1 -1
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/good.gate +2 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/good.rs +4 -0
- package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/templates/tmpl.sh +5 -0
- package/payload/canon-kit/gate-tests/check-tracking-claim.test.sh +1 -2
- package/payload/canon-kit/lib/spec.sh +91 -62
- package/payload/canon-kit/smoke/install.sh +2 -1
- package/payload/canon-kit/templates/SPEC-amendment.md +4 -1
- package/payload/context-kit/README.md +10 -5
- package/payload/context-kit/SPEC.md +364 -62
- package/payload/context-kit/bin/always-loaded.sh +5 -21
- package/payload/context-kit/bin/env-probe.sh +21 -23
- 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-paths/bad/expect.txt +3 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/settings.json +12 -0
- package/payload/context-kit/gate-tests/check-settings-paths/bad/tools/real-tool.sh +4 -0
- package/payload/context-kit/gate-tests/check-settings-paths/good/expect.txt +1 -0
- 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/real-tool.sh +4 -0
- package/payload/context-kit/gate-tests/check-settings-pins.test.sh +70 -0
- package/payload/context-kit/index-tests/expected/toolfloor.txt +9 -0
- package/payload/context-kit/index-tests/toolfloor-cases.sh +20 -0
- package/payload/context-kit/lib/context.sh +56 -0
- package/payload/context-kit/lib/toolfloor.sh +15 -4
- package/payload/context-kit/smoke/agents-md.sh +27 -4
- package/payload/context-kit/smoke/install.sh +4 -2
- package/payload/context-kit/templates/session-context.sh +5 -5
- package/payload/delegation-kit/README.md +3 -3
- package/payload/delegation-kit/SPEC.md +400 -22
- 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/smoke/install.sh +1 -1
- package/payload/delegation-kit/templates/agent-execution.md +109 -18
- package/payload/delegation-kit/templates/statusline-usage.sh +23 -1
- package/payload/doctrine-kit/DOCTRINE.md +86 -12
- package/payload/doctrine-kit/README.md +7 -3
- package/payload/doctrine-kit/SPEC.md +103 -10
- package/payload/doctrine-kit/bin/install-doctrine.sh +83 -13
- package/payload/doctrine-kit/checks/check-doctrine-registration.gate +3 -0
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration/bad/DOCTRINE.md +3 -0
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration/good/DOCTRINE.md +3 -0
- package/payload/doctrine-kit/gate-tests/check-doctrine-registration.test.sh +84 -5
- package/payload/doctrine-kit/smoke/install.sh +106 -3
- package/payload/drift-kit/README.md +2 -2
- package/payload/drift-kit/SPEC.md +84 -11
- package/payload/drift-kit/bin/kfric.sh +21 -2
- 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 +49 -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 +43 -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 +23 -7
- package/payload/gate-sdk/SPEC.md +6402 -291
- package/payload/gate-sdk/bin/build-native.sh +38 -0
- package/payload/gate-sdk/bin/gen-pre-commit.sh +23 -3
- package/payload/gate-sdk/bin/install-hooks.sh +14 -2
- package/payload/gate-sdk/bin/port-blockers.sh +473 -0
- package/payload/gate-sdk/bin/run-consumer-smoke.sh +8 -1
- package/payload/gate-sdk/bin/run-gate-tests.sh +27 -7
- package/payload/gate-sdk/bin/run-gates.sh +30 -2
- package/payload/gate-sdk/bin/upgrade-smoke.sh +70 -17
- package/payload/gate-sdk/checks/check-action-gh-repo.gate +1 -0
- package/payload/gate-sdk/checks/check-action-pinning.gate +1 -0
- package/payload/gate-sdk/checks/check-action-run-shell.sh +2 -0
- package/payload/gate-sdk/checks/check-assertion-strength.gate +3 -0
- 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 +62 -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.sh +32 -6
- 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 +109 -14
- 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 +93 -0
- package/payload/gate-sdk/checks/check-kit-enum.gate +3 -0
- package/payload/gate-sdk/checks/check-kit-registration.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 +2 -0
- package/payload/gate-sdk/checks/check-smoke-entry-guard.gate +3 -0
- package/payload/gate-sdk/checks/check-template-copy-parity.gate +3 -0
- package/payload/gate-sdk/checks/check-template-registry-parity.gate +3 -0
- package/payload/gate-sdk/checks/check-test-hermetic.gate +3 -0
- package/payload/gate-sdk/checks/check-tree-terms.sh +2 -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-crate-arms/bad/crate/Cargo.toml +7 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/src/lib.rs +12 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/expect.txt +5 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.sh +2 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/Cargo.toml +7 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/src/lib.rs +11 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/expect.txt +2 -0
- package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.sh +2 -0
- 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/good/expect.txt +1 -1
- 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/bad/check-native-sample.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/expect.txt +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/native/Cargo.toml +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/bad/native/src/gates/native_sample.rs +7 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/check-native-sample.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/expect.txt +1 -1
- package/payload/gate-sdk/gate-tests/check-gate-output/good/gates.list +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/native/Cargo.toml +4 -0
- package/payload/gate-sdk/gate-tests/check-gate-output/good/native/src/gates/native_sample.rs +11 -0
- package/payload/gate-sdk/gate-tests/check-gate-output.test.sh +110 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/expect.txt +7 -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-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/gates.list +4 -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-alpha.sh +1 -0
- package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-held.sh +4 -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 +110 -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-install-disposition/bad/alpha-kit/checks/check-alpha.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-delta.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-epsilon.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/smoke/install.sh +7 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/args +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/installer/lib/common/recipe.sh +9 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/bad/scripts/gate-sdk-config.sh +5 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-alpha.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-beta.gate +3 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-gamma.sh +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/smoke/install.sh +8 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/args +6 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/expect.txt +1 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/installer/lib/common/recipe.sh +10 -0
- package/payload/gate-sdk/gate-tests/check-install-disposition/good/scripts/gate-sdk-config.sh +5 -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-kit-registration.test.sh +6 -5
- 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-test-hermetic-smoke.test.sh +2 -3
- 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 +204 -1
- package/payload/gate-sdk/gate-tests/run-dispatch-streams.test.sh +73 -0
- package/payload/gate-sdk/lib/consumer-smoke.sh +24 -12
- package/payload/gate-sdk/lib/gate.sh +353 -22
- package/payload/gate-sdk/lib/inject.sh +25 -0
- package/payload/gate-sdk/lib/test-hermetic.sh +26 -0
- package/payload/gate-sdk/smoke/install.sh +47 -1
- package/payload/guard-kit/README.md +14 -11
- package/payload/guard-kit/SPEC.md +477 -82
- package/payload/guard-kit/bin/run-guard-tests.sh +7 -1
- package/payload/guard-kit/gate-tests/git-mutation-under-producer.test.sh +105 -0
- package/payload/guard-kit/gate-tests/guard-read-path.test.sh +52 -0
- package/payload/guard-kit/guard-tests/cases.tsv +84 -14
- package/payload/guard-kit/lib/guard.sh +440 -54
- package/payload/guard-kit/templates/close-triage.md +5 -5
- package/payload/guard-kit/templates/settings-hooks.json +7 -1
- package/payload/lifecycle-kit/README.md +14 -3
- package/payload/lifecycle-kit/SPEC.md +929 -93
- package/payload/lifecycle-kit/bin/cite-survey.sh +81 -0
- package/payload/lifecycle-kit/bin/enter-stage.sh +193 -38
- package/payload/lifecycle-kit/bin/file-gap.sh +29 -12
- package/payload/lifecycle-kit/bin/file-survey.sh +21 -2
- package/payload/lifecycle-kit/checks/check-close-surfaces.gate +3 -0
- package/payload/lifecycle-kit/checks/check-gap-inbox-neutrality.gate +3 -0
- package/payload/lifecycle-kit/checks/check-lesson-disposition.gate +3 -0
- package/payload/lifecycle-kit/checks/check-lifecycle-registration.gate +3 -0
- package/payload/lifecycle-kit/checks/check-merge-attrs.gate +3 -0
- package/payload/lifecycle-kit/checks/check-scratch-citation.gate +3 -0
- package/payload/lifecycle-kit/checks/check-shim-restatement.gate +3 -0
- package/payload/lifecycle-kit/checks/check-skill-binding.gate +3 -0
- package/payload/lifecycle-kit/checks/check-stage-entry.gate +3 -0
- package/payload/lifecycle-kit/checks/check-stage-evidence.gate +3 -0
- package/payload/lifecycle-kit/checks/check-stage-skill-coverage.gate +3 -0
- package/payload/lifecycle-kit/checks/check-survey-record.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 +2 -3
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/expect.txt +3 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/gap-inbox.md +5 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/args +2 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/gap-inbox.md +4 -0
- package/payload/lifecycle-kit/gate-tests/check-lesson-disposition.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-lifecycle-registration.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-merge-attrs.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/scripts/lifecycle-config.sh +4 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/surfaces/queue.md +13 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/expect.txt +1 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/scripts/lifecycle-config.sh +4 -0
- package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/surfaces/queue.md +31 -0
- package/payload/lifecycle-kit/gate-tests/check-shim-restatement.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/check-skill-binding.test.sh +2 -3
- 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 +24 -25
- 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 +129 -15
- package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +2 -3
- package/payload/lifecycle-kit/gate-tests/file-gap-recurrence.test.sh +54 -26
- package/payload/lifecycle-kit/gate-tests/gap-inbox-route.test.sh +123 -0
- package/payload/lifecycle-kit/gate-tests/rename-iteration.test.sh +142 -0
- package/payload/lifecycle-kit/gate-tests/survey-record-entry.test.sh +16 -5
- package/payload/lifecycle-kit/gate-tests/workflow-state-guard.test.sh +100 -0
- package/payload/lifecycle-kit/lib/stages.sh +9 -0
- package/payload/lifecycle-kit/smoke/install.sh +96 -19
- package/payload/lifecycle-kit/templates/lead.md +60 -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 +48 -15
- package/payload/lifecycle-kit/templates/stages/scope.md +29 -5
- package/payload/lifecycle-kit/templates/stages/spec.md +6 -2
- package/payload/lifecycle-kit/templates/stages/validate.md +1 -1
- package/payload/lifecycle-kit/templates/workflow-state-guard.sh +29 -0
- package/payload/queue-kit/README.md +12 -10
- package/payload/queue-kit/SPEC.md +411 -74
- package/payload/queue-kit/bin/queue-counts.sh +35 -0
- package/payload/queue-kit/checks/check-queue-entry-budget.gate +3 -0
- package/payload/queue-kit/checks/check-queue-hygiene.gate +3 -0
- package/payload/queue-kit/checks/check-queue-prose-precondition.gate +3 -0
- package/payload/queue-kit/checks/check-queue-sections.gate +3 -0
- package/payload/queue-kit/checks/check-queue-slug-liveness.gate +3 -0
- package/payload/queue-kit/checks/check-queue-wrap.gate +3 -0
- package/payload/queue-kit/checks/check-roadmap-fresh.gate +3 -0
- package/payload/queue-kit/checks/check-tag-lead-line.gate +3 -0
- package/payload/queue-kit/checks/check-task-conservation.gate +4 -0
- package/payload/queue-kit/checks/check-task-names.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 +116 -0
- package/payload/queue-kit/gate-tests/queue-index.test.sh +55 -119
- package/payload/queue-kit/gate-tests/queue-lib-parity.test.sh +215 -0
- package/payload/queue-kit/gate-tests/roadmap.test.sh +22 -12
- package/payload/queue-kit/lib/queue.sh +4 -68
- package/payload/queue-kit/smoke/install.sh +1 -1
- package/payload/site-kit/SPEC.md +52 -2
- package/payload/site-kit/checks/check-docs-cname-parity.gate +3 -0
- package/payload/site-kit/checks/check-docs-render-fidelity.sh +2 -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/profiles.list +36 -8
- package/payload/canon-kit/checks/check-amendment-queue.sh +0 -116
- package/payload/canon-kit/checks/check-comment-tier.sh +0 -216
- package/payload/canon-kit/checks/check-deprecation-task.sh +0 -90
- package/payload/canon-kit/checks/check-docs-cmd.sh +0 -153
- package/payload/canon-kit/checks/check-docs-link-convention.sh +0 -78
- package/payload/canon-kit/checks/check-install-claim.sh +0 -146
- package/payload/canon-kit/checks/check-knob-citation.sh +0 -117
- package/payload/canon-kit/checks/check-knob-default-coupling.sh +0 -239
- package/payload/canon-kit/checks/check-manifest-count.sh +0 -46
- package/payload/canon-kit/checks/check-manifest-temporal.sh +0 -83
- package/payload/canon-kit/checks/check-md-refs.sh +0 -128
- package/payload/canon-kit/checks/check-payload-claim.sh +0 -133
- package/payload/canon-kit/checks/check-prose-enum.sh +0 -115
- package/payload/canon-kit/checks/check-prose-tells.sh +0 -207
- package/payload/canon-kit/checks/check-spec-derivable-section.sh +0 -69
- package/payload/canon-kit/checks/check-spec-dod-singleton.sh +0 -45
- package/payload/canon-kit/checks/check-spec-embedded-source.sh +0 -133
- package/payload/canon-kit/checks/check-spec-fence-balance.sh +0 -42
- package/payload/canon-kit/checks/check-spec-pointer.sh +0 -187
- package/payload/canon-kit/checks/check-todo-task-liveness.sh +0 -80
- package/payload/canon-kit/checks/check-tracking-claim.sh +0 -136
- package/payload/context-kit/bin/footprint.sh +0 -144
- package/payload/context-kit/checks/check-brevity.sh +0 -123
- package/payload/context-kit/checks/check-footprint-fresh.sh +0 -38
- package/payload/context-kit/checks/check-memory-off.sh +0 -112
- package/payload/context-kit/checks/check-settings-pins.sh +0 -110
- package/payload/delegation-kit/checks/check-agent-tier-explicit.sh +0 -61
- package/payload/delegation-kit/checks/check-gate-tamper.sh +0 -139
- package/payload/delegation-kit/checks/check-rule-citation.sh +0 -76
- package/payload/doctrine-kit/checks/check-doctrine-registration.sh +0 -216
- package/payload/drift-kit/bin/trajectory.sh +0 -242
- package/payload/evidence-kit/checks/check-battery-roster.sh +0 -86
- package/payload/evidence-kit/checks/check-evidence-baseline.sh +0 -103
- package/payload/evidence-kit/checks/check-evidence-manifest.sh +0 -104
- 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 -272
- package/payload/gate-sdk/checks/check-assertion-strength.sh +0 -134
- package/payload/gate-sdk/checks/check-commit-msg.sh +0 -50
- package/payload/gate-sdk/checks/check-commit-subject.sh +0 -43
- package/payload/gate-sdk/checks/check-core-files.sh +0 -75
- package/payload/gate-sdk/checks/check-enforcement-fresh.sh +0 -37
- package/payload/gate-sdk/checks/check-exec-bit.sh +0 -95
- package/payload/gate-sdk/checks/check-gate-binary-fresh.sh +0 -106
- package/payload/gate-sdk/checks/check-gate-exemption-tasks.sh +0 -105
- package/payload/gate-sdk/checks/check-gate-fail-closed.sh +0 -84
- package/payload/gate-sdk/checks/check-gate-fixture-coverage.sh +0 -92
- package/payload/gate-sdk/checks/check-gate-output.sh +0 -73
- package/payload/gate-sdk/checks/check-graph.sh +0 -631
- package/payload/gate-sdk/checks/check-hook-exec-bit.sh +0 -45
- package/payload/gate-sdk/checks/check-identity.sh +0 -134
- package/payload/gate-sdk/checks/check-kit-enum.sh +0 -94
- package/payload/gate-sdk/checks/check-kit-registration.sh +0 -68
- package/payload/gate-sdk/checks/check-readme-roster.sh +0 -107
- package/payload/gate-sdk/checks/check-reads-couples.sh +0 -199
- package/payload/gate-sdk/checks/check-root-tiering.sh +0 -66
- package/payload/gate-sdk/checks/check-smoke-entry-guard.sh +0 -53
- package/payload/gate-sdk/checks/check-template-copy-parity.sh +0 -126
- package/payload/gate-sdk/checks/check-template-registry-parity.sh +0 -81
- package/payload/gate-sdk/checks/check-test-hermetic.sh +0 -119
- package/payload/gate-sdk/checks/check-workflow-tiering.sh +0 -84
- 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 -63
- package/payload/lifecycle-kit/checks/check-lesson-disposition.sh +0 -98
- package/payload/lifecycle-kit/checks/check-lifecycle-registration.sh +0 -54
- package/payload/lifecycle-kit/checks/check-merge-attrs.sh +0 -69
- package/payload/lifecycle-kit/checks/check-shim-restatement.sh +0 -97
- package/payload/lifecycle-kit/checks/check-skill-binding.sh +0 -59
- package/payload/lifecycle-kit/checks/check-stage-entry.sh +0 -197
- package/payload/lifecycle-kit/checks/check-stage-evidence.sh +0 -81
- package/payload/lifecycle-kit/checks/check-stage-skill-coverage.sh +0 -47
- package/payload/lifecycle-kit/checks/check-survey-record.sh +0 -102
- 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-entry-budget.sh +0 -106
- package/payload/queue-kit/checks/check-queue-hygiene.sh +0 -81
- package/payload/queue-kit/checks/check-queue-prose-precondition.sh +0 -63
- package/payload/queue-kit/checks/check-queue-sections.sh +0 -44
- package/payload/queue-kit/checks/check-queue-slug-liveness.sh +0 -63
- package/payload/queue-kit/checks/check-queue-wrap.sh +0 -56
- package/payload/queue-kit/checks/check-roadmap-fresh.sh +0 -110
- package/payload/queue-kit/checks/check-tag-lead-line.sh +0 -70
- package/payload/queue-kit/checks/check-task-conservation.sh +0 -50
- package/payload/queue-kit/checks/check-task-names.sh +0 -128
- package/payload/site-kit/checks/check-docs-cname-parity.sh +0 -80
- /package/payload/context-kit/gate-tests/{check-memory-off → check-settings-paths}/bad/args +0 -0
- /package/payload/context-kit/gate-tests/{check-memory-off → check-settings-paths}/good/args +0 -0
- /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
|
@@ -41,10 +41,61 @@ drift: do not delete it on sight, and when either rule changes here, propagate.
|
|
|
41
41
|
ending the turn to wait for the completion notification — that is the one act
|
|
42
42
|
that revokes the channel, which is how a *careful* reader reaches this
|
|
43
43
|
failure. Wait **in-turn on a condition** instead: loop on the work's own
|
|
44
|
-
artifact (evidence file, lock, exit marker)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
artifact (evidence file, lock, exit marker). Never-poll governs waiting on an
|
|
45
|
+
`Agent`'s completion notification, a channel a supervisor has;
|
|
46
|
+
condition-waiting is the only one a dispatched role has.
|
|
47
|
+
**Which primitive — the one whose wait ends when the condition goes true, not
|
|
48
|
+
when a duration expires.** The harness offers two forms with opposite
|
|
49
|
+
reactivity, and the difference is exactly the wall-clock property this rule
|
|
50
|
+
exists to buy. **Background a command that *exits* on the condition** — a
|
|
51
|
+
`run_in_background` shell command wrapping `until <cond>; do sleep N; done` —
|
|
52
|
+
and it fires one notification the moment the condition holds, then ends: that
|
|
53
|
+
is the sanctioned form. The harness's **event-stream form**, armed with a
|
|
54
|
+
command and a deadline, emits one event per occurrence and **stays armed to
|
|
55
|
+
its deadline even after the event fires**, so used for a single completion it
|
|
56
|
+
converts a wait that should end in seconds into one that ends at the timeout —
|
|
57
|
+
the wrong tool for a completion, and named here because a reader told only
|
|
58
|
+
about the first form reaches for this one the next time the shape looks close.
|
|
59
|
+
Never a bare foreground `sleep`, which ends on neither.
|
|
60
|
+
**What you wait *on* splits two ways, and the split is what makes the artifact
|
|
61
|
+
reachable.** An **`Agent` dispatch** is awaited by its **completion
|
|
62
|
+
notification** — that record is the harness's, not the session's — so never go
|
|
63
|
+
looking for it on disk. A **shell child** has no notification channel of its
|
|
64
|
+
own, so it is awaited on an artifact *the session placed*, and that artifact is
|
|
65
|
+
named: **record the child's PID at launch**, one line in the form
|
|
66
|
+
`pid=<n> run=<key>`, in a file named **`<key>.run`** — the same `<key>`, so the
|
|
67
|
+
name carries no field the line does not — written where the **Resume journal —
|
|
68
|
+
agent writes, scratch reset sweeps** bullet below sends a journal, repo-local
|
|
69
|
+
gitignored scratch in the main checkout, on that bullet's stated survivability
|
|
70
|
+
grounds — widened here from the journal to any artifact a session waits on.
|
|
71
|
+
That record *is* the wait target: loop on its PID's liveness and the loop ends
|
|
72
|
+
when the PID stops answering. Write it at the launch, not after, and leave it
|
|
73
|
+
behind — a completion marker answers *is it done* to a live observer, and the
|
|
74
|
+
case this rule exists for is the one where the observer is gone, where a
|
|
75
|
+
liveness record still answers *is it still running* to whoever arrives next.
|
|
76
|
+
Whoever that is reads it with `check-producer-liveness <record>` — or, because
|
|
77
|
+
the `.run` suffix makes the set a glob rather than a path someone must be told,
|
|
78
|
+
`check-producer-liveness <scratch-dir>` over all of them at once — unchanged
|
|
79
|
+
and already wired (evidence-kit/SPEC.md §check-producer-liveness), which is why
|
|
80
|
+
the record is in that gate's grammar rather than a shape of your own.
|
|
81
|
+
**Delete the record when its producer is done, and never before.** While one
|
|
82
|
+
names a live PID, a guard blocks every `git` command that writes the index, the
|
|
83
|
+
worktree or a ref (guard-kit/SPEC.md §The generic ruleset, rule 14) — a commit
|
|
84
|
+
taken under a live producer dirties the tree it is measuring and costs that
|
|
85
|
+
run's whole verdict. Deleting a record whose producer has exited is not a way
|
|
86
|
+
around the block: it is a statement of fact that has become false being
|
|
87
|
+
retracted.
|
|
88
|
+
**And never by pattern-matching the process table.** `pgrep -f '<pattern>'`
|
|
89
|
+
matches the waiter's own argv — the harness's wrapper argv matches too — so
|
|
90
|
+
`until ! pgrep -f '<script>'; do …; done` can never go false and never exits,
|
|
91
|
+
reddening nothing while it burns the whole foreground cap. Where liveness *is*
|
|
92
|
+
the condition, match a **recorded PID** (`kill -0 "$pid"`) and never a pattern —
|
|
93
|
+
one rule, whoever started the producer, your own backgrounded child included: a
|
|
94
|
+
PID is an identity, a pattern is a guess about a process table that includes the
|
|
95
|
+
guesser. The
|
|
96
|
+
bracket-trick repair (`pgrep -f '[r]un-smoke.sh'`) is **not** the sanctioned
|
|
97
|
+
form, and its grounds for being refused are
|
|
98
|
+
delegation-kit/SPEC.md §The delegation model's.
|
|
48
99
|
- **Serialize on shared files; ≤`DELEGATION_KIT_FAN_WIDTH`-wide otherwise.**
|
|
49
100
|
Agents that edit a shared file (see the roster below) run one at a time —
|
|
50
101
|
dispatch, await notification, verify, dispatch the next. Independent
|
|
@@ -86,20 +137,33 @@ drift: do not delete it on sight, and when either rule changes here, propagate.
|
|
|
86
137
|
model). Grounds measured rather than asserted: in one audited iteration ten
|
|
87
138
|
of twenty-four dispatched agents were forks, carrying 20.90 USD of 158.70 USD
|
|
88
139
|
of priced burn.
|
|
89
|
-
- **A read-only claim is made by isolation, not by sentence.** A
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
140
|
+
- **A read-only claim is made by isolation, not by sentence.** A brief saying
|
|
141
|
+
"read-only, no edits" makes no claim: a subagent inherits its toolset from its
|
|
142
|
+
**type**, never from the instruction text. The claim is made by
|
|
143
|
+
`isolation: worktree`. Take it for an agent that *will* commit — an **own
|
|
144
|
+
index**, the **Serialize on shared files** rule above — and for any agent
|
|
145
|
+
*claimed* read-only, as **write confinement**. Grounds for this rule and the
|
|
146
|
+
next: delegation-kit/SPEC.md §The delegation model.
|
|
147
|
+
- **Isolation charges three harness costs, and paying them is the parent's job.**
|
|
148
|
+
**(1) The worktree's base is configuration, and the default is not HEAD.**
|
|
149
|
+
`worktree.baseRef` selects it: `fresh` (the default) branches from
|
|
150
|
+
`origin/<default-branch>`, `head` from the dispatcher's local HEAD. Set it
|
|
151
|
+
deliberately, and pin it, before you design around it. Under `fresh` a child
|
|
152
|
+
reads the *pre-change* tree: read your exposure with
|
|
153
|
+
`git log origin/<default-branch>..HEAD` before dispatching. Naming a commit in
|
|
154
|
+
the prompt does not make the checkout that commit, so state the rev and have
|
|
155
|
+
the child verify it with `git rev-parse HEAD` and read every target with
|
|
156
|
+
`git show <rev>:<path>`. **A child whose target is unreadable at that rev stops
|
|
157
|
+
and says so**, and never falls back to the dispatch prompt's own paraphrase of
|
|
158
|
+
it. **(2) The worktree lands inside the repo and untracked**, so an in-flight
|
|
159
|
+
isolated agent reads as a dirty tree and aborts every clean-tree precondition —
|
|
160
|
+
a consumer smoke, a packaging step, any commit. Gitignore the path, and reap
|
|
161
|
+
agents at the boundary with `git worktree list` rather than off `git status`.
|
|
162
|
+
**(3) An isolated child sees only committed state.** Untracked and gitignored
|
|
163
|
+
files are in no commit, so no base ref reaches them and naming a rev does not
|
|
164
|
+
help. **A sweep whose corpus includes an untracked surface is not delegable to
|
|
165
|
+
an isolated agent**: read that surface yourself, or pass its content in the
|
|
166
|
+
prompt.
|
|
103
167
|
- **One commit per unit, sized to finish within budget.** Each unit gets its own
|
|
104
168
|
commit (+ a `[blocked-by: prior]` tag where ordered). A unit that investigates
|
|
105
169
|
long before its first commit is the only thing an interrupt can destroy —
|
|
@@ -184,6 +248,22 @@ drift: do not delete it on sight, and when either rule changes here, propagate.
|
|
|
184
248
|
part that binds you: **a dispatcher handing out work that will need a mid-run
|
|
185
249
|
channel grants a durable path with it**, and reads that path itself.
|
|
186
250
|
|
|
251
|
+
- **A finished child is addressed by the task-id its completion notification
|
|
252
|
+
carried, never by its name.** Resuming a returned agent to correct or extend
|
|
253
|
+
its work is the cheap alternative to a cold re-dispatch, and it is the one
|
|
254
|
+
that keeps the child's own reasoning instead of paying to rebuild it. The name
|
|
255
|
+
is not a durable address for that: measured here, a name live at dispatch
|
|
256
|
+
resolved to *no agent of that name is reachable* once the dispatching session
|
|
257
|
+
had been compacted, with the agent listing reporting none reachable at all,
|
|
258
|
+
while the task-id from the notification resumed the same child from its
|
|
259
|
+
transcript. Which of the two voids the name — the compaction, or the child
|
|
260
|
+
merely having finished — is untested; the task-id survived both, and the
|
|
261
|
+
notification states outright that it is the handle the child may notify under
|
|
262
|
+
again, so it is the address to hold. It is also the address to **write down**:
|
|
263
|
+
the notification lives in the context that dies, so a dispatcher who may want
|
|
264
|
+
that child later records the task-id under the durability rule below rather
|
|
265
|
+
than trusting the scroll to still be there.
|
|
266
|
+
|
|
187
267
|
- **Findings you will act on are durable before you act on them.** A child's
|
|
188
268
|
return value lives only in your context, and your context dies with your
|
|
189
269
|
session. Before you *act* on a dispatched agent's findings — edit against
|
|
@@ -220,6 +300,17 @@ drift: do not delete it on sight, and when either rule changes here, propagate.
|
|
|
220
300
|
semantic weakening inside a legitimate scripts-only commit, so the by-eye diff
|
|
221
301
|
review remains your duty (delegation-kit/SPEC.md §Verify after every agent
|
|
222
302
|
commit — the honest limit).
|
|
303
|
+
- **A child's citation is a pointer to verify, never evidence in itself.** A
|
|
304
|
+
returned `file:line` is not checked by confirming the range resolves: that
|
|
305
|
+
catches a wrong number and misses a wrong spelling, a moved passage, and a
|
|
306
|
+
sibling instance the sweep never reported. **Re-read the passage** in the parent
|
|
307
|
+
before acting on it. Both halves are attested here — a census that fabricated a
|
|
308
|
+
`file:line` and a negative claim, both false; and a re-verification of nineteen
|
|
309
|
+
agent-sourced cites that found no bad ranges yet still surfaced a marker cited
|
|
310
|
+
under a spelling the tree does not use, plus an entire family member the census
|
|
311
|
+
never mentioned. Quotation with attribution is precisely the signal a reader uses
|
|
312
|
+
to decide a claim has already been checked, so an unverified one defeats normal
|
|
313
|
+
trust rather than merely being wrong.
|
|
223
314
|
- **Budget-check before *each* dispatch in a fan-out**, not once at the start.
|
|
224
315
|
`bash delegation-kit/bin/usage-verdict.sh` (verdict exit 0/1/2 from `usage.txt` —
|
|
225
316
|
it folds in the reading-age and window-validity checks so a dead-window pct
|
|
@@ -42,7 +42,24 @@ _remaining() {
|
|
|
42
42
|
else printf '%dh%dm' "$hours" "$minutes"; fi
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
# spec: delegation-kit/SPEC.md §The statusline template — the section vocabulary is the counter tool's, never this template's: each label is the initial of a name the tool returned, widened to two characters for every counter as soon as two returned names share one, so a colliding pair stays readable and the group stays aligned
|
|
46
|
+
_counters() {
|
|
47
|
+
local name n labels=() nums=() dup=0 out="" i j w=1
|
|
48
|
+
while IFS=$'\t' read -r name n; do
|
|
49
|
+
[ -n "$name" ] && { labels+=("$name"); nums+=("$n"); }
|
|
50
|
+
done <<< "$1"
|
|
51
|
+
[ "${#labels[@]}" -gt 0 ] || return
|
|
52
|
+
for (( i = 0; i < ${#labels[@]}; i++ )); do
|
|
53
|
+
for (( j = i + 1; j < ${#labels[@]}; j++ )); do
|
|
54
|
+
[ "${labels[i]:0:1}" = "${labels[j]:0:1}" ] && dup=1
|
|
55
|
+
done
|
|
56
|
+
done
|
|
57
|
+
[ "$dup" -eq 1 ] && w=2
|
|
58
|
+
for (( i = 0; i < ${#labels[@]}; i++ )); do out+="${out:+ }${labels[i]:0:$w}${nums[i]}"; done
|
|
59
|
+
printf '%s' "$out"
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
ITER=""; STAGE=""; COUNTS=""
|
|
46
63
|
ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
|
|
47
64
|
if [ -n "$ROOT" ] && [ -f "$ROOT/TASK-QUEUE.md" ]; then
|
|
48
65
|
HEADER=$(grep -m1 '^## Iteration:' "$ROOT/TASK-QUEUE.md")
|
|
@@ -52,6 +69,10 @@ fi
|
|
|
52
69
|
if [ -n "$ROOT" ] && [ -f "$ROOT/.workflow/WORKFLOW-STATE.txt" ]; then
|
|
53
70
|
STAGE=$(awk '/^---[[:space:]]*$/ { f = 1; next } f && NF { l = $2 } END { print l }' "$ROOT/.workflow/WORKFLOW-STATE.txt")
|
|
54
71
|
fi
|
|
72
|
+
# spec: delegation-kit/SPEC.md §The statusline template — a subprocess and never a source: the counter's library exits 2 at source time on a malformed queue config, which in this shell would take the whole status bar down for a component worth four characters
|
|
73
|
+
if [ -n "$ROOT" ] && [ -x "$ROOT/queue-kit/bin/queue-counts.sh" ]; then
|
|
74
|
+
COUNTS=$(bash "$ROOT/queue-kit/bin/queue-counts.sh" 2>/dev/null) || COUNTS=""
|
|
75
|
+
fi
|
|
55
76
|
|
|
56
77
|
USAGE_FILE="${DELEGATION_KIT_USAGE_FILE:-${CLAUDE_CONFIG_DIR:-$HOME/.claude}/usage.txt}"
|
|
57
78
|
CRED_FILE="${DELEGATION_KIT_CRED_FILE:-${USAGE_FILE%/*}/.credentials.json}"
|
|
@@ -76,4 +97,5 @@ SB="[${MODEL:-?}${EFFORT:+-$EFFORT}]·ctx $(_gauge "$CTX")"
|
|
|
76
97
|
SB="$SB·5h $(_gauge "${FIVE_H:-0}")"; [ -n "$FIVE_H_RESETS" ] && SB="$SB $(_remaining "$FIVE_H_RESETS")"
|
|
77
98
|
[ -n "$SEVEN_D" ] && { SB="$SB·7d $(_gauge "$SEVEN_D")"; [ -n "$SEVEN_D_RESETS" ] && SB="$SB $(_remaining "$SEVEN_D_RESETS")"; }
|
|
78
99
|
[ -n "$ITER" ] && SB="$SB·⟳ ${ITER}${STAGE:+@$STAGE}"
|
|
100
|
+
[ -n "$COUNTS" ] && { GROUP=$(_counters "$COUNTS"); [ -n "$GROUP" ] && SB="$SB·$GROUP"; }
|
|
79
101
|
printf '%s\n' "$SB"
|
|
@@ -25,6 +25,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
25
25
|
ground truth. One owner means one thing to keep true.
|
|
26
26
|
*Enforced by:* the anti-restatement gate family — the comment-tier and
|
|
27
27
|
manifest/prose gates in [canon-kit/SPEC.md](../canon-kit/SPEC.md).
|
|
28
|
+
*Digest:* one content tier per surface; point, never restate.
|
|
28
29
|
|
|
29
30
|
2. **Enforcement-first.** On any fix or redundancy finding, name the defect
|
|
30
31
|
class *and* the mechanism that catches it, and land both in one unit; a green
|
|
@@ -57,6 +58,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
57
58
|
a gate is the only carrier of intent that survives a fresh context window.
|
|
58
59
|
*Enforced by:* the meta-gate contracts every gate must satisfy —
|
|
59
60
|
[gate-sdk/SPEC.md](../gate-sdk/SPEC.md).
|
|
61
|
+
*Digest:* the fix and the gate that catches it land in one unit; removing the duplication outranks gating it.
|
|
60
62
|
|
|
61
63
|
3. **De-literalization.** Prose cites names; code or the owning SPEC owns values.
|
|
62
64
|
Knob defaults, shared constants, and derivable rosters are stated once at
|
|
@@ -83,6 +85,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
83
85
|
`internal-identifier-restatement` seed member of the close-stage audit
|
|
84
86
|
roster (`.workflow/audit-roster.txt`), a stated authoring duty due on
|
|
85
87
|
heavy-SPEC contract edits and at release prep.
|
|
88
|
+
*Digest:* prose cites names; code or the owning SPEC owns values.
|
|
86
89
|
|
|
87
90
|
4. **Derivation-first.** A fact a tool can derive from the tree is derived at
|
|
88
91
|
use time, never maintained as its own surface. The ladder: derive; else
|
|
@@ -104,6 +107,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
104
107
|
[gate-sdk/SPEC.md](../gate-sdk/SPEC.md) §check-graph, and the
|
|
105
108
|
bare-cardinal gate in [canon-kit/SPEC.md](../canon-kit/SPEC.md)
|
|
106
109
|
§check-manifest-count.
|
|
110
|
+
*Digest:* derive the derivable (a roster, a count), never maintain it; a needed copy is generated and freshness-gated.
|
|
107
111
|
|
|
108
112
|
5. **Always-loaded shape.** A rule in the always-loaded agent file is one line —
|
|
109
113
|
the convention plus a pointer; its mechanism, rosters, and defaults live
|
|
@@ -113,6 +117,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
113
117
|
task; a one-line pointer pays once and loads the detail only when needed.
|
|
114
118
|
*Enforced by:* the brevity budget in
|
|
115
119
|
[context-kit/SPEC.md](../context-kit/SPEC.md) §The brevity gate.
|
|
120
|
+
*Digest:* one line per rule here; the mechanism behind the pointer.
|
|
116
121
|
|
|
117
122
|
6. **Load-trigger residency.** The always-loaded file earns a rule only when no
|
|
118
123
|
stage, skill, or tool-call trigger exists to load it; anything a trigger can
|
|
@@ -124,6 +129,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
124
129
|
[lifecycle-kit/SPEC.md](../lifecycle-kit/SPEC.md) and the tool-call hook seam in
|
|
125
130
|
[guard-kit/SPEC.md](../guard-kit/SPEC.md), which give every triggered rule a home
|
|
126
131
|
that loads on demand.
|
|
132
|
+
*Digest:* resident only when no stage, skill, or tool loads it.
|
|
127
133
|
|
|
128
134
|
7. **Widest-true-tier placement.** A fact lands at the widest tier where it holds
|
|
129
135
|
for every reader of that tier: kit-shipped surface when true for every
|
|
@@ -136,6 +142,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
136
142
|
*Enforced by:* the binding-slot grammar in
|
|
137
143
|
[lifecycle-kit/SPEC.md](../lifecycle-kit/SPEC.md) §check-skill-binding, the seam
|
|
138
144
|
marker between kit-shipped and consumer-tracked tiers.
|
|
145
|
+
*Digest:* the widest tier true for every reader of it.
|
|
139
146
|
|
|
140
147
|
8. **Oracle-first.** A check's output is its interface: run the gate instead of
|
|
141
148
|
emulating it, and treat a red run — including a red commit attempt, where the
|
|
@@ -160,6 +167,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
160
167
|
[gate-sdk/SPEC.md](../gate-sdk/SPEC.md) — the `clean` and `help:` lines are
|
|
161
168
|
written to be that interface — and the targeted-run resolver reachable through
|
|
162
169
|
the generated hook.
|
|
170
|
+
*Digest:* run the gate, never emulate it; a red run is the feedback channel.
|
|
163
171
|
|
|
164
172
|
9. **Spec-over-precedent.** A gate-enforced doc is ground truth: read the
|
|
165
173
|
owner, never mine git history or a prior session's artifacts for how to do
|
|
@@ -176,6 +184,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
176
184
|
a fact with no owner gets one, shrinking the space where history is the
|
|
177
185
|
only oracle. No scanner sees *how* a session derived a choice; this rule
|
|
178
186
|
is judgment with a capture mechanism, not a gate.
|
|
187
|
+
*Digest:* the owner doc is ground truth; history answers what happened, never what is correct.
|
|
179
188
|
|
|
180
189
|
10. **Gap disposition.** A gap a session surfaces but will not close this
|
|
181
190
|
session — a coverage hole, a design defect, an escaping class — is *costed*,
|
|
@@ -198,6 +207,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
198
207
|
queue's Deferred section for design gaps and the knowledge-friction log
|
|
199
208
|
([drift-kit/SPEC.md](../drift-kit/SPEC.md) §The knowledge-friction loop) for
|
|
200
209
|
fact gaps.
|
|
210
|
+
*Digest:* a gap you defer is costed and filed, never flagged-and-skipped.
|
|
201
211
|
|
|
202
212
|
11. **Scope-gated intake.** Delivery work enters only through the scope gate. A
|
|
203
213
|
new initiative raised mid-session — an operator or lead feature request, a
|
|
@@ -222,10 +232,48 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
222
232
|
intake it names is scope's — the survey that bounds an iteration's units
|
|
223
233
|
([lifecycle-kit/SPEC.md](../lifecycle-kit/SPEC.md) §The state machine) — and the
|
|
224
234
|
filed form rides the queue's Deferred section.
|
|
235
|
+
*Digest:* a mid-session initiative is filed as a costed Deferred entry by default, never started; work enters only through scope.
|
|
236
|
+
|
|
237
|
+
12. **Probe-before-assertion.** A claim about the tree, the harness, or a tool's
|
|
238
|
+
behavior that one cheap command would settle is probed before it is
|
|
239
|
+
asserted, and what the probe returned travels with the claim. The bar is
|
|
240
|
+
*availability, not confidence*: a claim is unprobed if a command that would
|
|
241
|
+
have settled it was there to run and was not, however well-reasoned the
|
|
242
|
+
assertion. This is Oracle-first's design-time sibling and the two divide
|
|
243
|
+
cleanly — that rule governs the claim a gate already decides and says run the
|
|
244
|
+
gate; this one governs the claim made at scope, at spec, in a survey, or in a
|
|
245
|
+
dispatch, where no oracle is running and standing one up costs a grep. It
|
|
246
|
+
binds a *relayed* claim as hard as an authored one: forwarding an unverified
|
|
247
|
+
premise is asserting it, and the forwarder owns the probe the originator
|
|
248
|
+
skipped. It binds **outbound** claims too, and that reach does not follow
|
|
249
|
+
from the inward examples: proposing that the operator file a report, open an
|
|
250
|
+
issue, or escalate to a vendor asserts the thing is *unreported* — a claim
|
|
251
|
+
about the world the proposal presumes, and one search from settled. Attested:
|
|
252
|
+
a session drafted a complete vendor bug report and handed it over; the issue
|
|
253
|
+
was already documented upstream, with duplicates. The operator searched, the
|
|
254
|
+
session had not — and that same session had been corrected once that day for
|
|
255
|
+
relaying an unverified premise, so holding the general rule is what failed to
|
|
256
|
+
prevent the outbound instance. That is why the case is named here rather than
|
|
257
|
+
left to be derived from the rule.
|
|
258
|
+
*Under agent work:* an agent's prose reads identically whether it was
|
|
259
|
+
measured or inferred, so an unprobed premise enters the record
|
|
260
|
+
indistinguishable from a verified one and is inherited downstream as settled
|
|
261
|
+
fact. Each hand-off raises its apparent authority without adding evidence,
|
|
262
|
+
and the correction cost lands on whichever later session finally runs the
|
|
263
|
+
command — by which point the claim has shaped the work built on it.
|
|
264
|
+
*Enforced by:* judgment with a capture mechanism, not a gate — whether a
|
|
265
|
+
claim was probed is not machine-decidable (the Enforcement-first
|
|
266
|
+
false-positive carve-out, on Gap disposition's model). Its capture surfaces
|
|
267
|
+
are the survey record's witness discipline and the queue's practice of
|
|
268
|
+
dating premise corrections into entry bodies
|
|
269
|
+
([lifecycle-kit/SPEC.md](../lifecycle-kit/SPEC.md) §The survey record);
|
|
270
|
+
`probe-before-assertion-doctrine` in the queue holds the open question of
|
|
271
|
+
whether any slice of the class is mechanizable.
|
|
272
|
+
*Digest:* a claim one cheap command would settle is probed before it is asserted; relaying an unverified premise is asserting it.
|
|
225
273
|
|
|
226
274
|
## Engineering-craft rules
|
|
227
275
|
|
|
228
|
-
|
|
276
|
+
13. **Spec-invariant test naming.** A test of a spec-mandated invariant encodes
|
|
229
277
|
that invariant in its *name*; the SPEC's test-requirement section owns which
|
|
230
278
|
invariants a test must cover. A spec-clause *comment* on the test is not a
|
|
231
279
|
substitute — it duplicates what the name should carry and rots silently when
|
|
@@ -239,7 +287,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
239
287
|
carry the invariant.
|
|
240
288
|
*Stages:* build, validate
|
|
241
289
|
|
|
242
|
-
|
|
290
|
+
14. **Test from the real consumer's runtime.** Verify a contract from the runtime
|
|
243
291
|
of its real consumer, never a more lenient stand-in; a failure at a higher
|
|
244
292
|
test layer with no failing test at the layer below is a coverage gap in the
|
|
245
293
|
lower layer, closed there first.
|
|
@@ -252,7 +300,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
252
300
|
baseline turns a dropped layer into a red validate.
|
|
253
301
|
*Stages:* build, validate
|
|
254
302
|
|
|
255
|
-
|
|
303
|
+
15. **Inspectable-run discipline.** A component a test or an automation spawns
|
|
256
304
|
must emit a readable log to an inspectable path — never a muted sink; on a
|
|
257
305
|
failure, read that evidence before theorizing. A run you cannot inspect
|
|
258
306
|
barely beats a guess.
|
|
@@ -265,7 +313,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
265
313
|
trusting its self-report.
|
|
266
314
|
*Stages:* build, validate
|
|
267
315
|
|
|
268
|
-
|
|
316
|
+
16. **Rename is a full-surface sweep.** A rename sweeps every surface in
|
|
269
317
|
lockstep — prose, fixtures, and docs, not only the compiler-checked
|
|
270
318
|
identifiers; the done-gate is a text-level completeness check, not the
|
|
271
319
|
type-checker, and an in-progress rename is verified by a completeness scan
|
|
@@ -280,7 +328,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
280
328
|
vocabulary stays with the consumer.
|
|
281
329
|
*Stages:* build
|
|
282
330
|
|
|
283
|
-
|
|
331
|
+
17. **Config edits are merges, not rewrites.** Edit a config or settings file
|
|
284
332
|
with targeted, string-scoped edits, never a full-file write reconstructed
|
|
285
333
|
from a partial read — a whole-file write built from part of the file
|
|
286
334
|
silently drops everything the write did not carry. And validate an
|
|
@@ -297,7 +345,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
297
345
|
gate asserts a given edit was a merge rather than a rewrite.
|
|
298
346
|
*Stages:* build
|
|
299
347
|
|
|
300
|
-
|
|
348
|
+
18. **Re-verify volatile state before a git history rewrite.** Verify HEAD
|
|
301
349
|
(`git log --oneline -3`) before an amend or squash; after a `git reset
|
|
302
350
|
--soft`, re-stage and verify the staged content (`git show :<path>`) before
|
|
303
351
|
committing — the soft reset keeps the old index snapshot; write any `git
|
|
@@ -315,7 +363,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
315
363
|
because each command is legitimate.
|
|
316
364
|
*Stages:* build, close
|
|
317
365
|
|
|
318
|
-
|
|
366
|
+
19. **Entering another repo's tree, read its governance first.** A cross-repo
|
|
319
367
|
edit re-reads that repo's agent file and README and checks its branch
|
|
320
368
|
freshness every time — a second repo's model drifts independently of this
|
|
321
369
|
one's, so a remembered version of its rules is a stale premise.
|
|
@@ -327,7 +375,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
327
375
|
governance was reread.
|
|
328
376
|
*Stages:* build
|
|
329
377
|
|
|
330
|
-
|
|
378
|
+
20. **Naming: drop the qualifier the context supplies — only when every consumer
|
|
331
379
|
has that context.** A name that travels into a flat namespace keeps its
|
|
332
380
|
qualifier; default to the shorter form and reject the vacuous one, but a
|
|
333
381
|
name that loses the context which disambiguated it must carry the qualifier
|
|
@@ -342,7 +390,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
342
390
|
is its written form.
|
|
343
391
|
*Stages:* scope, build
|
|
344
392
|
|
|
345
|
-
|
|
393
|
+
21. **Reuse a co-located consumer's data before designing a new path.** For an
|
|
346
394
|
embedded or co-located actor, first ask whether it can read a co-located
|
|
347
395
|
consumer's already-fetched data before minting a new stream, grant, or
|
|
348
396
|
fetch — a "which path" framing can hide a "no path needed" answer.
|
|
@@ -355,7 +403,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
355
403
|
reaching for an existing owner before minting a second source.
|
|
356
404
|
*Stages:* scope, build
|
|
357
405
|
|
|
358
|
-
|
|
406
|
+
22. **A resolver gate's flagged key is a fork, not a verdict.** A name-resolution
|
|
359
407
|
gate that finds a silent drop has found either dead config to remove *or*
|
|
360
408
|
promised-but-unwired config to build — one signature, opposite fixes; only
|
|
361
409
|
the owning SPEC distinguishes them, so verify intent against the SPEC before
|
|
@@ -371,7 +419,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
371
419
|
never which way it should be closed.
|
|
372
420
|
*Stages:* build
|
|
373
421
|
|
|
374
|
-
|
|
422
|
+
23. **Quiet green, loud red.** A batch runner's success is one summary line
|
|
375
423
|
carrying its scope counts (the count doubling as the roster-collapse
|
|
376
424
|
tripwire); failure output is verbatim and never quiets. Per-item success
|
|
377
425
|
banners are an opt-in reading, not the default — the red path is the
|
|
@@ -385,7 +433,7 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
385
433
|
([gate-sdk/SPEC.md](../gate-sdk/SPEC.md) §run-gates).
|
|
386
434
|
*Stages:* build
|
|
387
435
|
|
|
388
|
-
|
|
436
|
+
24. **An assertion reports the size of the set it ranged over.** A verification a
|
|
389
437
|
session writes — a scan, a probe, a predicate under edit — whose subject is a
|
|
390
438
|
set prints that set's size beside its verdict, because an exit code cannot
|
|
391
439
|
distinguish *asserted and held* from *asserted nothing*: both are zero
|
|
@@ -411,3 +459,29 @@ link — an application of the load-trigger residency rule to the doctrine itsel
|
|
|
411
459
|
something its assertion ranges over is a property of a session act that
|
|
412
460
|
leaves no residue in the tree, so that third stays judgment.
|
|
413
461
|
*Stages:* build, validate
|
|
462
|
+
|
|
463
|
+
25. **A third-party tool's behavior is a configuration question first.** Before
|
|
464
|
+
designing any mitigation around a tool you do not control, probe its
|
|
465
|
+
configuration surface and its issue tracker; a design question is what is
|
|
466
|
+
left after both come back empty. Repeated confirmation of a *behavior* is
|
|
467
|
+
evidence about the behavior and none at all about its *mutability*, so an
|
|
468
|
+
attestation count pushes confidence the wrong way — each re-confirmation
|
|
469
|
+
makes the mechanism feel settled and suppresses the config probe that would
|
|
470
|
+
retire it. The corollary reads the mitigation rather than the tool: a
|
|
471
|
+
workaround that keeps *growing* — more candidates, more unenforceable prose,
|
|
472
|
+
a hand payment per use — is itself evidence of solving the wrong problem,
|
|
473
|
+
because a correct fix converges and this shape accretes. When the workaround
|
|
474
|
+
outgrows the thing it works around, stop and re-probe the premise.
|
|
475
|
+
*Under agent work:* an agent inherits a prior session's symptom evidence as a
|
|
476
|
+
settled mechanism and designs against it, and symptom evidence accumulates
|
|
477
|
+
across sessions without any hand-off ever bearing on whether the symptom is
|
|
478
|
+
configurable — so the premise hardens exactly as the sessions that could
|
|
479
|
+
cheaply falsify it multiply.
|
|
480
|
+
*Enforced by:* judgment, not a gate, and for the reason Probe-before-assertion
|
|
481
|
+
states — whether a session probed a vendor's settings schema leaves no residue
|
|
482
|
+
in the tree. The two divide by *target*: that rule governs a claim about the
|
|
483
|
+
tree or the harness that a local command settles; this one governs a claim
|
|
484
|
+
about an external tool, where the probe leaves the tree entirely. Its capture
|
|
485
|
+
surface is the queue's design-pending tier, where a mitigation's growing
|
|
486
|
+
candidate list is the readable signal the corollary names.
|
|
487
|
+
*Stages:* scope, spec, build
|
|
@@ -13,12 +13,16 @@ doctrine upgrade. See [SPEC.md](SPEC.md#the-doctrine-deliverable) for why that
|
|
|
13
13
|
reference-not-copy boundary is the mechanism.
|
|
14
14
|
|
|
15
15
|
The installer — `bin/install-doctrine.sh` — inserts or replaces the reference
|
|
16
|
-
block between fixed markers, idempotently.
|
|
16
|
+
block between fixed markers, idempotently. It does not carry the digest: each
|
|
17
|
+
bullet is derived from the summary its rule states in a `*Digest:*` trailer, so
|
|
18
|
+
the digest names every methodology rule by construction and a rule cannot land
|
|
19
|
+
in the doctrine but miss the block every consumer installs. The gate —
|
|
17
20
|
`check-doctrine-registration` — holds the block honest: it asserts the
|
|
18
21
|
always-loaded file carries the markdown link *and* keeps its methodology-rule
|
|
19
22
|
digest in per-rule lockstep with the doctrine (each rule digested or declared
|
|
20
|
-
trimmed, no digest bullet orphaned), and
|
|
21
|
-
well-formed `*Stages:*` routing
|
|
23
|
+
trimmed, no digest bullet orphaned), and that each rule carries its one
|
|
24
|
+
well-formed per-rule trailer — `*Stages:*` routing on the craft register,
|
|
25
|
+
`*Digest:*` on the methodology register — fail-closed when a scanned file or
|
|
22
26
|
heading is missing.
|
|
23
27
|
|
|
24
28
|
The emitter — `bin/stage-rules.sh <stage>` — reads those trailers and prints the
|
|
@@ -62,16 +62,65 @@ The block is the always-loaded shape applied to the doctrine itself: a one-line
|
|
|
62
62
|
digest of the methodology-maintenance rules plus a markdown link to the doctrine
|
|
63
63
|
file. The engineering-craft register is not digested — it is load-triggered and
|
|
64
64
|
reached through the link, so the always-loaded surface carries only what bears
|
|
65
|
-
on every edit. The installer is the single source of the block text
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
on every edit. The installer is the single source of the block *text* — the
|
|
66
|
+
heading, the link paragraph, the bullet shape — so a manual insertion for a
|
|
67
|
+
harness-less consumer copies what the tool would emit; the README documents that
|
|
68
|
+
manual path. It is not the source of the block's *content*: the rule bullets are
|
|
69
|
+
derived from `DOCTRINE.md` (below), so the installed digest names every
|
|
70
|
+
methodology rule by construction rather than by an author remembering to, and a
|
|
71
|
+
fresh consumer is in per-rule lockstep out of the box (installer and gate agree
|
|
72
|
+
on the `## Delivery doctrine` heading — that agreement is part of
|
|
70
73
|
check-doctrine-registration's contract). Trimming a rule the consumer does not
|
|
71
74
|
keep resident stays legal, but rides a declared-trim marker rather than a silent
|
|
72
75
|
deletion: the gate asserts name-lockstep modulo declared trims (§check-doctrine-registration
|
|
73
76
|
assertion B).
|
|
74
77
|
|
|
78
|
+
**The digest is derived from the doctrine, one bullet per rule.** Each
|
|
79
|
+
methodology rule carries a `*Digest:* <one-line summary>` trailer, and the
|
|
80
|
+
installer emits that rule's bullet as `- **<name>** — <summary>`: the name read
|
|
81
|
+
exactly as §check-doctrine-registration assertion C reads it, the summary taken
|
|
82
|
+
from the trailer verbatim. The bullet roster is therefore the rule roster, and
|
|
83
|
+
the two cannot come to differ in count — the drift axis is removed rather than
|
|
84
|
+
watched, which is what Derivation-first asks for before Enforcement-first is
|
|
85
|
+
even consulted. A hand-maintained bullet list is what this replaces, and its
|
|
86
|
+
failure mode was not hypothetical: a rule that landed in `DOCTRINE.md` and in
|
|
87
|
+
this repo's own agent file never reached the installer's list, so every fresh
|
|
88
|
+
install vendored a digest one rule short while the consumer-side gate stayed
|
|
89
|
+
green — the skew is invisible from the tree that has both copies right.
|
|
90
|
+
|
|
91
|
+
*Why a trailer and not the rule's own prose.* The obvious cheaper design is to
|
|
92
|
+
extract the summary from the rule body's opening sentence and add no format at
|
|
93
|
+
all. It was measured rather than assumed, and it does not hold: of the twelve
|
|
94
|
+
bullets the digest shipped, **none** occurs as contiguous text anywhere in
|
|
95
|
+
`DOCTRINE.md`. The digest register is deliberately terser and more imperative
|
|
96
|
+
than the doctrine's statement register — the rule states the convention and its
|
|
97
|
+
scope, the bullet is what survives in a file read in full at every session start
|
|
98
|
+
— so extraction would either degrade the doctrine's own prose into digest
|
|
99
|
+
shorthand or invent a summary the author never wrote. The trailer is the
|
|
100
|
+
authoring surface that makes derivation honest: the summary is authored once,
|
|
101
|
+
beside the rule it summarizes, and read from there by everything that needs it.
|
|
102
|
+
|
|
103
|
+
**The derivation's refusals.** A rule carrying no `*Digest:*` trailer, or two,
|
|
104
|
+
leaves its bullet undecidable, and the installer exits 2 naming the rule rather
|
|
105
|
+
than emitting a digest silently short — the exact defect the derivation
|
|
106
|
+
replaced, so failing closed is the point rather than a courtesy. A missing
|
|
107
|
+
doctrine file and a methodology section that resolves to nothing are exit 2 on
|
|
108
|
+
the same ground: the digest cannot be certified against an unreadable rule set.
|
|
109
|
+
The derivation runs **once, at top level**, before the block is composed —
|
|
110
|
+
`digest()` is read through process substitution, where an exit would end only
|
|
111
|
+
the subshell and let the malformed doctrine through as a short digest, which is
|
|
112
|
+
the failure mode being guarded. §check-doctrine-registration assertion E is the
|
|
113
|
+
tree-side half of the same guard, so an untrailered rule reds at commit time
|
|
114
|
+
instead of waiting for a consumer install to discover it.
|
|
115
|
+
|
|
116
|
+
**What this asks of a consumer.** Nothing, for a consumer who re-vendors
|
|
117
|
+
`DOCTRINE.md` unchanged — the kit ships it, and its rules ship trailered. A
|
|
118
|
+
consumer who *appends a local rule* to their vendored copy now owes that rule a
|
|
119
|
+
`*Digest:*` trailer. That is a real obligation and worth stating rather than
|
|
120
|
+
claiming zero impact, but it replaces a larger one: assertion B already required
|
|
121
|
+
such a rule to be reflected in the digest, and the trailer is what makes its
|
|
122
|
+
bullet generate rather than have to be hand-written and kept in step.
|
|
123
|
+
|
|
75
124
|
**The declared-trim round-trip.** A generated block that is unconditionally
|
|
76
125
|
rewritten would revoke that right on the next run — and revoke it *silently*,
|
|
77
126
|
because a trim the installer restores to a bullet leaves an agent file whose
|
|
@@ -123,11 +172,39 @@ reworded bullet, an added line — is reverted by design, and would red
|
|
|
123
172
|
markers is the adopter's and is never read or written. Stating the bound is what
|
|
124
173
|
makes the preserved case a contract rather than an accident.
|
|
125
174
|
|
|
175
|
+
**The removal mode.** `install-doctrine.sh --remove [agent-file]` is the insert
|
|
176
|
+
path reversed over the same marker pair, riding gate-sdk's `remove_marker_block`
|
|
177
|
+
exactly as the insert path rides its sibling — so the marker strings keep their
|
|
178
|
+
one writer and a caller reversing an installation needs no copy of them. It
|
|
179
|
+
harvests no trims and emits no digest: a removal has nothing to carry forward,
|
|
180
|
+
which is what makes it the reverse of the round-trip above rather than a second,
|
|
181
|
+
emptier pass through it — and, for the same reason, it reads no doctrine file
|
|
182
|
+
and so none of the derivation's refusals can arise on this path. An agent file
|
|
183
|
+
carrying **no block is not an error** —
|
|
184
|
+
the run says there was nothing to remove and exits 0, so a second `--remove` is
|
|
185
|
+
as quiet as the first and a caller that cannot know whether the block was ever
|
|
186
|
+
written there needs no way to ask. Its refusals are the two the insert path
|
|
187
|
+
holds before it reads any doctrine, unchanged and the only two on this path: a
|
|
188
|
+
missing agent file is exit 2, and a begin marker without its end is exit 2
|
|
189
|
+
rather than a guess at the block bounds. What it removes is the
|
|
190
|
+
reference block and nothing else — everything outside the markers is the
|
|
191
|
+
adopter's, on the same terms the honest bound above states for a rewrite.
|
|
192
|
+
|
|
126
193
|
The round-trip's acceptor is `smoke/install.sh`, per the coverage tier
|
|
127
194
|
gate-sdk/SPEC.md §lib/inject.sh sets for a sourced library with no gate surface:
|
|
128
195
|
it declares a trim in the block the installer just emitted, re-runs the
|
|
129
196
|
installer, and holds that the marker survived in the trimmed bullet's position,
|
|
130
|
-
that the bullet is gone, and that the gate is green across the re-run.
|
|
197
|
+
that the bullet is gone, and that the gate is green across the re-run. The same
|
|
198
|
+
acceptor covers the removal mode on that tier and for that reason: it strips the
|
|
199
|
+
block, holds that a second `--remove` is an idempotent no-op, and reinstalls to
|
|
200
|
+
restore the baseline. It also drives the derivation's refusals, on the same tier
|
|
201
|
+
and for a further reason: a refusal is the installer's behavior rather than the
|
|
202
|
+
gate's, so no gate fixture can reach it. Pointed by the positional overrides at
|
|
203
|
+
a scratch doctrine whose second rule carries no `*Digest:*` trailer — and again
|
|
204
|
+
at one whose second rule carries two — it holds that the run exits 2, that the
|
|
205
|
+
message names the offending rule, and that the agent file is byte-unchanged.
|
|
206
|
+
That last assertion is the one worth having: an installer that refuses after
|
|
207
|
+
writing has failed closed in its exit status only.
|
|
131
208
|
|
|
132
209
|
Positional overrides `install-doctrine.sh [agent-file [doctrine-file]]` let a
|
|
133
210
|
smoke or a fixture point both paths at a scratch tree without touching consumer
|
|
@@ -135,10 +212,12 @@ config; unset, they fall to the knob defaults.
|
|
|
135
212
|
|
|
136
213
|
## check-doctrine-registration
|
|
137
214
|
|
|
138
|
-
Invariant, in
|
|
215
|
+
Invariant, in five assertions: the configured agent file (A) carries a markdown
|
|
139
216
|
link to the configured doctrine file and (B, C) holds its methodology-rule digest
|
|
140
|
-
in per-rule lockstep with the doctrine, and the doctrine's
|
|
141
|
-
|
|
217
|
+
in per-rule lockstep with the doctrine, and the doctrine's two registers tag
|
|
218
|
+
every rule with exactly one per-rule trailer — the craft register with a
|
|
219
|
+
stage-routing trailer (D), the methodology register with the digest trailer its
|
|
220
|
+
bullet is generated from (E). The digest is the surface the
|
|
142
221
|
always-loaded-shape rule requires, and a re-vendored `DOCTRINE.md` that adds or
|
|
143
222
|
renames a methodology-maintenance rule staling every consumer's digest *by
|
|
144
223
|
construction* — on the exact path the kit advertises as its upgrade story — is
|
|
@@ -179,6 +258,20 @@ already couples the agent file and the doctrine file).
|
|
|
179
258
|
unasserted — doctrine-kit does not depend on lifecycle-kit's stage config, and
|
|
180
259
|
the emitter's empty-output posture already covers an unknown stage; the gate
|
|
181
260
|
holds only that the trailer is present and well-formed.
|
|
261
|
+
- **Assertion E (digest-trailer coverage).** Every numbered rule under the
|
|
262
|
+
doctrine's `## Methodology-maintenance rules` section carries exactly one
|
|
263
|
+
`*Digest:*` trailer with a non-empty value. This is D's sibling one register
|
|
264
|
+
over, and the sentence D is argued from transposes exactly: a re-vendored
|
|
265
|
+
`DOCTRINE.md` that adds an untrailered methodology rule reddens here instead of
|
|
266
|
+
silently dropping out of the digest the installer derives (§install-doctrine).
|
|
267
|
+
Zero trailers and two are both findings, for the reason they are on D — a rule
|
|
268
|
+
with two has no decidable bullet, and picking one silently is exactly the guess
|
|
269
|
+
a gate exists to refuse. The value is graded only for emptiness: what makes a
|
|
270
|
+
one-line summary *good* is not machine-decidable, and a check that pretended
|
|
271
|
+
otherwise would be the noisy gate the Enforcement-first carve-out warns
|
|
272
|
+
against. D and E run one walk over a register's numbered rules, parameterized
|
|
273
|
+
by the trailer name and by how its value is graded, so the two registers cannot
|
|
274
|
+
drift apart in how a rule is read.
|
|
182
275
|
|
|
183
276
|
Section resolution fails closed. The digest section is the agent-file heading
|
|
184
277
|
named by `DOCTRINE_KIT_DIGEST_SECTION` (Layout and configuration); a configured
|
|
@@ -201,7 +294,7 @@ a sibling `*.test.sh` drives the extra-line, declared-trim, link-absent,
|
|
|
201
294
|
craft-untagged, craft-malformed, and four fail-closed cases the one-pair harness
|
|
202
295
|
cannot hold (fixture-pair); and registration in this repo's `gates.list` where
|
|
203
296
|
its own always-loaded file is the scan target (self-lint). Positional form
|
|
204
|
-
`check-doctrine-registration
|
|
297
|
+
`check-doctrine-registration [agent-file [doctrine-file]]` lets the fixtures
|
|
205
298
|
point at a synthetic agent and doctrine file.
|
|
206
299
|
|
|
207
300
|
## stage-rules
|