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.
Files changed (548) hide show
  1. package/README.md +855 -96
  2. package/lib/common/lock.sh +45 -9
  3. package/lib/common/profile.sh +33 -0
  4. package/lib/common/recipe.sh +50 -34
  5. package/lib/diff.sh +66 -0
  6. package/lib/doctor.sh +67 -42
  7. package/lib/init.sh +62 -46
  8. package/lib/uninstall.sh +214 -0
  9. package/lib/update.sh +34 -0
  10. package/package.json +2 -2
  11. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
  12. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  13. package/payload/canon-kit/README.md +1 -0
  14. package/payload/canon-kit/SPEC.md +527 -63
  15. package/payload/canon-kit/checks/check-amendment-queue.gate +3 -0
  16. package/payload/canon-kit/checks/check-comment-tier.gate +3 -0
  17. package/payload/canon-kit/checks/check-deprecation-task.gate +3 -0
  18. package/payload/canon-kit/checks/check-docs-cmd.gate +3 -0
  19. package/payload/canon-kit/checks/check-docs-link-convention.gate +3 -0
  20. package/payload/canon-kit/checks/check-install-claim.gate +3 -0
  21. package/payload/canon-kit/checks/check-knob-citation.gate +3 -0
  22. package/payload/canon-kit/checks/check-knob-default-coupling.gate +3 -0
  23. package/payload/canon-kit/checks/check-manifest-count.gate +3 -0
  24. package/payload/canon-kit/checks/check-manifest-temporal.gate +3 -0
  25. package/payload/canon-kit/checks/check-md-refs.gate +3 -0
  26. package/payload/canon-kit/checks/check-measured-claim.gate +3 -0
  27. package/payload/canon-kit/checks/check-payload-claim.gate +3 -0
  28. package/payload/canon-kit/checks/check-prose-enum.gate +3 -0
  29. package/payload/canon-kit/checks/check-prose-tells.gate +3 -0
  30. package/payload/canon-kit/checks/check-spec-derivable-section.gate +3 -0
  31. package/payload/canon-kit/checks/check-spec-dod-singleton.gate +3 -0
  32. package/payload/canon-kit/checks/check-spec-embedded-source.gate +3 -0
  33. package/payload/canon-kit/checks/check-spec-fence-balance.gate +3 -0
  34. package/payload/canon-kit/checks/check-spec-pointer.gate +3 -0
  35. package/payload/canon-kit/checks/check-surface-duplication.sh +1 -0
  36. package/payload/canon-kit/checks/check-todo-task-liveness.gate +3 -0
  37. package/payload/canon-kit/checks/check-tracking-claim.gate +3 -0
  38. package/payload/canon-kit/gate-tests/check-amendment-queue/bad/SPEC-orphan.md +6 -0
  39. package/payload/canon-kit/gate-tests/check-amendment-queue/bad/TASK-QUEUE.md +7 -2
  40. package/payload/canon-kit/gate-tests/check-amendment-queue/bad/expect.txt +8 -0
  41. package/payload/canon-kit/gate-tests/check-comment-tier/bad/.workflow/fixture-state.txt +4 -0
  42. package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.gate +4 -0
  43. package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.rs +5 -0
  44. package/payload/canon-kit/gate-tests/check-comment-tier/bad/bad.sh +3 -0
  45. package/payload/canon-kit/gate-tests/check-comment-tier/bad/expect.txt +5 -0
  46. package/payload/canon-kit/gate-tests/check-comment-tier/bad/templates/bad-tmpl.sh +4 -0
  47. package/payload/canon-kit/gate-tests/check-comment-tier/good/.workflow/fixture-state.txt +3 -0
  48. package/payload/canon-kit/gate-tests/check-comment-tier/good/expect.txt +1 -1
  49. package/payload/canon-kit/gate-tests/check-comment-tier/good/good.gate +4 -0
  50. package/payload/canon-kit/gate-tests/check-comment-tier/good/good.rs +5 -0
  51. package/payload/canon-kit/gate-tests/check-comment-tier/good/good.sh +3 -0
  52. package/payload/canon-kit/gate-tests/check-comment-tier/good/templates/good-tmpl.sh +5 -0
  53. package/payload/canon-kit/gate-tests/check-comment-tier.test.sh +3 -2
  54. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/.workflow/fixture-state.txt +3 -0
  55. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/bad.gate +2 -0
  56. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/bad.rs +4 -0
  57. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/expect.txt +3 -0
  58. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.sh +6 -5
  59. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/templates/tmpl.sh +5 -0
  60. package/payload/canon-kit/gate-tests/check-deprecation-task/good/.workflow/fixture-state.txt +3 -0
  61. package/payload/canon-kit/gate-tests/check-deprecation-task/good/expect.txt +1 -1
  62. package/payload/canon-kit/gate-tests/check-deprecation-task/good/good.gate +2 -0
  63. package/payload/canon-kit/gate-tests/check-deprecation-task/good/good.rs +4 -0
  64. package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.sh +6 -5
  65. package/payload/canon-kit/gate-tests/check-deprecation-task/good/templates/tmpl.sh +5 -0
  66. package/payload/canon-kit/gate-tests/check-deprecation-task.test.sh +4 -3
  67. package/payload/canon-kit/gate-tests/check-docs-link-convention.test.sh +4 -4
  68. package/payload/canon-kit/gate-tests/check-knob-citation.test.sh +2 -2
  69. package/payload/canon-kit/gate-tests/check-knob-default-coupling.test.sh +2 -2
  70. package/payload/canon-kit/gate-tests/check-manifest-count/good/SPEC.md +4 -0
  71. package/payload/canon-kit/gate-tests/check-manifest-count.test.sh +27 -5
  72. package/payload/canon-kit/gate-tests/check-md-refs.test.sh +61 -9
  73. package/payload/canon-kit/gate-tests/check-measured-claim/bad/SPEC.md +12 -0
  74. package/payload/canon-kit/gate-tests/check-measured-claim/bad/expect.txt +3 -0
  75. package/payload/canon-kit/gate-tests/check-measured-claim/bad/scripts/canon-config.sh +6 -0
  76. package/payload/canon-kit/gate-tests/check-measured-claim/good/SPEC.md +23 -0
  77. package/payload/canon-kit/gate-tests/check-measured-claim/good/expect.txt +1 -0
  78. package/payload/canon-kit/gate-tests/check-measured-claim/good/scripts/canon-config.sh +6 -0
  79. package/payload/canon-kit/gate-tests/check-measured-claim.test.sh +90 -0
  80. package/payload/canon-kit/gate-tests/check-prose-enum.test.sh +3 -3
  81. package/payload/canon-kit/gate-tests/check-spec-dod-singleton.test.sh +21 -7
  82. package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/SPEC-wire.md +18 -0
  83. package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/expect.txt +3 -1
  84. package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/widget.proto +13 -0
  85. package/payload/canon-kit/gate-tests/check-spec-embedded-source/good/SPEC-wire.md +22 -0
  86. package/payload/canon-kit/gate-tests/check-spec-embedded-source/good/SPEC.md +17 -0
  87. package/payload/canon-kit/gate-tests/check-spec-embedded-source/good/widget.proto +13 -0
  88. package/payload/canon-kit/gate-tests/check-spec-pointer/bad/.workflow/fixture-state.txt +2 -0
  89. package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.gate +2 -0
  90. package/payload/canon-kit/gate-tests/check-spec-pointer/bad/bad.rs +4 -0
  91. package/payload/canon-kit/gate-tests/check-spec-pointer/bad/expect.txt +3 -0
  92. package/payload/canon-kit/gate-tests/check-spec-pointer/bad/templates/tmpl.sh +5 -0
  93. package/payload/canon-kit/gate-tests/check-spec-pointer/good/.workflow/fixture-state.txt +2 -0
  94. package/payload/canon-kit/gate-tests/check-spec-pointer/good/expect.txt +1 -1
  95. package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.gate +2 -0
  96. package/payload/canon-kit/gate-tests/check-spec-pointer/good/good.rs +4 -0
  97. package/payload/canon-kit/gate-tests/check-spec-pointer/good/templates/tmpl.sh +5 -0
  98. package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/.workflow/fixture-state.txt +3 -0
  99. package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/bad.gate +2 -0
  100. package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/bad.rs +4 -0
  101. package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/expect.txt +3 -0
  102. package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/templates/tmpl.sh +5 -0
  103. package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/.workflow/fixture-state.txt +3 -0
  104. package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/expect.txt +1 -1
  105. package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/good.gate +2 -0
  106. package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/good.rs +4 -0
  107. package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/templates/tmpl.sh +5 -0
  108. package/payload/canon-kit/gate-tests/check-tracking-claim.test.sh +1 -2
  109. package/payload/canon-kit/lib/spec.sh +91 -62
  110. package/payload/canon-kit/smoke/install.sh +2 -1
  111. package/payload/canon-kit/templates/SPEC-amendment.md +4 -1
  112. package/payload/context-kit/README.md +10 -5
  113. package/payload/context-kit/SPEC.md +364 -62
  114. package/payload/context-kit/bin/always-loaded.sh +5 -21
  115. package/payload/context-kit/bin/env-probe.sh +21 -23
  116. package/payload/context-kit/checks/check-brevity.gate +3 -0
  117. package/payload/context-kit/checks/check-footprint-fresh.gate +3 -0
  118. package/payload/context-kit/checks/check-memory-off.gate +3 -0
  119. package/payload/context-kit/checks/check-settings-paths.gate +3 -0
  120. package/payload/context-kit/checks/check-settings-pins.gate +3 -0
  121. package/payload/context-kit/gate-tests/check-brevity.test.sh +3 -2
  122. package/payload/context-kit/gate-tests/check-memory-off/bad/scripts/context-config.sh +4 -0
  123. package/payload/context-kit/gate-tests/check-memory-off/good/scripts/context-config.sh +4 -0
  124. package/payload/context-kit/gate-tests/check-memory-off.test.sh +18 -4
  125. package/payload/context-kit/gate-tests/check-settings-paths/bad/expect.txt +3 -0
  126. package/payload/context-kit/gate-tests/check-settings-paths/bad/settings.json +12 -0
  127. package/payload/context-kit/gate-tests/check-settings-paths/bad/tools/real-tool.sh +4 -0
  128. package/payload/context-kit/gate-tests/check-settings-paths/good/expect.txt +1 -0
  129. package/payload/context-kit/gate-tests/check-settings-paths/good/settings.json +16 -0
  130. package/payload/context-kit/gate-tests/check-settings-paths/good/tools/real-tool.sh +4 -0
  131. package/payload/context-kit/gate-tests/check-settings-pins.test.sh +70 -0
  132. package/payload/context-kit/index-tests/expected/toolfloor.txt +9 -0
  133. package/payload/context-kit/index-tests/toolfloor-cases.sh +20 -0
  134. package/payload/context-kit/lib/context.sh +56 -0
  135. package/payload/context-kit/lib/toolfloor.sh +15 -4
  136. package/payload/context-kit/smoke/agents-md.sh +27 -4
  137. package/payload/context-kit/smoke/install.sh +4 -2
  138. package/payload/context-kit/templates/session-context.sh +5 -5
  139. package/payload/delegation-kit/README.md +3 -3
  140. package/payload/delegation-kit/SPEC.md +400 -22
  141. package/payload/delegation-kit/checks/check-agent-tier-explicit.gate +3 -0
  142. package/payload/delegation-kit/checks/check-gate-tamper.gate +3 -0
  143. package/payload/delegation-kit/checks/check-rule-citation.gate +3 -0
  144. package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/added-exemptions +5 -0
  145. package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/expect.txt +2 -0
  146. package/payload/delegation-kit/gate-tests/check-gate-tamper.test.sh +108 -0
  147. package/payload/delegation-kit/smoke/install.sh +1 -1
  148. package/payload/delegation-kit/templates/agent-execution.md +109 -18
  149. package/payload/delegation-kit/templates/statusline-usage.sh +23 -1
  150. package/payload/doctrine-kit/DOCTRINE.md +86 -12
  151. package/payload/doctrine-kit/README.md +7 -3
  152. package/payload/doctrine-kit/SPEC.md +103 -10
  153. package/payload/doctrine-kit/bin/install-doctrine.sh +83 -13
  154. package/payload/doctrine-kit/checks/check-doctrine-registration.gate +3 -0
  155. package/payload/doctrine-kit/gate-tests/check-doctrine-registration/bad/DOCTRINE.md +3 -0
  156. package/payload/doctrine-kit/gate-tests/check-doctrine-registration/good/DOCTRINE.md +3 -0
  157. package/payload/doctrine-kit/gate-tests/check-doctrine-registration.test.sh +84 -5
  158. package/payload/doctrine-kit/smoke/install.sh +106 -3
  159. package/payload/drift-kit/README.md +2 -2
  160. package/payload/drift-kit/SPEC.md +84 -11
  161. package/payload/drift-kit/bin/kfric.sh +21 -2
  162. package/payload/drift-kit/bin/stage-economics.sh +1 -1
  163. package/payload/drift-kit/lib/drift.sh +43 -0
  164. package/payload/drift-kit/smoke/install.sh +49 -14
  165. package/payload/evidence-kit/README.md +3 -1
  166. package/payload/evidence-kit/SPEC.md +160 -19
  167. package/payload/evidence-kit/checks/check-battery-roster.gate +3 -0
  168. package/payload/evidence-kit/checks/check-evidence-baseline.gate +3 -0
  169. package/payload/evidence-kit/checks/check-evidence-manifest.gate +3 -0
  170. package/payload/evidence-kit/checks/check-producer-liveness.sh +43 -2
  171. package/payload/evidence-kit/gate-tests/check-battery-roster.test.sh +4 -3
  172. package/payload/evidence-kit/gate-tests/check-evidence-baseline.test.sh +8 -5
  173. package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/WORKFLOW-STATE.txt +1 -1
  174. package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/scripts/evidence-config.sh +9 -0
  175. package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/WORKFLOW-STATE.txt +1 -1
  176. package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/scripts/evidence-config.sh +9 -0
  177. package/payload/evidence-kit/gate-tests/check-evidence-manifest.test.sh +6 -4
  178. package/payload/evidence-kit/gate-tests/producer-lock.test.sh +42 -1
  179. package/payload/evidence-kit/lib/evidence.sh +2 -0
  180. package/payload/evidence-kit/smoke/install.sh +1 -1
  181. package/payload/gate-sdk/README.md +23 -7
  182. package/payload/gate-sdk/SPEC.md +6402 -291
  183. package/payload/gate-sdk/bin/build-native.sh +38 -0
  184. package/payload/gate-sdk/bin/gen-pre-commit.sh +23 -3
  185. package/payload/gate-sdk/bin/install-hooks.sh +14 -2
  186. package/payload/gate-sdk/bin/port-blockers.sh +473 -0
  187. package/payload/gate-sdk/bin/run-consumer-smoke.sh +8 -1
  188. package/payload/gate-sdk/bin/run-gate-tests.sh +27 -7
  189. package/payload/gate-sdk/bin/run-gates.sh +30 -2
  190. package/payload/gate-sdk/bin/upgrade-smoke.sh +70 -17
  191. package/payload/gate-sdk/checks/check-action-gh-repo.gate +1 -0
  192. package/payload/gate-sdk/checks/check-action-pinning.gate +1 -0
  193. package/payload/gate-sdk/checks/check-action-run-shell.sh +2 -0
  194. package/payload/gate-sdk/checks/check-assertion-strength.gate +3 -0
  195. package/payload/gate-sdk/checks/check-commit-msg.gate +3 -0
  196. package/payload/gate-sdk/checks/check-commit-subject.gate +3 -0
  197. package/payload/gate-sdk/checks/check-core-files.gate +3 -0
  198. package/payload/gate-sdk/checks/check-crate-arms.sh +62 -0
  199. package/payload/gate-sdk/checks/check-enforcement-fresh.gate +3 -0
  200. package/payload/gate-sdk/checks/check-exec-bit.gate +3 -0
  201. package/payload/gate-sdk/checks/check-gate-assertions.sh +32 -6
  202. package/payload/gate-sdk/checks/check-gate-binary-fresh.gate +3 -0
  203. package/payload/gate-sdk/checks/check-gate-exemption-tasks.gate +3 -0
  204. package/payload/gate-sdk/checks/check-gate-fail-closed.gate +3 -0
  205. package/payload/gate-sdk/checks/check-gate-fixture-coverage.gate +3 -0
  206. package/payload/gate-sdk/checks/check-gate-output.gate +3 -0
  207. package/payload/gate-sdk/checks/check-gate-substrate-parity.sh +109 -14
  208. package/payload/gate-sdk/checks/check-graph.gate +3 -0
  209. package/payload/gate-sdk/checks/check-hook-exec-bit.gate +3 -0
  210. package/payload/gate-sdk/checks/check-identity.gate +3 -0
  211. package/payload/gate-sdk/checks/check-install-disposition.sh +93 -0
  212. package/payload/gate-sdk/checks/check-kit-enum.gate +3 -0
  213. package/payload/gate-sdk/checks/check-kit-registration.gate +3 -0
  214. package/payload/gate-sdk/checks/check-readme-roster.gate +3 -0
  215. package/payload/gate-sdk/checks/check-reads-couples.gate +3 -0
  216. package/payload/gate-sdk/checks/check-root-tiering.gate +3 -0
  217. package/payload/gate-sdk/checks/check-shellcheck.sh +2 -0
  218. package/payload/gate-sdk/checks/check-smoke-entry-guard.gate +3 -0
  219. package/payload/gate-sdk/checks/check-template-copy-parity.gate +3 -0
  220. package/payload/gate-sdk/checks/check-template-registry-parity.gate +3 -0
  221. package/payload/gate-sdk/checks/check-test-hermetic.gate +3 -0
  222. package/payload/gate-sdk/checks/check-tree-terms.sh +2 -0
  223. package/payload/gate-sdk/checks/check-workflow-tiering.gate +3 -0
  224. package/payload/gate-sdk/gate-tests/check-commit-subject.test.sh +17 -12
  225. package/payload/gate-sdk/gate-tests/check-core-files.test.sh +4 -5
  226. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/Cargo.toml +7 -0
  227. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/src/lib.rs +12 -0
  228. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/expect.txt +5 -0
  229. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.sh +2 -0
  230. package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/Cargo.toml +7 -0
  231. package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/src/lib.rs +11 -0
  232. package/payload/gate-sdk/gate-tests/check-crate-arms/good/expect.txt +2 -0
  233. package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.sh +2 -0
  234. package/payload/gate-sdk/gate-tests/check-exec-bit/bad/dump.txt +2 -1
  235. package/payload/gate-sdk/gate-tests/check-exec-bit/bad/expect.txt +2 -1
  236. package/payload/gate-sdk/gate-tests/check-exec-bit/good/dump.txt +3 -0
  237. package/payload/gate-sdk/gate-tests/check-exec-bit/good/expect.txt +1 -1
  238. package/payload/gate-sdk/gate-tests/check-exec-bit.test.sh +3 -4
  239. package/payload/gate-sdk/gate-tests/check-gate-assertions/good/expect.txt +1 -1
  240. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh.test.sh +26 -4
  241. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/args +6 -1
  242. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/expect.txt +2 -0
  243. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/kitroot/checks/check-vendored-descriptor.gate +4 -0
  244. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/kitroot/checks/check-vendored.sh +14 -0
  245. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-descriptor.gate +4 -0
  246. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-held.sh +8 -0
  247. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/args +8 -1
  248. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/expect.txt +3 -0
  249. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/kitroot/checks/check-vendored-descriptor.gate +4 -0
  250. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/kitroot/checks/check-vendored.sh +14 -0
  251. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-descriptor.gate +4 -0
  252. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-held.sh +8 -0
  253. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks.test.sh +77 -0
  254. package/payload/gate-sdk/gate-tests/check-gate-output/bad/check-native-sample.gate +3 -0
  255. package/payload/gate-sdk/gate-tests/check-gate-output/bad/expect.txt +3 -0
  256. package/payload/gate-sdk/gate-tests/check-gate-output/bad/gates.list +1 -0
  257. package/payload/gate-sdk/gate-tests/check-gate-output/bad/native/Cargo.toml +4 -0
  258. package/payload/gate-sdk/gate-tests/check-gate-output/bad/native/src/gates/native_sample.rs +7 -0
  259. package/payload/gate-sdk/gate-tests/check-gate-output/good/check-native-sample.gate +3 -0
  260. package/payload/gate-sdk/gate-tests/check-gate-output/good/expect.txt +1 -1
  261. package/payload/gate-sdk/gate-tests/check-gate-output/good/gates.list +1 -0
  262. package/payload/gate-sdk/gate-tests/check-gate-output/good/native/Cargo.toml +4 -0
  263. package/payload/gate-sdk/gate-tests/check-gate-output/good/native/src/gates/native_sample.rs +11 -0
  264. package/payload/gate-sdk/gate-tests/check-gate-output.test.sh +110 -0
  265. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/expect.txt +7 -0
  266. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-alpha.sh +1 -0
  267. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-bare.sh +4 -0
  268. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-both.sh +5 -0
  269. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-heldtwice.sh +5 -0
  270. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-orphan.gate +2 -0
  271. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-twice.sh +5 -0
  272. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/gates.list +4 -0
  273. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/expect.txt +2 -1
  274. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-alpha.sh +1 -0
  275. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-held.sh +4 -0
  276. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gates.list +1 -0
  277. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity.test.sh +110 -4
  278. package/payload/gate-sdk/gate-tests/check-graph/bad/SPEC-example-gate.md +15 -5
  279. package/payload/gate-sdk/gate-tests/check-graph/bad/expect.txt +12 -0
  280. package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-example-gate.md +27 -5
  281. package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-second-gate.md +12 -0
  282. package/payload/gate-sdk/gate-tests/check-graph-cap.test.sh +5 -4
  283. package/payload/gate-sdk/gate-tests/check-graph-refs.test.sh +14 -12
  284. package/payload/gate-sdk/gate-tests/check-graph-theme.test.sh +43 -17
  285. package/payload/gate-sdk/gate-tests/check-graph-tree.test.sh +190 -0
  286. package/payload/gate-sdk/gate-tests/check-identity/bad/gh-hosts.yml +9 -0
  287. package/payload/gate-sdk/gate-tests/check-identity/bad/identity.conf +4 -2
  288. package/payload/gate-sdk/gate-tests/check-identity/bad/scripts/gate-sdk-config.sh +10 -0
  289. package/payload/gate-sdk/gate-tests/check-identity/good/gh-hosts.yml +11 -0
  290. package/payload/gate-sdk/gate-tests/check-identity/good/identity.conf +5 -1
  291. package/payload/gate-sdk/gate-tests/check-identity/good/scripts/gate-sdk-config.sh +10 -0
  292. package/payload/gate-sdk/gate-tests/check-identity.test.sh +114 -0
  293. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-alpha.sh +6 -0
  294. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-delta.sh +5 -0
  295. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/checks/check-epsilon.sh +6 -0
  296. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/alpha-kit/smoke/install.sh +7 -0
  297. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/args +6 -0
  298. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/expect.txt +1 -0
  299. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/installer/lib/common/recipe.sh +9 -0
  300. package/payload/gate-sdk/gate-tests/check-install-disposition/bad/scripts/gate-sdk-config.sh +5 -0
  301. package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-alpha.sh +6 -0
  302. package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-beta.gate +3 -0
  303. package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/checks/check-gamma.sh +6 -0
  304. package/payload/gate-sdk/gate-tests/check-install-disposition/good/alpha-kit/smoke/install.sh +8 -0
  305. package/payload/gate-sdk/gate-tests/check-install-disposition/good/args +6 -0
  306. package/payload/gate-sdk/gate-tests/check-install-disposition/good/expect.txt +1 -0
  307. package/payload/gate-sdk/gate-tests/check-install-disposition/good/installer/lib/common/recipe.sh +10 -0
  308. package/payload/gate-sdk/gate-tests/check-install-disposition/good/scripts/gate-sdk-config.sh +5 -0
  309. package/payload/gate-sdk/gate-tests/check-kit-enum/bad/check-native-sample.gate +3 -0
  310. package/payload/gate-sdk/gate-tests/check-kit-enum/bad/gates.list +4 -1
  311. package/payload/gate-sdk/gate-tests/check-kit-enum/good/check-native-sample.gate +3 -0
  312. package/payload/gate-sdk/gate-tests/check-kit-enum/good/expect.txt +1 -1
  313. package/payload/gate-sdk/gate-tests/check-kit-enum/good/gates.list +5 -2
  314. package/payload/gate-sdk/gate-tests/check-kit-registration.test.sh +6 -5
  315. package/payload/gate-sdk/gate-tests/check-readme-roster/bad/args +3 -1
  316. package/payload/gate-sdk/gate-tests/check-readme-roster/bad/delta-kit/README.md +15 -0
  317. package/payload/gate-sdk/gate-tests/check-readme-roster/bad/delta-kit/checks/check-delta-one.gate +2 -0
  318. package/payload/gate-sdk/gate-tests/check-readme-roster/bad/delta-kit/checks/check-delta-two.sh +3 -0
  319. package/payload/gate-sdk/gate-tests/check-readme-roster/bad/expect.txt +3 -1
  320. package/payload/gate-sdk/gate-tests/check-readme-roster/bad/scripts/gate-sdk-config.sh +1 -1
  321. package/payload/gate-sdk/gate-tests/check-readme-roster/good/args +3 -1
  322. package/payload/gate-sdk/gate-tests/check-readme-roster/good/delta-kit/README.md +13 -0
  323. package/payload/gate-sdk/gate-tests/check-readme-roster/good/delta-kit/checks/check-delta-one.gate +2 -0
  324. package/payload/gate-sdk/gate-tests/check-readme-roster/good/epsilon-kit/README.md +14 -0
  325. package/payload/gate-sdk/gate-tests/check-readme-roster/good/epsilon-kit/checks/check-eps-one.sh +3 -0
  326. package/payload/gate-sdk/gate-tests/check-readme-roster/good/epsilon-kit/checks/check-eps-two.gate +2 -0
  327. package/payload/gate-sdk/gate-tests/check-readme-roster/good/scripts/gate-sdk-config.sh +1 -1
  328. package/payload/gate-sdk/gate-tests/check-reads-couples.test.sh +87 -89
  329. package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/scripts/agent-budget-guard.sh +4 -0
  330. package/payload/gate-sdk/gate-tests/check-template-copy-parity.test.sh +56 -0
  331. package/payload/gate-sdk/gate-tests/check-test-hermetic-smoke.test.sh +2 -3
  332. package/payload/gate-sdk/gate-tests/declaration-lib-parity.test.sh +211 -0
  333. package/payload/gate-sdk/gate-tests/enforcement-map.test.sh +16 -15
  334. package/payload/gate-sdk/gate-tests/lib-gate.test.sh +204 -1
  335. package/payload/gate-sdk/gate-tests/run-dispatch-streams.test.sh +73 -0
  336. package/payload/gate-sdk/lib/consumer-smoke.sh +24 -12
  337. package/payload/gate-sdk/lib/gate.sh +353 -22
  338. package/payload/gate-sdk/lib/inject.sh +25 -0
  339. package/payload/gate-sdk/lib/test-hermetic.sh +26 -0
  340. package/payload/gate-sdk/smoke/install.sh +47 -1
  341. package/payload/guard-kit/README.md +14 -11
  342. package/payload/guard-kit/SPEC.md +477 -82
  343. package/payload/guard-kit/bin/run-guard-tests.sh +7 -1
  344. package/payload/guard-kit/gate-tests/git-mutation-under-producer.test.sh +105 -0
  345. package/payload/guard-kit/gate-tests/guard-read-path.test.sh +52 -0
  346. package/payload/guard-kit/guard-tests/cases.tsv +84 -14
  347. package/payload/guard-kit/lib/guard.sh +440 -54
  348. package/payload/guard-kit/templates/close-triage.md +5 -5
  349. package/payload/guard-kit/templates/settings-hooks.json +7 -1
  350. package/payload/lifecycle-kit/README.md +14 -3
  351. package/payload/lifecycle-kit/SPEC.md +929 -93
  352. package/payload/lifecycle-kit/bin/cite-survey.sh +81 -0
  353. package/payload/lifecycle-kit/bin/enter-stage.sh +193 -38
  354. package/payload/lifecycle-kit/bin/file-gap.sh +29 -12
  355. package/payload/lifecycle-kit/bin/file-survey.sh +21 -2
  356. package/payload/lifecycle-kit/checks/check-close-surfaces.gate +3 -0
  357. package/payload/lifecycle-kit/checks/check-gap-inbox-neutrality.gate +3 -0
  358. package/payload/lifecycle-kit/checks/check-lesson-disposition.gate +3 -0
  359. package/payload/lifecycle-kit/checks/check-lifecycle-registration.gate +3 -0
  360. package/payload/lifecycle-kit/checks/check-merge-attrs.gate +3 -0
  361. package/payload/lifecycle-kit/checks/check-scratch-citation.gate +3 -0
  362. package/payload/lifecycle-kit/checks/check-shim-restatement.gate +3 -0
  363. package/payload/lifecycle-kit/checks/check-skill-binding.gate +3 -0
  364. package/payload/lifecycle-kit/checks/check-stage-entry.gate +3 -0
  365. package/payload/lifecycle-kit/checks/check-stage-evidence.gate +3 -0
  366. package/payload/lifecycle-kit/checks/check-stage-skill-coverage.gate +3 -0
  367. package/payload/lifecycle-kit/checks/check-survey-record.gate +3 -0
  368. package/payload/lifecycle-kit/gate-tests/boundary-scratch-wipe.test.sh +4 -4
  369. package/payload/lifecycle-kit/gate-tests/check-close-surfaces.test.sh +2 -3
  370. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/args +2 -0
  371. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/expect.txt +3 -0
  372. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/gap-inbox.md +5 -0
  373. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/args +2 -0
  374. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/expect.txt +1 -0
  375. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/good/gap-inbox.md +4 -0
  376. package/payload/lifecycle-kit/gate-tests/check-lesson-disposition.test.sh +2 -3
  377. package/payload/lifecycle-kit/gate-tests/check-lifecycle-registration.test.sh +2 -3
  378. package/payload/lifecycle-kit/gate-tests/check-merge-attrs.test.sh +2 -3
  379. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/expect.txt +1 -0
  380. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/scripts/lifecycle-config.sh +4 -0
  381. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/bad/surfaces/queue.md +13 -0
  382. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/expect.txt +1 -0
  383. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/scripts/lifecycle-config.sh +4 -0
  384. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/surfaces/queue.md +31 -0
  385. package/payload/lifecycle-kit/gate-tests/check-shim-restatement.test.sh +2 -3
  386. package/payload/lifecycle-kit/gate-tests/check-skill-binding.test.sh +2 -3
  387. package/payload/lifecycle-kit/gate-tests/check-stage-entry/bad/.workflow/WORKFLOW-STATE.txt +3 -3
  388. package/payload/lifecycle-kit/gate-tests/check-stage-entry/good/.workflow/WORKFLOW-STATE.txt +3 -3
  389. package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +24 -25
  390. package/payload/lifecycle-kit/gate-tests/check-stage-evidence/bad/.workflow/WORKFLOW-STATE.txt +2 -2
  391. package/payload/lifecycle-kit/gate-tests/check-stage-evidence/good/.workflow/WORKFLOW-STATE.txt +2 -2
  392. package/payload/lifecycle-kit/gate-tests/check-stage-evidence.test.sh +129 -15
  393. package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +2 -3
  394. package/payload/lifecycle-kit/gate-tests/file-gap-recurrence.test.sh +54 -26
  395. package/payload/lifecycle-kit/gate-tests/gap-inbox-route.test.sh +123 -0
  396. package/payload/lifecycle-kit/gate-tests/rename-iteration.test.sh +142 -0
  397. package/payload/lifecycle-kit/gate-tests/survey-record-entry.test.sh +16 -5
  398. package/payload/lifecycle-kit/gate-tests/workflow-state-guard.test.sh +100 -0
  399. package/payload/lifecycle-kit/lib/stages.sh +9 -0
  400. package/payload/lifecycle-kit/smoke/install.sh +96 -19
  401. package/payload/lifecycle-kit/templates/lead.md +60 -0
  402. package/payload/lifecycle-kit/templates/stages/align.md +20 -2
  403. package/payload/lifecycle-kit/templates/stages/build.md +3 -3
  404. package/payload/lifecycle-kit/templates/stages/close.md +48 -15
  405. package/payload/lifecycle-kit/templates/stages/scope.md +29 -5
  406. package/payload/lifecycle-kit/templates/stages/spec.md +6 -2
  407. package/payload/lifecycle-kit/templates/stages/validate.md +1 -1
  408. package/payload/lifecycle-kit/templates/workflow-state-guard.sh +29 -0
  409. package/payload/queue-kit/README.md +12 -10
  410. package/payload/queue-kit/SPEC.md +411 -74
  411. package/payload/queue-kit/bin/queue-counts.sh +35 -0
  412. package/payload/queue-kit/checks/check-queue-entry-budget.gate +3 -0
  413. package/payload/queue-kit/checks/check-queue-hygiene.gate +3 -0
  414. package/payload/queue-kit/checks/check-queue-prose-precondition.gate +3 -0
  415. package/payload/queue-kit/checks/check-queue-sections.gate +3 -0
  416. package/payload/queue-kit/checks/check-queue-slug-liveness.gate +3 -0
  417. package/payload/queue-kit/checks/check-queue-wrap.gate +3 -0
  418. package/payload/queue-kit/checks/check-roadmap-fresh.gate +3 -0
  419. package/payload/queue-kit/checks/check-tag-lead-line.gate +3 -0
  420. package/payload/queue-kit/checks/check-task-conservation.gate +4 -0
  421. package/payload/queue-kit/checks/check-task-names.gate +3 -0
  422. package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/TASK-QUEUE.md +15 -0
  423. package/payload/queue-kit/gate-tests/check-queue-entry-budget/bad/expect.txt +2 -0
  424. package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/TASK-QUEUE.md +7 -0
  425. package/payload/queue-kit/gate-tests/check-queue-entry-budget/good/expect.txt +4 -0
  426. package/payload/queue-kit/gate-tests/check-roadmap-fresh/bad/expect.txt +1 -1
  427. package/payload/queue-kit/gate-tests/queue-counts.test.sh +116 -0
  428. package/payload/queue-kit/gate-tests/queue-index.test.sh +55 -119
  429. package/payload/queue-kit/gate-tests/queue-lib-parity.test.sh +215 -0
  430. package/payload/queue-kit/gate-tests/roadmap.test.sh +22 -12
  431. package/payload/queue-kit/lib/queue.sh +4 -68
  432. package/payload/queue-kit/smoke/install.sh +1 -1
  433. package/payload/site-kit/SPEC.md +52 -2
  434. package/payload/site-kit/checks/check-docs-cname-parity.gate +3 -0
  435. package/payload/site-kit/checks/check-docs-render-fidelity.sh +2 -0
  436. package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/args +5 -4
  437. package/payload/site-kit/gate-tests/check-docs-cname-parity/good/args +6 -5
  438. package/payload/site-kit/gate-tests/check-docs-cname-parity/good/checks/check-sample.gate +3 -0
  439. package/payload/site-kit/gate-tests/check-docs-cname-parity/good/expect.txt +1 -1
  440. package/payload/site-kit/smoke/install.sh +1 -1
  441. package/profiles.list +36 -8
  442. package/payload/canon-kit/checks/check-amendment-queue.sh +0 -116
  443. package/payload/canon-kit/checks/check-comment-tier.sh +0 -216
  444. package/payload/canon-kit/checks/check-deprecation-task.sh +0 -90
  445. package/payload/canon-kit/checks/check-docs-cmd.sh +0 -153
  446. package/payload/canon-kit/checks/check-docs-link-convention.sh +0 -78
  447. package/payload/canon-kit/checks/check-install-claim.sh +0 -146
  448. package/payload/canon-kit/checks/check-knob-citation.sh +0 -117
  449. package/payload/canon-kit/checks/check-knob-default-coupling.sh +0 -239
  450. package/payload/canon-kit/checks/check-manifest-count.sh +0 -46
  451. package/payload/canon-kit/checks/check-manifest-temporal.sh +0 -83
  452. package/payload/canon-kit/checks/check-md-refs.sh +0 -128
  453. package/payload/canon-kit/checks/check-payload-claim.sh +0 -133
  454. package/payload/canon-kit/checks/check-prose-enum.sh +0 -115
  455. package/payload/canon-kit/checks/check-prose-tells.sh +0 -207
  456. package/payload/canon-kit/checks/check-spec-derivable-section.sh +0 -69
  457. package/payload/canon-kit/checks/check-spec-dod-singleton.sh +0 -45
  458. package/payload/canon-kit/checks/check-spec-embedded-source.sh +0 -133
  459. package/payload/canon-kit/checks/check-spec-fence-balance.sh +0 -42
  460. package/payload/canon-kit/checks/check-spec-pointer.sh +0 -187
  461. package/payload/canon-kit/checks/check-todo-task-liveness.sh +0 -80
  462. package/payload/canon-kit/checks/check-tracking-claim.sh +0 -136
  463. package/payload/context-kit/bin/footprint.sh +0 -144
  464. package/payload/context-kit/checks/check-brevity.sh +0 -123
  465. package/payload/context-kit/checks/check-footprint-fresh.sh +0 -38
  466. package/payload/context-kit/checks/check-memory-off.sh +0 -112
  467. package/payload/context-kit/checks/check-settings-pins.sh +0 -110
  468. package/payload/delegation-kit/checks/check-agent-tier-explicit.sh +0 -61
  469. package/payload/delegation-kit/checks/check-gate-tamper.sh +0 -139
  470. package/payload/delegation-kit/checks/check-rule-citation.sh +0 -76
  471. package/payload/doctrine-kit/checks/check-doctrine-registration.sh +0 -216
  472. package/payload/drift-kit/bin/trajectory.sh +0 -242
  473. package/payload/evidence-kit/checks/check-battery-roster.sh +0 -86
  474. package/payload/evidence-kit/checks/check-evidence-baseline.sh +0 -103
  475. package/payload/evidence-kit/checks/check-evidence-manifest.sh +0 -104
  476. package/payload/evidence-kit/gate-tests/check-evidence-manifest/bad/args +0 -3
  477. package/payload/evidence-kit/gate-tests/check-evidence-manifest/good/args +0 -3
  478. package/payload/gate-sdk/bin/enforcement-map.sh +0 -272
  479. package/payload/gate-sdk/checks/check-assertion-strength.sh +0 -134
  480. package/payload/gate-sdk/checks/check-commit-msg.sh +0 -50
  481. package/payload/gate-sdk/checks/check-commit-subject.sh +0 -43
  482. package/payload/gate-sdk/checks/check-core-files.sh +0 -75
  483. package/payload/gate-sdk/checks/check-enforcement-fresh.sh +0 -37
  484. package/payload/gate-sdk/checks/check-exec-bit.sh +0 -95
  485. package/payload/gate-sdk/checks/check-gate-binary-fresh.sh +0 -106
  486. package/payload/gate-sdk/checks/check-gate-exemption-tasks.sh +0 -105
  487. package/payload/gate-sdk/checks/check-gate-fail-closed.sh +0 -84
  488. package/payload/gate-sdk/checks/check-gate-fixture-coverage.sh +0 -92
  489. package/payload/gate-sdk/checks/check-gate-output.sh +0 -73
  490. package/payload/gate-sdk/checks/check-graph.sh +0 -631
  491. package/payload/gate-sdk/checks/check-hook-exec-bit.sh +0 -45
  492. package/payload/gate-sdk/checks/check-identity.sh +0 -134
  493. package/payload/gate-sdk/checks/check-kit-enum.sh +0 -94
  494. package/payload/gate-sdk/checks/check-kit-registration.sh +0 -68
  495. package/payload/gate-sdk/checks/check-readme-roster.sh +0 -107
  496. package/payload/gate-sdk/checks/check-reads-couples.sh +0 -199
  497. package/payload/gate-sdk/checks/check-root-tiering.sh +0 -66
  498. package/payload/gate-sdk/checks/check-smoke-entry-guard.sh +0 -53
  499. package/payload/gate-sdk/checks/check-template-copy-parity.sh +0 -126
  500. package/payload/gate-sdk/checks/check-template-registry-parity.sh +0 -81
  501. package/payload/gate-sdk/checks/check-test-hermetic.sh +0 -119
  502. package/payload/gate-sdk/checks/check-workflow-tiering.sh +0 -84
  503. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/args +0 -1
  504. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/args +0 -1
  505. package/payload/gate-sdk/gate-tests/check-identity/bad/args +0 -1
  506. package/payload/gate-sdk/gate-tests/check-identity/good/args +0 -1
  507. package/payload/lifecycle-kit/bin/close-surfaces.sh +0 -94
  508. package/payload/lifecycle-kit/checks/check-close-surfaces.sh +0 -63
  509. package/payload/lifecycle-kit/checks/check-lesson-disposition.sh +0 -98
  510. package/payload/lifecycle-kit/checks/check-lifecycle-registration.sh +0 -54
  511. package/payload/lifecycle-kit/checks/check-merge-attrs.sh +0 -69
  512. package/payload/lifecycle-kit/checks/check-shim-restatement.sh +0 -97
  513. package/payload/lifecycle-kit/checks/check-skill-binding.sh +0 -59
  514. package/payload/lifecycle-kit/checks/check-stage-entry.sh +0 -197
  515. package/payload/lifecycle-kit/checks/check-stage-evidence.sh +0 -81
  516. package/payload/lifecycle-kit/checks/check-stage-skill-coverage.sh +0 -47
  517. package/payload/lifecycle-kit/checks/check-survey-record.sh +0 -102
  518. package/payload/queue-kit/bin/queue-index.sh +0 -182
  519. package/payload/queue-kit/bin/roadmap.sh +0 -76
  520. package/payload/queue-kit/checks/check-queue-entry-budget.sh +0 -106
  521. package/payload/queue-kit/checks/check-queue-hygiene.sh +0 -81
  522. package/payload/queue-kit/checks/check-queue-prose-precondition.sh +0 -63
  523. package/payload/queue-kit/checks/check-queue-sections.sh +0 -44
  524. package/payload/queue-kit/checks/check-queue-slug-liveness.sh +0 -63
  525. package/payload/queue-kit/checks/check-queue-wrap.sh +0 -56
  526. package/payload/queue-kit/checks/check-roadmap-fresh.sh +0 -110
  527. package/payload/queue-kit/checks/check-tag-lead-line.sh +0 -70
  528. package/payload/queue-kit/checks/check-task-conservation.sh +0 -50
  529. package/payload/queue-kit/checks/check-task-names.sh +0 -128
  530. package/payload/site-kit/checks/check-docs-cname-parity.sh +0 -80
  531. /package/payload/context-kit/gate-tests/{check-memory-off → check-settings-paths}/bad/args +0 -0
  532. /package/payload/context-kit/gate-tests/{check-memory-off → check-settings-paths}/good/args +0 -0
  533. /package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/{gates → scripts}/check-sample.sh +0 -0
  534. /package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/{gates → scripts}/check-sample.sh +0 -0
  535. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{check-gamma.sh → scripts/check-gamma.sh} +0 -0
  536. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{gate-tests → scripts/gate-tests}/check-alpha/bad/.keep +0 -0
  537. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{gate-tests → scripts/gate-tests}/check-alpha/good/.keep +0 -0
  538. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/{gates.list → scripts/gates.list} +0 -0
  539. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{check-beta.sh → scripts/check-beta.sh} +0 -0
  540. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{gate-tests → scripts/gate-tests}/check-alpha/bad/.keep +0 -0
  541. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{gate-tests → scripts/gate-tests}/check-alpha/good/.keep +0 -0
  542. /package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/{gates.list → scripts/gates.list} +0 -0
  543. /package/payload/site-kit/gate-tests/check-docs-cname-parity/bad/{site-config.sh → scripts/site-config.sh} +0 -0
  544. /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree → docs}/CNAME +0 -0
  545. /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree → docs}/index.md +0 -0
  546. /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree/docs → docs}/posts/2026-01-01-legacy.md +0 -0
  547. /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{tree/pkg → pkg}/gate-tests/fixture.md +0 -0
  548. /package/payload/site-kit/gate-tests/check-docs-cname-parity/good/{site-config.sh → scripts/site-config.sh} +0 -0
