checkwright 0.31.0 → 0.32.1

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 (496) hide show
  1. package/README.md +8 -7
  2. package/bin/checkwright.ps1 +3 -3
  3. package/bin/checkwright.sh +5 -1
  4. package/package.json +10 -3
  5. package/payload/artifact/aarch64-apple-darwin/checkwright-gates +0 -0
  6. package/payload/artifact/aarch64-apple-darwin/checkwright-gates.sha256 +1 -1
  7. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe +0 -0
  8. package/payload/artifact/aarch64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  9. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates +0 -0
  10. package/payload/artifact/aarch64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  11. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates +0 -0
  12. package/payload/artifact/aarch64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
  13. package/payload/artifact/targets.list +5 -5
  14. package/payload/artifact/x86_64-apple-darwin/checkwright-gates +0 -0
  15. package/payload/artifact/x86_64-apple-darwin/checkwright-gates.sha256 +1 -1
  16. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe +0 -0
  17. package/payload/artifact/x86_64-pc-windows-msvc/checkwright-gates.exe.sha256 +1 -1
  18. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates +0 -0
  19. package/payload/artifact/x86_64-unknown-linux-gnu/checkwright-gates.sha256 +1 -1
  20. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates +0 -0
  21. package/payload/artifact/x86_64-unknown-linux-musl/checkwright-gates.sha256 +1 -1
  22. package/payload/canon-kit/README.md +8 -4
  23. package/payload/canon-kit/checks/check-amendment-queue.gate +1 -1
  24. package/payload/canon-kit/checks/check-comment-tier.gate +2 -2
  25. package/payload/canon-kit/checks/check-delta-agreement.gate +4 -0
  26. package/payload/canon-kit/checks/check-deprecation-task.gate +1 -1
  27. package/payload/canon-kit/checks/check-docs-page-length.gate +4 -0
  28. package/payload/canon-kit/checks/check-docs-page-repeat.gate +2 -2
  29. package/payload/canon-kit/checks/check-fence-command-head.gate +1 -1
  30. package/payload/canon-kit/checks/check-fence-paste-unit.gate +4 -0
  31. package/payload/canon-kit/checks/check-knob-default-coupling.gate +1 -1
  32. package/payload/canon-kit/checks/check-manifest-count.gate +3 -3
  33. package/payload/canon-kit/checks/check-manifest-temporal.gate +1 -1
  34. package/payload/canon-kit/checks/check-pendency-contradiction.gate +3 -0
  35. package/payload/canon-kit/checks/check-prose-tells.gate +1 -1
  36. package/payload/canon-kit/checks/check-spec-derivable-section.gate +1 -1
  37. package/payload/canon-kit/checks/check-spec-dod-singleton.gate +1 -1
  38. package/payload/canon-kit/checks/check-spec-embedded-source.gate +1 -1
  39. package/payload/canon-kit/checks/check-spec-pointer.gate +1 -1
  40. package/payload/canon-kit/checks/check-todo-task-liveness.gate +1 -1
  41. package/payload/canon-kit/gate-tests/check-amendment-queue/good/SPEC-widget.md +6 -0
  42. package/payload/canon-kit/gate-tests/check-amendment-retired-spelling/good/SPEC-widget.md +7 -0
  43. package/payload/canon-kit/gate-tests/check-amendment-update-target/good/SPEC-widget.md +7 -0
  44. package/payload/canon-kit/gate-tests/check-citation-link/bad/expect.txt +1 -0
  45. package/payload/canon-kit/gate-tests/check-citation-link/bad/site/unclosed.md +4 -0
  46. package/payload/canon-kit/gate-tests/check-citation-link/good/site/page.md +10 -0
  47. package/payload/canon-kit/gate-tests/check-comment-tier/bad/scripts/canon-config.knobs +4 -0
  48. package/payload/canon-kit/gate-tests/check-comment-tier/good/good.gate +2 -0
  49. package/payload/canon-kit/gate-tests/check-comment-tier/good/scripts/canon-config.knobs +4 -0
  50. package/payload/canon-kit/gate-tests/check-comment-tier.test.sh +9 -1
  51. package/payload/canon-kit/gate-tests/check-delta-agreement/bad/expect.txt +3 -0
  52. package/payload/canon-kit/gate-tests/check-delta-agreement/bad/scripts/canon-config.knobs +14 -0
  53. package/payload/canon-kit/gate-tests/check-delta-agreement/bad/work/base/notes/spec.md +9 -0
  54. package/payload/canon-kit/gate-tests/check-delta-agreement/bad/work/changes/one/deltas/notes/spec.md +7 -0
  55. package/payload/canon-kit/gate-tests/check-delta-agreement/bad/work/changes/two/deltas/cli/spec.md +3 -0
  56. package/payload/canon-kit/gate-tests/check-delta-agreement/good/expect.txt +1 -0
  57. package/payload/canon-kit/gate-tests/check-delta-agreement/good/scripts/canon-config.knobs +14 -0
  58. package/payload/canon-kit/gate-tests/check-delta-agreement/good/work/base/notes/spec.md +9 -0
  59. package/payload/canon-kit/gate-tests/check-delta-agreement/good/work/changes/one/deltas/notes/spec.md +19 -0
  60. package/payload/canon-kit/gate-tests/check-delta-agreement/good/work/changes/two/deltas/cli/spec.md +3 -0
  61. package/payload/canon-kit/gate-tests/check-deprecation-task/bad/scripts/canon-config.knobs +4 -0
  62. package/payload/canon-kit/gate-tests/check-deprecation-task/good/scripts/canon-config.knobs +4 -0
  63. package/payload/canon-kit/gate-tests/check-docs-cmd.test.sh +20 -4
  64. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/expect.txt +5 -0
  65. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/scripts/canon-config.knobs +3 -0
  66. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/item.md +5 -0
  67. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/nested.md +7 -0
  68. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/page.md +13 -0
  69. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/short.md +3 -0
  70. package/payload/canon-kit/gate-tests/check-docs-page-length/bad/site/unclosed.md +4 -0
  71. package/payload/canon-kit/gate-tests/check-docs-page-length/good/expect.txt +1 -0
  72. package/payload/canon-kit/gate-tests/check-docs-page-length/good/scripts/canon-config.knobs +4 -0
  73. package/payload/canon-kit/gate-tests/check-docs-page-length/good/site/generated.md +3 -0
  74. package/payload/canon-kit/gate-tests/check-docs-page-length/good/site/page.md +15 -0
  75. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/expect.txt +3 -0
  76. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/scripts/canon-config.knobs +2 -1
  77. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/_chrome/footer.html +4 -0
  78. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/page.md +4 -0
  79. package/payload/canon-kit/gate-tests/check-docs-page-repeat/bad/site/unclosed.md +6 -0
  80. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/expect.txt +2 -1
  81. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/scripts/canon-config.knobs +2 -1
  82. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/site/_chrome/layout.html +8 -0
  83. package/payload/canon-kit/gate-tests/check-docs-page-repeat/good/site/page.md +13 -0
  84. package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/expect.txt +1 -0
  85. package/payload/canon-kit/gate-tests/check-docs-restatement-parity/bad/kit/index.md +4 -0
  86. package/payload/canon-kit/gate-tests/check-fence-command-head/bad/doc.md +10 -0
  87. package/payload/canon-kit/gate-tests/check-fence-command-head/bad/expect.txt +2 -0
  88. package/payload/canon-kit/gate-tests/check-fence-command-head/good/doc.md +6 -0
  89. package/payload/canon-kit/gate-tests/check-fence-paste-unit/bad/expect.txt +3 -0
  90. package/payload/canon-kit/gate-tests/check-fence-paste-unit/bad/scripts/canon-config.knobs +2 -0
  91. package/payload/canon-kit/gate-tests/check-fence-paste-unit/bad/site/page.md +17 -0
  92. package/payload/canon-kit/gate-tests/check-fence-paste-unit/good/expect.txt +1 -0
  93. package/payload/canon-kit/gate-tests/check-fence-paste-unit/good/scripts/canon-config.knobs +2 -0
  94. package/payload/canon-kit/gate-tests/check-fence-paste-unit/good/site/page.md +39 -0
  95. package/payload/canon-kit/gate-tests/check-fence-run/good/doc.md +8 -0
  96. package/payload/canon-kit/gate-tests/check-install-claim/bad/README.md +4 -0
  97. package/payload/canon-kit/gate-tests/check-manifest-count/bad/SPEC.md +14 -0
  98. package/payload/canon-kit/gate-tests/check-manifest-count/bad/expect.txt +2 -0
  99. package/payload/canon-kit/gate-tests/check-manifest-count/good/SPEC.md +27 -0
  100. package/payload/canon-kit/gate-tests/check-manifest-count/good/expect.txt +1 -1
  101. package/payload/canon-kit/gate-tests/check-manifest-count/good/posts/note.md +7 -0
  102. package/payload/canon-kit/gate-tests/check-manifest-count/good/scripts/canon-config.knobs +4 -0
  103. package/payload/canon-kit/gate-tests/check-manifest-temporal/good/SPEC.md +7 -0
  104. package/payload/canon-kit/gate-tests/check-md-refs.test.sh +17 -1
  105. package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/dotted.md +10 -0
  106. package/payload/canon-kit/gate-tests/check-md-unwrapped/bad/expect.txt +1 -0
  107. package/payload/canon-kit/gate-tests/check-md-unwrapped/good/dotted.md +6 -0
  108. package/payload/canon-kit/gate-tests/check-md-unwrapped/good/expect.txt +1 -1
  109. package/payload/canon-kit/gate-tests/check-measured-claim/good/SPEC.md +6 -0
  110. package/payload/canon-kit/gate-tests/check-pendency-contradiction/bad/SPEC.md +14 -0
  111. package/payload/canon-kit/gate-tests/check-pendency-contradiction/bad/expect.txt +1 -0
  112. package/payload/canon-kit/gate-tests/check-pendency-contradiction/good/README.md +3 -0
  113. package/payload/canon-kit/gate-tests/check-pendency-contradiction/good/SPEC.md +16 -0
  114. package/payload/canon-kit/gate-tests/check-pendency-contradiction/good/expect.txt +1 -0
  115. package/payload/canon-kit/gate-tests/check-prose-tells/bad/absence-unclosed.md +8 -0
  116. package/payload/canon-kit/gate-tests/check-prose-tells/bad/absence.md +13 -0
  117. package/payload/canon-kit/gate-tests/check-prose-tells/bad/expect.txt +4 -0
  118. package/payload/canon-kit/gate-tests/check-prose-tells/bad/scripts/canon-config.knobs +5 -1
  119. package/payload/canon-kit/gate-tests/check-prose-tells/good/absence.md +17 -0
  120. package/payload/canon-kit/gate-tests/check-prose-tells/good/prose.md +6 -0
  121. package/payload/canon-kit/gate-tests/check-prose-tells/good/scripts/canon-config.knobs +4 -1
  122. package/payload/canon-kit/gate-tests/check-spec-derivable-section/bad/SPEC.md +9 -0
  123. package/payload/canon-kit/gate-tests/check-spec-derivable-section/bad/expect.txt +2 -1
  124. package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/SPEC.md +14 -0
  125. package/payload/canon-kit/gate-tests/check-spec-embedded-source/bad/expect.txt +1 -0
  126. package/payload/canon-kit/gate-tests/check-spec-fence-balance/bad/args +1 -0
  127. package/payload/canon-kit/gate-tests/check-spec-fence-balance/bad/expect.txt +2 -1
  128. package/payload/canon-kit/gate-tests/check-spec-fence-balance/bad/long.md +7 -0
  129. package/payload/canon-kit/gate-tests/check-spec-fence-balance/good/doc.md +13 -0
  130. package/payload/canon-kit/gate-tests/check-spec-pointer/bad/scripts/canon-config.knobs +7 -1
  131. package/payload/canon-kit/gate-tests/check-spec-pointer/good/README.md +8 -0
  132. package/payload/canon-kit/gate-tests/check-spec-pointer/good/SPEC-repeat.md +11 -0
  133. package/payload/canon-kit/gate-tests/check-spec-pointer/good/scripts/canon-config.knobs +6 -0
  134. package/payload/canon-kit/gate-tests/check-task-label-resolution/good/work/tasks.md +6 -0
  135. package/payload/canon-kit/gate-tests/check-task-path-claim/good/work/tasks.md +6 -0
  136. package/payload/canon-kit/gate-tests/check-todo-task-liveness/bad/scripts/canon-config.knobs +4 -0
  137. package/payload/canon-kit/gate-tests/check-todo-task-liveness/good/scripts/canon-config.knobs +4 -0
  138. package/payload/canon-kit/gate-tests/check-tracking-claim/bad/README.md +4 -0
  139. package/payload/context-kit/README.md +5 -7
  140. package/payload/context-kit/checks/check-brevity.gate +1 -1
  141. package/payload/context-kit/gate-tests/check-brevity.test.sh +1 -0
  142. package/payload/context-kit/gate-tests/check-memory-off.test.sh +25 -1
  143. package/payload/context-kit/gate-tests/check-settings-paths/bad/expect.txt +3 -0
  144. package/payload/context-kit/gate-tests/check-settings-paths/bad/settings.json +16 -0
  145. package/payload/context-kit/gate-tests/check-settings-paths/bad/tools/checkwright-gates +2 -0
  146. package/payload/context-kit/gate-tests/check-settings-paths/good/expect.txt +2 -2
  147. package/payload/context-kit/gate-tests/check-settings-paths/good/settings.json +16 -0
  148. package/payload/context-kit/gate-tests/check-settings-paths/good/tools/checkwright-gates +2 -0
  149. package/payload/context-kit/gate-tests/session-context-spawn.test.sh +52 -0
  150. package/payload/context-kit/templates/nudge-delegation.txt +4 -0
  151. package/payload/context-kit/templates/settings-sessionstart.json +2 -2
  152. package/payload/delegation-kit/README.md +14 -8
  153. package/payload/delegation-kit/checks/check-agent-tier-explicit.gate +1 -0
  154. package/payload/delegation-kit/checks/check-gate-tamper.gate +1 -1
  155. package/payload/delegation-kit/close-surfaces.txt +3 -0
  156. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/agents/stale-effort.md +10 -0
  157. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/agents/stale.md +9 -0
  158. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/agents/unbound.md +8 -0
  159. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/expect.txt +3 -0
  160. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/bad/scripts/delegation-config.knobs +3 -0
  161. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/agents/explicit-cheap.md +3 -1
  162. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/agents/explicit-paired.md +10 -0
  163. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/expect.txt +1 -1
  164. package/payload/delegation-kit/gate-tests/check-agent-tier-explicit/good/scripts/delegation-config.knobs +3 -0
  165. package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/exception-arrays.sh +44 -0
  166. package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/expect.txt +12 -0
  167. package/payload/delegation-kit/gate-tests/check-gate-tamper/bad/staged-files +12 -0
  168. package/payload/delegation-kit/gate-tests/check-gate-tamper/good/exception-arrays.sh +44 -0
  169. package/payload/delegation-kit/gate-tests/check-gate-tamper/good/staged-files +1 -0
  170. package/payload/delegation-kit/gate-tests/check-gate-tamper.test.sh +22 -1
  171. package/payload/delegation-kit/templates/agent-execution.md +7 -6
  172. package/payload/delegation-kit/templates/delegation-config.knobs +32 -0
  173. package/payload/delegation-kit/usage-tests/cases.tsv +35 -25
  174. package/payload/delegation-kit/usage-tests/dispatch-guard-cases.tsv +12 -3
  175. package/payload/doctrine-kit/DOCTRINE.md +109 -25
  176. package/payload/doctrine-kit/README.md +2 -2
  177. package/payload/drift-kit/README.md +15 -6
  178. package/payload/drift-kit/close-surfaces.txt +2 -0
  179. package/payload/drift-kit/templates/economics.md +7 -3
  180. package/payload/drift-kit/templates/kpis.list +1 -0
  181. package/payload/evidence-kit/README.md +3 -3
  182. package/payload/evidence-kit/gate-tests/check-battery-roster/bad/expect.txt +1 -0
  183. package/payload/evidence-kit/gate-tests/check-battery-roster/bad/runner.md +2 -1
  184. package/payload/evidence-kit/gate-tests/check-battery-roster/bad/scripts/evidence-config.knobs +3 -1
  185. package/payload/evidence-kit/gate-tests/check-battery-roster/good/runner.md +1 -0
  186. package/payload/evidence-kit/gate-tests/check-battery-roster/good/scripts/evidence-config.knobs +3 -1
  187. package/payload/evidence-kit/gate-tests/check-evidence-baseline.test.sh +18 -2
  188. package/payload/evidence-kit/gate-tests/diff-baseline-status.test.sh +2 -3
  189. package/payload/evidence-kit/gate-tests/run-member-door.test.sh +50 -0
  190. package/payload/gate-sdk/README.md +9 -13
  191. package/payload/gate-sdk/bin/build-native.sh +11 -14
  192. package/payload/gate-sdk/bin/run-gates.ps1 +149 -24
  193. package/payload/gate-sdk/bin/run-gates.sh +57 -14
  194. package/payload/gate-sdk/checks/check-commit-msg.gate +1 -1
  195. package/payload/gate-sdk/checks/check-gate-substrate-parity.gate +1 -1
  196. package/payload/gate-sdk/checks/check-graph.gate +2 -2
  197. package/payload/gate-sdk/checks/check-install-disposition.gate +1 -1
  198. package/payload/gate-sdk/checks/check-path-dialect.gate +1 -1
  199. package/payload/gate-sdk/checks/check-psscriptanalyzer.gate +4 -0
  200. package/payload/gate-sdk/checks/check-shellcheck.gate +1 -1
  201. package/payload/gate-sdk/checks/check-template-copy-parity.gate +1 -1
  202. package/payload/gate-sdk/checks/check-tree-terms.gate +1 -1
  203. package/payload/gate-sdk/gate-tests/check-action-gh-repo/bad/args +2 -1
  204. package/payload/gate-sdk/gate-tests/check-action-gh-repo/bad/expect.txt +2 -0
  205. package/payload/gate-sdk/gate-tests/check-action-gh-repo/bad/tree/workflows/shapes.yml +29 -0
  206. package/payload/gate-sdk/gate-tests/check-action-permissions/bad/args +2 -1
  207. package/payload/gate-sdk/gate-tests/check-action-permissions/bad/expect.txt +2 -0
  208. package/payload/gate-sdk/gate-tests/check-action-permissions/bad/tree/workflows/shapes.yml +22 -0
  209. package/payload/gate-sdk/gate-tests/check-enforcement-fresh/good/docs/demo-kit/index.md +3 -0
  210. package/payload/gate-sdk/gate-tests/check-gate-assertions.test.sh +17 -1
  211. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/expect.txt +12 -1
  212. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-array-axes.sh +44 -0
  213. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/bad/scripts/check-descriptor.gate +2 -0
  214. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/expect.txt +2 -1
  215. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-array-axes.sh +46 -0
  216. package/payload/gate-sdk/gate-tests/check-gate-exemption-tasks/good/scripts/check-descriptor.gate +2 -0
  217. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/expect.txt +1 -0
  218. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/scripts/check-psopt.gate +3 -0
  219. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/scripts/check-psopt.ps1 +1 -0
  220. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/bad/scripts/gates.list +1 -0
  221. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/expect.txt +1 -0
  222. package/payload/gate-sdk/gate-tests/check-gate-fixture-coverage/good/scripts/gates.list +3 -1
  223. package/payload/gate-sdk/gate-tests/check-gate-output/good/expect.txt +1 -0
  224. package/payload/gate-sdk/gate-tests/check-gate-output/good/gates.list +4 -2
  225. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/expect.txt +5 -0
  226. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/kitroot/checks/check-kitexec.gate +2 -0
  227. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/kitroot/checks/check-kitexec.ps1 +1 -0
  228. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-climb.gate +2 -0
  229. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-direxec.gate +2 -0
  230. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-twoexec.gate +3 -0
  231. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-txtexec.gate +2 -0
  232. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/bad/scripts/check-txtexec.txt +1 -0
  233. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/expect.txt +2 -1
  234. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-psgood.gate +3 -0
  235. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-psgood.ps1 +1 -0
  236. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/check-rsgood.gate +3 -0
  237. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity/good/scripts/gates.list +2 -0
  238. package/payload/gate-sdk/gate-tests/check-gate-substrate-parity.test.sh +42 -5
  239. package/payload/gate-sdk/gate-tests/check-graph/bad/SPEC-example-gate.md +1 -0
  240. package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-example-gate.md +9 -1
  241. package/payload/gate-sdk/gate-tests/check-graph/good/SPEC-second-gate.md +2 -2
  242. package/payload/gate-sdk/gate-tests/check-graph-tree.test.sh +15 -29
  243. package/payload/gate-sdk/gate-tests/check-kit-enum/good/expect.txt +1 -1
  244. package/payload/gate-sdk/gate-tests/check-kit-enum/good/gates.list +3 -1
  245. package/payload/gate-sdk/gate-tests/check-portability-floor/bad/expect.txt +1 -0
  246. package/payload/gate-sdk/gate-tests/check-portability-floor/bad/tree/portability-patterns.notes.list +1 -0
  247. package/payload/gate-sdk/gate-tests/check-portability-floor/good/args +1 -1
  248. package/payload/gate-sdk/gate-tests/check-portability-floor/good/scripts/gate-sdk-config.knobs +1 -0
  249. package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/demo-kit/templates/portability-patterns.list +5 -0
  250. package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/rosters/constructs.list +6 -0
  251. package/payload/gate-sdk/gate-tests/check-portability-floor.test.sh +15 -2
  252. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/expect.txt +2 -0
  253. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/noisy.ps1 +1 -0
  254. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/pwsh +8 -0
  255. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/bad/scripts/gate-sdk-config.knobs +1 -0
  256. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/clean.ps1 +1 -0
  257. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/expect.txt +1 -0
  258. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/pwsh +7 -0
  259. package/payload/gate-sdk/gate-tests/check-psscriptanalyzer/good/scripts/gate-sdk-config.knobs +2 -0
  260. package/payload/gate-sdk/gate-tests/check-shellcheck/bad/{warn.sh → alpha-kit/gate-tests/kit-warn.sh} +1 -1
  261. package/payload/gate-sdk/gate-tests/check-shellcheck/bad/expect.txt +2 -0
  262. package/payload/gate-sdk/gate-tests/check-shellcheck/bad/scripts/gate-sdk-config.knobs +2 -0
  263. package/payload/gate-sdk/gate-tests/check-shellcheck/bad/scripts/gate-tests/tests-warn.sh +5 -0
  264. package/payload/gate-sdk/gate-tests/check-shellcheck/good/{ok.sh → alpha-kit/gate-tests/kit-ok.sh} +1 -1
  265. package/payload/gate-sdk/gate-tests/check-shellcheck/good/expect.txt +1 -1
  266. package/payload/gate-sdk/gate-tests/check-shellcheck/good/scripts/gate-sdk-config.knobs +2 -0
  267. package/payload/gate-sdk/gate-tests/check-shellcheck/good/scripts/gate-tests/tests-ok.sh +4 -0
  268. package/payload/gate-sdk/gate-tests/check-template-copy-parity/bad/args +2 -0
  269. package/payload/gate-sdk/gate-tests/check-template-copy-parity/bad/scripts/gate-sdk-config.knobs +1 -0
  270. package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/args +4 -1
  271. package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/scripts/gate-sdk-config.knobs +1 -0
  272. package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/stray/templates/session-note.sh +4 -0
  273. package/payload/gate-sdk/gate-tests/check-template-copy-parity.test.sh +6 -2
  274. package/payload/gate-sdk/gate-tests/check-template-registry-parity/bad/drift-kit/templates/kpis.list +1 -0
  275. package/payload/gate-sdk/gate-tests/check-template-registry-parity/good/drift-kit/templates/kpis.list +1 -0
  276. package/payload/gate-sdk/gate-tests/check-tree-terms/bad/expect.txt +1 -0
  277. package/payload/gate-sdk/gate-tests/check-tree-terms/bad/tree/msg-patterns.old.list +1 -0
  278. package/payload/gate-sdk/gate-tests/check-tree-terms/good/args +2 -2
  279. package/payload/gate-sdk/gate-tests/check-tree-terms/good/scripts/gate-sdk-config.knobs +1 -0
  280. package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/demo-kit/templates/msg-patterns.list +2 -0
  281. package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/rosters/extra.list +2 -0
  282. package/payload/gate-sdk/gate-tests/check-tree-terms.test.sh +1 -0
  283. package/payload/gate-sdk/gate-tests/emit-arm-shape.test.sh +1 -1
  284. package/payload/gate-sdk/gate-tests/enforcement-map.test.sh +10 -2
  285. package/payload/gate-sdk/gate-tests/lib-gate.test.sh +29 -3
  286. package/payload/gate-sdk/gate-tests/lib-test-hermetic.test.sh +24 -0
  287. package/payload/gate-sdk/gate-tests/native-git-hooks.test.sh +261 -0
  288. package/payload/gate-sdk/gate-tests/native-rustflags.test.sh +20 -0
  289. package/payload/gate-sdk/gate-tests/run-arm-contract.test.sh +11 -4
  290. package/payload/gate-sdk/gate-tests/run-dispatch-streams.test.sh +2 -1
  291. package/payload/gate-sdk/gate-tests/run-for-path.test.sh +11 -1
  292. package/payload/gate-sdk/gate-tests/run-gate-tests.test.sh +64 -4
  293. package/payload/gate-sdk/lib/gate.sh +46 -6
  294. package/payload/gate-sdk/lib/test-hermetic.sh +16 -8
  295. package/payload/gate-sdk/templates/adopt.md +1 -1
  296. package/payload/gate-sdk/templates/msg-patterns.list +1 -1
  297. package/payload/gate-sdk/templates/portability-patterns.list +1 -1
  298. package/payload/guard-kit/README.md +12 -7
  299. package/payload/guard-kit/close-surfaces.txt +3 -0
  300. package/payload/guard-kit/gate-tests/check-door-binding/bad/alpha-kit/README.md +1 -1
  301. package/payload/guard-kit/gate-tests/check-door-binding/bad/expect.txt +1 -0
  302. package/payload/guard-kit/gate-tests/check-door-binding/bad/scripts/guard-config.knobs +2 -1
  303. package/payload/guard-kit/gate-tests/check-door-binding/bad/src/remedy.rs +3 -0
  304. package/payload/guard-kit/gate-tests/check-door-binding/good/expect.txt +1 -0
  305. package/payload/guard-kit/gate-tests/check-door-binding/good/scripts/guard-config.knobs +2 -1
  306. package/payload/guard-kit/gate-tests/check-door-binding/good/site/register.md +8 -0
  307. package/payload/guard-kit/gate-tests/check-door-binding/good/src/remedy.rs +13 -0
  308. package/payload/guard-kit/gate-tests/compare-settings-allow.test.sh +0 -1
  309. package/payload/guard-kit/gate-tests/consumer-rules.test.sh +105 -3
  310. package/payload/guard-kit/gate-tests/git-mutation-under-producer.test.sh +64 -2
  311. package/payload/guard-kit/gate-tests/guard-config-knobs.test.sh +18 -5
  312. package/payload/guard-kit/gate-tests/guard-verdict.test.sh +74 -0
  313. package/payload/guard-kit/gate-tests/worktree-confinement.test.sh +49 -5
  314. package/payload/guard-kit/guard-tests/background-cases.tsv +103 -1
  315. package/payload/guard-kit/guard-tests/cases.tsv +834 -64
  316. package/payload/guard-kit/guard-tests/powershell-cases.tsv +51 -2
  317. package/payload/guard-kit/guard-tests/variant-limits.tsv +14 -0
  318. package/payload/guard-kit/templates/close-triage.md +2 -2
  319. package/payload/guard-kit/templates/guard-config.knobs +9 -0
  320. package/payload/guard-kit/templates/settings-allow.json +1 -1
  321. package/payload/guard-kit/templates/settings-hooks.json +4 -4
  322. package/payload/lifecycle-kit/README.md +11 -6
  323. package/payload/lifecycle-kit/checks/check-disposed-findings.gate +3 -0
  324. package/payload/lifecycle-kit/checks/check-skill-binding.gate +1 -1
  325. package/payload/lifecycle-kit/checks/check-stage-skill-coverage.gate +1 -1
  326. package/payload/lifecycle-kit/close-surfaces.txt +2 -0
  327. package/payload/lifecycle-kit/gate-tests/boundary-set-record.test.sh +82 -0
  328. package/payload/lifecycle-kit/gate-tests/boundary-worktree-refusal.test.sh +11 -2
  329. package/payload/lifecycle-kit/gate-tests/check-close-surfaces.test.sh +11 -1
  330. package/payload/lifecycle-kit/gate-tests/check-disposed-findings/bad/args +2 -0
  331. package/payload/lifecycle-kit/gate-tests/check-disposed-findings/bad/disposed-findings.txt +5 -0
  332. package/payload/lifecycle-kit/gate-tests/check-disposed-findings/bad/expect.txt +5 -0
  333. package/payload/lifecycle-kit/gate-tests/check-disposed-findings/good/args +2 -0
  334. package/payload/lifecycle-kit/gate-tests/check-disposed-findings/good/disposed-findings.txt +3 -0
  335. package/payload/lifecycle-kit/gate-tests/check-disposed-findings/good/expect.txt +1 -0
  336. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/expect.txt +1 -0
  337. package/payload/lifecycle-kit/gate-tests/check-gap-inbox-neutrality/bad/gap-inbox.md +1 -1
  338. package/payload/lifecycle-kit/gate-tests/check-lesson-disposition.test.sh +27 -2
  339. package/payload/lifecycle-kit/gate-tests/check-scratch-citation/good/surfaces/queue.md +6 -0
  340. package/payload/lifecycle-kit/gate-tests/check-stage-entry.test.sh +34 -2
  341. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/commands/align.md +3 -0
  342. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/expect.txt +1 -0
  343. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/bad/scripts/lifecycle-config.knobs +3 -0
  344. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/commands/align.md +3 -0
  345. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/expect.txt +1 -0
  346. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage/good/scripts/lifecycle-config.knobs +2 -0
  347. package/payload/lifecycle-kit/gate-tests/check-stage-skill-coverage.test.sh +22 -2
  348. package/payload/lifecycle-kit/gate-tests/check-survey-record.test.sh +9 -2
  349. package/payload/lifecycle-kit/gate-tests/file-gap-recurrence.test.sh +27 -1
  350. package/payload/lifecycle-kit/gate-tests/journal-arm.test.sh +251 -0
  351. package/payload/lifecycle-kit/gate-tests/lead-journal-open.test.sh +46 -5
  352. package/payload/lifecycle-kit/gate-tests/stamp-before-write.test.sh +16 -2
  353. package/payload/lifecycle-kit/templates/consult.md +9 -5
  354. package/payload/lifecycle-kit/templates/frames/project-critique.md +18 -0
  355. package/payload/lifecycle-kit/templates/frames/stage-contract-sweep.md +18 -0
  356. package/payload/lifecycle-kit/templates/frames/stage-contract.md +15 -0
  357. package/payload/lifecycle-kit/templates/host-protocol.md +10 -0
  358. package/payload/lifecycle-kit/templates/lead.md +30 -25
  359. package/payload/lifecycle-kit/templates/stages/align.md +4 -0
  360. package/payload/lifecycle-kit/templates/stages/build.md +5 -3
  361. package/payload/lifecycle-kit/templates/stages/close.md +8 -6
  362. package/payload/lifecycle-kit/templates/stages/scope.md +6 -2
  363. package/payload/lifecycle-kit/templates/stages/spec.md +4 -0
  364. package/payload/lifecycle-kit/templates/stages/validate.md +4 -2
  365. package/payload/lifecycle-kit/templates/upgrade.md +1 -1
  366. package/payload/queue-kit/README.md +3 -2
  367. package/payload/queue-kit/close-surfaces.txt +3 -0
  368. package/payload/queue-kit/gate-tests/check-queue-sections/bad/expect.txt +1 -0
  369. package/payload/queue-kit/gate-tests/check-queue-sections/bad/scripts/queue-config.knobs +2 -0
  370. package/payload/queue-kit/gate-tests/check-queue-sections/good/TASK-QUEUE.md +1 -1
  371. package/payload/queue-kit/gate-tests/check-queue-sections/good/scripts/queue-config.knobs +2 -0
  372. package/payload/queue-kit/gate-tests/check-queue-sections.test.sh +65 -0
  373. package/payload/queue-kit/gate-tests/check-queue-slug-liveness.test.sh +10 -1
  374. package/payload/queue-kit/gate-tests/check-queue-wrap/good/TASK-QUEUE.md +4 -0
  375. package/payload/queue-kit/gate-tests/check-tag-lead-line/good/TASK-QUEUE.md +4 -0
  376. package/payload/queue-kit/gate-tests/check-task-conservation.test.sh +38 -0
  377. package/payload/queue-kit/gate-tests/check-task-names/bad/TASK-QUEUE.md +3 -0
  378. package/payload/queue-kit/gate-tests/check-task-names/bad/expect.txt +3 -0
  379. package/payload/queue-kit/gate-tests/check-task-names/good/TASK-QUEUE.md +8 -0
  380. package/payload/queue-kit/gate-tests/roadmap-lag.test.sh +137 -0
  381. package/payload/site-kit/README.md +3 -3
  382. package/payload/site-kit/gate-tests/check-docs-collapsible/bad/docs/unclosed.md +8 -0
  383. package/payload/site-kit/gate-tests/check-docs-collapsible/bad/expect.txt +1 -0
  384. package/payload/site-kit/gate-tests/check-docs-collapsible/good/docs/regions.md +7 -0
  385. package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/docs/dotted.md +9 -0
  386. package/payload/site-kit/gate-tests/check-docs-liquid-parse/bad/expect.txt +1 -0
  387. package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/docs/dotted.md +7 -0
  388. package/payload/site-kit/gate-tests/check-docs-liquid-parse/good/expect.txt +1 -1
  389. package/payload/site-kit/gate-tests/site-health-probe.test.sh +219 -0
  390. package/payload/site-kit/templates/site-health.yml +181 -132
  391. package/profiles.list +11 -10
  392. package/recipes/openspec/canon-config.knobs +5 -0
  393. package/recipes/openspec-overlap/canon-config.knobs +12 -0
  394. package/recipes/openspec-overlap/unregister.list +1 -0
  395. package/payload/context-kit/checks/check-footprint-fresh.gate +0 -4
  396. package/payload/context-kit/gate-tests/check-footprint-fresh/bad/args +0 -4
  397. package/payload/context-kit/gate-tests/check-footprint-fresh/bad/emit.txt +0 -12
  398. package/payload/context-kit/gate-tests/check-footprint-fresh/bad/expect.txt +0 -1
  399. package/payload/context-kit/gate-tests/check-footprint-fresh/bad/projection.txt +0 -11
  400. package/payload/context-kit/gate-tests/check-footprint-fresh/good/CLAUDE.md +0 -6
  401. package/payload/context-kit/gate-tests/check-footprint-fresh/good/demo-kit/SPEC.md +0 -3
  402. package/payload/context-kit/gate-tests/check-footprint-fresh/good/demo-kit/templates/guide.md +0 -3
  403. package/payload/context-kit/gate-tests/check-footprint-fresh/good/docs/footprint.md +0 -32
  404. package/payload/context-kit/gate-tests/check-footprint-fresh/good/expect.txt +0 -1
  405. package/payload/context-kit/templates/session-context.sh +0 -148
  406. package/payload/delegation-kit/checks/check-rule-citation.gate +0 -3
  407. package/payload/delegation-kit/gate-tests/check-rule-citation/bad/args +0 -1
  408. package/payload/delegation-kit/gate-tests/check-rule-citation/bad/expect.txt +0 -1
  409. package/payload/delegation-kit/gate-tests/check-rule-citation/bad/spec.md +0 -9
  410. package/payload/delegation-kit/gate-tests/check-rule-citation/bad/tmpl.md +0 -4
  411. package/payload/delegation-kit/gate-tests/check-rule-citation/good/args +0 -1
  412. package/payload/delegation-kit/gate-tests/check-rule-citation/good/expect.txt +0 -1
  413. package/payload/delegation-kit/gate-tests/check-rule-citation/good/spec.md +0 -20
  414. package/payload/delegation-kit/gate-tests/check-rule-citation/good/tmpl.md +0 -5
  415. package/payload/drift-kit/templates/kpi-deprecated-surface.sh +0 -54
  416. package/payload/gate-sdk/checks/check-crate-arms.gate +0 -3
  417. package/payload/gate-sdk/checks/check-gate-binary-fresh.gate +0 -3
  418. package/payload/gate-sdk/checks/check-hook-exec-bit.gate +0 -3
  419. package/payload/gate-sdk/checks/check-kit-roots-dialect.gate +0 -3
  420. package/payload/gate-sdk/checks/check-packed-links.gate +0 -3
  421. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/Cargo.toml +0 -7
  422. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/crate/src/lib.rs +0 -12
  423. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/expect.txt +0 -5
  424. package/payload/gate-sdk/gate-tests/check-crate-arms/bad/scripts/gate-sdk-config.knobs +0 -3
  425. package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/Cargo.toml +0 -7
  426. package/payload/gate-sdk/gate-tests/check-crate-arms/good/crate/src/lib.rs +0 -11
  427. package/payload/gate-sdk/gate-tests/check-crate-arms/good/expect.txt +0 -2
  428. package/payload/gate-sdk/gate-tests/check-crate-arms/good/scripts/gate-sdk-config.knobs +0 -3
  429. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/args +0 -2
  430. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/expect.txt +0 -5
  431. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/kitroot/checks/check-vendored.gate +0 -2
  432. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/check-ported.gate +0 -2
  433. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/gate-sdk-config.knobs +0 -2
  434. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/scripts/gates.list +0 -4
  435. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/stamp.txt +0 -1
  436. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/bad/stub-bin +0 -6
  437. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/args +0 -2
  438. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/expect.txt +0 -5
  439. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/kitroot/checks/check-vendored.gate +0 -2
  440. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/check-ported.gate +0 -2
  441. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/gate-sdk-config.knobs +0 -2
  442. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/scripts/gates.list +0 -4
  443. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/stamp.txt +0 -1
  444. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh/good/stub-bin +0 -5
  445. package/payload/gate-sdk/gate-tests/check-gate-binary-fresh.test.sh +0 -97
  446. package/payload/gate-sdk/gate-tests/check-hook-exec-bit/bad/args +0 -1
  447. package/payload/gate-sdk/gate-tests/check-hook-exec-bit/bad/expect.txt +0 -1
  448. package/payload/gate-sdk/gate-tests/check-hook-exec-bit/bad/hooks/pre-commit +0 -2
  449. package/payload/gate-sdk/gate-tests/check-hook-exec-bit/good/args +0 -1
  450. package/payload/gate-sdk/gate-tests/check-hook-exec-bit/good/expect.txt +0 -1
  451. package/payload/gate-sdk/gate-tests/check-hook-exec-bit/good/hooks/pre-commit +0 -2
  452. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/args +0 -5
  453. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/expect.txt +0 -1
  454. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/checks/placeholder.txt +0 -3
  455. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/gate-tests/alpha.test.sh +0 -3
  456. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/alpha-kit/lib/alpha.sh +0 -3
  457. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/checks/placeholder.txt +0 -3
  458. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/gate-tests/beta.test.sh +0 -3
  459. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/beta-kit/lib/beta.sh +0 -3
  460. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/gate-sdk/checks/placeholder.txt +0 -3
  461. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/gate-sdk/lib/gate.sh +0 -3
  462. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/scripts/gate-sdk-config.knobs +0 -7
  463. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/bad/tree/scripts/gates.list +0 -3
  464. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/args +0 -7
  465. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/expect.txt +0 -1
  466. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/checks/placeholder.txt +0 -3
  467. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/gate-tests/alpha.test.sh +0 -3
  468. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/alpha-kit/lib/alpha.sh +0 -3
  469. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/checks/placeholder.txt +0 -3
  470. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/gate-tests/beta.test.sh +0 -3
  471. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/beta-kit/lib/beta.sh +0 -3
  472. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/gate-sdk/checks/placeholder.txt +0 -3
  473. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/gate-sdk/lib/gate.sh +0 -3
  474. package/payload/gate-sdk/gate-tests/check-kit-roots-dialect/good/tree/scripts/gates.list +0 -3
  475. package/payload/gate-sdk/gate-tests/check-packed-links/bad/alpha-kit/README.md +0 -5
  476. package/payload/gate-sdk/gate-tests/check-packed-links/bad/args +0 -5
  477. package/payload/gate-sdk/gate-tests/check-packed-links/bad/beta-kit/README.md +0 -5
  478. package/payload/gate-sdk/gate-tests/check-packed-links/bad/expect.txt +0 -2
  479. package/payload/gate-sdk/gate-tests/check-packed-links/bad/scripts/gate-sdk-config.knobs +0 -4
  480. package/payload/gate-sdk/gate-tests/check-packed-links/good/alpha-kit/README.md +0 -5
  481. package/payload/gate-sdk/gate-tests/check-packed-links/good/args +0 -8
  482. package/payload/gate-sdk/gate-tests/check-packed-links/good/beta-kit/README.md +0 -9
  483. package/payload/gate-sdk/gate-tests/check-packed-links/good/expect.txt +0 -1
  484. package/payload/gate-sdk/gate-tests/check-packed-links/good/gamma-kit/SPEC.md +0 -4
  485. package/payload/gate-sdk/gate-tests/check-packed-links/good/scripts/gate-sdk-config.knobs +0 -6
  486. package/payload/gate-sdk/gate-tests/check-portability-floor/good/patterns.list +0 -5
  487. package/payload/gate-sdk/gate-tests/check-portability-floor/good/tree/portability-patterns.list +0 -5
  488. package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/msg-patterns.list +0 -2
  489. package/payload/gate-sdk/gate-tests/check-tree-terms/good/tree/msg-patterns.local.list +0 -3
  490. /package/payload/gate-sdk/gate-tests/{check-shellcheck → check-psscriptanalyzer}/bad/args +0 -0
  491. /package/payload/gate-sdk/gate-tests/{check-shellcheck → check-psscriptanalyzer}/good/args +0 -0
  492. /package/payload/gate-sdk/gate-tests/check-template-copy-parity/bad/{delegation-kit → vendor/delegation-kit}/templates/agent-budget-guard.sh +0 -0
  493. /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/agent-budget-guard.sh +0 -0
  494. /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/delegation-config.sh +0 -0
  495. /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/session-note.sh +0 -0
  496. /package/payload/gate-sdk/gate-tests/check-template-copy-parity/good/{delegation-kit → vendor/delegation-kit}/templates/usage-poller.sh +0 -0
