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
|
@@ -21,7 +21,7 @@ done
|
|
|
21
21
|
FILE="${file:-$QUEUE_KIT_QUEUE_FILE}"
|
|
22
22
|
[[ -f "$FILE" ]] || { echo "queue-counts: file not found: $FILE" >&2; exit 2; }
|
|
23
23
|
|
|
24
|
-
# spec: queue-kit/SPEC.md §bin/queue-counts.sh — the counted unit is the top-level entry bullet, the same one
|
|
24
|
+
# spec: queue-kit/SPEC.md §bin/queue-counts.sh — the counted unit is the top-level entry bullet, the same one the queue-index arm lists, so two readers cannot disagree about the size of one queue
|
|
25
25
|
awk -v sects="$(printf '%s\n' "${QUEUE_TASK_SECTIONS[@]}")" -v sectre="$QUEUE_SECTION_RE" '
|
|
26
26
|
BEGIN { n = split(sects, S, "\n") }
|
|
27
27
|
$0 ~ sectre {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# graph: couples=TASK-QUEUE.md dir=one valve=none tier=precommit
|
|
2
2
|
# install: on-surface
|
|
3
|
-
# spec: queue-kit/SPEC.md §check-queue-entry-budget — a deferred entry is a costed filing: bounded above so it is not an inlined amendment, bounded below so it is not a flag-and-skip; an icebox entry is its lead line and nothing else
|
|
3
|
+
# spec: queue-kit/SPEC.md §check-queue-entry-budget — a deferred entry is a costed filing: bounded above so it is not an inlined amendment, bounded below so it is not a flag-and-skip, and bounded in what it may displace; an icebox entry is its lead line and nothing else
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# graph: couples=TASK-QUEUE.md,native/src/gates/queue_prose_precondition.rs dir=one valve=none tier=precommit
|
|
2
|
+
# install: zero-config
|
|
3
|
+
# spec: queue-kit/SPEC.md §check-queue-prose-precondition — no active entry states a forward precondition in prose without a blocked-by tag (selection trusts tags, not prose)
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# graph: couples=TASK-QUEUE.md,ROADMAP.md,scripts/queue-config.sh,native/src/gates/roadmap_fresh.rs,native/src/emit/roadmap.rs,native/src/queue.rs,native/src/marker.rs dir=one valve=none tier=precommit trigger=TASK-QUEUE.md,ROADMAP.md,scripts/queue-config.sh,native/src/gates/roadmap_fresh.rs,native/src/emit/roadmap.rs,native/src/queue.rs,native/src/marker.rs
|
|
2
|
+
# spec: queue-kit/SPEC.md §check-roadmap-fresh — every [roadmap:] tag names a configured horizon and track and pairs with exactly one roadmap-summary: declaration, and the projection page's marker block is the byte-fresh emission of the roadmap arm
|
|
3
|
+
# install: on-surface
|
|
@@ -22,6 +22,21 @@
|
|
|
22
22
|
**Deliverable:** another thing.
|
|
23
23
|
Filed 2026-01-02 by scope.
|
|
24
24
|
|
|
25
|
+
- **zeta-idea** [design-pending] — one line over the cap with no declaration
|
|
26
|
+
anywhere in it, so nothing is discounted and the cap holds exactly where it
|
|
27
|
+
held before. A discount that greened this case would have moved the cap
|
|
28
|
+
rather than the count.
|
|
29
|
+
**Cost while deferred:** low.
|
|
30
|
+
Filed 2026-01-03 by scope.
|
|
31
|
+
|
|
32
|
+
- **eta-idea** [design-pending] — a declaration and one further excess line: the
|
|
33
|
+
discount removes one line from the count and this entry is still over, which
|
|
34
|
+
is the other half of the same demonstration — the discount is one line, not a
|
|
35
|
+
grammar-wide exemption.
|
|
36
|
+
recurrence: eta-idea 2026-01-04 2026-01-08
|
|
37
|
+
**Cost while deferred:** low.
|
|
38
|
+
Filed 2026-01-04 by scope.
|
|
39
|
+
|
|
25
40
|
## Icebox
|
|
26
41
|
|
|
27
42
|
- **delta-idea** [design-pending] — dormant, but carrying a body it must not.
|
|
@@ -23,6 +23,13 @@
|
|
|
23
23
|
**Cost while deferred — bounded:** one stale paragraph, no gate gap.
|
|
24
24
|
Filed 2026-01-02 by scope.
|
|
25
25
|
|
|
26
|
+
- **zeta-idea** [design-pending] — seven extent lines against a six-line cap,
|
|
27
|
+
and the sole excess is the machine-written declaration below, which the
|
|
28
|
+
count discounts one of per entry.
|
|
29
|
+
recurrence: zeta-idea 2026-01-03 2026-01-09
|
|
30
|
+
**Cost while deferred:** low — the discount is what keeps this filing legible.
|
|
31
|
+
Filed 2026-01-03 by scope.
|
|
32
|
+
|
|
26
33
|
## Icebox
|
|
27
34
|
|
|
28
35
|
- **delta-idea** [design-pending] — dormant: cheap to carry, nothing waiting.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
is stale vs
|
|
1
|
+
is stale vs the roadmap arm
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# Behavioral test of bin/queue-counts.sh: the emitted section set is the
|
|
3
3
|
# *configured* task sections in configured order — not a fixed four — and the
|
|
4
|
-
# count is the top-level entry, the unit
|
|
4
|
+
# count is the top-level entry, the unit the queue-index arm lists. The
|
|
5
5
|
# icebox-unset case is the discriminating one: a hardcoded implementation passes
|
|
6
6
|
# a run against this repo's own config and fails only here. queue-counts is a
|
|
7
7
|
# tool, not a gate, so it has no good/bad pair; this drives it directly.
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
#
|
|
7
|
-
# QUEUE_KIT_CONFIG_FILE so the repo's queue-config.sh does not leak in.
|
|
2
|
+
# spec: queue-kit/SPEC.md §The queue-index arm — the seam a crate unit test cannot see: that the
|
|
3
|
+
# battery runner's --emit front-end resolves the arm at all, and that a set consumer knob actually
|
|
4
|
+
# reaches the rendering through the shell bridge. The rendering itself is pinned in the ported
|
|
5
|
+
# module's own #[cfg(test)] tests, where check-crate-arms runs them; duplicating it here would
|
|
6
|
+
# assert the same thing twice and hold neither end of this seam.
|
|
8
7
|
#
|
|
9
8
|
# Run by run-gate-tests.sh (any <tests-dir>/*.test.sh; must exit 0).
|
|
10
9
|
set -uo pipefail
|
|
11
10
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
13
|
+
RUN_GATES="$ROOT/gate-sdk/bin/run-gates.sh"
|
|
15
14
|
SANDBOX="$(mktemp -d)"
|
|
16
15
|
trap 'rm -rf "$SANDBOX"' EXIT
|
|
17
|
-
: >"$SANDBOX/empty-config.sh"
|
|
18
|
-
export QUEUE_KIT_CONFIG_FILE="$SANDBOX/empty-config.sh"
|
|
19
16
|
|
|
20
17
|
fails=0
|
|
21
18
|
checks=0
|
|
19
|
+
note() { echo " FAIL [$1]: $2"; fails=$((fails + 1)); }
|
|
22
20
|
|
|
23
21
|
cat >"$SANDBOX/TASK-QUEUE.md" <<'EOF'
|
|
24
22
|
# TASK-QUEUE.md
|
|
@@ -28,132 +26,70 @@ cat >"$SANDBOX/TASK-QUEUE.md" <<'EOF'
|
|
|
28
26
|
## New Features
|
|
29
27
|
|
|
30
28
|
- **feat-a** — do a thing.
|
|
29
|
+
- **feat-b** [attend-not-a-tag] — another.
|
|
31
30
|
|
|
32
31
|
## Technical Debt
|
|
33
32
|
|
|
34
33
|
## Deferred
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## Lessons Learned
|
|
39
|
-
|
|
40
|
-
- **l1** [attend] — first attention point
|
|
41
|
-
- **l2** [attend] — second attention point
|
|
42
|
-
- **l3** [attend] — third attention point
|
|
43
|
-
- **l4** — not an attention point
|
|
44
|
-
EOF
|
|
45
|
-
|
|
46
|
-
want() { # $1=label $2=output $3=substring-that-must-be-present
|
|
47
|
-
checks=$((checks + 1))
|
|
48
|
-
grep -qF -- "$3" <<<"$2" || { echo " FAIL [$1]: output lacks '$3':"; printf ' %s\n' "$2"; fails=$((fails + 1)); }
|
|
49
|
-
}
|
|
50
|
-
absent() { # $1=label $2=output $3=substring-that-must-be-absent
|
|
51
|
-
checks=$((checks + 1))
|
|
52
|
-
grep -qF -- "$3" <<<"$2" && { echo " FAIL [$1]: output should not contain '$3':"; printf ' %s\n' "$2"; fails=$((fails + 1)); } || true
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
# cap=2: two lead lines shown, third folded into the overflow note.
|
|
56
|
-
out="$(QUEUE_KIT_ATTEND_CAP=2 bash "$IDX" "$SANDBOX/TASK-QUEUE.md")"
|
|
57
|
-
want "cap2-header" "$out" "Attention (Lessons [attend], this iteration):"
|
|
58
|
-
want "cap2-l1" "$out" "first attention point"
|
|
59
|
-
want "cap2-l2" "$out" "second attention point"
|
|
60
|
-
absent "cap2-l3" "$out" "third attention point"
|
|
61
|
-
want "cap2-overflow" "$out" "(+1 more [attend])"
|
|
62
|
-
absent "cap2-l4" "$out" "not an attention point"
|
|
63
|
-
|
|
64
|
-
# default cap (3): all three shown, no overflow note.
|
|
65
|
-
out="$(bash "$IDX" "$SANDBOX/TASK-QUEUE.md")"
|
|
66
|
-
want "cap3-l3" "$out" "third attention point"
|
|
67
|
-
absent "cap3-overflow" "$out" "more [attend])"
|
|
68
|
-
|
|
69
|
-
# --collapse-deferred still appends the block.
|
|
70
|
-
out="$(QUEUE_KIT_ATTEND_CAP=2 bash "$IDX" --collapse-deferred "$SANDBOX/TASK-QUEUE.md")"
|
|
71
|
-
want "collapse-block" "$out" "Attention (Lessons [attend], this iteration):"
|
|
72
|
-
want "collapse-l1" "$out" "first attention point"
|
|
73
|
-
|
|
74
|
-
# [drain-exempt: <reason>] re-echoed on the active line (tags otherwise stripped).
|
|
75
|
-
cat >"$SANDBOX/drain.md" <<'EOF'
|
|
76
|
-
# TASK-QUEUE.md
|
|
77
|
-
|
|
78
|
-
## Iteration: demo
|
|
79
|
-
|
|
80
|
-
## New Features
|
|
81
|
-
|
|
82
|
-
- **feat-b** [drain-exempt: validate-half pending] — spanning feature.
|
|
83
|
-
|
|
84
|
-
## Technical Debt
|
|
85
|
-
|
|
86
|
-
## Deferred
|
|
87
|
-
|
|
88
|
-
## Done
|
|
89
|
-
|
|
90
|
-
## Lessons Learned
|
|
91
|
-
EOF
|
|
92
|
-
out="$(bash "$IDX" "$SANDBOX/drain.md")"
|
|
93
|
-
want "drain-echo" "$out" "[drain-exempt: validate-half pending]"
|
|
94
|
-
want "drain-ready" "$out" "• feat-b"
|
|
95
|
-
|
|
96
|
-
# no [attend] entries -> no attention block.
|
|
97
|
-
cat >"$SANDBOX/none.md" <<'EOF'
|
|
98
|
-
# TASK-QUEUE.md
|
|
99
|
-
|
|
100
|
-
## Iteration: demo
|
|
35
|
+
- **def-a** — a deferred entry.
|
|
101
36
|
|
|
102
|
-
##
|
|
103
|
-
|
|
104
|
-
## Technical Debt
|
|
37
|
+
## Cold Storage
|
|
105
38
|
|
|
106
|
-
|
|
39
|
+
- **ice-a** — an iceboxed entry.
|
|
40
|
+
- **ice-b** — a second iceboxed entry.
|
|
107
41
|
|
|
108
42
|
## Done
|
|
109
43
|
|
|
110
44
|
## Lessons Learned
|
|
111
45
|
|
|
112
|
-
- **
|
|
46
|
+
- **l1** [attend] — first attention point
|
|
47
|
+
- **l2** [attend] — second attention point
|
|
113
48
|
EOF
|
|
114
|
-
out="$(bash "$IDX" "$SANDBOX/none.md")"
|
|
115
|
-
absent "none-block" "$out" "Attention (Lessons"
|
|
116
|
-
|
|
117
|
-
# Title rendering: tags come off without leaving the separator they sat next to.
|
|
118
|
-
# A tag between the slug and the em-dash used to survive the slug-and-dash strip
|
|
119
|
-
# and render `slug — — prose`; a lead line that is all tag has no title at all
|
|
120
|
-
# and renders as the bare slug rather than a dangling separator.
|
|
121
|
-
cat >"$SANDBOX/titles.md" <<'EOF'
|
|
122
|
-
# TASK-QUEUE.md
|
|
123
|
-
|
|
124
|
-
## Iteration: demo
|
|
125
49
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
out="$(
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
50
|
+
emit() { ( cd "$ROOT" && bash "$RUN_GATES" --emit queue-index "$@" 2>&1 ); }
|
|
51
|
+
|
|
52
|
+
# --- the front-end resolves the arm at all ---
|
|
53
|
+
checks=$((checks + 1))
|
|
54
|
+
out="$(emit "$SANDBOX/TASK-QUEUE.md")"; rc=$?
|
|
55
|
+
[[ "$rc" -eq 0 ]] || note resolve "the front-end did not resolve --emit queue-index (exit $rc): $out"
|
|
56
|
+
grep -qF 'Active (pick the first •):' <<<"$out" \
|
|
57
|
+
|| note resolve-render "the arm resolved but rendered no index: $out"
|
|
58
|
+
|
|
59
|
+
# --- a set consumer knob reaches the rendering through the bridge: the icebox section ---
|
|
60
|
+
# The arm cannot know this section name; it arrives only if the bridge carried it.
|
|
61
|
+
checks=$((checks + 1))
|
|
62
|
+
out="$( cd "$ROOT" && env QUEUE_KIT_ICEBOX_SECTION='Cold Storage' \
|
|
63
|
+
bash "$RUN_GATES" --emit queue-index "$SANDBOX/TASK-QUEUE.md" 2>&1 )"
|
|
64
|
+
grep -qF 'Cold Storage: 2 entries' <<<"$out" \
|
|
65
|
+
|| note bridge-icebox "a configured icebox section did not reach the arm through the bridge: $out"
|
|
66
|
+
|
|
67
|
+
checks=$((checks + 1))
|
|
68
|
+
out="$( cd "$ROOT" && env QUEUE_KIT_ICEBOX_SECTION= \
|
|
69
|
+
bash "$RUN_GATES" --emit queue-index "$SANDBOX/TASK-QUEUE.md" 2>&1 )"
|
|
70
|
+
grep -qF 'entries' <<<"$out" \
|
|
71
|
+
&& note bridge-icebox-empty "an empty icebox knob still printed a tally: $out"
|
|
72
|
+
|
|
73
|
+
# --- a set consumer knob reaches the rendering through the bridge: the attend cap ---
|
|
74
|
+
checks=$((checks + 1))
|
|
75
|
+
out="$( cd "$ROOT" && env QUEUE_KIT_ATTEND_CAP=1 \
|
|
76
|
+
bash "$RUN_GATES" --emit queue-index "$SANDBOX/TASK-QUEUE.md" 2>&1 )"
|
|
77
|
+
grep -qF '(+1 more [attend])' <<<"$out" \
|
|
78
|
+
|| note bridge-cap "a lowered attend cap did not reach the arm through the bridge: $out"
|
|
79
|
+
|
|
80
|
+
# --- the other two modes reach the arm through the same front-end ---
|
|
81
|
+
checks=$((checks + 1))
|
|
82
|
+
out="$(emit --extent def-a "$SANDBOX/TASK-QUEUE.md")"
|
|
83
|
+
[[ "$out" =~ ^[0-9]+\ [0-9]+$ ]] \
|
|
84
|
+
|| note bridge-extent "--extent did not reach the arm through the front-end: $out"
|
|
85
|
+
|
|
86
|
+
checks=$((checks + 1))
|
|
87
|
+
out="$(emit --icebox-candidates "$SANDBOX/TASK-QUEUE.md")"; rc=$?
|
|
88
|
+
[[ "$rc" -eq 0 ]] || note bridge-candidates "--icebox-candidates did not reach the arm (exit $rc): $out"
|
|
153
89
|
|
|
154
90
|
if [[ "$fails" -gt 0 ]]; then
|
|
155
91
|
echo "queue-index.test.sh: $fails case(s) failed"
|
|
156
92
|
exit 1
|
|
157
93
|
fi
|
|
158
|
-
echo "queue-index.test.sh: clean (
|
|
94
|
+
echo "queue-index.test.sh: clean (the --emit front-end resolves the arm, and a configured icebox section, an emptied one and a lowered attend cap each reach the rendering through the bridge; $checks checks)"
|
|
159
95
|
exit 0
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
|
-
# Behavioral test of check-roadmap-fresh assertion B and the
|
|
2
|
+
# Behavioral test of check-roadmap-fresh assertion B and the roadmap arm's emit
|
|
3
3
|
# grammar. The gate's good/bad pair proves assertion A (the byte-compare), which
|
|
4
4
|
# is the one axis a single pair can carry; B's rejection shapes and the emitter's
|
|
5
5
|
# projection rules are driven directly here. Config is isolated via
|
|
6
6
|
# QUEUE_KIT_CONFIG_FILE so the repo's queue-config.sh does not leak in.
|
|
7
7
|
#
|
|
8
|
+
# Both halves are compiled now, so both are driven through their declared entry
|
|
9
|
+
# points: gate_run resolves the gate's descriptor and its config bridge, and the
|
|
10
|
+
# battery runner's --emit front-end resolves the arm's. The sandbox is a git repo
|
|
11
|
+
# because that front-end anchors at the toplevel before it dispatches.
|
|
12
|
+
#
|
|
8
13
|
# Run by run-gate-tests.sh (any <tests-dir>/*.test.sh; must exit 0).
|
|
9
14
|
set -uo pipefail
|
|
10
15
|
source "$(dirname "${BASH_SOURCE[0]}")/../../gate-sdk/lib/test-hermetic.sh"
|
|
11
16
|
|
|
12
17
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # queue-kit/
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
CHECKS="$DIR/checks"
|
|
19
|
+
FRONTEND="$DIR/../gate-sdk/bin/run-gates.sh"
|
|
15
20
|
SANDBOX="$(mktemp -d)"
|
|
16
21
|
trap 'rm -rf "$SANDBOX"' EXIT
|
|
22
|
+
git -C "$SANDBOX" init -q
|
|
17
23
|
|
|
18
24
|
cat >"$SANDBOX/config.sh" <<'EOF'
|
|
19
25
|
QUEUE_KIT_HORIZONS=(soon someday)
|
|
@@ -42,14 +48,18 @@ queue() { # $1=the entry lead line, $2=optional body line(s) — writes a minim
|
|
|
42
48
|
}
|
|
43
49
|
decl=' roadmap-summary: A sentence an author marked for the public page.'
|
|
44
50
|
|
|
51
|
+
emit() { # $@ = the arm's own argv tail
|
|
52
|
+
( cd "$SANDBOX" && bash "$FRONTEND" --emit roadmap "$@" 2>&1 )
|
|
53
|
+
}
|
|
54
|
+
|
|
45
55
|
# The projection page is kept fresh throughout, so every verdict below is
|
|
46
56
|
# assertion B's and never assertion A's.
|
|
47
57
|
refresh() {
|
|
48
58
|
printf 'framing\n\n<!-- roadmap:begin -->\n<!-- roadmap:end -->\n' >"$SANDBOX/ROADMAP.md"
|
|
49
|
-
|
|
59
|
+
emit --write >/dev/null
|
|
50
60
|
}
|
|
51
61
|
|
|
52
|
-
run_gate() { ( cd "$SANDBOX" &&
|
|
62
|
+
run_gate() { ( cd "$SANDBOX" && gate_run check-roadmap-fresh "$CHECKS" 2>&1 ); }
|
|
53
63
|
|
|
54
64
|
# Every field valid, one declaration -> clean.
|
|
55
65
|
queue '- **ok-thing** [roadmap: soon/alpha] — a valid entry.' "$decl"
|
|
@@ -131,7 +141,7 @@ want "both-horizon" "$out" "unknown horizon 'eventually'"
|
|
|
131
141
|
printf ' roadmap-summary: A deferred rung, said publicly.\n'
|
|
132
142
|
printf '\n## Done\n\n- shipped-thing\n\n## Lessons Learned\n'
|
|
133
143
|
} >"$SANDBOX/TASK-QUEUE.md"
|
|
134
|
-
out="$(
|
|
144
|
+
out="$(emit)"
|
|
135
145
|
want "emit-declared" "$out" '- **`live-thing`** *(alpha)* — The public sentence, and only this.'
|
|
136
146
|
absent "emit-leadprose" "$out" "LEADPROSE"
|
|
137
147
|
absent "emit-bodyprose" "$out" "BODYPROSE"
|
|
@@ -143,21 +153,21 @@ want "emit-heading" "$out" "### soon"
|
|
|
143
153
|
# The whitelist holds even with the gate bypassed: a tagged entry whose
|
|
144
154
|
# declaration is missing contributes no bullet at all rather than a naked one.
|
|
145
155
|
queue '- **unmarked** [roadmap: soon/alpha] — LEADPROSE only, nothing marked.' ' BODYPROSE here too.'
|
|
146
|
-
out="$(
|
|
156
|
+
out="$(emit)"
|
|
147
157
|
absent "bypass-slug" "$out" "unmarked"
|
|
148
158
|
absent "bypass-leadprose" "$out" "LEADPROSE"
|
|
149
159
|
absent "bypass-bodyprose" "$out" "BODYPROSE"
|
|
150
160
|
|
|
151
161
|
# An empty horizon still gets its heading, carrying the placeholder.
|
|
152
162
|
queue '- **only-soon** [roadmap: soon/alpha] — the only entry.' "$decl"
|
|
153
|
-
out="$(
|
|
163
|
+
out="$(emit)"
|
|
154
164
|
want "empty-heading" "$out" "### someday"
|
|
155
165
|
want "empty-placeholder" "$out" "_Nothing is queued under this horizon._"
|
|
156
166
|
|
|
157
167
|
# The written block ends on a blank line before the :end marker — without it the
|
|
158
168
|
# Pages parser leaves the list open and renders the marker inside the last <li>.
|
|
159
169
|
printf 'framing\n\n<!-- roadmap:begin -->\n<!-- roadmap:end -->\n' >"$SANDBOX/ROADMAP.md"
|
|
160
|
-
|
|
170
|
+
emit --write >/dev/null
|
|
161
171
|
if ! grep -B1 -F -- '<!-- roadmap:end -->' "$SANDBOX/ROADMAP.md" | head -1 | grep -qx ''; then
|
|
162
172
|
echo " FAIL [write-trailing-blank]: no blank line before the :end marker:"
|
|
163
173
|
printf ' %s\n' "$(cat "$SANDBOX/ROADMAP.md")"
|
|
@@ -166,7 +176,7 @@ fi
|
|
|
166
176
|
|
|
167
177
|
# --write leaves every byte outside the markers untouched.
|
|
168
178
|
printf 'KEEP-ABOVE\n\n<!-- roadmap:begin -->\nstale\n<!-- roadmap:end -->\n\nKEEP-BELOW\n' >"$SANDBOX/ROADMAP.md"
|
|
169
|
-
|
|
179
|
+
emit --write >/dev/null
|
|
170
180
|
page="$(cat "$SANDBOX/ROADMAP.md")"
|
|
171
181
|
want "write-above" "$page" "KEEP-ABOVE"
|
|
172
182
|
want "write-below" "$page" "KEEP-BELOW"
|
|
@@ -177,7 +187,7 @@ cat >"$SANDBOX/noroadmap.sh" <<'EOF'
|
|
|
177
187
|
QUEUE_KIT_HORIZONS=(soon someday)
|
|
178
188
|
QUEUE_KIT_TRACKS=(alpha beta)
|
|
179
189
|
EOF
|
|
180
|
-
out="$( cd "$SANDBOX" && QUEUE_KIT_CONFIG_FILE="$SANDBOX/noroadmap.sh"
|
|
190
|
+
out="$( cd "$SANDBOX" && QUEUE_KIT_CONFIG_FILE="$SANDBOX/noroadmap.sh" gate_run check-roadmap-fresh "$CHECKS" 2>&1 )"
|
|
181
191
|
code "skip-exit" "$?" 0
|
|
182
192
|
want "skip" "$out" "this consumer publishes no roadmap"
|
|
183
193
|
|
|
@@ -185,7 +195,7 @@ want "skip" "$out" "this consumer publishes no roadmap"
|
|
|
185
195
|
cat >"$SANDBOX/halfconfig.sh" <<'EOF'
|
|
186
196
|
QUEUE_KIT_HORIZONS=(soon someday)
|
|
187
197
|
EOF
|
|
188
|
-
out="$( cd "$SANDBOX" && QUEUE_KIT_CONFIG_FILE="$SANDBOX/halfconfig.sh"
|
|
198
|
+
out="$( cd "$SANDBOX" && QUEUE_KIT_CONFIG_FILE="$SANDBOX/halfconfig.sh" gate_run check-roadmap-fresh "$CHECKS" 2>&1 )"
|
|
189
199
|
code "half-exit" "$?" 2
|
|
190
200
|
want "half" "$out" "QUEUE_KIT_TRACKS is empty"
|
|
191
201
|
|
|
@@ -97,55 +97,6 @@ queue_live_slugs() {
|
|
|
97
97
|
' "$1"
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
# spec: queue-kit/SPEC.md §bin/roadmap.sh — the one [roadmap:] + roadmap-summary: parse, shared by the emitter and check-roadmap-fresh so the two never disagree on what an entry claims. One TSV line per live entry carrying either, in queue order: <tag-count> <raw-field> <slug> <declaration-count> <summary>. The summary is the entry's roadmap-summary: declaration verbatim — a whitelist, so unmarked body prose never reaches the page.
|
|
101
|
-
queue_roadmap_entries() {
|
|
102
|
-
awk -v taskre="$QUEUE_TASK_RE" -v sectre="$QUEUE_SECTION_RE" '
|
|
103
|
-
function tagcount(line, s, n) {
|
|
104
|
-
s = line; n = 0
|
|
105
|
-
while (match(s, /\[roadmap:/)) { n++; s = substr(s, RSTART + RLENGTH) }
|
|
106
|
-
return n
|
|
107
|
-
}
|
|
108
|
-
function field(line, f) {
|
|
109
|
-
if (!match(line, /\[roadmap:[^]]*\]/)) return ""
|
|
110
|
-
f = substr(line, RSTART, RLENGTH)
|
|
111
|
-
sub(/^\[roadmap:[[:space:]]*/, "", f); sub(/[[:space:]]*\]$/, "", f)
|
|
112
|
-
return f
|
|
113
|
-
}
|
|
114
|
-
function slugof(line) {
|
|
115
|
-
if (!match(line, /\*\*[a-z0-9][a-z0-9-]*\*\*/)) return ""
|
|
116
|
-
return substr(line, RSTART + 2, RLENGTH - 4)
|
|
117
|
-
}
|
|
118
|
-
function declared(line, t) {
|
|
119
|
-
t = line
|
|
120
|
-
sub(/^[[:space:]]*roadmap-summary:[[:space:]]*/, "", t)
|
|
121
|
-
gsub(/[[:space:]]+/, " ", t)
|
|
122
|
-
sub(/^ /, "", t); sub(/ $/, "", t)
|
|
123
|
-
return t
|
|
124
|
-
}
|
|
125
|
-
# spec: queue-kit/SPEC.md §lib/queue.sh — the field column of an untagged entry prints as "-", never empty: tab counts as IFS whitespace, so a reader splitting on it coalesces an empty column and silently shifts every field after it
|
|
126
|
-
function flush( f) {
|
|
127
|
-
f = (fieldv == "" ? "-" : fieldv)
|
|
128
|
-
if (slug != "" && (ntags > 0 || nsum > 0))
|
|
129
|
-
printf "%d\t%s\t%s\t%d\t%s\n", ntags, f, slug, nsum, sumtext
|
|
130
|
-
slug = ""; ntags = 0; nsum = 0; fieldv = ""; sumtext = ""
|
|
131
|
-
}
|
|
132
|
-
$0 ~ taskre { flush(); inq = 1; next }
|
|
133
|
-
$0 ~ sectre { flush(); inq = 0; next }
|
|
134
|
-
!inq { next }
|
|
135
|
-
/^[[:space:]]*-[[:space:]]+\*\*[a-z0-9][a-z0-9-]*\*\*/ {
|
|
136
|
-
flush()
|
|
137
|
-
slug = slugof($0); ntags = tagcount($0); fieldv = field($0)
|
|
138
|
-
next
|
|
139
|
-
}
|
|
140
|
-
# spec: queue-kit/SPEC.md §The tag algebra — the declaration is body-scoped by design, so it is read off a continuation line and counted per entry
|
|
141
|
-
slug != "" && /^[[:space:]]+roadmap-summary:/ {
|
|
142
|
-
nsum++
|
|
143
|
-
if (nsum == 1) sumtext = declared($0)
|
|
144
|
-
}
|
|
145
|
-
END { flush() }
|
|
146
|
-
' "$1"
|
|
147
|
-
}
|
|
148
|
-
|
|
149
100
|
_qk_errs=()
|
|
150
101
|
[[ ${#QUEUE_KIT_ACTIVE_SECTIONS[@]} -gt 0 ]] || _qk_errs+=("QUEUE_KIT_ACTIVE_SECTIONS is empty")
|
|
151
102
|
[[ -n "$QUEUE_KIT_DEFERRED_SECTION" ]] || _qk_errs+=("QUEUE_KIT_DEFERRED_SECTION is empty")
|
package/payload/site-kit/SPEC.md
CHANGED
|
@@ -101,6 +101,7 @@ kit path into a workflow whose whole distribution model is verbatim copy.
|
|
|
101
101
|
|
|
102
102
|
## check-docs-cname-parity
|
|
103
103
|
|
|
104
|
+
`checks/check-docs-cname-parity.gate` (`precommit`, binary-dispatched).
|
|
104
105
|
Invariant: no tracked file cites a `SITE_KIT_ALIASES` host in a `://` URL,
|
|
105
106
|
where the authoritative host `H` is read from `SITE_KIT_CNAME`. The CNAME file
|
|
106
107
|
must hold exactly one non-blank host line (else exit 2); `H` itself is exempt
|
|
@@ -113,8 +114,34 @@ one-line edit to the CNAME file that the gate re-propagates — the host lives i
|
|
|
113
114
|
one gated place, and drift anywhere else is caught. The scan reads tracked
|
|
114
115
|
content only, so an untracked local file is never a source; a `git ls-files`
|
|
115
116
|
error is fail-closed (exit 2). The positional form
|
|
116
|
-
`check-docs-cname-parity
|
|
117
|
-
|
|
117
|
+
`check-docs-cname-parity <scan-root> <cname-file>` lets a fixture point both at
|
|
118
|
+
a synthetic tree without touching consumer config.
|
|
119
|
+
|
|
120
|
+
**Its default scan root makes the whole tracked tree its content corpus, and
|
|
121
|
+
that is a port cost worth stating where the rule lives.** With `SITE_KIT_SCAN_ROOT`
|
|
122
|
+
unset the walk is every tracked file, so every kit's `checks/*.sh` and `*.gate`
|
|
123
|
+
is inside the corpus this gate reads *as content* — gate-sdk's criterion 4
|
|
124
|
+
verbatim, reached through the walk rather than through the trigger field. The
|
|
125
|
+
`# graph:` couple is the single literal CNAME file, so the derived
|
|
126
|
+
substrate-sensitive set never selects it and gate-sdk's conservation assertion
|
|
127
|
+
structurally cannot see the hold; it is the first worked instance in that
|
|
128
|
+
direction (gate-sdk/SPEC.md §The fourth budget batch). The discharge is the
|
|
129
|
+
general one: the fixture pair carries the arm, because `gate-tests` is pruned
|
|
130
|
+
from every live-tree walk and no port can change what is inside it. The pair's
|
|
131
|
+
good case therefore takes the default arm — no positional, scan root and CNAME
|
|
132
|
+
both off the config bridge, a fixture declaration path inside its own corpus —
|
|
133
|
+
and the bad case keeps the explicit-root arm.
|
|
134
|
+
|
|
135
|
+
**There is no third positional selecting a config file, and the ground is a
|
|
136
|
+
finding rather than a preference.** Such an argument could only work by exporting
|
|
137
|
+
`SITE_KIT_CONFIG_FILE` and re-sourcing `lib/site.sh` mid-run. A
|
|
138
|
+
`.gate`-dispatched member cannot do that: the config bridge resolves every declared knob *before* the binary starts
|
|
139
|
+
(gate-sdk/SPEC.md §lib/gate.sh), so an argument that selects which config file
|
|
140
|
+
the knobs come from arrives a process too late, and a documented flag that
|
|
141
|
+
silently changes nothing is worse than none. A fixture supplies its own alias set
|
|
142
|
+
the way any consumer does — a `site-config.sh` in the gates dir the loader
|
|
143
|
+
already resolves — which is the shape gate-sdk/SPEC.md §The third budget batch
|
|
144
|
+
settled for the same cause, and it costs the pair nothing.
|
|
118
145
|
|
|
119
146
|
## check-docs-render-fidelity
|
|
120
147
|
|
|
@@ -210,6 +237,18 @@ consumer registers this gate; it stays outside env-probe's probe-set floor, and
|
|
|
210
237
|
published docs site simply omits the gate by the registry-not-array convention
|
|
211
238
|
and never installs the dependency.
|
|
212
239
|
|
|
240
|
+
**This member is held on shell, and the hop from its declaration lands here.** The
|
|
241
|
+
program the rule requires is the **first element of `SITE_KIT_RENDERER`**, so
|
|
242
|
+
gate-sdk's criterion 7 blocks the port, and the blocker is class (i) under that
|
|
243
|
+
criterion's hold-worthiness test: the renderer *is* the contract this gate renders
|
|
244
|
+
through, so removing it changes the verdict and designing it away means
|
|
245
|
+
re-deciding the rule. The declaration therefore carries `# port-until:` naming the
|
|
246
|
+
queue entry that owns the blocker (gate-sdk/SPEC.md §The `# graph:` manifest). The
|
|
247
|
+
dependency itself, and the fact that a consumer who repoints the knob moves it, are
|
|
248
|
+
owned at §Layout and configuration under that knob and are not restated here — the
|
|
249
|
+
knob's value is what the blocker is a property of, so that bullet is its right home
|
|
250
|
+
and this paragraph is the pointer a reader arriving from the declaration needs.
|
|
251
|
+
|
|
213
252
|
**The batch stream, and why the count is the fail-closed.** One renderer process
|
|
214
253
|
per page is the gate's whole cost — the interpreter restarts, not the rendering —
|
|
215
254
|
so where `SITE_KIT_RENDERER_BATCH` is non-empty the gate renders the corpus over
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# graph: couples=docs/CNAME,native/src/gates/docs_cname_parity.rs,native/src/fresh.rs dir=one valve=none tier=precommit trigger=*
|
|
2
|
+
# install: on-surface
|
|
3
|
+
# spec: site-kit/SPEC.md §check-docs-cname-parity — the docs/CNAME host is the single gated source of truth for the docs host; no tracked file names a configured host alias other than that host in a URL
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# graph: couples=docs/*.md,docs/*/index.md,docs/posts/*.md dir=one valve=none tier=precommit
|
|
3
3
|
# install: on-surface
|
|
4
|
+
# port-until: cohort-held-members-port-prerequisites
|
|
4
5
|
# spec: site-kit/SPEC.md §check-docs-render-fidelity — every tracked docs markdown page, rendered through the Pages parser, leaks no code-span corruption symptom (a stray backtick or a raw non-HTML-element tag) into text, promotes no code-fenced heading, and renders no fewer tables than its source GFM table starts; a missing renderer fails closed
|
|
5
6
|
#
|
|
6
7
|
# usage: check-docs-render-fidelity.sh [docs-dir] [config-file]
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
# Point the gate at this fixture's synthetic tree
|
|
2
|
-
# tracked doc cites two configured aliases in ://URL
|
|
3
|
-
# exempt path. The
|
|
4
|
-
|
|
1
|
+
# Point the gate at this fixture's synthetic tree and CNAME — the EXPLICIT
|
|
2
|
+
# scan-root arm. A tracked doc there cites two configured aliases in ://URL
|
|
3
|
+
# form, neither under an exempt path. The alias set arrives through the knob,
|
|
4
|
+
# from this case's own scripts/site-config.sh. The gate must REJECT.
|
|
5
|
+
tree tree/CNAME
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
|
|
1
|
+
# No positional: the gate takes its DEFAULT whole-tree arm — SITE_KIT_SCAN_ROOT
|
|
2
|
+
# resolves to "." and SITE_KIT_CNAME to docs/CNAME, both through the config
|
|
3
|
+
# bridge, from this case dir. The corpus is therefore every tracked file of this
|
|
4
|
+
# case, declaration paths included, which is the criterion-4 exposure that arm
|
|
5
|
+
# creates and the reason it needs a case at all. The alias URLs sit under the
|
|
6
|
+
# pruned and the exempt path classes, so the gate must PASS.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# graph: couples=docs/CNAME dir=one valve=none tier=precommit
|
|
2
|
+
# no-fixture: fixture descriptor (scanned as text, never dispatched): a declaration path lying inside the corpus the default whole-tree arm scans as content, which is criterion 4's predicate verbatim
|
|
3
|
+
# spec: site-kit/SPEC.md §check-docs-cname-parity — the live site is <https://apex.example/>, the apex host, so this declaration is scanned and cleared rather than skipped
|
|
@@ -1 +1 @@
|
|
|
1
|
-
DOCS-CNAME-PARITY: clean
|
|
1
|
+
DOCS-CNAME-PARITY: clean (6 tracked file(s) under .; no alias but the docs host 'apex.example' cited in a URL)
|
|
@@ -31,4 +31,4 @@ mkdir -p .github/workflows
|
|
|
31
31
|
cp "$SMOKE_KIT_ROOT/templates/site-health.yml" .github/workflows/site-health.yml
|
|
32
32
|
|
|
33
33
|
bash "$SDK/bin/gen-pre-commit.sh" --write >/dev/null
|
|
34
|
-
bash "$SDK/
|
|
34
|
+
bash "$SDK/bin/run-gates.sh" --emit graph > scripts/CHECK-GRAPH.html
|