@@ -6,8 +6,10 @@ state machine. The problem the kit solves: a coding agent selects work by
6
6
  parsing, not by reading — so everything selection trusts (position, slugs,
7
7
  tags) is grammar a gate can enforce, and everything a human writes freely
8
8
  (task prose) is kept out of the parse path. Drift between what the prose says
9
- and what a parser sees is the failure mode; all but one of the gates exist to
10
- close one instance of it each.
9
+ and what a parser sees is the failure mode; all but two of the gates exist to
10
+ close one instance of it each. The two exceptions hold a different axis —
11
+ projection freshness (`check-roadmap-fresh`) and the deferred pool's
12
+ per-entry budget (`check-queue-entry-budget`).
11
13
 
12
14
  The kit carries the queue grammar and its gates only; a consumer's section
13
15
  names, wrap budget, and protocol vocabulary are config, with this repo's
@@ -45,7 +47,7 @@ as `##` sections over column-0 bullets:
45
47
 
46
48
  The **defer date** of an entry is its `Surfaced <date>` mark when present, else
47
49
  the date on its `Filed <date>` provenance line. One definition, two readers —
48
- drift-kit's deferred-age KPI and `bin/queue-index.sh --icebox-candidates`.
50
+ drift-kit's deferred-age KPI and the `queue-index` arm's `--icebox-candidates`.
49
51
  Widening, not replacing: `Surfaced` records when the premise was observed and