package/README.md CHANGED
@@ -10,17 +10,17 @@ What it is not: a dependency channel. Nothing resolves at your build time and th
10
10
 
11
11
  ## Before you run it
12
12
 
13
- Each transport carries its own requirement, and each belongs to the delivery path alone. The install page's prerequisites block lists each transport's tools and their floors, per system. The gate battery this vendors uses none of them, and no delivery-path tool joins the toolchain roster.
13
+ Each transport carries its own requirement, and each belongs to the delivery path alone. The Requirements page's prerequisites block lists each transport's tools and their floors, per system. The gate battery this vendors uses none of them, and no delivery-path tool joins the toolchain roster.
14
14
 
15
- The toolchain the battery *does* assert, with its version floors, is on the install page. `checkwright doctor` renders it as an exit status and `init` gates on that before any file is written, so a machine below the floor is refused rather than half-installed.
15
+ The toolchain the battery *does* assert, with its version floors, is on the Requirements page. `checkwright doctor` renders it as an exit status and `init` gates on that before any file is written, so a machine below the floor is refused rather than half-installed.
16
16
 
17
17
  ## Quick start
18
18
 
19
- From your repository's root, in a new project or an existing one with every change committed, run the one line for your system on the install page: [macOS and Linux](https://checkwright.dev/install.html#macos-and-linux) or [Windows](https://checkwright.dev/install.html#windows). The Release tarball recipe below it is the step-by-step alternative. Either unpacks outside the repository, because `init` refuses a worktree that is not clean.
19
+ From your repository's root, in a new project or an existing one with every change committed, run the one line for your system on the install page: [macOS and Linux](https://checkwright.dev/install.html#macos-and-linux) or [Windows](https://checkwright.dev/install.html#windows). The Release tarball recipe on the [Manual steps](https://checkwright.dev/manual-install.html) page is the step-by-step alternative. Either unpacks outside the repository, because `init` refuses a worktree that is not clean.
20
20
 