50
52
  is the better premise-rot datum, `Filed` is the honest available fallback, so
51
53
  no entry owes a migration. drift-kit re-implements the definition rather than
@@ -64,6 +66,19 @@ the one that prompted the change is likely to get it.
64
66
  - Any other section (an iteration header, a lessons section) is outside the
65
67
  grammar and ignored by every gate except the file-wide hygiene axes.
66
68
 
69
+ **Where this format has two holders, what is compared between them is
70
+ classification over a corpus, never the derived literals.** The shell library
71
+ exposes ERE strings and an array; its compiled counterpart exposes a section
72
+ value and free predicates over it, so there is no value either could hand the
73
+ other — comparing them would compare nothing, or force one side to grow an
74
+ accessor whose only reader is the test. The comparable question is the one this
75
+ section defines: given the same queue file, do both agree on which lines are
76
+ section boundaries, which are task bullets, which is the lessons line, which
77
+ slugs are live? Two witnesses held to each other over a golden *corpus*, with no
78
+ committed expected file — a maintained golden is a third copy to drift, and the
79
+ failure the comparison exists to catch is one side edited without the other,
80
+ which it catches directly (§lib/queue.sh names the holder).
81
+
67
82
  An entry is a column-0 `- **slug** — prose…` bullet; continuation lines are
68
83
  indented, never column 0. An *indented* bullet with a bold lead-in is a
69
84
  sub-task (same grammar); with a plain or italic lead-in it is a prose note
@@ -82,7 +97,7 @@ by the drain rule — the drain stage's entry requires the active sections empty
82
97
  the same iteration whichever section holds it. What ranks is the promoting
83
98
  stage's decision to put an entry in an active section at all; order within them
84
99
  is a sequencing default, the posture the roadmap projection already states
85
- outright for queue order generally (§bin/roadmap.sh).
100
+ outright for queue order generally (§The roadmap arm).
86
101
 
87
102
  Features lead on the feature/debt asymmetry canon-kit owns (canon-kit/SPEC.md
88
103
  §The amendment lifecycle): a feature merges an amendment into the canonical
@@ -272,7 +287,7 @@ adoption step between landing it and reading it.
272
287
  - `[precondition-ok: <reason>]` — per-entry opt-out valve for
273
288
  `check-queue-prose-precondition`.
274
289
  - `[roadmap: <horizon>/<track>]` — public-projection marker: the entry is
275
- curated onto the generated roadmap page (§bin/roadmap.sh), under `<horizon>`
290
+ curated onto the generated roadmap page (§The roadmap arm), under `<horizon>`
276
291
  and labelled `<track>`. The tag's spelling is fixed mechanism; its two field