21
- With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
21
+ With Node already present the same install is one command, `npx checkwright init` — same payload, same `init`, same `checkwright.lock`; only the fetch differs, and on Windows the [`PATH` block](https://checkwright.dev/install.html#windows) runs first. `npx checkwright init --profile prose` picks a profile ([Choosing a profile](#choosing-a-profile) below), and `npx checkwright demo` shows the adoption arc in a scratch repository first, without touching yours ([what it runs](https://checkwright.dev/install.html#install)).
22
22
 
23
- `init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the profile and the version. It ends by printing the commands that finish the setup, each with its reason — deliberately not copied here, because what `init` prints is `init`'s to say ([`installer/SPEC.md` §init](SPEC.md#init)).
23
+ `init` vendors the selected profile's kit directories, writes a `gates.list` seeded with each kit's starting gates alongside the config seam those kits need and a CI workflow, and makes **one commit** naming the install and the version. It ends by printing the commands that finish the setup, each with its reason — deliberately not copied here, because what `init` prints is `init`'s to say ([`installer/SPEC.md` §init](SPEC.md#init)).
24
24
 
25
25
  Re-running is idempotent and non-destructive. `init` reads the per-file hash `checkwright.lock` recorded: a file still at its recorded hash is rewritten, and one you have changed since is **reported rather than overwritten** unless you pass `--force`. `--dry-run` prints the file plan and the manifest and writes nothing.
26
26
 
@@ -36,8 +36,9 @@ Re-running is idempotent and non-destructive. `init` reads the per-file hash `ch
36
36
  | `update` | bring the install here up to the version this package carries |
37
37
  | `uninstall` | reverse the install, keeping anything I have edited |
38
38
  | `demo` | show me the adoption arc without touching my repository |
39
+ | `prove` | is a done claim caught on my own tree, and what here is enforced? |
39
40
 
40
- `doctor` and `diff` write nothing, so neither takes a `--dry-run`, and nor does `demo`, whose only writes are to a scratch repository it removes. Every verb that does write takes one, and it means the same thing in each: print the plan, write nothing, exit 0.
41
+ `doctor` and `diff` write nothing, so neither takes a `--dry-run`, and nor do `demo` and `prove`, whose only writes are to a scratch repository each removes. Every verb that does write takes one, and it means the same thing in each: print the plan, write nothing, exit 0.
41
42
 
42
43
  `uninstall` reverses an install against the roster `init` recorded, keeping and reporting any file you edited rather than removing it — which is what lets an evaluation you decide against leave nothing of its own behind.
43
44
 
@@ -61,7 +62,7 @@ The flags each verb takes, owned by the binary as the verbs are:
61
62
 
62
63
  `starter`, `delegation`, `prose`, `full`. Not four rungs on one ladder: the profiles are ordered by kit-set containment, so moving to one that contains yours only ever adds, and two that contain neither the other — `delegation` and `prose` — are alternatives rather than steps.
63
64
 
64
- - **`starter`** — the gate SDK on its own: a battery, a generated pre-commit hook, and gates that red on real defects in your tree with no configuration outside your gates directory.
65
+ - **`starter`** — the gate SDK on its own: a battery, a pre-commit hook, and gates that red on real defects in your tree with no configuration outside your gates directory.
65
66
  - **`delegation`** — adds every kit whose subject is the agent session itself.
66
67
  - **`prose`** — adds canon-kit instead, for a repository whose artifacts are documents rather than code.
67
68
  - **`full`** — everything in the payload.
@@ -9,7 +9,7 @@ Set-StrictMode -Version Latest
9
9
  $ErrorActionPreference = 'Stop'
10
10
 
11
11
  # spec: installer/SPEC.md §The install boundary — step 5 forwards the caller's tokens through unrewritten, so the two settings that would rewrite them are pinned rather than inherited: 'Standard' stops the binder re-quoting the caller's tokens, and the native-error preference would otherwise turn the artifact's own non-zero status into a thrown exception and lose it
12
- if (Test-Path Variable:PSNativeCommandArgumentPassing) { $PSNativeCommandArgumentPassing = 'Standard' }
12
+ if (Test-Path Variable:PSNativeCommandArgumentPassing) { Set-Variable -Name PSNativeCommandArgumentPassing -Value 'Standard' }
13
13
  if (Test-Path Variable:PSNativeCommandUseErrorActionPreference) { $PSNativeCommandUseErrorActionPreference = $false }
14
14
 
15
15
  function Die {
@@ -80,7 +80,7 @@ function Get-FallbackTarget {
80
80
  }
81
81
 
82
82
  # spec: installer/SPEC.md §Selection — step 4's probe: a start failure is the exception `&` throws, and a non-zero exit is the artifact's own answer
83
- function Test-ArtifactRuns {
83
+ function Test-ArtifactRun {
84
84
  param([string] $Artifact)
85
85
  $ErrorActionPreference = 'Continue'
86
86
  $global:LASTEXITCODE = -1
@@ -148,7 +148,7 @@ function Select-Artifact {
148
148
  }
149
149
  $pair = Resolve-Pair -Payload $Payload -Target $target
150
150
  Test-ArtifactDigest -Artifact $pair.Path -Sidecar $pair.Sidecar
151
- if (-not $fallback -or (Test-ArtifactRuns -Artifact $pair.Path)) { return $pair }
151
+ if (-not $fallback -or (Test-ArtifactRun -Artifact $pair.Path)) { return $pair }
152
152
  if ($declared -notcontains $fallback) {
153
153
  Die "the $target gate binary does not run on this host, and this payload carries no fallback for it" `
154
154
  'no adopter action; report the host, the triple and the release.'
@@ -1,4 +1,4 @@
1
- #!/bin/sh
1
+ #!/usr/bin/env sh
2
2
  # spec: installer/SPEC.md §The install boundary — the POSIX sh bootstrap, twin of the PowerShell half,
3
3
  # authored against that section's five steps: every install step is on the far side of the invoke
4
4
  # no-port: installer/SPEC.md §The install boundary — this file's whole body is `bootstrap`-
@@ -34,6 +34,10 @@ gate_path_rooted() { # <path> — 0 when rooted in either dialect, walk::path_r
34
34
  # prints the directory it picks, which would corrupt every `$(cd … && pwd)` below
35
35
  unset CDPATH
36
36
  SELF="$0"
37
+ # spec: installer/SPEC.md §Implementation — npm's .cmd shim hands sh a backslash-separated path
38
+ case "$SELF" in
39
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]:\\*) SELF="$(printf '%s' "$SELF" | tr '\\' '/')" ;;
40
+ esac
37
41
  while [ -L "$SELF" ]; do
38
42
  LINK_DIR="$(cd "$(dirname "$SELF")" && pwd)"
39
43
  SELF="$(readlink "$SELF")"
package/package.json CHANGED
@@ -4,10 +4,10 @@
4
4
  "checkwright-pwsh": "bin/checkwright.ps1"
5
5
  },
6
6
  "checkwright": {
7
- "commit": "dc23b0a4bd4a7988168c739dc0a7db4e0481d602",
7
+ "commit": "febc24b2f5e78b488b8664f40576b7447024db71",
8
8
  "spec_base_url": "https://checkwright.dev"
9
9
  },
10
- "description": "Deterministic verification for coding-agent delivery. Checkwright is the verification layer under agent orchestration: spec drift, skipped stages, and unsupported done claims become failing checks before a merge, instead of review findings after one.",
10
+ "description": "Reproducible checks that catch unsupported claims in coding-agent delivery before merge: a task marked done with no recorded test run, a skipped lifecycle stage, a spec naming a file the tree lacks. They prove the evidence a claim rests on exists, not that the code is correct.",
11
11
  "files": [
12
12
  "bin/",
13
13
  "payload/",
@@ -17,11 +17,18 @@
17
17
  "LICENSE"
18
18
  ],
19
19
  "homepage": "https://checkwright.dev",
20
+ "keywords": [
21
+ "coding-agents",
22
+ "ai-agents",
23
+ "pre-commit",
24
+ "ci",
25
+ "spec-driven"
26
+ ],
20
27
  "license": "Apache-2.0",
21
28
  "name": "checkwright",
22
29
  "repository": {
23
30
  "type": "git",
24
31
  "url": "git+https://github.com/checkwright/checkwright.git"
25
32
  },
26
- "version": "0.31.0"
33
+ "version": "0.32.1"
27
34
  }
@@ -1 +1 @@
1
- 6cf32a870fd534ad6b0eb5ebe9db15ef22cda8496275280055f34972be004a76 checkwright-gates
1
+ 09f825f165c39242f66c0bb8a0eb5e30cf62baddaef60e83cae262845b2c824d checkwright-gates
@@ -1 +1 @@
1
- 76549d8942c1e5aa722b6bfe2c79988ff6c89eac05f6c4be73a2b37f096aeba4 *checkwright-gates.exe
1
+ b494c5d094553c0baca9b213adeba54beadf671327ec2a5a7c81f63b787a3207 *checkwright-gates.exe
@@ -1 +1 @@
1
- cb9c738fe3ef4bbc669a3ecae523e903ec705b116a4ae1ef3b4fca5e780bf13f checkwright-gates
1
+ 28af8e0bc7d849ed2ed22a156c03ca99fdd11882cb99d26dfa96ff3c8f35c78a checkwright-gates
@@ -1 +1 @@
1
- 950f2649da9d598226406d15b7cc71fe16956beed6251aad7aa912bceb19b2e8 checkwright-gates
1
+ 407d2efd2b2422e898fd29c909ae52e2efe69ca41221b2c83b0697a379e7d410 checkwright-gates
@@ -20,16 +20,16 @@
20
20
  # 2. a platform install-smoke leg green having CONSUMED that upload —
21
21
  # INSTALLER_SMOKE_ARTIFACTS_DIR pointed at the downloaded directory — and
22
22
  # having reached the artifact-present branch, whose completion assertion
23
- # installer/consumer-smoke/run-smoke.sh owns and emits.
23
+ # the gate binary's --installer-smoke arm owns and emits.
24
24
  #
25
25
  # That is *produced and exercised* with no host-built stand-in anywhere in it.
26
26
  # On that observation, three edits and nothing else: this file gains <T>'s line,
27
- # native/runners.list already names its runner, and docs/install.md
27
+ # native/runners.list already names its runner, and docs/requirements.md
28
28
  # §Requirements' platform declaration flips <T> from `held` to `joined`. Those
29
29
  # three move together or not at all. What that sentence does not say is what
30
30
  # lands FIRST, and a reader supplying the natural order gets it backwards: the
31
31
  # `held` DECLARATION is what creates <T>'s producer leg — gates.yml's roster job
32
- # parses docs/install.md and only then looks the runner up, refusing loudly on an
32
+ # parses docs/requirements.md and only then looks the runner up, refusing loudly on an
33
33
  # unmapped target — so the declaration and the runner mapping land in one commit,
34
34
  # well before the observation, and a runners.list line alone creates nothing.
35
35
  #
@@ -69,7 +69,7 @@
69
69
  # has ever executed. `native-artifacts` therefore builds each target on that
70
70
  # target's own platform (native/runners.list). The musl build on its own
71
71
  # architecture's Linux runner is within the rule: that runner executes it.
72
- # - WSL is Linux and resolves to this same target, so docs/install.md
72
+ # - WSL is Linux and resolves to this same target, so docs/requirements.md
73
73
  # §Requirements' Windows-through-WSL route is served by the Linux line and
74
74
  # keeps being served by it. That route is a CHOICE beside native Windows
75
75
  # rather than a substitute for it, now that the native line is here.
@@ -106,7 +106,7 @@
106
106
  # path — rather than the dead code the vacuous-green class exists to refuse —
107
107
  # is the DECLARED-AND-HELD platform plus the UNDECLARED COMPLEMENT, never the
108
108
  # roster's size: a host on a held platform meets the refusal as one whose
109
- # artifact is not yet published, and every host outside docs/install.md
109
+ # artifact is not yet published, and every host outside docs/requirements.md
110
110
  # §Requirements' declaration block meets it as one the page never declared. A
111
111
  # target joins only on the observation above, and never beyond what that
112
112
  # section already states.
@@ -1 +1 @@
1
- 2d61b4a07685a65ab261422ae278530bb97e96189b92b89912a60a8a1ed715cd checkwright-gates
1
+ dcd246944a87738754693a97b6a33a4f3d674a345beccac7683520c8e927929d checkwright-gates
@@ -1 +1 @@
1
- d798017e4f0dbd7f03b8551af3da0c71fccb6a0695f68314daa469a363bce408 *checkwright-gates.exe
1
+ 0a4d9df949fd68760851d033ea949cec18f5127a7ee9bced4ec2bf586bb83a6b *checkwright-gates.exe
@@ -1 +1 @@
1
- cecf37de068cc5ff482eadfedf770d4caffb58cf831892b8365fcd687d010514 checkwright-gates
1
+ 3df482d3ded92eb5010ad8ca13e8ae3eca225d8c274cd98e7a8d16fd12af9115 checkwright-gates
@@ -1 +1 @@
1
- 2037f1b68ede99b21b3ffc54c1551f520dd479498b65d9b6e64d45bbf0567112 checkwright-gates
1
+ 70360f1b429c4c5d634e5efb28f9add1d4b3bc3e8fa23cba577e4b551336fe91 checkwright-gates
@@ -4,7 +4,7 @@ Spec discipline for agent-authored components: one canonical spec per component,
4
4
 
5
5
  Why: when a coding agent authors the specs, design rationale gets re-derived under build pressure unless it is captured up front, and a parallel copy of any gated fact is an un-gateable second source that drifts silently. The remedy is a lifecycle (amendments authored up front, merged and deleted at build) plus gates over the mechanically-decidable copy failures — a doubled Definition-of-Done, a banned-heading code dump, a fenced block that verbatim-copies a source file, a glossary definition restated on another surface, a feature task with no amendment. See [SPEC.md](https://checkwright.dev/canon-kit/SPEC) for the full contracts.
6
6
 
7
- This file ships in the installer payload; what that payload withholds, and where this page's `SPEC.md` links then resolve, is [gate-sdk/SPEC.md §Consumer payload](https://github.com/checkwright/checkwright/blob/master/gate-sdk/SPEC.md#consumer-payload).
7
+ This file ships in the installer payload; what that payload withholds, and where this page's `SPEC.md` links then resolve, is [gate-sdk/SPEC.md §Consumer payload](https://checkwright.dev/gate-sdk/SPEC#consumer-payload).
8
8
 
9
9
  ## Install
10
10
 
@@ -26,20 +26,24 @@ Vendor the kit beside [gate-sdk](../gate-sdk/) (required); the queue-facing gate
26
26
  check-todo-task-liveness # resolves TODO(task:) slugs against the queue
27
27
  check-docs-cmd # invoked paths + kit knobs in docs resolve
28
28
  check-docs-restatement-parity # needs restating pages (their code tokens held to the README beside each)
29
- check-docs-page-repeat # needs declared pages (no link target or long sentence stated twice on one)
29
+ check-docs-page-repeat # needs declared pages (no link target or long sentence stated twice on one, or restated from the chrome)
30
+ check-docs-page-length # needs declared pages and a bound (no page past the word bound)
30
31
  check-citation-link # needs declared pages (every section citation links its section)
31
32
  check-fence-command-head # every shell-fence command starts with a word that can run
32
33
  check-fence-run # every shell fence marked runnable runs and exits as declared
34
+ check-fence-paste-unit # needs declared pages (every code block is one paste)
33
35
  check-knob-citation # knob values stated only in the owning SPEC
34
36
  check-knob-default-coupling # source knob defaults agree with the owning SPEC
35
- check-manifest-count # no bare cardinal over a governed collection
37
+ check-manifest-count # no bare cardinal over a governed collection, no lead-in count off its list
36
38
  check-measured-claim # needs a measured-claim oracle (marked claims re-measured)
37
39
  check-unmarked-claim # needs a claim-class roster (a declared class carries a marker)
38
40
  check-manifest-temporal # no temporal narration in manifest prose
41
+ check-pendency-contradiction # no file calls one code span both pending and landed
39
42
  check-provenance-seam # no publisher provenance in a kit SPEC or a declared seam surface
40
43
  check-tracking-claim # a path's tracking status in prose agrees with git
41
44
  check-task-path-claim # needs task lists (a ticked task names only paths that exist)
42
45
  check-task-label-resolution # needs task lists and label families (a cited label resolves beside it)
46
+ check-delta-agreement # needs deltas and their families (a delta agrees with its base on which items exist)
43
47
  check-prose-enum # partial enumeration of a governed set
44
48
  check-md-refs # internal markdown links resolve
45
49
  check-md-unwrapped # needs an unwrapped markdown set (no paragraph broken across lines)
@@ -52,7 +56,7 @@ Vendor the kit beside [gate-sdk](../gate-sdk/) (required); the queue-facing gate
52
56
  check-deprecation-task # needs a deprecation-marker vocabulary
53
57
  ```
54
58
 
55
- They resolve through gate-sdk's registry path (your gates dir first, then each kit's `checks/`), and the pre-commit hook runs the precommit-tier ones their `# graph:` manifests trigger, read at commit. `--emit git-hooks --write` on the gate binary `GATE_SDK_NATIVE_BIN` names writes that hook once, and again only to add the commit-msg hook when a first `tier=commit-msg` gate is registered.
59
+ They resolve through gate-sdk's registry path (your gates dir first, then each kit's `checks/`), and the pre-commit hook runs the precommit-tier ones their `# graph:` manifests trigger, read at commit. `--install-hooks` on the gate binary `GATE_SDK_NATIVE_BIN` names places both hooks in a clone once, and a gate registered later is reached with no re-install.
56
60
 
57
61
  2. Adopt the amendment lifecycle — copy `templates/SPEC-amendment.md` when a designed-but-unimplemented change needs a home. Name it after the feature (`SPEC-<feature>.md`), place it in the owning component's directory (a governance ruling with no component lives at the repo root), and pair it with a queue entry tagged `[spec: SPEC-<feature>.md]`. Merge it into the canonical spec and delete it when the work completes.
58
62
 
@@ -1,3 +1,3 @@
1
1
  # graph: couples=knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_AMENDMENT_GLOB,*/SPEC-*.md,kit:templates/SPEC-*.md dir=bi valve=none tier=precommit
2
- # install: zero-config
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-amendment-queue — the Task↔amendment bidirectional rule, spec-readiness, and the amendment-citation arm
@@ -1,3 +1,3 @@
1
- # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
- # install: zero-config
1
+ # graph: couples=*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-comment-tier — every full-line comment on a governed surface is a machine/reason directive, rides a directive's bounded window, is comment-tier-exempt, or justifies a positional construct
@@ -0,0 +1,4 @@
1
+ # graph: couples=*.md dir=one valve=none tier=precommit
2
+ # install: zero-config
3
+ # armed-by: CANON_KIT_DELTA_PATH
4
+ # spec: canon-kit/SPEC.md §check-delta-agreement — every delta CANON_KIT_DELTA_PATH names agrees with its base on which items exist
@@ -1,4 +1,4 @@
1
- # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
1
+ # graph: couples=*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: on-surface
3
3
  # armed-by: CANON_KIT_DEPRECATION_MARKERS
4
4
  # spec: canon-kit/SPEC.md §check-deprecation-task — every deprecation marker on a governed source binds task: <slug> to a live queue task
@@ -0,0 +1,4 @@
1
+ # graph: couples=knob:CANON_KIT_PAGE_LENGTH_PAGES dir=one valve=none tier=precommit
2
+ # install: zero-config
3
+ # armed-by: CANON_KIT_PAGE_LENGTH_PAGES
4
+ # spec: canon-kit/SPEC.md §check-docs-page-length — no declared page runs past CANON_KIT_PAGE_LENGTH_MAX_WORDS words
@@ -1,4 +1,4 @@
1
- # graph: couples=knob:CANON_KIT_PAGE_REPEAT_PAGES dir=one valve=none tier=precommit
1
+ # graph: couples=knob:CANON_KIT_PAGE_REPEAT_PAGES,knob:CANON_KIT_PAGE_REPEAT_CHROME dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # armed-by: CANON_KIT_PAGE_REPEAT_PAGES
4
- # spec: canon-kit/SPEC.md §check-docs-page-repeat — no declared page states a relative link target, or a sentence of CANON_KIT_PAGE_REPEAT_MIN_WORDS words or more, twice
4
+ # spec: canon-kit/SPEC.md §check-docs-page-repeat — no declared page states a relative link target, or a sentence of CANON_KIT_PAGE_REPEAT_MIN_WORDS words or more, twice, nor restates the site chrome around it
@@ -1,3 +1,3 @@
1
1
  # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:GATE_SDK_GATES_DIR/*.sh,kit:*.sh,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
2
- # install: zero-config
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-fence-command-head — every command in a governed doc's shell fence starts with a word that can run, and a word beginning with `-` never can
@@ -0,0 +1,4 @@
1
+ # graph: couples=knob:CANON_KIT_FENCE_PASTE_PAGES dir=one valve=none tier=precommit
2
+ # install: zero-config
3
+ # armed-by: CANON_KIT_FENCE_PASTE_PAGES
4
+ # spec: canon-kit/SPEC.md §check-fence-paste-unit — on a page CANON_KIT_FENCE_PASTE_PAGES declares, every shell fence is one paste, and every PowerShell fence of more than one statement is one script block
@@ -1,3 +1,3 @@
1
1
  # graph: couples=kit:*.sh,kit:SPEC.md dir=one valve=none tier=precommit
2
- # install: zero-config
2
+ # install: never
3
3
  # spec: canon-kit/SPEC.md §check-knob-default-coupling — every literal kit-knob default in kit source agrees across its sites and with the default the owning SPEC states
@@ -1,3 +1,3 @@
1
- # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
2
- # install: zero-config
3
- # spec: canon-kit/SPEC.md §check-manifest-count — no bare cardinal quantifying a governed collection noun in manifest prose outside an exempt site
1
+ # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_TEMPORAL_EXEMPT_PATHS dir=one valve=none tier=precommit
2
+ # install: on-surface
3
+ # spec: canon-kit/SPEC.md §check-manifest-count — no bare cardinal quantifying a governed collection noun, and no lead-in cardinal disagreeing with its list, in manifest prose outside an exempt site
@@ -1,3 +1,3 @@
1
1
  # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
2
- # install: zero-config
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-manifest-temporal — no temporal-narration marker in governed manifest prose outside an exempt site
@@ -0,0 +1,3 @@
1
+ # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=precommit
2
+ # install: zero-config
3
+ # spec: canon-kit/SPEC.md §check-pendency-contradiction — no governed manifest file calls one code span both pending and landed
@@ -1,3 +1,3 @@
1
- # graph: couples=knob:CANON_KIT_PROSE_TELL_GLOBS dir=one valve=none tier=precommit
1
+ # graph: couples=knob:CANON_KIT_PROSE_TELL_GLOBS,knob:CANON_KIT_PROSE_TELL_ABSENCE_GLOBS dir=one valve=none tier=precommit
2
2
  # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-prose-tells — the mechanical AI-prose tells over the consumer-configured prose surfaces, each threshold-gated, with the prose-tell-exempt valve
@@ -1,3 +1,3 @@
1
1
  # graph: couples=*SPEC*.md,kit:SPEC.md,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=align-only
2
- # install: zero-config
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-spec-derivable-section — a banned-heading section may not be a fenced code dump above the density budget
@@ -1,3 +1,3 @@
1
1
  # graph: couples=*SPEC*.md,kit:SPEC.md,knob:CANON_KIT_SPEC_NAME dir=one valve=none tier=align-only
2
- # install: zero-config
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-spec-dod-singleton — a canonical spec carries the Definition-of-Done heading the configured number of times
@@ -1,3 +1,3 @@
1
1
  # graph: couples=*SPEC*.md,kit:SPEC.md,kit:SPEC-*.md,kit:templates/SPEC-*.md,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_AMENDMENT_GLOB,knob:CANON_KIT_EMBED_LANGS.file-globs dir=one valve=none tier=precommit
2
- # install: zero-config
2
+ # install: on-surface
3
3
  # spec: canon-kit/SPEC.md §check-spec-embedded-source — a canonical spec's fenced block must not verbatim-copy a tracked source file
@@ -1,3 +1,3 @@
1
- # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
1
+ # graph: couples=*SPEC*.md,*README.md,*CLAUDE.md,*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_MANIFEST_FILES,knob:CANON_KIT_PROSE_SURFACE_GLOBS,knob:CANON_KIT_SPEC_NAME,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-spec-pointer — every spec:/contract: directive on a governed source and every free-prose §<heading> citation on a governed manifest resolves, against its tracked path or link target when it names one and against the manifest set otherwise, and no manifest file carries one title twice
@@ -1,3 +1,3 @@
1
- # graph: couples=*.sh,*.gate,*.rs,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
1
+ # graph: couples=*.sh,*.gate,knob:GATE_SDK_WORKFLOW_DIR/*,knob:CANON_KIT_QUEUE_FILE,knob:CANON_KIT_COMMENT_SURFACE,*.yml,*.yaml,knob:CANON_KIT_COMMENT_ACTIONS dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
3
  # spec: canon-kit/SPEC.md §check-todo-task-liveness — every TODO(task: <slug>) marker on a governed source resolves to a live queue task, stale-flagged on a done slug
@@ -11,3 +11,9 @@ Arm (e)'s passing half: this file cites itself as SPEC-widget.md, names a placeh
11
11
  ```
12
12
  see SPEC-merged.md
13
13
  ```
14
+
15
+ The same block as a list item:
16
+
17
+ - ```
18
+ see SPEC-merged.md
19
+ ```
@@ -18,6 +18,13 @@ A fence must read as neither a delta heading nor a declared spelling:
18
18
  - `fenced-spelling` — retired by delta 9, and invisible to every arm
19
19
  ```
20
20
 
21
+ The same block as a list item:
22
+
23
+ - ```
24
+ ### (9) not a heading
25
+ - `fenced-spelling` — retired by delta 9, and invisible to every arm
26
+ ```
27
+
21
28
  ## Existing sections updated
22
29
 
23
30
  - `component/SPEC.md` §One — a surface the roster names, which is what makes the
@@ -19,6 +19,13 @@ must read as neither a delta heading nor an update target:
19
19
  - **not/a/target.md** — and no citation anywhere in it
20
20
  ```
21
21
 
22
+ The same block as a list item:
23
+
24
+ - ```
25
+ ### (9) not a heading
26
+ - **not/a/target.md** — and no citation anywhere in it
27
+ ```
28
+
22
29
  ### (3) The third delta
23
30
 
24
31
  Body prose.
@@ -4,3 +4,4 @@ site/page.md:7: unlinked citation: [SPEC.md](kit/SPEC.md) §The upgrade contract
4
4
  site/page.md:9: unlinked citation: §Requirements lists.
5
5
  site/page.md:11: citation link carries no #anchor
6
6
  site/page.md:13: citation link's #anchor names another section
7
+ site/unclosed.md:4: unlinked citation: kit/SPEC.md §Requirements.
@@ -0,0 +1,4 @@
1
+ ---
2
+ title: a rule that nothing closes
3
+
4
+ The floor is kit/SPEC.md §Requirements.
@@ -23,6 +23,16 @@ kit/SPEC.md §A fenced citation
23
23
  <!-- citation-link-exempt: a quoted directive line the fixture shows as prose -->
24
24
  contract: kit/SPEC.md §Valved
25
25
 
26
+ <!-- roster:begin -->
27
+ An emitter wrote kit/SPEC.md §A generated citation here.
28
+ <!-- roster:end -->
29
+
26
30
  ## Choosing a profile
27
31
 
28
32
  Here kit/SPEC.md §Requirements, then kit/SPEC.md §Requirements again.
33
+
34
+ The same block as a list item:
35
+
36
+ - ```text
37
+ kit/SPEC.md §A fenced citation
38
+ ```
@@ -1,2 +1,6 @@
1
1
  # spec: canon-kit/SPEC.md §check-comment-tier — fixture consumer config: the actions tier on, so the workflow's prose is read
2
2
  CANON_KIT_COMMENT_ACTIONS = on
3
+ # spec: canon-kit/SPEC.md §The shared spec adapters — a Rust consumer brings its language into the derived surface through the knob, the arm this pair proves
4
+ CANON_KIT_COMMENT_SURFACE[] = **/*.sh
5
+ CANON_KIT_COMMENT_SURFACE[] = **/*.gate
6
+ CANON_KIT_COMMENT_SURFACE[] = **/*.rs
@@ -1,4 +1,6 @@
1
1
  # graph: couples=X dir=one valve=none tier=precommit
2
2
  # install: zero-config
3
+ # knob: GATE_LOCAL_PROBE_PAGE = docs/page.md
4
+ # knob: GATE_LOCAL_PROBE_SITES[] = a.md
3
5
  # spec: some/SPEC.md §thing — the descriptor arm of the governed corpus: a
4
6
  # declaration file is directives end to end, and the run cap covers this wrap.
@@ -1,2 +1,6 @@
1
1
  # spec: canon-kit/SPEC.md §check-comment-tier — fixture consumer config: the actions tier on, so the workflow's directives are read and the non-actions YAML stays out
2
2
  CANON_KIT_COMMENT_ACTIONS = on
3
+ # spec: canon-kit/SPEC.md §The shared spec adapters — a Rust consumer brings its language into the derived surface through the knob, the arm this pair proves
4
+ CANON_KIT_COMMENT_SURFACE[] = **/*.sh
5
+ CANON_KIT_COMMENT_SURFACE[] = **/*.gate
6
+ CANON_KIT_COMMENT_SURFACE[] = **/*.rs
@@ -173,9 +173,17 @@ check_case "configured-glob-skips-pruned-dir" prune-cfg.knobs 0 "COMMENT-TIER: c
173
173
  "$SANDBOX/prune-root"
174
174
  chmod a+x "$SANDBOX/prune-root/target/deps"
175
175
 
176
+ # The prune set reads a path below the scan root, never the root's own ancestors: a root lying
177
+ # under a pruned name (a runner's scratch under `.tmp`, here `target`) still governs its sources.
178
+ mkdir -p "$SANDBOX/target/rooted"
179
+ cp "$SANDBOX/bad.rs" "$SANDBOX/target/rooted/bad.rs"
180
+ mkcfg "$SANDBOX/rooted-cfg.knobs" 'CANON_KIT_COMMENT_SURFACE[] = **/*.rs' 'CANON_KIT_COMMENT_POSITIONAL[] = unsafe'
181
+ check_case "pruned-ancestor-root-governed" rooted-cfg.knobs 1 "standalone slash block restates" \
182
+ "$SANDBOX/target/rooted"
183
+
176
184
  if [[ "$fails" -gt 0 ]]; then
177
185
  echo "check-comment-tier.test.sh: $fails case(s) failed"
178
186
  exit 1
179
187
  fi
180
- echo "check-comment-tier.test.sh: clean (slash surface + positional rescue + txt restricted roster + templates/ governance + count override edges + paragraph-join wrap + workflow-dir markdown headings as structure with its single-hash lines still governed + a configured ** kept out of pruned dirs)"
188
+ echo "check-comment-tier.test.sh: clean (slash surface + positional rescue + txt restricted roster + templates/ governance + count override edges + paragraph-join wrap + workflow-dir markdown headings as structure with its single-hash lines still governed + a configured ** kept out of pruned dirs + a root under a pruned name still governed)"
181
189
  exit 0
@@ -0,0 +1,3 @@
1
+ work/changes/one/deltas/notes/spec.md:3: family `new` names `Entry length`, which work/base/notes/spec.md already carries
2
+ work/changes/one/deltas/notes/spec.md:7: family `changed` names `Entry limit`, which work/base/notes/spec.md lacks
3
+ work/changes/two/deltas/cli/spec.md:3: family `changed` names `Export command`, and its base work/base/cli/spec.md does not exist
@@ -0,0 +1,14 @@
1
+ # spec: canon-kit/SPEC.md §check-delta-agreement — fixture consumer config: each change's deltas under work/changes/ against the base specs under work/base/
2
+ CANON_KIT_DELTA_PATH = ^work/changes/[^/]+/deltas/(.+\.md)$
3
+ CANON_KIT_DELTA_BASE_DIR = work/base
4
+ CANON_KIT_DELTA_BASE_ITEM = ^### Item:[[:space:]]*(.+)$
5
+ CANON_KIT_DELTA_PRESENT[changed] = ^## Changed
6
+ CANON_KIT_DELTA_PRESENT[moved] = ^## Moved
7
+ CANON_KIT_DELTA_ABSENT[moved-to] = ^## Moved
8
+ CANON_KIT_DELTA_ABSENT[new] = ^## New
9
+ CANON_KIT_DELTA_ITEM[changed] = ^### Item:[[:space:]]*(.+)$
10
+ CANON_KIT_DELTA_ITEM[moved] = ^- From: (.+)$
11
+ CANON_KIT_DELTA_ITEM[moved-to] = ^- To: (.+)$
12
+ CANON_KIT_DELTA_ITEM[new] = ^### Item:[[:space:]]*(.+)$
13
+ CANON_KIT_DELTA_BASE_REQUIRED[] = changed
14
+ CANON_KIT_DELTA_BASE_REQUIRED[] = moved
@@ -0,0 +1,9 @@
1
+ # Notes
2
+
3
+ ### Item: Export one release
4
+
5
+ The export writes one file.
6
+
7
+ ### Item: Entry length
8
+
9
+ An entry is cut at the limit.
@@ -0,0 +1,7 @@
1
+ ## New
2
+
3
+ ### Item: Entry length
4
+
5
+ ## Changed
6
+
7
+ ### Item: Entry limit
@@ -0,0 +1 @@
1
+ DELTA-AGREEMENT: clean (2 delta(s), 4 famil(ies), 5 item(s) agree with their base)
@@ -0,0 +1,14 @@
1
+ # spec: canon-kit/SPEC.md §check-delta-agreement — fixture consumer config: each change's deltas under work/changes/ against the base specs under work/base/
2
+ CANON_KIT_DELTA_PATH = ^work/changes/[^/]+/deltas/(.+\.md)$
3
+ CANON_KIT_DELTA_BASE_DIR = work/base
4
+ CANON_KIT_DELTA_BASE_ITEM = ^### Item:[[:space:]]*(.+)$
5
+ CANON_KIT_DELTA_PRESENT[changed] = ^## Changed
6
+ CANON_KIT_DELTA_PRESENT[moved] = ^## Moved
7
+ CANON_KIT_DELTA_ABSENT[moved-to] = ^## Moved
8
+ CANON_KIT_DELTA_ABSENT[new] = ^## New
9
+ CANON_KIT_DELTA_ITEM[changed] = ^### Item:[[:space:]]*(.+)$
10
+ CANON_KIT_DELTA_ITEM[moved] = ^- From: (.+)$
11
+ CANON_KIT_DELTA_ITEM[moved-to] = ^- To: (.+)$
12
+ CANON_KIT_DELTA_ITEM[new] = ^### Item:[[:space:]]*(.+)$
13
+ CANON_KIT_DELTA_BASE_REQUIRED[] = changed
14
+ CANON_KIT_DELTA_BASE_REQUIRED[] = moved
@@ -0,0 +1,9 @@
1
+ # Notes
2
+
3
+ ### Item: Export one release
4
+
5
+ The export writes one file.
6
+
7
+ ### Item: Entry length
8
+
9
+ An entry is cut at the limit.