277
292
  *values* are drawn from the consumer-configured `QUEUE_KIT_HORIZONS` and
278
293
  `QUEUE_KIT_TRACKS` arrays — the same fixed-spelling/configured-values split
@@ -333,31 +348,41 @@ rule (lifecycle-kit/SPEC.md §Layout and configuration,
333
348
  `LIFECYCLE_KIT_RECURRENCE_THRESHOLD`) and drift-kit's `kpi-incident-recurrence`
334
349
  (drift-kit/SPEC.md §Bundled KPIs) — each read it without depending on the other's
335
350
  kit. Self-citation is already narration rather than an edge (above), so the field
336
- costs no new rule. That one-grep property is also why **no `bin/queue-index.sh`
351
+ costs no new rule. That one-grep property is also why **no `queue-index`
337
352
  recurrence mode exists** — the obvious home, refused: drift-kit could not call it
338
353
  without the cycle its own KPI already records, which would leave lifecycle-kit's
339
- rule as the only caller, and §bin/queue-index.sh already resists a further mode on
354
+ rule as the only caller, and §The queue-index arm already resists a further mode on
340
355
  the grounds that folding jobs together gives one tool two output grammars.
341
356
 
342
357
  **One line with appended dates, not one line per recurrence.** The per-recurrence
343
358
  form is byte-unique on the (slug, date) pair and is refused anyway: it grows an
344
359
  entry linearly against `check-queue-entry-budget`'s cap, so a *machine* writer
345
360
  could push a deferred entry past that cap and red some later, unrelated session's
346
- commit — and the cap's remedy is authorization-gated (§check-queue-entry-budget: a
347
- session blocked by it does not self-serve the split). The single-line form costs
348
- one entry line forever regardless of count. Its own ceiling is
361
+ commit — and the cap's remedy is only half self-served (§check-queue-entry-budget:
362
+ relocating grounds into an entry that already owns their subject is self-served
363
+ for a mandated write, while minting a *new* entry to hold them stays
364
+ authorization-gated). That ground survives the discount §check-queue-entry-budget
365
+ grants this declaration, **because the discount is one line**: the second and
366
+ later lines of a per-recurrence variant are counted like any other, so the variant
367
+ still grows an entry linearly against the cap. The single-line form costs **no**
368
+ counted line at all, which strengthens the case for it rather than weakening it.
369
+ Its own ceiling is
349
370
  `check-queue-wrap`'s budget, reached after a handful of dates on a long slug, and
350
371
  reaching it is the *correct* complaint: a slug recorded as recurring that many
351
372
  times without anyone promoting it is a governance failure, surfaced loudly rather
352
373
  than absorbed.
353
374
 
354
375
  Unlike the `relates:` declaration refused above, no corpus needs migrating. The
355
- line is **machine-written** by the closing stage's gap-inbox drain
356
- (lifecycle-kit/SPEC.md §The committed gap inbox) and hand-read; an entry with no
357
- declaration is simply an entry that has not recurred.
376
+ line is **session-written under judgment** — the closing stage's gap-inbox drain
377
+ is its only mechanized producer, while any session that judges a recurrence is
378
+ obliged to stamp one directly, and each date records that session's ruling that
379
+ the finding re-occurred, read off the filed prose rather than derived from it
380
+ (lifecycle-kit/SPEC.md §The committed gap inbox owns the rule and the standard) —
381
+ and hand-read; an entry with no declaration is simply an entry that has not
382
+ recurred.
358
383
 
359
384
  Two tags ride **Lessons Learned** entries — a lesson is a top-level bullet
360
- under the fixed-spelling `## Lessons Learned` heading, and `bin/queue-index.sh`
385
+ under the fixed-spelling `## Lessons Learned` heading, and the `queue-index` arm
361
386
  plus `check-tag-lead-line` read that section's lead lines too. That section is
362
387
  one of close's inbound triage surfaces, and its forcing function is the sibling
363
388
  of the gap inbox's — the first-stage entry refuses while it holds entries — so it
@@ -367,8 +392,8 @@ close-surface: TASK-QUEUE.md#Lessons-Learned forced=lifecycle-kit/SPEC.md §bin/
367
392
 
368
393
  - `[attend]` — fixed spelling, kit mechanism (the inbound channel): the filing
369
394
  session marks a lesson as a live attention point for later sessions *of the
370
- same iteration*. `queue-index.sh` emits an attention block of `[attend]`
371
- lead lines (§bin/queue-index.sh); the injection dies at the iteration
395
+ same iteration*. The `queue-index` arm emits an attention block of `[attend]`
396
+ lead lines (§The queue-index arm); the injection dies at the iteration
372
397
  boundary because lifecycle-kit's first-stage entry refuses a non-empty
373
398
  Lessons section.
374
399
  - **Harvest tags** — `QUEUE_KIT_LESSON_TAGS` (array of bare tag names, default
@@ -385,8 +410,9 @@ close-surface: TASK-QUEUE.md#Lessons-Learned forced=lifecycle-kit/SPEC.md §bin/
385
410
 
386
411
  The kit is vendored beside gate-sdk (conventionally at `queue-kit/`); its
387
412
  gates are registered in the consumer's `gates.list` by name and resolve
388
- through gate-sdk's multi-kit path. `bin/queue-index.sh` is a tool, not a gate
389
- (no `# graph:` manifest).
413
+ through gate-sdk's multi-kit path. The `queue-index` arm is not among them: it
414
+ is a non-gate arm of the binary, registered in no `gates.list` and carrying no
415
+ `.gate` descriptor (§The queue-index arm).
390
416
 
391
417
  Config follows lifecycle-kit's pattern: copy `templates/queue-config.sh`
392
418
  into the gates dir as `queue-config.sh` (or point `QUEUE_KIT_CONFIG_FILE`
@@ -412,7 +438,7 @@ Knobs:
412
438
  line cap `check-queue-entry-budget` assertion A holds over the deferred
413
439
  section.
414
440
  - `QUEUE_KIT_ICEBOX_AGE_DAYS` — positive integer, default `30`; the defer-date
415
- age filter for `bin/queue-index.sh --icebox-candidates`, and nothing else.
441
+ age filter for the `queue-index` arm's `--icebox-candidates`, and nothing else.
416
442
  - `QUEUE_KIT_WRAP_BUDGET` — default `100` (`check-queue-wrap` gate floor).
417
443
  - `QUEUE_KIT_PROSE_LEADS` — array of column-0 lead tokens exempt from the
418
444
  hygiene gate's no-prose axis, default `("Protocol:")`.
@@ -442,7 +468,7 @@ Knobs:
442
468
  fail-open default (§bin/lesson-sink.sh). A private sink value belongs in the
443
469
  local overlay, not this tracked file.
444
470
  - `QUEUE_KIT_ATTEND_CAP` — positive integer, default `3`; the maximum `[attend]`
445
- lead lines `bin/queue-index.sh` emits in its attention block before folding
471
+ lead lines the `queue-index` arm emits in its attention block before folding
446
472
  the rest into an overflow note.
447
473
  - `QUEUE_KIT_HORIZONS` — ordered array of horizon names for the `[roadmap:]`
448
474
  tag's first field, default empty. The order is the projection's emitted
@@ -494,19 +520,40 @@ The icebox is *derived* here rather than configured twice: a non-empty
494
520
  required-sections set, and when it is empty every icebox regex is the empty
495
521
  string so each reader degrades to "no icebox" rather than to "every section".
496
522
 
497
- `queue_roadmap_entries <queue-file>` is the single `[roadmap:]` and
498
- `roadmap-summary:` parse, shared by `bin/roadmap.sh` and `check-roadmap-fresh` so
499
- the emitter and the gate can never disagree about what an entry claims — the same
500
- one-adapter rule the section regexes follow. It walks the live task sections in
501
- queue order and prints one tab-separated line per entry carrying **either**
502
- marking: the entry's `[roadmap:]` tag count, the raw field text, the slug, the
503
- `roadmap-summary:` declaration count, and the declaration's text. Emitting on
504
- either marking rather than on the tag alone is what lets assertion C see a dead
505
- declaration — an entry the tag has fallen off is exactly the case a
506
- tag-triggered walk cannot report. An untagged entry's field column prints as `-`
507
- rather than empty, because a tab counts as IFS whitespace: a reader splitting on
508
- it coalesces an empty column and silently shifts every field after it, so a
509
- fixed-arity line must never carry one.
523
+ **That degradation is the reader's to complete, not the library's.** The empty
524
+ regex only *carries* the "no icebox" answer; an awk consumer must test it
525
+ explicitly (`iceboxre != "" && $0 ~ iceboxre`), because awk's `$0 ~ ""` matches
526
+ every line and an unguarded match therefore degrades to exactly the "every
527
+ section" reading the empty string was chosen to avoid. Any reader of an
528
+ optional section regex owes that guard.
529
+
530
+ `QUEUE_TASK_SECTIONS` is that composition itself — the active sections, the
531
+ deferred section, and a configured icebox, in configured order — exposed rather
532
+ than consumed and discarded. `QUEUE_TASK_RE` is built from it, and a reader that
533
+ needs the sections *individually* rather than as one alternation
534
+ (§bin/queue-counts.sh) reads the array. One composition, two shapes of the same
535
+ answer: a second reader recomposing the set from the three knobs is the drift
536
+ axis a shared adapter exists to remove.
537
+
538
+ `roadmap_entries` — `native/src/queue.rs`'s, this library holding no counterpart
539
+ — is the single `[roadmap:]` and `roadmap-summary:` parse, shared by the roadmap
540
+ arm (§The roadmap arm) and `check-roadmap-fresh` so the emitter and the gate can
541
+ never disagree about what an entry claims — the same one-adapter rule the section
542
+ regexes follow. It walks the live task sections in queue order and returns one
543
+ record per entry carrying **either** marking: the entry's `[roadmap:]` tag count,
544
+ the raw field text, the slug, the `roadmap-summary:` declaration count, and the
545
+ declaration's text. Emitting on either marking rather than on the tag alone is
546
+ what lets assertion C see a dead declaration — an entry the tag has fallen off is
547
+ exactly the case a tag-triggered walk cannot report.
548
+
549
+ **The record is a typed value rather than a TSV line, and that difference is a
550
+ deletion rather than a translation.** A tab-separated form exists only because a
551
+ shell function's only return channel is stdout, and such a form must carry a
552
+ defensive `-` in an untagged entry's field column: a tab counts as IFS
553
+ whitespace, so a reader splitting on it coalesces an empty column and silently
554
+ shifts every field after it. In-crate the five fields travel as fields, so the
555
+ field-count and embedded-tab hazards have no spelling and an absent field is
556
+ simply empty.
510
557
 
511
558
  The in-body citation scan (§The tag algebra) is deliberately **not** here: it
512
559
  has one reader, and this library holds adapters two or more readers share. It
@@ -514,6 +561,40 @@ lives in `bin/queue-edges.sh`, which sources this library for the section
514
561
  regexes and `queue_live_slugs` it does share. A second reader of body-position
515
562
  slug tokens is what would promote the scan into this roster.
516
563
 
564
+ **The one-adapter guarantee is split for `queue_live_slugs` and the section
565
+ regexes, and the split is machine-held rather than filed as debt.** The gates
566
+ that read the queue ported to the binary substrate (gate-sdk/SPEC.md §Porting a
567
+ gate to the binary substrate), so `check-queue-slug-liveness` and
568
+ `check-task-conservation` call a Rust reimplementation of that helper while
569
+ `bin/queue-edges.sh` keeps calling this one; the same is true of the section
570
+ regexes, every one of which a `bin/` script still reads directly. The split is
571
+ **permanent** — every `bin/` script in the kit still sources this library
572
+ (`grep -rl lib/queue.sh queue-kit/bin queue-kit/checks` is the roster, and the
573
+ `checks/` half of it is empty now that every gate here dispatches to the binary)
574
+ — so the
575
+ shell form cannot be deleted the way a ported primitive's is, and a port-time
576
+ byte-identity proof would expire at the next edit to either side. What holds the
577
+ two equal from here is `gate-tests/queue-lib-parity.test.sh`: it feeds one canned
578
+ corpus to both and compares their **classification** of it byte for byte
579
+ (§The queue format owns why classification is the comparable thing), which is
580
+ criterion 6's *machine-held* disposition rather than its duplication-absent one
581
+ (gate-sdk/SPEC.md §The port-candidate criteria, criterion 6).
582
+
583
+ The obligation covers **one helper — `queue_live_slugs` — and every derived
584
+ global this library exports** (`grep -n '^QUEUE_[A-Z_]*=' queue-kit/lib/queue.sh`),
585
+ and nothing else is owed one. The crate's `done_slugs` has no counterpart here and needs none: a shell
586
+ twin with no caller is a duplication removal disposes of, which enforcement-first
587
+ ranks above gating it, and the bound on that disposition is undocumented surface
588
+ — no section named it, which is what separates it from the section regexes, every
589
+ one of which is documented and load-bearing.
590
+ `roadmap_entries` is **not** in the split
591
+ either, for the opposite reason: its only two consumers are the roadmap arm and
592
+ `check-roadmap-fresh`, and both now sit on the **crate** function. The exclusion
593
+ is therefore **satisfied on the other substrate, not repealed** — the two still
594
+ cannot disagree, by the identical argument, and what would have spent it is
595
+ porting exactly one of the pair, which is why the arm and the gate landed in one
596
+ commit.
597
+
517
598
  The loader sources the consumer config, then a `<config>.local.sh` overlay
518
599
  beside it when present — last write wins. This is the tracked-name /
519
600
  gitignored-value split (the `msg-patterns.local.list` precedent): a private
@@ -521,7 +602,43 @@ sink value tracked in `queue-config.sh` would itself be the leak, so it lands
521
602
  in the gitignored overlay instead. The overlay is optional — its absence is
522
603
  fail-open, not an error.
523
604
 
524
- ### bin/queue-index.sh
605
+ ### The queue-index arm
606
+
607
+ A **non-gate arm of the binary** (gate-sdk/SPEC.md §The non-gate arm), reached
608
+ through the battery runner's `--emit` front-end:
609
+ `run-gates.sh --emit queue-index [<flags>] [<queue-file>]`. It registers in the
610
+ emitter table under the derived spelling `--emit-queue-index`, stays outside
611
+ `--list`, and owes no `.gate` descriptor, no `gates.list` registration and no
612
+ `good/`+`bad/` fixture pair. The shell tool it replaces is deleted rather than
613
+ retained as a dispatching shim: a shim keeps the interpreted lines the port
614
+ exists to retire and adds a second entry point into the emission path, which the
615
+ class forbids.
616
+
617
+ **The front-end is not optional dressing.** A caller that invoked the binary
618
+ directly would resolve platform defaults and silently ignore every consumer
619
+ override; the front-end sources the shell library and supplies the bridged
620
+ environment in front of the arm. The arm is configured — its bridged reads are
621
+ declared beside it in the emitter table — which is why it is a table member
622
+ rather than a hardcoded top-level flag: a hardcoded flag receives no
623
+ configuration at all, and an arm that cannot see `QUEUE_KIT_ICEBOX_SECTION`
624
+ silently drops the tally in every consumer that configures a tier. The derived
625
+ regexes the shell library built (`QUEUE_ACTIVE_RE` and its siblings) were never a
626
+ configuration surface, only that library's internal spelling of these knobs, so
627
+ none of them crosses into the arm and nothing is lost by their not crossing.
628
+
629
+ **The three modes stay three modes on one arm**, selected from the arm's own
630
+ argv tail — the emitter type is defined over an argv slice precisely so a mode
631
+ rides as a flag rather than needing a second arm. The refusal to grow a *fourth*
632
+ mode is unchanged, and so are the three grammars: they are the contract this port
633
+ preserves.
634
+
635
+ **One observable moved, and it is stated rather than absorbed.** A `--extent`
636
+ slug that resolves to nothing reported `queue-index: slug not found: <slug>` at
637
+ exit 1 and now reports the arm's error at exit **2**, because the emitter type
638
+ returns a `Result` and the dispatcher maps every error arm to 2. Preserving the
639
+ old code would mean widening the class's return contract for one mode's error
640
+ path; no caller reads it — `extent`'s caller is a session reading two integers —
641
+ so the widening is not taken. Every mode's **stdout** grammar is byte-preserved.
525
642
 
526
643
  Compact surface of the queue for task selection — the iteration header line
527
644
  if present, then every top-level active entry as a one-line title plus tags,
@@ -542,7 +659,7 @@ entries under no subsection tallied as `(top)`.
542
659
  A configured icebox contributes exactly **one line** to the index —
543
660
  `<section>: N entries` — and never an entry listing, on **both** `index`-mode
544
661
  renderings (`--collapse-deferred` is a flag within that mode, not a mode of its
545
- own; the tool's modes are `index`, `extent`, and `icebox-candidates`). The
662
+ own; the arm's modes are `index`, `extent`, and `icebox-candidates`). The
546
663
  tally must not reach `extent`, whose contract is two integers and nothing else.
547
664
  The reasoning is the surface's: this output is embedded in the always-loaded
548
665
  session-context brief, so listing the tier would re-import the very tokens the
@@ -567,6 +684,15 @@ is exactly the right ceiling. **A pool younger than the age threshold yields an
567
684
  empty worklist**, which is correct and is not a reason to seed a tier by hand
568
685
  against the tool: eligibility is the rule, the worklist is the convenience.
569
686
 
687
+ **The worklist deliberately does not filter the tier's categorical exclusions —
688
+ a `[roadmap:]` tag or a live promotion trigger — and that is settled, not
689
+ pending.** Operator-ruled 2026-08-18 on five consecutive measurements at zero
690
+ precision: filtering the machine-readable half would have moved the eligible
691
+ count from zero to zero, and the other half is a prose-parsing fork nothing
692
+ justifies. So the closing stage reads a row and applies §The icebox tier's
693
+ eligibility rule to it, which is the division of labour the paragraph above
694
+ already states; a row the rule excludes is a line read, not a defect.
695
+
570
696
  No queue-mutating tool is added — `--extent <slug>` already yields the line
571
697
  range an eviction deletes.
572
698
 
@@ -578,16 +704,59 @@ always-loaded through the session-context hook that embeds this output, so the
578
704
  cap is its token budget. This is the inbound lesson channel reaching every
579
705
  later session of the iteration with zero consumer-hook edits.
580
706
 
707
+ The age cutoff keeps its `date -d` derivation rather than moving to an in-crate
708
+ civil-date computation, and the reason is behaviour preservation: `date` resolves
709
+ the operator's local zone where an in-crate computation would resolve UTC, and a
710
+ port that shifts the cutoff by a day is not the behaviour-preserving port this
711
+ was. Its refusal on a `date` without `-d` survives with it.
712
+
581
713
  This is a *task-selection* surface, walking bullet lead lines. Its sibling
582
714
  `bin/queue-edges.sh` walks entry **bodies** to aggregate citations — a
583
715
  different question over the same file (§bin/queue-edges.sh). They stay two
584
- tools rather than one tool with a fourth mode, because folding them would give
716
+ tools rather than one with a fourth mode, because folding them would give
585
717
  one tool two jobs and two output grammars.
586
718
 
719
+ ### bin/queue-counts.sh
720
+
721
+ One job: the size of each **task section**, for a caller that wants the shape of
722
+ the queue rather than its contents. It emits one `<section-name><TAB><count>`
723
+ line per task section, in configured order, and nothing else — no flags, no
724
+ modes, one output grammar.
725
+
726
+ The section set is **derived, never listed**: it is `QUEUE_TASK_SECTIONS`, the
727
+ same composition `QUEUE_TASK_RE` is built from (§lib/queue.sh). So
728
+ `QUEUE_KIT_DONE_SECTION` is out because Done is not a task section, a configured
729
+ `QUEUE_KIT_ICEBOX_SECTION` is in because the icebox is a live one, and a consumer
730
+ who renamed their sections gets their own names back. Nothing here enumerates a
731
+ section name, which is what keeps the vocabulary inside this kit when a caller
732
+ outside it renders the numbers.
733
+
734
+ The counted unit is the **top-level entry bullet** — the same unit
735
+ §The queue-index arm lists, so the index and the counters cannot report different
736
+ sizes for one queue. Not lines, and not bullets: an indented bullet inside an
737
+ entry body is body.
738
+
739
+ **Why a second tool rather than a fourth mode on the `queue-index` arm.** That
740
+ arm's modes are fixed at `index`, `extent` and `icebox-candidates`
741
+ (§The queue-index arm), on the stated grounds that folding jobs together gives one
742
+ tool two output grammars — the same refusal that keeps `bin/queue-edges.sh`
743
+ separate. A tally keyed by section name is a different job with a different
744
+ grammar, so it lands beside the index rather than inside it. Recorded here
745
+ because the next reader meeting two queue tools would otherwise read the split as
746
+ an oversight and merge them.
747
+
748
+ **It is invoked as a subprocess, never sourced.** `lib/queue.sh` exits 2 at
749
+ source time on a missing `QUEUE_KIT_CONFIG_FILE` and on any malformed-config
750
+ assertion — correct for a gate, and fatal for a long-lived caller that sourced
751
+ it. A subprocess turns that contract into a non-zero exit and empty stdout, which
752
+ a caller degrades on. The caller this was built for is delegation-kit's
753
+ statusline template, whose own contract records the degradation
754
+ (delegation-kit/SPEC.md §The statusline template).
755
+
587
756
  ### bin/queue-edges.sh
588
757
 
589
758
  The inbound-citation aggregator: a tool, not a gate (no `# graph:` manifest),
590
- following `bin/queue-index.sh`. It reads the queue, writes **stdout only**, and
759
+ following the queue-index precedent. It reads the queue, writes **stdout only**, and
591
760
  mutates nothing.
592
761
 
593
762
  ```
@@ -642,7 +811,7 @@ that, a committed copy of derived edges over what is typically a repo's
642
811
  highest-churn file would restale on essentially every queue edit, buying a
643
812
  per-commit regeneration tax for zero benefit. Derivation-first is satisfied by
644
813
  deriving on demand: that rule's "generate and freshness-gate" clause governs a
645
- copy that is *needed*, and this one is not. `bin/queue-index.sh` writes nothing
814
+ copy that is *needed*, and this one is not. The `queue-index` arm writes nothing
646
815
  and is gated by nothing, for the same reason.
647
816
 
648
817
  **Not a gate, either.** There is nothing to red: an entry with no inbound edges
@@ -653,13 +822,29 @@ outright, because those are overwhelmingly legitimate citations of landed work
653
822
  invariant on the surfaces where a dead reference *is* a false claim. Extending
654
823
  it inward would red on good prose.
655
824
 
656
- ### bin/roadmap.sh
657
-
658
- The public-roadmap emitter: a tool, not a gate (no `# graph:` manifest),
659
- following `bin/queue-index.sh`. `--emit` prints the generated block to stdout;
660
- `--write` splices it between the markers in `QUEUE_KIT_ROADMAP_FILE` through
661
- gate-sdk's `inject_marker_block`, leaving every byte outside them untouched. It
662
- reads the live task sections only — active, deferred, and a configured icebox,
825
+ ### The roadmap arm
826
+
827
+ The public-roadmap emitter: a **non-gate arm** of the gate binary
828
+ (gate-sdk/SPEC.md §The non-gate arm), reached as
829
+ `bash gate-sdk/bin/run-gates.sh --emit roadmap`, following the queue-index
830
+ precedent. The bare arm prints the generated block to stdout; `--write` splices
831
+ it between the markers in `QUEUE_KIT_ROADMAP_FILE` through the crate's shared
832
+ marker writer, leaving every byte outside them untouched.
833
+
834
+ **Table membership is forced rather than chosen, and the alternative is the
835
+ failure mode that looks like success.** An arm receives no configuration and only
836
+ an emitter-table member is bridged, so this tool ported as a hardcoded top-level
837
+ flag would resolve platform defaults and silently ignore every consumer override
838
+ of the horizons, the tracks, the queue path or the marker name. The table's knob
839
+ column is what keeps `QUEUE_KIT_HORIZONS` and `QUEUE_KIT_TRACKS` on the caller's
840
+ side of the bridge, which is the provenance seam holding: the crate ships the
841
+ projection *grammar* — the headings, the bullet shape, the placeholder, the
842
+ trailing blank — and not one lane name (§The tag algebra).
843
+
844
+ The section trio (`QUEUE_KIT_ACTIVE_SECTIONS`, `QUEUE_KIT_DEFERRED_SECTION`,
845
+ `QUEUE_KIT_ICEBOX_SECTION`) rides the same roster, because the shared adapter is
846
+ what scopes the scan and a knob the bridge does not carry is a knob the arm
847
+ cannot read. It reads the live task sections only — active, deferred, and a configured icebox,
663
848
  never the done section, because a shipped item is history, not direction. The
664
849
  icebox enters that walk on purpose even though no icebox entry can be
665
850
  projectable: excluded, a `[roadmap:]` tag that drifted into the tier would
@@ -668,7 +853,8 @@ silently drop a public commitment; included, it reds (§The icebox tier).
668
853
  The emit grammar is a contract on both sides: `check-roadmap-fresh` byte-compares
669
854
  it and a reader consumes it as the page's body.
670
855
 
671
- - One `### <horizon>` heading per configured horizon, in configured order, each
856
+ - One `### <horizon>` heading per configured horizon, in the knob array's own
857
+ order — never a sort the crate imposes — each
672
858
  emitted even when the queue puts nothing there — an empty horizon is
673
859
  information, and a section that vanishes when it empties reads as a page that
674
860
  forgot it. An empty horizon carries a one-line placeholder instead of bullets.
@@ -684,10 +870,9 @@ it and a reader consumes it as the page's body.
684
870
 
685
871
  The block ends on a blank line. That blank is load-bearing rather than cosmetic:
686
872
  the Pages parser closes a list only on one, so without it the `:end` marker abuts
687
- the last bullet and renders *inside* that list item. Command substitution strips
688
- the trailing newline on both sides of the freshness compare, so the byte-compare
689
- is unaffected — the same arrangement `gen-value-rollup.sh` uses to keep a table
690
- from swallowing its marker.
873
+ the last bullet and renders *inside* that list item. Both sides of the freshness
874
+ compare strip their trailing newlines, so the byte-compare is unaffected — the same arrangement the value-rollup emitter uses to keep a
875
+ table from swallowing its marker.
691
876
 
692
877
  Honest limit — the lead line is a shared budget, and `[roadmap:]` competes for it
693
878
  with every other tag the entry carries. Against `check-queue-wrap`'s floor a
@@ -713,8 +898,9 @@ is held to.
713
898
 
714
899
  Invariant, in two assertions over `QUEUE_KIT_ROADMAP_FILE`:
715
900
 
716
- - **(A) Freshness.** The committed marker block byte-matches
717
- `bin/roadmap.sh --emit`, on the `check-footprint-fresh` /
901
+ - **(A) Freshness.** The committed marker block byte-matches the roadmap arm's
902
+ emission, called **in-process** rather than spawned — the arm ported in the same
903
+ commit, so there is no shell left to reach — on the `check-footprint-fresh` /
718
904
  `check-value-rollup-fresh` model — diff the emission against the block and name
719
905
  the regen command in the red output. A missing file, missing markers, or an
720
906
  unbalanced marker pair is fail-closed (exit 2): an absent projection under a
@@ -731,6 +917,14 @@ Invariant, in two assertions over `QUEUE_KIT_ROADMAP_FILE`:
731
917
  reflowed tag looks like from the page's side, and the tag is what decides
732
918
  projection.
733
919
 
920
+ **Assertion B runs before assertion A, and the ordering is carried deliberately.**
921
+ A tag naming an unconfigured horizon is silently dropped from the emission, so a
922
+ freshness verdict taken before the fields are validated would pass a page that
923
+ quietly lost an item. That is a correctness property of the pair of assertions
924
+ rather than an implementation accident, and it is written here because a reader
925
+ taking the three assertions as an unordered set would lose it with nothing
926
+ reddening.
927
+
734
928
  Assertions B and C live here rather than in `check-tag-lead-line` because this is
735
929
  the gate that already loads the horizon and track vocabularies and the shared
736
930
  `[roadmap:]` parse; putting them in the lead-line gate would make a placement gate
@@ -746,6 +940,20 @@ pre-baked fixture files, the interface both cited models carry: a freshness gate
746
940
  offering only its bare form has no fixture that does not read the live queue, so
747
941
  the pair's verdict would turn on tree state outside the fixture directory.
748
942
 
943
+ **What the fixture pair proves is bounded, and it is explicitly not the arm's
944
+ parity proof.** Both cases steer assertion A off the live emitter, so the pair
945
+ would have gone green over an arm with no implementation at all. The pair proves
946
+ the comparator and the two-argument plumbing; what proved the emission was the
947
+ transition-scoped parity run against the shell emitter, held while both existed
948
+ (gate-sdk/SPEC.md §The first cohort, and the rule that selects the next).
949
+
950
+ The declaration is `checks/check-roadmap-fresh.gate` — hermetic, `precommit`,
951
+ binary-dispatched. Its `couples=` names every crate module the gate reaches
952
+ transitively, the emit module and the two shared with the emit side of the
953
+ compare included: the generated hook's `staged_matches` trigger is derived from
954
+ that field, so an omitted module leaves the gate registered and green while the
955
+ page it holds goes stale at commit time.
956
+
749
957
  ### bin/lesson-sink.sh
750
958
 
751
959
  The outbound channel's router: reads a lesson body on stdin and resolves the
@@ -795,15 +1003,24 @@ queue file at `tier=precommit`.
795
1003
 
796
1004
  ### check-queue-entry-budget
797
1005
 
798
- Invariant, one statement from two sides: **a deferred entry is a costed filing
1006
+ Invariant, one statement from three sides: **a deferred entry is a costed filing
799
1007
  — bounded above so it is not an inlined amendment, bounded below so it is not a
800
- flag-and-skip.** Three assertions:
801
-
802
- - **(A) Size.** No deferred entry exceeds `QUEUE_KIT_ENTRY_LINE_CAP` lines,
803
- counted as the lead line through the line before the next bullet at the same
804
- or shallower indent — the same extent `bin/queue-index.sh --extent` yields, so
805
- the range the gate measures is the range an eviction deletes. A sub-task
806
- nests inside its parent's extent and is measured as its own entry too.
1008
+ flag-and-skip, and bounded in what it may displace, so a bound on filing never
1009
+ becomes a bound on the record.** The first two sides are about the entry's
1010
+ *size*; the third is about what the cap *spends* to stay inside it. Three
1011
+ assertions:
1012
+
1013
+ - **(A) Size.** No deferred entry exceeds `QUEUE_KIT_ENTRY_LINE_CAP` **counted**
1014
+ lines. An entry's **extent** is the lead line through the line before the next
1015
+ bullet at the same or shallower indent — the same extent
1016
+ the `queue-index` arm's `--extent` yields, so the range the gate measures is the
1017
+ range an eviction deletes. Its **count** is that extent less **at most one**
1018
+ line matching the `recurrence:` declaration grammar (§The tag algebra). Extent
1019
+ and count differ by that one discounted line and by nothing else, which is what
1020
+ keeps the equality above a statement about the *range* while the cap binds the
1021
+ *count*. A sub-task nests inside its parent's extent and is measured as its own
1022
+ entry too — and claims its own at-most-one discount, so a parent whose extent
1023
+ holds two declarations still discounts one.
807
1024
  - **(B) Icebox shape.** Every icebox entry is exactly one line; a continuation
808
1025
  line under an icebox bullet is a violation. Skips clean when
809
1026
  `QUEUE_KIT_ICEBOX_SECTION` is empty, the empty-knob behavior
@@ -829,25 +1046,115 @@ binds top-level entries only — a sub-task is covered by its parent's costing.
829
1046
  entry's residency is one iteration by the drain rule, so it has no carry to
830
1047
  cap. The carry problem is the deferred pool's alone.
831
1048
 
832
- **Compression is lossless, and the split is authorization-gated.** An entry
833
- that will not fit is compressed by *answering* grounds, never by dropping or
834
- summarizing them away; a ground that survives unanswered is relocated into a
835
- distinct linked entry. The gate cannot hold this: it sees an entry's current
836
- extent, and judging whether a removed line was answered or discarded is
837
- semantic. So the rule is a stated authoring contract, and the remedy carries
838
- its own authorization — a parent session (the iteration lead), or the operator
839
- in the absence of one, grants permission to split and issues the recipe with
840
- the ruling. A session blocked by the cap does not self-serve the split, the
841
- same lineage as a `check-stage-entry` assertion C waiver
842
- (lifecycle-kit/SPEC.md §check-stage-entry), and the gate's failure text
843
- therefore cites this section rather than inlining the recipe.
1049
+ **Clean-path headroom.** When all three assertions hold, the clean line is
1050
+ followed by one line per Deferred entry — a sub-task included, since it is
1051
+ measured as its own entry under (A) — naming that entry's headroom to the cap:
1052
+ the same count assertion A already derives, one subtraction away, so exposing
1053
+ it costs no new computation and mints no new name. This is exposure, not a new
1054
+ capability: the enforcing member already computes each entry's count in order
1055
+ to enforce the cap, so a session sizing an edit reads the measurement instead
1056
+ of hand-rolling it — a hand-rolled probe carries the risk of a second spelling
1057
+ of the cap, a second implementation of the parse, and a mismeasured entry
1058
+ boundary that reads as a false cap overrun. The rejected
1059
+ alternative was a `--headroom <slug>` mode on the `queue-index` arm: it mints a
1060
+ name against that arm's standing no-fourth-mode refusal, where this
1061
+ exposure spends nothing beyond a print at the compiled assertion's existing
1062
+ computation.
1063
+
1064
+ *Why one `recurrence:` line is discounted, and why exactly one.* The line is
1065
+ **fixed-shape and width-bounded** — §The tag algebra rules its ceiling to be
1066
+ `check-queue-wrap`'s budget and rules reaching that ceiling the *correct*
1067
+ complaint, so the discount cannot let an entry grow without bound. It is exactly
1068
+ the **generated-shaped content** that argued content was otherwise spent to seat,
1069
+ so making the count blind to it removes that trade rather than arbitrating it.
1070
+ And it is **one line, not a grammar-wide exemption**: the declaration's own rule
1071
+ is one line per entry with dates appended, so one line is the whole of what that
1072
+ form can claim — §The tag algebra refuses the one-line-per-recurrence variant
1073
+ partly *because* it grows an entry linearly against this cap, and a grammar-wide
1074
+ exemption would retire that refusal's ground as a side effect. The match is the
1075
+ declaration's own grammar — the `recurrence:` lead token, a slug, then at least
1076
+ one ISO date, the shape drift-kit's `kpi-incident-recurrence` already reads —
1077
+ with no entry-boundary or self-slug condition added, since the at-most-one bound
1078
+ is what does the scoping. The discount narrows the **count** only and removes
1079
+ nothing from the scan, so (B), which counts icebox continuation lines, and (C),
1080
+ which asserts a lead-in is *present*, cannot flip; (A) itself reds on
1081
+ *exceeding* the cap and is monotone in the count, so a smaller count reds
1082
+ strictly less.
1083
+
1084
+ **A mandated write is the class the cap has no self-served answer for.** A
1085
+ mandated write is a write on a deferred entry that another governed contract
1086
+ obliges the writing session to make **in the commit it is already making**, and
1087
+ whose obligation is citable to that contract by name. Two instances exist, both
1088
+ already in the tree rather than invented here: a judged `recurrence:` date and
1089
+ the grounds it is read from, which must land in the commit the judging session is
1090
+ already making because that commit is the audit artifact (lifecycle-kit/SPEC.md
1091
+ §The committed gap inbox); and a ruling recorded onto the entry it rules, under
1092
+ the recording-in-the-moment rule below. Its **producers** are the sessions those
1093
+ two contracts already bind — any session that judges a recurrence, the gap-inbox
1094
+ drain being its mechanized instance, and any session recording a
1095
+ ruling — both running today with no new trigger, no new field and nothing to
1096
+ configure; its **consumers** are that same session reading this section when
1097
+ assertion A blocks it, a path the gate's failure text already routes it down, and
1098
+ lifecycle-kit's judgment contract, which cites the class by name for the write it
1099
+ mandates. **What is not a mandated write, because a class that excludes nothing
1100
+ is not a class:** the session's own evidence for a claim, a further ground for a
1101
+ claim already made, a cross-reference it would like to add, a correction it could
1102
+ equally make in a later commit. All of those keep the reliefs they have. The test
1103
+ is not *how important is this* — every session believes its write matters — but
1104
+ *does a named contract oblige this write in this commit*.
1105
+
1106
+ **Compression is lossless; relocation is self-served for a mandated write, and
1107
+ the split stays authorization-gated.** An entry that will not fit is compressed
1108
+ by *answering* grounds, never by dropping or summarizing them away; a ground that
1109
+ survives unanswered is relocated into a distinct linked entry. The gate cannot
1110
+ hold this: it sees an entry's current extent, and judging whether a removed line
1111
+ was answered or discarded is semantic. So the rule is a stated authoring
1112
+ contract — and that third relief is **two acts wearing one name**.
1113
+
1114
+ - **Relocating grounds** into an entry that **already exists and already owns the
1115
+ ground's subject** is self-served when, and only when, what the cap blocks is a
1116
+ mandated write. The relocating session cites the mandating contract in the
1117
+ commit that makes the relocation, and names the target with a
1118
+ single-backticked slug in the entry body — already a citation under §The tag
1119
+ algebra and already aggregated by `bin/queue-edges.sh`, so the link needs no
1120
+ declaration of its own. A `relocated:` declaration is refused on the ground
1121
+ §The tag algebra refuses `relates:` on: it would cost a counted line against
1122
+ this very cap, on the entry least able to pay it.
1123
+ - **Splitting the unit** — minting a *new* entry to hold what would not fit —
1124
+ carries its own authorization, unchanged: a parent session (the iteration
1125
+ lead), or the operator in the absence of one, grants permission to split and
1126
+ issues the recipe with the ruling. A session blocked by the cap does not
1127
+ self-serve *that*, the same lineage as a `check-stage-entry` assertion C waiver
1128
+ (lifecycle-kit/SPEC.md §check-stage-entry), and the gate's failure text
1129
+ therefore cites this section rather than inlining the recipe.
1130
+
1131
+ *Why the line falls between the two acts.* Grounds are not rankable work, so
1132
+ moving them into an entry that already owns their subject mints no ranking peer;
1133
+ a new entry *is* a new unit, competing for the scope attention that ranks both,
1134
+ which is a scope-class judgment and keeps the authorization. That is what stops
1135
+ the sharpest displacement shape — an entry too full to hold its own design half,
1136
+ so the half is filed as a separate entry competing with its own parent — from
1137
+ becoming routine under a blanket relief. And the authorization is safe to drop
1138
+ for the narrow act because a mandated write is by construction not
1139
+ discretionary: its obligation belongs to another surface and is citable, so a
1140
+ reader can check the trigger even though no gate reads it, and the act is
1141
+ net-negative on the parent by construction — a relocation that does not reduce
1142
+ the parent's extent is not a relocation, which assertion A enforces from the
1143
+ other side. **The honest limit, stated because it is real:** where no existing
1144
+ entry owns the ground's subject, the self-served relief is unavailable and the
1145
+ session is back to compressing by answering, or to asking. That is the correct
1146
+ outcome rather than a hole — needing to mint an entry *is* the signal that a
1147
+ unit, not a ground, is what would not fit.
844
1148
 
845
1149
  *Why the cap is not widened for exceptional content.* Assertion A's bound is
846
1150
  the amendment-inlining line above, not a length preference, so raising the
847
1151
  number moves the number without moving the line — and the entries that would
848
1152
  claim an exception are the likeliest ungoverned amendments. A conditional cap
849
1153
  collapses back into authorization anyway, or it is the self-issued exemption
850
- the delegation doctrine already names as the standard failure mode.
1154
+ the delegation doctrine already names as the standard failure mode. The
1155
+ recurrence discount is **not** that widening and must not be read as one: it
1156
+ changes what the count includes, never the number, and it is unconditional —
1157
+ no entry claims it by being exceptional.
851
1158
 
852
1159
  **A ruling the operator restates from memory is filed in the moment.** The
853
1160
  compression rule above is an authoring contract, so a break in it is silent, and
@@ -891,7 +1198,7 @@ scanned surface both widen with the lesson channels: `[blocked-by:]` /
891
1198
  `[spec:]` / `[design-pending]` / `[drain-exempt:]` / `[roadmap:]` in the task
892
1199
  sections (active + deferred), plus
893
1200
  `[attend]` and every `QUEUE_KIT_LESSON_TAGS` name in the `## Lessons Learned`
894
- section — the section `queue-index.sh` now reads, which retires the old "parsed
1201
+ section — the section the `queue-index` arm now reads, which retires the old "parsed
895
1202
  by no reader" exemption for it. Couples
896
1203
  the width-only wrap gate to the tag-parsing tools over the same surface: gate
897
1204
  the coupling, not just each side.
@@ -912,6 +1219,15 @@ Calibration: lead-class rule — a tag of class C on a continuation line is a
912
1219
  violation only when the lead line lacks class C (prose that mentions a tag
913
1220
  the lead already carries is tolerated); tags outside the scanned sections are
914
1221
  parsed by no reader and ignored. Fenced-code and table lines exempt.
1222
+ **Single backticks are not an exemption**, and the consequence is worth stating
1223
+ where an author meets it: an entry body *discussing* a tag it does not carry —
1224
+ `` `[roadmap:]` `` inside a sentence about the roadmap arm — reds exactly as a
1225
+ reflowed tag would, because the class table matches the bracketed token and the
1226
+ lead-class rule only tolerates what the lead line already carries. So prose
1227
+ about a tag spells its name without the brackets. Widening the exemption to
1228
+ inline code is refused: the entry-body citation grammar above already puts
1229
+ single backticks to work as a *live* claim (§The tag algebra), so a scan that
1230
+ skipped them would have to skip the citation surface too.
915
1231
  Residual accepted gap: a same-class duplicate sliding off while one stays on
916
1232
  the lead — negligible severity, not reflow-realistic.
917
1233
 
@@ -954,6 +1270,19 @@ exit (nothing to compare is not a violation). Clearing the done section is
954
1270
  safe: only HEAD's *live* slugs are conserved. A rename intentionally fires —
955
1271
  move the old slug to done, sweep refs.
956
1272
 
1273
+ **The gate is a binary subcommand, and the `no-fixture:` reason survived the
1274
+ port intact — what it does not excuse is parity.** The reason is structural
1275
+ rather than a stopgap, so it stays true on either substrate; but a member with
1276
+ no pair still owes the proof that both implementations agree, and it is paid by
1277
+ the constructed scenario gate-sdk/SPEC.md §The port-candidate criteria specifies
1278
+ for exactly this shape: throwaway repositories, the worktree mutated without
1279
+ committing, both implementations run over the same case and compared byte for
1280
+ byte. `git` is the one external program the gate invokes — the sanctioned floor
1281
+ exception — and the branch that reports a clean exit when there is no repository
1282
+ at all is part of what the scenario covers. The same absence of a fixture case
1283
+ is why gate-sdk/SPEC.md §check-gate-output reads this member's output contract
1284
+ off its implementation module rather than off its descriptor.
1285
+
957
1286
  ### check-queue-prose-precondition
958
1287
 
959
1288
  Invariant: no active-section entry states a forward precondition in prose
@@ -1009,6 +1338,14 @@ starter-template conformance contract owned by gate-sdk/SPEC.md §Consumer smoke
1009
1338
  — and carries lifecycle-kit's iteration header as inert scaffold so a
1010
1339
  combined-tree copy clears the stage gates too.
1011
1340
 
1341
+ Shipping this file is also what makes this kit the queue format's owner as far
1342
+ as an adopter's install is concerned: `checkwright init` seeds their queue from
1343
+ the template of the first kit in their profile that ships one, and falls back to
1344
+ an inline skeleton only when none does (installer/README.md §What init seeds).
1345
+ The declaration is the artifact rather than a roster naming this kit. Until that
1346
+ selection was resolved over the whole profile at once, no profile reached this
1347
+ kit first and no adopter ever received the file.
1348
+
1012
1349
  ## Out of scope
1013
1350
 
1014
1351
  <!-- prose-enum-exempt: names the two amendment-lifecycle tags specifically; [blocked-by:] is a dependency tag outside that lifecycle, not a dropped task-tag member -->