@intentius/chant 0.124.85 → 0.124.87

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 (286) hide show
  1. package/dist/bundle-check.d.ts +102 -0
  2. package/dist/bundle-check.d.ts.map +1 -0
  3. package/dist/bundle-check.js +310 -0
  4. package/dist/chant-install.d.ts +100 -0
  5. package/dist/chant-install.d.ts.map +1 -0
  6. package/dist/chant-install.js +158 -0
  7. package/dist/ci-commit.d.ts +19 -6
  8. package/dist/ci-commit.d.ts.map +1 -1
  9. package/dist/ci-commit.js +23 -4
  10. package/dist/ci-evidence-jobs.d.ts +78 -0
  11. package/dist/ci-evidence-jobs.d.ts.map +1 -0
  12. package/dist/ci-evidence-jobs.js +85 -0
  13. package/dist/ci-image.d.ts +274 -0
  14. package/dist/ci-image.d.ts.map +1 -0
  15. package/dist/ci-image.js +635 -0
  16. package/dist/ci-login.d.ts +150 -0
  17. package/dist/ci-login.d.ts.map +1 -0
  18. package/dist/ci-login.js +240 -0
  19. package/dist/ci-product.d.ts +16 -0
  20. package/dist/ci-product.d.ts.map +1 -1
  21. package/dist/ci-product.js +17 -0
  22. package/dist/cli/commands/import-index.js +2 -2
  23. package/dist/cli/handlers/build.d.ts +8 -0
  24. package/dist/cli/handlers/build.d.ts.map +1 -1
  25. package/dist/cli/handlers/build.js +22 -4
  26. package/dist/cli/handlers/ci-check.d.ts.map +1 -1
  27. package/dist/cli/handlers/ci-check.js +61 -2
  28. package/dist/cli/handlers/ci-evidence.d.ts +3 -0
  29. package/dist/cli/handlers/ci-evidence.d.ts.map +1 -0
  30. package/dist/cli/handlers/ci-evidence.js +174 -0
  31. package/dist/cli/handlers/components.js +3 -3
  32. package/dist/cli/handlers/dead-guards.d.ts +3 -0
  33. package/dist/cli/handlers/dead-guards.d.ts.map +1 -0
  34. package/dist/cli/handlers/dead-guards.js +35 -0
  35. package/dist/cli/handlers/graph.js +4 -4
  36. package/dist/cli/handlers/lifecycle.d.ts +2 -1
  37. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  38. package/dist/cli/handlers/lifecycle.js +5 -4
  39. package/dist/cli/handlers/local-chant.d.ts +16 -0
  40. package/dist/cli/handlers/local-chant.d.ts.map +1 -0
  41. package/dist/cli/handlers/local-chant.js +109 -0
  42. package/dist/cli/handlers/operator.js +2 -2
  43. package/dist/cli/handlers/search.js +5 -5
  44. package/dist/cli/main.d.ts.map +1 -1
  45. package/dist/cli/main.js +38 -0
  46. package/dist/cli/parse-args.d.ts.map +1 -1
  47. package/dist/cli/parse-args.js +28 -0
  48. package/dist/cli/registry.d.ts +16 -0
  49. package/dist/cli/registry.d.ts.map +1 -1
  50. package/dist/components/check-hooks.d.ts +49 -0
  51. package/dist/components/check-hooks.d.ts.map +1 -1
  52. package/dist/components/check-hooks.js +64 -4
  53. package/dist/components/check-steps.d.ts +17 -0
  54. package/dist/components/check-steps.d.ts.map +1 -1
  55. package/dist/components/check-steps.js +37 -5
  56. package/dist/components/product-pipeline.d.ts +23 -0
  57. package/dist/components/product-pipeline.d.ts.map +1 -1
  58. package/dist/components/product-pipeline.js +6 -2
  59. package/dist/components/product-plan.d.ts +143 -0
  60. package/dist/components/product-plan.d.ts.map +1 -0
  61. package/dist/components/product-plan.js +145 -0
  62. package/dist/components/release-compile.d.ts.map +1 -1
  63. package/dist/components/release-compile.js +2 -2
  64. package/dist/config.d.ts +39 -1
  65. package/dist/config.d.ts.map +1 -1
  66. package/dist/config.js +35 -3
  67. package/dist/dead-guards.d.ts +82 -0
  68. package/dist/dead-guards.d.ts.map +1 -0
  69. package/dist/dead-guards.js +436 -0
  70. package/dist/discovery/files.d.ts +3 -1
  71. package/dist/discovery/files.d.ts.map +1 -1
  72. package/dist/discovery/files.js +5 -3
  73. package/dist/drift-issue.d.ts +152 -0
  74. package/dist/drift-issue.d.ts.map +1 -0
  75. package/dist/drift-issue.js +167 -0
  76. package/dist/floor-table.d.ts +30 -0
  77. package/dist/floor-table.d.ts.map +1 -0
  78. package/dist/floor-table.data.d.ts +3 -0
  79. package/dist/floor-table.data.d.ts.map +1 -0
  80. package/dist/floor-table.data.js +179 -0
  81. package/dist/floor-table.js +56 -0
  82. package/dist/forge-flags.d.ts +90 -0
  83. package/dist/forge-flags.d.ts.map +1 -0
  84. package/dist/forge-flags.js +184 -0
  85. package/dist/lexicon.d.ts +69 -0
  86. package/dist/lexicon.d.ts.map +1 -1
  87. package/dist/lifecycle/gated-op.d.ts +7 -1
  88. package/dist/lifecycle/gated-op.d.ts.map +1 -1
  89. package/dist/lifecycle/gated-op.js +7 -4
  90. package/dist/local-chant.d.ts +98 -0
  91. package/dist/local-chant.d.ts.map +1 -0
  92. package/dist/local-chant.js +307 -0
  93. package/dist/op/activities/predict-behaviour.js +2 -2
  94. package/dist/op/op-waves-evidence-spec.d.ts +13 -0
  95. package/dist/op/op-waves-evidence-spec.d.ts.map +1 -0
  96. package/dist/op/op-waves-evidence-spec.js +21 -0
  97. package/dist/op/op-waves-evidence.d.ts +40 -0
  98. package/dist/op/op-waves-evidence.d.ts.map +1 -0
  99. package/dist/op/op-waves-evidence.js +58 -0
  100. package/dist/op/op-waves-run.d.ts +4 -0
  101. package/dist/op/op-waves-run.d.ts.map +1 -1
  102. package/dist/op/op-waves-run.js +24 -1
  103. package/dist/op/op-waves.d.ts +17 -1
  104. package/dist/op/op-waves.d.ts.map +1 -1
  105. package/dist/op/op-waves.js +23 -0
  106. package/dist/op/schedule-overdue.d.ts +41 -9
  107. package/dist/op/schedule-overdue.d.ts.map +1 -1
  108. package/dist/op/schedule-overdue.js +154 -25
  109. package/dist/plan-summary.d.ts +25 -0
  110. package/dist/plan-summary.d.ts.map +1 -1
  111. package/dist/plan-summary.js +31 -0
  112. package/dist/pr-plan-note.d.ts +35 -0
  113. package/dist/pr-plan-note.d.ts.map +1 -1
  114. package/dist/pr-plan-note.js +10 -0
  115. package/dist/pr-post.d.ts +23 -0
  116. package/dist/pr-post.d.ts.map +1 -1
  117. package/dist/pr-post.js +125 -3
  118. package/dist/release-floors.d.ts +33 -1
  119. package/dist/release-floors.d.ts.map +1 -1
  120. package/dist/release-floors.js +33 -1
  121. package/dist/state-migration.d.ts +24 -0
  122. package/dist/state-migration.d.ts.map +1 -1
  123. package/dist/state-migration.js +100 -5
  124. package/dist/wave-runtime.mjs +309 -302
  125. package/dist/workspace/ci-green.d.ts.map +1 -1
  126. package/dist/workspace/ci-green.js +4 -3
  127. package/dist/workspace/lexicon-outputs.d.ts.map +1 -1
  128. package/dist/workspace/lexicon-outputs.js +21 -7
  129. package/dist/workspace/reason-codes.d.ts +3 -0
  130. package/dist/workspace/reason-codes.d.ts.map +1 -1
  131. package/dist/workspace/reason-codes.js +4 -0
  132. package/dist/workspace/ref-gate.schema.json +85 -0
  133. package/dist/workspace/search-contract.d.ts +1 -1
  134. package/dist/workspace/search-contract.d.ts.map +1 -1
  135. package/dist/workspace/trust/check-evidence-report.d.ts +58 -0
  136. package/dist/workspace/trust/check-evidence-report.d.ts.map +1 -0
  137. package/dist/workspace/trust/check-evidence-report.js +109 -0
  138. package/dist/workspace/trust/check-evidence.d.ts +160 -0
  139. package/dist/workspace/trust/check-evidence.d.ts.map +1 -0
  140. package/dist/workspace/trust/check-evidence.js +309 -0
  141. package/dist/workspace/trust/ci-tag-statement.d.ts +2 -2
  142. package/dist/workspace/trust/ci-tag-statement.d.ts.map +1 -1
  143. package/dist/workspace/trust/dsse.d.ts +40 -2
  144. package/dist/workspace/trust/dsse.d.ts.map +1 -1
  145. package/dist/workspace/trust/dsse.js +34 -2
  146. package/dist/workspace/trust/evidence.d.ts +2 -2
  147. package/dist/workspace/trust/evidence.d.ts.map +1 -1
  148. package/dist/workspace/trust/keyless-fixture.d.ts +41 -0
  149. package/dist/workspace/trust/keyless-fixture.d.ts.map +1 -0
  150. package/dist/workspace/trust/keyless-fixture.js +161 -0
  151. package/dist/workspace/trust/keyless.d.ts +202 -0
  152. package/dist/workspace/trust/keyless.d.ts.map +1 -0
  153. package/dist/workspace/trust/keyless.js +488 -0
  154. package/dist/workspace/trust/local-evidence.d.ts +123 -0
  155. package/dist/workspace/trust/local-evidence.d.ts.map +1 -0
  156. package/dist/workspace/trust/local-evidence.js +259 -0
  157. package/dist/workspace/trust/op-run-statement.d.ts +2 -2
  158. package/dist/workspace/trust/op-run-statement.d.ts.map +1 -1
  159. package/dist/workspace/trust/policy.d.ts +140 -1
  160. package/dist/workspace/trust/policy.d.ts.map +1 -1
  161. package/dist/workspace/trust/policy.js +197 -3
  162. package/dist/workspace/trust/ref-gate-cli.d.ts +33 -0
  163. package/dist/workspace/trust/ref-gate-cli.d.ts.map +1 -0
  164. package/dist/workspace/trust/ref-gate-cli.js +234 -0
  165. package/dist/workspace/trust/ref-gate-fixture.d.ts +38 -0
  166. package/dist/workspace/trust/ref-gate-fixture.d.ts.map +1 -0
  167. package/dist/workspace/trust/ref-gate-fixture.js +97 -0
  168. package/dist/workspace/trust/ref-gate.d.ts +187 -0
  169. package/dist/workspace/trust/ref-gate.d.ts.map +1 -0
  170. package/dist/workspace/trust/ref-gate.js +432 -0
  171. package/dist/workspace/trust/run-statement.d.ts +3 -3
  172. package/dist/workspace/trust/run-statement.d.ts.map +1 -1
  173. package/dist/workspace/trust/runner-identity.d.ts +56 -0
  174. package/dist/workspace/trust/runner-identity.d.ts.map +1 -0
  175. package/dist/workspace/trust/runner-identity.js +65 -0
  176. package/dist/workspace/trust/trust-files.d.ts.map +1 -1
  177. package/dist/workspace/trust/trust-files.js +25 -1
  178. package/package.json +1 -1
  179. package/src/bundle-check.test.ts +140 -0
  180. package/src/bundle-check.ts +352 -0
  181. package/src/chant-install.test.ts +112 -0
  182. package/src/chant-install.ts +179 -0
  183. package/src/ci-commit.test.ts +45 -0
  184. package/src/ci-commit.ts +38 -4
  185. package/src/ci-evidence-jobs.ts +105 -0
  186. package/src/ci-image.test.ts +506 -0
  187. package/src/ci-image.ts +822 -0
  188. package/src/ci-login.test.ts +235 -0
  189. package/src/ci-login.ts +307 -0
  190. package/src/ci-product.ts +18 -0
  191. package/src/cli/commands/__fixtures__/source-dir-include/chant.config.json +1 -0
  192. package/src/cli/commands/__fixtures__/source-dir-include/infra.ts +1 -0
  193. package/src/cli/commands/__fixtures__/source-dir-include/scripts/run-on-load.ts +3 -0
  194. package/src/cli/commands/__fixtures__/source-dir-root/chant.config.json +1 -0
  195. package/src/cli/commands/__fixtures__/source-dir-root/infra.test.ts +1 -0
  196. package/src/cli/commands/__fixtures__/source-dir-root/infra.ts +1 -0
  197. package/src/cli/commands/__fixtures__/source-dir-root/scripts/run-on-load.ts +3 -0
  198. package/src/cli/commands/__fixtures__/source-dir-scoped/app.ts +3 -0
  199. package/src/cli/commands/__fixtures__/source-dir-scoped/chant.config.json +1 -0
  200. package/src/cli/commands/__fixtures__/source-dir-scoped/infra/net.ts +1 -0
  201. package/src/cli/commands/__fixtures__/source-dir-scoped/scripts/run-on-load.ts +3 -0
  202. package/src/cli/commands/import-index.ts +2 -2
  203. package/src/cli/handlers/build-source-dir.test.ts +64 -0
  204. package/src/cli/handlers/build.ts +21 -4
  205. package/src/cli/handlers/ci-check.ts +60 -3
  206. package/src/cli/handlers/ci-evidence.ts +167 -0
  207. package/src/cli/handlers/components.ts +3 -3
  208. package/src/cli/handlers/dead-guards.ts +37 -0
  209. package/src/cli/handlers/graph.ts +4 -4
  210. package/src/cli/handlers/lifecycle.ts +5 -4
  211. package/src/cli/handlers/local-chant.ts +106 -0
  212. package/src/cli/handlers/operator.ts +2 -2
  213. package/src/cli/handlers/search.ts +5 -5
  214. package/src/cli/main.test.ts +7 -0
  215. package/src/cli/main.ts +38 -0
  216. package/src/cli/parse-args.ts +21 -0
  217. package/src/cli/registry.ts +16 -0
  218. package/src/components/check-evidence-stage.test.ts +80 -0
  219. package/src/components/check-hooks.ts +84 -4
  220. package/src/components/check-local-evidence-stage.test.ts +141 -0
  221. package/src/components/check-steps.ts +56 -6
  222. package/src/components/product-pipeline.ts +28 -3
  223. package/src/components/product-plan.test.ts +87 -0
  224. package/src/components/product-plan.ts +230 -0
  225. package/src/components/release-compile.ts +2 -2
  226. package/src/config.ts +44 -3
  227. package/src/dead-guards.test.ts +206 -0
  228. package/src/dead-guards.ts +446 -0
  229. package/src/discovery/files.ts +5 -3
  230. package/src/drift-issue-bundle.test.ts +31 -0
  231. package/src/drift-issue.test.ts +206 -0
  232. package/src/drift-issue.ts +274 -0
  233. package/src/fit-note.test.ts +44 -0
  234. package/src/floor-table.data.ts +181 -0
  235. package/src/floor-table.ts +77 -0
  236. package/src/forge-flags.test.ts +110 -0
  237. package/src/forge-flags.ts +208 -0
  238. package/src/gate-decision-bundle.test.ts +1 -0
  239. package/src/lexicon.ts +68 -0
  240. package/src/lifecycle/gated-op.ts +10 -5
  241. package/src/local-chant.e2e.test.ts +94 -0
  242. package/src/local-chant.test.ts +162 -0
  243. package/src/local-chant.ts +341 -0
  244. package/src/op/activities/predict-behaviour.ts +2 -2
  245. package/src/op/op-waves-evidence-spec.ts +24 -0
  246. package/src/op/op-waves-evidence.test.ts +130 -0
  247. package/src/op/op-waves-evidence.ts +58 -0
  248. package/src/op/op-waves-run.ts +25 -1
  249. package/src/op/op-waves.ts +31 -1
  250. package/src/op/schedule-overdue.test.ts +85 -0
  251. package/src/op/schedule-overdue.ts +162 -26
  252. package/src/plan-summary.ts +40 -0
  253. package/src/pr-plan-note.ts +34 -0
  254. package/src/pr-post-plan-note.test.ts +146 -0
  255. package/src/pr-post.ts +127 -3
  256. package/src/release-floors.ts +47 -1
  257. package/src/stage-hooks-bundle.test.ts +1 -0
  258. package/src/state-migration.test.ts +52 -1
  259. package/src/state-migration.ts +107 -5
  260. package/src/workspace/ci-green.ts +4 -3
  261. package/src/workspace/lexicon-outputs.ts +23 -6
  262. package/src/workspace/reason-codes.test.ts +3 -0
  263. package/src/workspace/reason-codes.ts +4 -0
  264. package/src/workspace/ref-gate.schema.json +85 -0
  265. package/src/workspace/trust/check-evidence-report.ts +115 -0
  266. package/src/workspace/trust/check-evidence.test.ts +133 -0
  267. package/src/workspace/trust/check-evidence.ts +327 -0
  268. package/src/workspace/trust/ci-tag-statement.ts +2 -2
  269. package/src/workspace/trust/dsse.ts +48 -4
  270. package/src/workspace/trust/evidence.ts +2 -2
  271. package/src/workspace/trust/keyless-fixture.ts +214 -0
  272. package/src/workspace/trust/keyless.test.ts +220 -0
  273. package/src/workspace/trust/keyless.ts +557 -0
  274. package/src/workspace/trust/local-evidence.test.ts +127 -0
  275. package/src/workspace/trust/local-evidence.ts +268 -0
  276. package/src/workspace/trust/op-run-statement.ts +2 -2
  277. package/src/workspace/trust/policy.ts +263 -3
  278. package/src/workspace/trust/ref-gate-cli.ts +244 -0
  279. package/src/workspace/trust/ref-gate-fixture.ts +125 -0
  280. package/src/workspace/trust/ref-gate.e2e.test.ts +76 -0
  281. package/src/workspace/trust/ref-gate.test.ts +247 -0
  282. package/src/workspace/trust/ref-gate.ts +539 -0
  283. package/src/workspace/trust/run-statement.ts +3 -3
  284. package/src/workspace/trust/runner-identity.ts +92 -0
  285. package/src/workspace/trust/trust-files.test.ts +22 -0
  286. package/src/workspace/trust/trust-files.ts +54 -1
@@ -0,0 +1,181 @@
1
+ // Written by scripts/floor-table.ts (#4792) from the floor constants under
2
+ // packages/core/src; run `npx tsx scripts/floor-table.ts` after adding one.
3
+ // scripts/release-floors.ts fails while this file is stale.
4
+ import { NEXT_RELEASE } from "./release-floors";
5
+ import type { FloorRow } from "./floor-table";
6
+
7
+ export const FLOOR_ROWS: readonly FloorRow[] = [
8
+ { name: "CACHE4_PIN_FLOOR", version: "0.124.78", gates: "The first chant whose table has the `cache4` row (#4816).", issue: "#4816", file: "action-pins.ts", modules: ["@intentius/chant/action-pins"] },
9
+ { name: "AGENT_GUARD_FLOOR", version: "0.124.77", gates: "The first chant with the shared agent guard (#4770).", issue: "#4770", file: "agent-guard.ts", modules: ["@intentius/chant/agent-guard","@intentius/chant/ci-product"] },
10
+ { name: "CAPABILITY_TEMPLATES_FLOOR", version: "0.124.54", gates: "The first chant whose capabilities document carries `templates` (#4531).", issue: "#4531", file: "capabilities/templates.ts", modules: ["@intentius/chant/capabilities/templates"] },
11
+ { name: "CHANGE_SET_GROUP_FLOOR", version: "0.124.54", gates: "The first chant whose change set can carry a member's `group` (ws-107, #4440).", issue: "#4440", file: "change-set.ts", modules: ["@intentius/chant/change-set"] },
12
+ { name: "CHANGE_SET_PLACEHOLDERS_FLOOR", version: "0.124.54", gates: "The first chant whose change set can carry a member's `placeholders` (#4463).", issue: "#4463", file: "change-set.ts", modules: ["@intentius/chant/change-set"] },
13
+ { name: "CI_AGENT_FLOOR", version: "0.124.55", gates: "The first chant with the agent job and the scheduled Op spec's `agent` and `runner` (#4616).", issue: "#4616", file: "ci-agent.ts", modules: ["@intentius/chant/ci-agent","@intentius/chant/ci-product"] },
14
+ { name: "CI_AUDIT_FLOOR", version: "0.124.56", gates: "The first chant with drift attribution and the unrecorded writer audit in core.", file: "ci-audit/index.ts", modules: ["@intentius/chant/ci-audit","@intentius/chant/ci-audit/index"] },
15
+ { name: "CI_COMMIT_FLOOR", version: "0.124.71", gates: "The first chant with the commit job and the scheduled Op spec's `commit` (#4722).", issue: "#4722", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
16
+ { name: "CI_COMMIT_PUSH_FLOOR", version: "0.124.72", gates: "The first chant with a commit job after a check that runs on push, `jobToken` and `after` (#4749).", issue: "#4749", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
17
+ { name: "CI_COMMIT_FILES_FLOOR", version: "0.124.73", gates: "The first chant whose commit job takes `allowedFiles` (#4758).", issue: "#4758", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
18
+ { name: "CI_COMMIT_REPLY_FLOOR", version: "0.124.77", gates: "The first chant whose commit job takes `commandEnv`, gives the command `CHANT_COMMIT_PR`, keeps the tail of its standard error and replies with a product's refusal text (setCommitRefusalReply) (#4724).", issue: "#4724", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
19
+ { name: "CI_COMMIT_ARG_FLOOR", version: "0.124.78", gates: "The first chant whose commit job takes `commentArg`, one argument after the comment's word passed into the argv (#4820).", issue: "#4820", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
20
+ { name: "CI_COMMIT_HARNESS_BREAK_FLOOR", version: "0.124.78", gates: "The first chant whose `commit land` reads COMMIT_HARNESS_BREAK_ENV in a BREAK arm of chant's e2e harness (#4836).", issue: "#4836", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
21
+ { name: "CI_COMMIT_REFUSAL_REPLY_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `commit land` replies to a comment refused as it is read, such as a bad argument or a stray word (#4838).", issue: "#4838", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
22
+ { name: "CI_CONTROL_FLOOR", version: "0.124.55", gates: "The first chant with `@intentius/chant/ci-control` (#4568).", issue: "#4568", file: "ci-control.ts", modules: ["@intentius/chant/ci-control"] },
23
+ { name: "CONTROL_APPLIED_FLOOR", version: "0.124.55", gates: "The first chant that records the applies a dispatch carries and marks cross-stack edges (#4617).", issue: "#4617", file: "ci-control.ts", modules: ["@intentius/chant/ci-control"] },
24
+ { name: "CONTROL_NOTE_CHECKOUT_FLOOR", version: "0.124.55", gates: "The first chant whose note jobs read the control repo for the cross-stack edges (#4619).", issue: "#4619", file: "ci-control.ts", modules: ["@intentius/chant/ci-control"] },
25
+ { name: "CI_ESTATE_FLOOR", version: "0.124.55", gates: "The first chant with `@intentius/chant/ci-estate` (#4612).", issue: "#4612", file: "ci-estate.ts", modules: ["@intentius/chant/ci-estate"] },
26
+ { name: "CI_ESTATE_RECORDS_FLOOR", version: "0.124.72", gates: "The first chant with `buildRecordDelivery`: delivery metrics from a product's report index and audit trail (#4612).", issue: "#4612", file: "ci-estate.ts", modules: ["@intentius/chant/ci-estate"] },
27
+ { name: "PULUMI_CLOUD_IDENTITY_FLOOR", version: "0.124.55", gates: "The first chant that reads `ci.identity.cloud.pulumi` (#4549): a declaration that sets it needs this `minReader`.", issue: "#4549", file: "ci-identity.ts", modules: ["@intentius/chant/ci-identity"] },
28
+ { name: "AZURE_DATABASE_TOKEN_FLOOR", version: "0.124.55", gates: "The first chant that reads `ci.identity.cloud.azure.database` (#4572): the trade also asks Entra for a token Azure Database for PostgreSQL accepts.", issue: "#4572", file: "ci-identity.ts", modules: ["@intentius/chant/ci-identity"] },
29
+ { name: "OWN_JOBS_FLOOR", version: "0.124.77", gates: "The first chant with `mergeOwnJobs`, `keepOwnJobs` and `chant build --own-jobs` / `--keep-own-jobs` (#4769).", issue: "#4769", file: "ci-own-jobs.ts", modules: ["@intentius/chant/ci-own-jobs","@intentius/chant/ci-product"] },
30
+ { name: "CI_PRODUCT_FLOOR", version: "0.124.55", gates: "The first chant with the product pipeline (#4550): the words, the `pull-request` op-wave approval source, `runCommandInProcess(argv, { words })`, the lexicons' `ciSetup`, and the member detail sections of the note (#4573).", issue: "#4573", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
31
+ { name: "NOTIFY_RELAY_FLOOR", version: "0.124.55", gates: "The first chant with `chant notify relay` and the notify relay buttons (#4611).", issue: "#4611", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
32
+ { name: "PR_PREVIEW_FLOOR", version: "0.124.55", gates: "The first chant whose product pipeline has the comment preview (`previewComment`, `build --pr-loop --preview-comment`) and whose `components pr-plan` takes `--target` (#4620).", issue: "#4620", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
33
+ { name: "PRODUCT_PLAN_FLOOR", version: NEXT_RELEASE, gates: "The product plan (#4799): `productPipelineJobs(forge, env, { words, productPlan })` runs the product's plan verb in place of `pr-plan`, one plan job and one plan-note job per target, each with only its target's variables and secrets and an optional write probe, and `pr-post` posts the plan note hand-off the verb wrote (`planNoteHandoff`, `PR_PLAN_NOTE_FILE` in `@intentius/chant/pr-plan-note`).", issue: "#4799", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
34
+ { name: "PRODUCT_ACTIONS_FLOOR", version: "0.124.58", gates: "Day-2 actions in the product pipeline (#4654): the `action` comment command counted as answered by the product's own workflow (`productPipelineJobs(forge, env, { words, actions: true })`), or the pipeline's own action job (`actionJob`, `build --pr-loop --action-job`), which answers the comment and a dispatch with a member and an action input, and runs the product's action verb with `--from-event`.", issue: "#4654", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
35
+ { name: "APPROVAL_STATUS_FLOOR", version: "0.124.56", gates: "The approval status before merge (#4630): under a `pr-review` wave, the op waves generators add a job that posts `<product>/approval` on each open pull request's head.", issue: "#4630", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
36
+ { name: "APPROVAL_STATUS_PULL_REQUEST_FLOOR", version: "0.124.56", gates: "The approval status for `pull-request` waves too (#4630, 2026-10-28 ruling): the generators add the record-plans and approval-status jobs for a spec whose waves take the pull request's own approval, and the status reads that approval's coverage of each wave's change set.", issue: "#4630", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
37
+ { name: "CI_RESPOND_FLOOR", version: "0.124.56", gates: "Responses to pipeline events (#4629): a refused wave's diff, a failed apply's triage and the pull request description check, in the product's words.", issue: "#4629", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
38
+ { name: "PR_LOOP_BUILD_FLAGS_FLOOR", version: "0.124.56", gates: "`chant build --pr-loop` carries `--merge auto --merge-token-env <VAR> [--merge-method <m>]` (#4636), `--respond <list>`, `--decide-backend` and `--decide-model` (#4629) into the generated pull request jobs.", issue: "#4629", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
39
+ { name: "FORGEJO_RUN_GROUP_FLOOR", version: "0.124.77", gates: "The Forgejo generators write a workflow-level run group a product asks for (#4771): `runGroup: \"pull-request\"` on the components pipeline (`chant build --components --generate forgejo --run-group pull-request`) and `runGroup: \"commit\"` on an op waves spec (its `options`, or `chant run --generate forgejo --spec <file> --run-group commit`).", issue: "#4771", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
40
+ { name: "PR_LOOP_CONTROL_FLOOR", version: "0.124.77", gates: "`chant build --pr-loop` takes the control repo (#4772): `--control <repo>` and `--control-setting <key>=<value>` (op, member, readTokenSecret, and the rest of the control settings) are the pull request loop's `control`, so the note job the build writes reads the control repo's records itself, the step `productPipelineJobs(...).post.control` returns.", issue: "#4772", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
41
+ { name: "PRODUCT_MCP_HOOK_FLOOR", version: "0.124.55", gates: "Telemetry and MCP (#4555).", issue: "#4555", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
42
+ { name: "PRODUCT_MCP_PROPOSE_FLOOR", version: "0.124.58", gates: "The first chant whose `chant serve mcp` has the `--propose` tier and serves `forgeWrite` product tools on it (chant#4655).", issue: "#4655", file: "cli/mcp/product-tools.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/cli/mcp/product-tools"] },
43
+ { name: "MCP_TOOL_ANNOTATIONS_FLOOR", version: "0.124.79", gates: "The first chant whose `tools/list` gives MCP tool annotations: a tool's `annotations`, and `readOnlyHint`/`destructiveHint` from `readOnly: true` or `forgeWrite: true` (chant#4823).", issue: "#4823", file: "cli/mcp/product-tools.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/cli/mcp/product-tools"] },
44
+ { name: "DEPLOY_ADOPT_FLOOR", version: "0.124.55", gates: "The first chant whose `run --components` takes `--adopt`.", file: "components/adoption.ts", modules: ["@intentius/chant/components/adoption"] },
45
+ { name: "CI_SERVICES_FLOOR", version: "0.124.55", gates: "The first chant with `LexiconPlugin.ciServices` and this module (#4572).", issue: "#4572", file: "components/ci-services.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/components/ci-services"] },
46
+ { name: "PR_ENV_COMPONENTS_FLOOR", version: "0.124.77", gates: "The first chant with the component adapter and teardown, and the terraform lexicon's copies on them (#4762).", issue: "#4762", file: "components/pr-env-components.ts", modules: ["@intentius/chant/components/pr-env-components"] },
47
+ { name: "PR_ENV_APPEND_FLOOR", version: "0.124.55", gates: "The first chant that exports appendPrEnvRecord and readPrEnvRecords (#4551).", issue: "#4551", file: "components/pr-env-ledger.ts", modules: ["@intentius/chant/components/pr-env-ledger"] },
48
+ { name: "UNCHANGED_INPUTS_FLOOR", version: "0.124.65", gates: "The first chant that reads a component's `inputs` and writes `unchangedSince` on a release record (#4695).", issue: "#4695", file: "components/unchanged-inputs.ts", modules: ["@intentius/chant/components/unchanged-inputs"] },
49
+ { name: "NORMALIZED_INPUTS_FLOOR", version: "0.124.68", gates: "The first chant that reads `inputs.normalize` and writes `normalizedInputs` on a skip record (#4718).", issue: "#4718", file: "components/unchanged-inputs.ts", modules: ["@intentius/chant/components/unchanged-inputs"] },
50
+ { name: "CONTROL_DEPENDENTS_FLOOR", version: "0.124.47", gates: "The first chant with `chant workspace run --dependents-of`, which the control repo's package.json pins.", file: "control/dispatch.ts", modules: ["@intentius/chant/ci-control","@intentius/chant/control/dispatch"] },
51
+ { name: "E2E_HARNESS_FLOOR", version: "0.124.56", gates: "The first chant with the e2e harness.", file: "e2e-harness/index.ts", modules: ["@intentius/chant/e2e-harness","@intentius/chant/e2e-harness/index"] },
52
+ { name: "E2E_HARNESS_PULL_STEPS_FLOOR", version: "0.124.58", gates: "The first chant whose harness follows a pull request a product opened (chant#4650): the await-pull and comment steps, the pull and gated outcomes, and the forge reads under them.", issue: "#4650", file: "e2e-harness/index.ts", modules: ["@intentius/chant/e2e-harness","@intentius/chant/e2e-harness/index"] },
53
+ { name: "ENGINE_FACTS_FLOOR", version: "0.124.54", gates: "The first chant whose graph carries `nodes[].facts` and `edges[].grain` (#4527, #4529, #4528): a live read through an engine (the terraform lexicon's read of `choudoufu live-graph -json -from-plan`, which writes `ResourceMetadata.facts` and the observation's `edges`), and a plunge member's checked-in `engine-graph.json` in the pulumi lexicon's member read.", issue: "#4527", file: "engine-facts.ts", modules: ["@intentius/chant","@intentius/chant/engine-facts","@intentius/chant/index"] },
54
+ { name: "CI_SETUP_UNLINKED_FLOOR", version: "0.124.78", gates: "The first chant whose Pulumi lexicon's ci-setup installs a release without linking it onto PATH (`link: false`) and exports the fetch-and-check script for image builds (`ciFetchScript`, #4814).", issue: "#4814", file: "lexicon.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lexicon"] },
55
+ { name: "ADOPTION_FILE_FLOOR", version: "0.124.54", gates: "The first chant that writes or reads an adoption file.", file: "lifecycle/adoption-file.ts", modules: ["@intentius/chant/lifecycle/adoption-file"] },
56
+ { name: "CLOUD_INDEX_FLOOR", version: "0.124.54", gates: "The first chant with `chant index` and runCloudIndex / indexCloud.", file: "lifecycle/cloud-index.ts", modules: ["@intentius/chant/lifecycle/cloud-index"] },
57
+ { name: "GATE_CHANGE_SET_FLOOR", version: "0.124.55", gates: "The first chant that writes `changeSet` on a pending fact and an approval (#4551).", issue: "#4551", file: "lifecycle/gate-ledger.ts", modules: ["@intentius/chant/lifecycle/gate-ledger"] },
58
+ { name: "GATED_REQUEST_FLOOR", version: "0.124.55", gates: "The first chant that writes `request` on a pending fact and reads gated requests (#4551).", issue: "#4551", file: "lifecycle/gate-ledger.ts", modules: ["@intentius/chant/lifecycle/gate-ledger","@intentius/chant/lifecycle/gated-request"] },
59
+ { name: "GATE_EXTERNAL_SIGNATURE_FLOOR", version: "0.124.63", gates: "The first chant that prints a gate's statement, records an approval signed elsewhere (`chant approve --signature`), reads `passkeys` in `.chant/trust.json` and verifies a seal of kind `webauthn` (#4646).", issue: "#4646", file: "lifecycle/gate-statement.ts", modules: ["@intentius/chant/lifecycle/gate-statement"] },
60
+ { name: "GATE_BINDING_FLOOR", version: "0.124.64", gates: "The first chant that takes `--binding` and signs and checks a binding line (seal version 3, #4697).", issue: "#4697", file: "lifecycle/gate-statement.ts", modules: ["@intentius/chant/lifecycle/gate-statement"] },
61
+ { name: "OP_WAVE_HOLD_RECORD_FLOOR", version: "0.124.55", gates: "The first chant whose op-wave hold records the held gate like a gated request (#4623): a hold file with `record: true` gets an applied line before the approved re-run and a finished line after it, with the detail the hook writes to `CHANT_HOLD_FINISHED`, and its `attachment` stored at gatedRequestAttachmentPath.", issue: "#4623", file: "lifecycle/gated-request.ts", modules: ["@intentius/chant/lifecycle/gated-request"] },
62
+ { name: "INDEX_DIFF_FLOOR", version: "0.124.54", gates: "The first chant that exports the index diff and `chant index diff`.", file: "lifecycle/index-diff.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lifecycle/index","@intentius/chant/lifecycle/index-diff"] },
63
+ { name: "INDEX_DOCUMENT_FLOOR", version: "0.124.54", gates: "The first chant that writes an index document to the store.", file: "lifecycle/index-document.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lifecycle/index","@intentius/chant/lifecycle/index-document"] },
64
+ { name: "MEMBER_LEDGER_FLOOR", version: "0.81.0", gates: "The first chant that writes member ledgers.", issue: "#2524", file: "lifecycle/member-ledger.ts", modules: ["@intentius/chant/lifecycle/member-ledger"] },
65
+ { name: "PLAN_STALE_FLOOR", version: "0.124.63", gates: "The first chant that answers `chant plan stale` (#4648).", issue: "#4648", file: "lifecycle/plan-stale.ts", modules: ["@intentius/chant/lifecycle/plan-stale"] },
66
+ { name: "PUBLISH_FORGE_LATEST_FLOOR", version: "0.124.63", gates: "The first chant that reads `latest` on a forge target and sends it as GitHub's `make_latest` (#4676).", issue: "#4676", file: "lifecycle/publish-forge.ts", modules: ["@intentius/chant/lifecycle/publish-forge"] },
67
+ { name: "PUBLISH_FORGE_NOTES_FLOOR", version: "0.124.71", gates: "The first chant whose forge target reads `notes` and may have no assets (#4658).", issue: "#4658", file: "lifecycle/publish-forge.ts", modules: ["@intentius/chant/lifecycle/publish-forge"] },
68
+ { name: "PUBLISH_HOMEBREW_FLOOR", version: "0.124.63", gates: "The first chant that publishes a `homebrew` target (#4676).", issue: "#4676", file: "lifecycle/publish-homebrew.ts", modules: ["@intentius/chant/lifecycle/publish-homebrew"] },
69
+ { name: "PUBLISH_HOMEBREW_SSH_KEY_FLOOR", version: "0.124.64", gates: "The first chant that reads a homebrew target's `sshKeyEnv` (#4699).", issue: "#4699", file: "lifecycle/publish-homebrew.ts", modules: ["@intentius/chant/lifecycle/publish-homebrew"] },
70
+ { name: "PUBLISH_MARKETPLACE_FLOOR", version: "0.124.63", gates: "The first chant that publishes a `marketplace` target (#4676).", issue: "#4676", file: "lifecycle/publish-marketplace.ts", modules: ["@intentius/chant/lifecycle/publish-marketplace"] },
71
+ { name: "PUBLISH_MARKETPLACE_AUTH_FLOOR", version: "0.124.64", gates: "The first chant that reads a marketplace target's `auth` (#4698).", issue: "#4698", file: "lifecycle/publish-marketplace.ts", modules: ["@intentius/chant/lifecycle/publish-marketplace"] },
72
+ { name: "PUBLISH_MARKETPLACE_ON_REFUSAL_FLOOR", version: "0.124.64", gates: "The first chant that reads a marketplace target's `onRefusal` (#4698).", issue: "#4698", file: "lifecycle/publish-marketplace.ts", modules: ["@intentius/chant/lifecycle/publish-marketplace"] },
73
+ { name: "PUBLISH_TAURI_UPDATER_FLOOR", version: "0.124.63", gates: "The first chant that publishes a `tauri-updater` target (#4676).", issue: "#4676", file: "lifecycle/publish-tauri.ts", modules: ["@intentius/chant/lifecycle/publish-tauri"] },
74
+ { name: "LEDGER_ROOT_MEMBER_FLOOR", version: "0.124.54", gates: "The first chant that writes `root_member` on a `runs` row, in `chant query` and in `chant ledger runs --json` (#4482, #4500).", issue: "#4482", file: "lifecycle/query.ts", modules: ["@intentius/chant/lifecycle/query"] },
75
+ { name: "QUERY_OWNERSHIP_COLUMNS_FLOOR", version: "0.124.54", gates: "The first chant that writes `marker_stack`, `marker_env`, `engine_ownership` and `engine_owned_by` on a `resources` row, in `chant query` and in `chant ledger resources --json` (#4534).", issue: "#4534", file: "lifecycle/query.ts", modules: ["@intentius/chant/lifecycle/query"] },
76
+ { name: "LEDGER_WAVE_COLUMNS_FLOOR", version: "0.124.55", gates: "The first chant that writes `wave` on a `runs` row and `change_set` and `request` on a `gates` row (#4551).", issue: "#4551", file: "lifecycle/query.ts", modules: ["@intentius/chant/lifecycle/query"] },
77
+ { name: "LEDGER_APPLIES_FLOOR", version: "0.124.55", gates: "The first chant with the `applies` and `pr_envs` tables (#4551), added within version 1.", issue: "#4551", file: "lifecycle/query.ts", modules: ["@intentius/chant/lifecycle/query"] },
78
+ { name: "LEDGER_CONTROL_ENTRIES_FLOOR", version: "0.124.55", gates: "The first chant with the `control_entries` table (#4593), added within version 1.", issue: "#4593", file: "lifecycle/query.ts", modules: ["@intentius/chant/lifecycle/query"] },
79
+ { name: "LEDGER_RELEASE_STATUS_FLOOR", version: "0.124.55", gates: "The first chant with the `release_status` table (#4596), added within version 1 (chant#4551's ruling C).", issue: "#4551", file: "lifecycle/query.ts", modules: ["@intentius/chant/lifecycle/query"] },
80
+ { name: "RELEASE_CATALOG_FLOOR", version: "0.124.55", gates: "The first chant that writes and reads a release catalog (#4595).", issue: "#4595", file: "lifecycle/release-catalog.ts", modules: ["@intentius/chant/lifecycle/release-catalog"] },
81
+ { name: "RELEASE_CUT_LANE_FLOOR", version: "0.124.64", gates: "The first chant that cuts from a lane's green tag and writes `lane` on the cut line (#4692).", issue: "#4692", file: "lifecycle/release-cut.ts", modules: ["@intentius/chant/lifecycle/release-cut"] },
82
+ { name: "RELEASE_CUT_OVERRIDE_FLOOR", version: "0.124.64", gates: "The first chant that cuts a commit that is not green under an override and writes `override` on the cut line (#4693).", issue: "#4693", file: "lifecycle/release-cut.ts", modules: ["@intentius/chant/lifecycle/release-cut"] },
83
+ { name: "RELEASE_IMAGES_FLOOR", version: "0.124.71", gates: "The first chant with `release.images`, `CHANT_RELEASE_DIGESTS`, `chant release images` and an npm target's `pins` (#4657).", issue: "#4657", file: "lifecycle/release-images.ts", modules: ["@intentius/chant/lifecycle/release-images"] },
84
+ { name: "RELEASE_IMAGE_DOCKERFILE_FLOOR", version: "0.124.78", gates: "The first chant whose `release.images` takes a Dockerfile entry, with `releaseImagePins` and `writeReleaseImagePins` for a product's package build (#4819).", issue: "#4819", file: "lifecycle/release-images.ts", modules: ["@intentius/chant/lifecycle/release-images"] },
85
+ { name: "RUN_ORIGIN_CHANT_FLOOR", version: "0.124.30", gates: "The first chant that writes `runOrigin.forge: \"chant\"`, for a job `chant ci run` ran (#4094).", issue: "#4094", file: "lifecycle/release-ledger.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lifecycle/index","@intentius/chant/lifecycle/release-ledger"] },
86
+ { name: "RUN_ORIGIN_JOB_FLOOR", version: "0.124.32", gates: "The first chant that writes `runOrigin.jobId` and `runOrigin.attempt`, for a forge job that ran `chant ci run` (#4156).", issue: "#4156", file: "lifecycle/release-ledger.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lifecycle/index","@intentius/chant/lifecycle/release-ledger"] },
87
+ { name: "RELEASE_VERSION_FLOOR", version: "0.124.55", gates: "The first chant that writes and reads `releaseVersion` on a release record (#4595).", issue: "#4595", file: "lifecycle/release-ledger.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lifecycle/index","@intentius/chant/lifecycle/release-ledger"] },
88
+ { name: "RELEASE_STATUS_FLOOR", version: "0.124.55", gates: "The first chant that writes and reads `<env>/release-status.jsonl`, and lists the `release_status` table (#4596).", issue: "#4596", file: "lifecycle/release-status.ts", modules: ["@intentius/chant/lifecycle/release-status"] },
89
+ { name: "RELEASE_IMAGE_REF_FLOOR", version: "0.124.65", gates: "The first chant that writes and reads an artifact's `ref` (#4694).", issue: "#4694", file: "lifecycle/release-store.ts", modules: ["@intentius/chant/lifecycle/release-store"] },
90
+ { name: "RELEASE_VERSION_FLOOR", version: "0.124.79", gates: "The first chant with `release.version` and `chant release stamp` (#4840).", issue: "#4840", file: "lifecycle/release-version.ts", modules: ["@intentius/chant/lifecycle/release-version"] },
91
+ { name: "SNAPSHOT_STORE_FLOOR", version: "0.124.54", gates: "The first chant that writes snapshots through the store, to `refs/chant/snapshots` by default.", file: "lifecycle/snapshot-store.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/lifecycle/index","@intentius/chant/lifecycle/snapshot-store"] },
92
+ { name: "NOTIFY_MESSAGE_WORDS_FLOOR", version: "0.124.78", gates: "The first chant whose Slack and Teams messages take a product's words, a drift event's `rerunUrl` and the relay's name (#4818): `notify.message` in the words, `message` in sendNotify's options, and the third argument of `slackMessage` and `teamsMessage`.", issue: "#4818", file: "notify-product.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/notify-product"] },
93
+ { name: "NOTIFY_RELAY_POINTS_FLOOR", version: "0.124.72", gates: "The first chant whose relay answers a gate's decision point and whose `sendNotify` hands a product's own render the signed buttons (`slackRelayActions`, `teamsRelayReply`), so a product can drop a relay of its own (#4611).", issue: "#4611", file: "notify-relay.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/notify-relay"] },
94
+ { name: "NOTIFY_RELAY_CLONE_FLOOR", version: "0.124.77", gates: "The first chant whose `chant notify relay --repo <url> --token-env <VAR>` refuses a token that is more than approve-only and clones the repo itself, whose `--host` listens where asked, which acknowledges a Slack link button's click, and which reads the signers at the default branch's current tip (#4759).", issue: "#4759", file: "notify-relay.ts", modules: ["@intentius/chant/notify-relay"] },
95
+ { name: "REVIEW_PRODUCT_FLOOR", version: "0.124.78", gates: "The first chant whose review agent takes a product's words, data sections and job id (#4811).", issue: "#4811", file: "op/activities/review-product.ts", modules: ["@intentius/chant/op/activities/review-product"] },
96
+ { name: "OP_WAVE_AFTER_PLAN_WAVE_FLOOR", version: "0.124.79", gates: "The first chant whose after-plan hooks answer for the wave as a whole (`wave`), take a run's own `overriders`, and whose wave keeps the hook's report beside its pending fact (#4842).", issue: "#4842", file: "op/op-waves-after-plan.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-after-plan"] },
97
+ { name: "OP_WAVE_ANSWER_APPROVALS_FLOOR", version: "0.124.80", gates: "The first chant whose wave answer takes `approvals`, recorded at the wave's gate before chant decides it (terragucci issue 1303).", issue: "terragucci issue 1303", file: "op/op-waves-after-plan.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-after-plan"] },
98
+ { name: "OP_WAVE_STEP_WAVE_FLOOR", version: "0.124.79", gates: "The release that has `discover` with a `step`, and `together` waves (#4842).", issue: "#4842", file: "op/op-waves-capability.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-capability"] },
99
+ { name: "OP_WAVE_PARALLEL_STEP_FLOOR", version: "0.124.81", gates: "The first chant whose step plans a wave's runs `parallelism` at once, as it applies them, and hands each run the wave's serial section (`DeployContext.serial`), where `terraform-apply` and `terragrunt-apply` take their inits one at a time on a shared provider cache (#4864).", issue: "#4864", file: "op/op-waves-capability.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-capability"] },
100
+ { name: "OP_WAVE_RELEASE_RECORD_FLOOR", version: "0.124.55", gates: "The first chant whose op-wave applies write release records (#4615).", issue: "#4615", file: "op/op-waves-release.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-release"] },
101
+ { name: "OP_WAVE_RUN_HOOKS_FLOOR", version: "0.124.79", gates: "The first chant that runs a product's `runHooks` around each run of a wave with a `step` (#4842), and hands its `env` and `afterInit` to the capability (`DeployContext.processEnv`, `DeployContext.afterInit`).", issue: "#4842", file: "op/op-waves-run-hooks.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-run-hooks"] },
102
+ { name: "OP_WAVES_PREVIEW_FLOOR", version: "0.124.59", gates: "The first chant whose Op waves spec takes `approvals.preview`: a merged wave applies the plans its pull request previewed, or exits 4.", file: "op/op-waves-run.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-run"] },
103
+ { name: "OP_WAVE_PLAN_PATH_FLOOR", version: "0.124.56", gates: "The first chant whose op entry exports opWavePlanPath (terragucci#1304).", issue: "#1304", file: "op/op-waves-run.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-run"] },
104
+ { name: "OP_WAVE_STAND_DOWN_FLOOR", version: "0.124.55", gates: "The first chant whose op waves stand down themselves (#4581).", issue: "#4581", file: "op/op-waves-stand-down.ts", modules: ["@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/op-waves-stand-down"] },
105
+ { name: "CI_CHECK_HOOK_FLOOR", version: "0.124.55", gates: "The first chant that reads and runs `ci.hooks.check` (#4556).", issue: "#4556", file: "op/op-waves.ts", modules: ["@intentius/chant/components/check-hooks","@intentius/chant/op/op-waves"] },
106
+ { name: "OP_WAVES_CONTROL_FLOOR", version: "0.124.55", gates: "The first chant whose Op waves specs take `control` (#4617).", issue: "#4617", file: "op/op-waves.ts", modules: ["@intentius/chant/op/op-waves"] },
107
+ { name: "OP_WAVE_AFTER_PLAN_FLOOR", version: "0.124.55", gates: "The first chant that runs an after-plan hook in the wave job's process and writes OpRunWave.plans (#4614).", issue: "#4614", file: "op/runtime.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/op","@intentius/chant/op/index","@intentius/chant/op/runtime"] },
108
+ { name: "OP_WAVE_RUN_RECORD_FLOOR", version: "0.124.55", gates: "The first chant that writes OpRunRecord.wave, a run record per op wave job (#4551).", issue: "#4551", file: "op/runtime.ts", modules: ["@intentius/chant/op/runtime"] },
109
+ { name: "OP_RUN_FAILURE_FLOOR", version: "0.124.30", gates: "The first chant that writes OpRunRecord.failure and `failure` on `run-settle` (#4094).", issue: "#4094", file: "op/runtime.ts", modules: ["@intentius/chant/op/runtime"] },
110
+ { name: "OTLP_EXPORTER_FLOOR", version: "0.124.55", gates: "The first chant with the OTLP exporter, op-wave run events and the product tool hook (#4555).", issue: "#4555", file: "otlp.ts", modules: ["@intentius/chant/ci-product","@intentius/chant/otlp"] },
111
+ { name: "POLICY_ENGINE_INSTALL_FLOOR", version: "0.124.77", gates: "The first chant with `ci.policy.install` and `@intentius/chant/policy-engine` (#4774).", issue: "#4774", file: "policy-engine.ts", modules: ["@intentius/chant/policy-engine"] },
112
+ { name: "CI_POLICY_SOURCE_FLOOR", version: "0.124.55", gates: "The first chant that reads `ci.policy.source` and `ci.policy.packs`; a declaration that sets either needs this `minReader`.", file: "policy-source.ts", modules: ["@intentius/chant/policy-source"] },
113
+ { name: "PR_REPORT_DEPLOYED_OUTPUTS_FLOOR", version: "0.124.30", gates: "The first chant whose report can carry `deployedOutputs` (#4104).", issue: "#4104", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
114
+ { name: "PR_REPORT_WAVES_FLOOR", version: "0.124.32", gates: "The first chant whose report can carry `waveGate` and `waves` (#4003).", issue: "#4003", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
115
+ { name: "PR_REPORT_PLANNED_OUTPUTS_FLOOR", version: "0.124.32", gates: "The first chant whose report can carry `plannedOutputs`, `rounds`, a member's `unknownInputs`, `buildInputs`, `round` and `held`, and the `waiting` statuses (#3999).", issue: "#3999", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
116
+ { name: "PR_REPORT_RECORD_FLOOR", version: "0.124.33", gates: "The chant that writes the `record` stage and the `recorded` status (#4168 step 1).", issue: "#4168", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
117
+ { name: "PR_REPORT_HOOKS_FLOOR", version: "0.124.41", gates: "The first chant whose report can carry `hooks` (#4288).", issue: "#4288", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
118
+ { name: "PR_REPORT_OVERDUE_FLOOR", version: "0.124.41", gates: "The first chant whose plan report can carry `overdue` (#4289).", issue: "#4289", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
119
+ { name: "PR_REPORT_POLICY_FLOOR", version: "0.124.41", gates: "The first chant whose report can carry `policy` and the `policy-denied` and `policy-error` refusals (#4294).", issue: "#4294", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
120
+ { name: "PR_REPORT_BEFORE_MERGE_FLOOR", version: "0.124.42", gates: "The first chant whose apply report can carry `beforeMerge` and the `requires-unmet` and `before-merge-off` refusals (#4301, ws-106).", issue: "#4301", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
121
+ { name: "PR_REPORT_MIGRATIONS_FLOOR", version: "0.124.49", gates: "The first chant whose plan report can carry `migrations` (#4407).", issue: "#4407", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
122
+ { name: "PR_REPORT_READS_FLOOR", version: "0.124.52", gates: "The first chant whose report can carry a member's `reads`, known at plan or not.", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
123
+ { name: "PR_REPORT_NOT_STARTED_FLOOR", version: "0.124.54", gates: "The first chant whose report can carry the `not-started` member status (ws-107, #4440).", issue: "#4440", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
124
+ { name: "PR_REPORT_GROUPS_FLOOR", version: "0.124.54", gates: "The first chant whose report can carry `groups`, `fallbacks`, and a member's `group` and `groupOutcome` (ws-107, #4446).", issue: "#4446", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
125
+ { name: "PR_REPORT_LOCK_TARGETS_FLOOR", version: "0.124.55", gates: "The first chant whose report can carry `lockTargets` (#4552).", issue: "#4552", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
126
+ { name: "PR_REPORT_NARROWED_FLOOR", version: "0.124.56", gates: "The first chant whose report carries PrReport.narrowed (#4626).", issue: "#4626", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
127
+ { name: "PR_REPORT_CROSS_STACK_FLOOR", version: "0.124.55", gates: "The first chant whose report carries PrReport.crossStackEdges (#4617).", issue: "#4617", file: "pr-loop.ts", modules: ["@intentius/chant/pr-loop"] },
128
+ { name: "PR_PLAN_NOTE_FLOOR", version: "0.124.78", gates: "The first chant with the product plan note (#4810).", issue: "#4810", file: "pr-plan-note.ts", modules: ["@intentius/chant/pr-plan-note"] },
129
+ { name: "REPORT_URL_CLOUDS_FLOOR", version: "0.124.55", gates: "The first chant that reads a `gs://` or `az://` report URL (#4554).", issue: "#4554", file: "pr-report-url.ts", modules: ["@intentius/chant/pr-report-url"] },
130
+ { name: "LOCAL_CHANT_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `chant dev local` and `chant dev bundle-check`, `@intentius/chant/local-chant` and `@intentius/chant/bundle-check` (`chantRuntimeTarget`, `chantExternalPlugin`, `checkBundle`): a product built against a chant checkout, and its bundle checked, without its own scripts (#4787).", issue: "#4787", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
131
+ { name: "REF_GATE_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `chant workspace ref-gate` (pre-receive, pre-push, check, status, attach, install) and `refs` in `.chant/trust.json`, the checks a ref update needs evidence for (#4867).", issue: "#4867", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
132
+ { name: "OVERDUE_PIPELINE_FILES_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose overdue check finds a schedule in any pipeline file, and whose `ScheduledWatch` takes a product's `files` and GitLab `schedule` selector (#4789).", issue: "#4789", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
133
+ { name: "TERRAFORM_APPLY_COMMAND_HOOK_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `terraformApplyCapabilityWith` takes `onCommand`, a hook around each engine command `terraform-apply` runs for a root, its reads' upstreams included (#4865).", issue: "#4865", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
134
+ { name: "PRODUCT_HELPERS_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/forge-flags` (`forgeTargetWith`, `forgeTargetFromFlags`, `apiBaseOf`), `@intentius/chant/chant-install` (`bundledChant`, `chantArgv`, `installChantResolveFallback`) and `noteLimit` and `fitNote` in `@intentius/chant/plan-summary` (#4800).", issue: "#4800", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
135
+ { name: "CI_IMAGE_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/ci-image`: `productImageStages`, `productImageDockerfile` and `derivedImageDockerfile` for a product's CI image, and `ciToolFetchScript`, `ciToolInstallLine` and `installCiTool`, the digest-checked engine installs, with the terraform lexicon's `choudoufuInstallLine` checked the same way (#4784).", issue: "#4784", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
136
+ { name: "DRIFT_ISSUE_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/drift-issue`, whose `keepDriftIssue` keeps one drift issue per environment from a product's words and the drift records (#4790).", issue: "#4790", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
137
+ { name: "SOURCE_DIR_RULE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chant build` with no path builds the config's `sourceDir`, whose root build leaves a top-level `scripts/` out, and whose `@intentius/chant/config` exports `resolveSourceDir`, the one source-dir rule every command shares (#4794).", issue: "#4794", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
138
+ { name: "PULUMI_STACK_OPS_ON_CORE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose pulumi lexicon runs `gatedStackExport`, `gatedStackCancel` and `gatedStackMove` on core's `exportStateVersion`, `releaseStateLock` and `runStateMigration`: export by version, the live-run check before a cancel (`liveRuns`, `forge`), and the check that nothing moved between a move's plan and its write (#4808).", issue: "#4808", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
139
+ { name: "TERRAFORM_STATE_VERSION_READS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose terraform lexicon's state stores read versions (`version`, `hasVersion`, `readVersion`, `isAt`, `listVersions`), with `readStateVersion` and `listStateVersions`, and lock and write a GitLab-managed http backend's state (#4793).", issue: "#4793", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
140
+ { name: "TERRAFORM_APPLY_INSTANCE_READS_FLOOR", version: "0.124.80", gates: "The first chant whose terraform lexicon's `terraform-apply` reads take `dir` and `workspace`, and read an upstream with `resolveRoot`'s binary and `readEnv` (terragucci issue 1303).", issue: "terragucci issue 1303", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
141
+ { name: "TERRAFORM_APPLY_ROOT_BINARY_FLOOR", version: "0.124.80", gates: "The first chant whose terraform lexicon's `terraform-apply` takes `binary`, and `terraformApplyCapabilityWith({ resolveRoot })` gives each root its own binary (terragucci issue 1303).", issue: "terragucci issue 1303", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
142
+ { name: "OP_WAVE_STEP_CWD_FLOOR", version: "0.124.80", gates: "The first chant whose op wave hands a step's capability the wave's `cwd` (`DeployContext.cwd`), where `terraform-apply` looks for `chant.config.*` and `terragrunt-apply` runs when the step names neither (#4854).", issue: "#4854", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
143
+ { name: "TERRAFORM_APPLY_WORKSPACE_FLOOR", version: "0.124.80", gates: "The first chant whose terraform lexicon's `terraform-apply` takes `workspace`: init in `default`, then `workspace select -or-create=true`, and plan, apply and output in it (#4854).", issue: "#4854", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
144
+ { name: "CHANGE_SET_OUTPUTS_FLOOR", version: "0.124.79", gates: "The first chant whose change-set member can carry `outputs`, the outputs its plan changes, and counts a member with any as a change (#4849).", issue: "#4849", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
145
+ { name: "TERRAGRUNT_UNIT_PINS_FLOOR", version: "0.124.79", gates: "The first chant whose terraform lexicon's `terragruntApplyCapability` takes `resolveUnit` and plans a wave as one `run --all` per pair of pinned releases (#4849).", issue: "#4849", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
146
+ { name: "YODEL_NEW_ENVS_FLOOR", version: "0.124.78", gates: "The first chant whose sql lexicon's `yodelCommitSpec(\"new\", ...)` takes `envs`, so `--replace-own` reads those histories as the reader (#4815).", issue: "#4815", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
147
+ { name: "YODEL_CONFLICT_REPLY_FLOOR", version: "0.124.78", gates: "The first chant whose sql lexicon's `yodelRefusalReply` reads yodel rebase's conflict refusal as yodel prints it, `<a> and the migrations after <p> up to <b>` or `<a> and the chain ending at <b>` (#4821).", issue: "#4821", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
148
+ { name: "NOTE_COMMANDS_FLOOR", version: "0.124.80", gates: "The first chant with `@intentius/chant/ci-note-commands`, `chant components pr-notes` and the GitLab pipeline's `note-commands` job (`--note-commands`), and whose forge reads answer `branchRuns` and `pullRequestsUpdated` (#4785).", issue: "#4785", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
149
+ { name: "PR_FORGE_COMPARE_READS_FLOOR", version: "0.124.80", gates: "The first chant whose forge reads answer `compare`, `job` and, on GitLab, `artifactFile`, and whose `RunJob` names its `run`, `ref`, `tag` and `url` (#4862).", issue: "#4862", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
150
+ { name: "PR_FORGE_RUN_READS_FLOOR", version: "0.124.80", gates: "The first chant whose forge reads answer `headRuns`, `run`, `runJobs` and `artifacts`: a head's workflow runs (GitLab's pipelines), a run, its jobs and its artifacts by name (#4846).", issue: "#4846", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
151
+ { name: "PR_FORGE_READS_FLOOR", version: "0.124.78", gates: "The first chant whose `@intentius/chant/pr-forge-reads` exports the forge reads beside the clients (#4809).", issue: "#4809", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
152
+ { name: "SCHEDULED_RUNS_SELECTOR_FLOOR", version: "0.124.78", gates: "The first chant whose GitLab `scheduledRuns` takes `schedule`, the selector of an Op's `gitlab.scheduleRule` (#4813).", issue: "#4813", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
153
+ { name: "OP_WAVES_JOB_INPUTS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose Op waves pipeline takes `waveJobs` and `recordPlans`, a product's login, report, artifact and plans-job inputs, so it edits nothing chant wrote (#4791).", issue: "#4791", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
154
+ { name: "FLOOR_TABLE_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/floor-table` (`FLOOR_TABLE`, `floorVersion`, `chantMeets`), every floor as one table, and `chant dev dead-guards` with `@intentius/chant/dead-guards` (`findDeadGuards`), which fails on a feature-detect the product's chant pin meets (#4792).", issue: "#4792", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
155
+ { name: "CLOUD_LOGIN_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/ci-login`: `githubCloudLogin`, `gitlabCloudLogin` and `forgejoCloudLogin` render a job's AWS, GCP and Azure login from the OIDC token file, per target too (#4788).", issue: "#4788", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
156
+ { name: "CHECK_EVIDENCE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose generated pipelines sign evidence for each named check they run, with `chant ci evidence`, `ci check` signing each hook, and an Op waves spec's `evidence.requires` (#4870).", issue: "#4870", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs","@intentius/chant/release-floors"] },
157
+ { name: "LOCAL_EVIDENCE_FLOOR", version: NEXT_RELEASE, gates: "The first chant that accepts local evidence (#4868): `local` in `.chant/trust.json`, `chant ci evidence sign --local`, and `chant ci check` skipping a hook whose current local evidence the policy at base accepts.", issue: "#4868", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs","@intentius/chant/release-floors"] },
158
+ { name: "KEYLESS_EVIDENCE_FLOOR", version: NEXT_RELEASE, gates: "The first chant that signs runner statements keyless from the CI job's OIDC identity and verifies them against `keyless` in `.chant/trust.json`, with `evidence.identity: \"oidc\"` in the generators (#4869).", issue: "#4869", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs","@intentius/chant/release-floors"] },
159
+ { name: "RUN_EVENT_FLOOR", version: "0.124.28", gates: "The first chant that writes contract version 1 of the run-event stream.", file: "run-event.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/run-event"] },
160
+ { name: "RUN_EVENT_FAILURE_FLOOR", version: "0.124.30", gates: "The first chant that writes `failure` on `run-settle` (#4094).", issue: "#4094", file: "run-event.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/run-event"] },
161
+ { name: "RUN_EVENT_COMPONENT_SKIP_FLOOR", version: "0.124.29", gates: "The first chant that writes `blocked`, `already-applied` and `blockedBy` on `component-settle` (#4007).", issue: "#4007", file: "run-event.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/run-event"] },
162
+ { name: "RUN_EVENT_RESOURCES_FLOOR", version: "0.124.55", gates: "The first chant that writes `resources` on `step-settle` (#4615).", issue: "#4615", file: "run-event.ts", modules: ["@intentius/chant","@intentius/chant/index","@intentius/chant/run-event"] },
163
+ { name: "STATE_EXPORT_FLOOR", version: "0.124.77", gates: "The first chant with the engine-neutral state export (#4762).", issue: "#4762", file: "state-export.ts", modules: ["@intentius/chant/state-export"] },
164
+ { name: "STATE_MIGRATION_FLOOR", version: "0.124.77", gates: "The first chant with the engine-neutral state migration (#4762).", issue: "#4762", file: "state-migration.ts", modules: ["@intentius/chant/state-migration"] },
165
+ { name: "STATE_MIGRATION_SOURCE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose migration binds a root's `source` (an engine's `source` read under the locks) and answers `approval-moved`, and whose terraform lexicon plans backend moves (`planTerraformMigration`'s `backends`) and choudoufu estate migrations (`planEstateMigration`) onto it (#4806).", issue: "#4806", file: "state-migration.ts", modules: ["@intentius/chant/state-migration"] },
166
+ { name: "STATE_UNLOCK_FLOOR", version: "0.124.77", gates: "The first chant with the engine-neutral lock release and forgeLiveRuns (#4762).", issue: "#4762", file: "state-unlock.ts", modules: ["@intentius/chant/state-unlock"] },
167
+ { name: "TEMPLATE_REQUEST_FLOOR", version: "0.124.58", gates: "The first chant that writes and reads template-request/v1 and template.yml/v1 (#4651).", issue: "#4651", file: "template-request/template-request.ts", modules: ["@intentius/chant/template-request","@intentius/chant/template-request/index","@intentius/chant/template-request/template-request"] },
168
+ { name: "CI_GREEN_LANES_FLOOR", version: "0.124.61", gates: "The first chant that reads and writes green lanes, `ci.green.lanes` (#4662).", issue: "#4662", file: "workspace/ci-green.ts", modules: ["@intentius/chant/workspace/ci-green"] },
169
+ { name: "CI_TICK_NOTIFY_FLOOR", version: "0.124.61", gates: "The first chant whose tick sends `ci.red`, `ci.culprit` and `ci.green` through `ci.green.notify` (#4645).", issue: "#4645", file: "workspace/ci-green.ts", modules: ["@intentius/chant/workspace/ci-green"] },
170
+ { name: "CI_STALE_NOTIFY_FLOOR", version: "0.124.63", gates: "The first chant whose tick sends `ci.stale` after `ci.green.notify.staleAfter` hours without a green commit (#4678).", issue: "#4678", file: "workspace/ci-green.ts", modules: ["@intentius/chant/workspace/ci-green"] },
171
+ { name: "CI_MERGE_QUEUE_FLOOR", version: "0.124.61", gates: "The first chant that writes a merge queue's trigger and verdict job, and reads `chant ci verdict` (#4644).", issue: "#4644", file: "workspace/ci-green.ts", modules: ["@intentius/chant/workspace/ci-green"] },
172
+ { name: "CI_VERDICT_RETRIES_FLOOR", version: "0.124.70", gates: "The first chant that reads `ci.green.mergeQueue: { retries }` and whose `ci verdict` re-runs a failed job and looks again after a forge 5xx (#4729).", issue: "#4729", file: "workspace/ci-green.ts", modules: ["@intentius/chant/workspace/ci-green"] },
173
+ { name: "CI_LOCK_GRAIN_FLOOR", version: "0.124.55", gates: "The first chant that reads `ci.lockGrain`; a declaration that sets it needs this `minReader`.", file: "workspace/ci-lock-grain.ts", modules: ["@intentius/chant/workspace/ci-lock-grain"] },
174
+ { name: "CI_QUARANTINE_NOTIFY_FLOOR", version: "0.124.63", gates: "The first chant that sends `ci.quarantine-passed` (#4677).", issue: "#4677", file: "workspace/ci-quarantine-report.ts", modules: ["@intentius/chant/workspace/ci-quarantine-report"] },
175
+ { name: "CI_QUARANTINE_FLOOR", version: "0.124.63", gates: "The first chant that reads `ci.green.quarantine` and runs `chant ci quarantine` (#4677).", issue: "#4677", file: "workspace/ci-quarantine.ts", modules: ["@intentius/chant/workspace/ci-quarantine"] },
176
+ { name: "CI_RUN_INDEX_FLOOR", version: "0.124.31", gates: "The first chant that writes the index.", file: "workspace/ci-run-index.ts", modules: ["@intentius/chant/workspace/ci-run-index"] },
177
+ { name: "INTENT_CLOSES_FLOOR", version: "0.124.63", gates: "The first chant whose intent graph and record walk carry a commit's `closes`, with `--forge-issues` (#4649).", issue: "#4649", file: "workspace/intent.ts", modules: ["@intentius/chant/workspace/intent"] },
178
+ { name: "READ_CONTRACT_FLOOR", version: "0.81.0", gates: "The first chant release that writes contract version 1.", file: "workspace/reason-codes.ts", modules: ["@intentius/chant/workspace/reason-codes"] },
179
+ { name: "RELEASE_CANDIDATES_CLOSES_FLOOR", version: "0.124.63", gates: "The first chant whose candidates carry `changes[].closes` and `groups[].issue` (#4649).", issue: "#4649", file: "workspace/release-candidates.ts", modules: ["@intentius/chant/workspace/release-candidates"] },
180
+ { name: "RELEASE_CANDIDATES_LANE_FLOOR", version: "0.124.64", gates: "The first chant whose candidates document carries `lane` and reads a lane's tags (#4692).", issue: "#4692", file: "workspace/release-candidates.ts", modules: ["@intentius/chant/workspace/release-candidates"] },
181
+ ];
@@ -0,0 +1,77 @@
1
+ /**
2
+ * `@intentius/chant/floor-table` (#4792): every floor a product may
3
+ * feature-detect on, as one table, and the version compare a product asks it
4
+ * with.
5
+ *
6
+ * A floor is a constant `<NAME>_FLOOR` in chant core naming the first chant
7
+ * release with a part (an export, a field chant writes, a flag). A product
8
+ * that runs on several chant releases checks one before it calls the part. The
9
+ * rows are written by scripts/floor-table.ts from the constants themselves
10
+ * (./floor-table.data.ts), and scripts/release-floors.ts fails while a floor
11
+ * is missing from them. A floor added since the last release has the version
12
+ * of the next one, NEXT_RELEASE, which the release moves on.
13
+ *
14
+ * `chant dev dead-guards` (./dead-guards.ts) reads this table against a
15
+ * product's chant pin and names each check the pin already meets.
16
+ */
17
+ import { FLOOR_ROWS } from "./floor-table.data";
18
+
19
+ /** One floor. */
20
+ export interface FloorRow {
21
+ /** The constant's name, `CI_IMAGE_FLOOR`. */
22
+ name: string;
23
+ /** The first chant release with the part. A floor not yet released has the next release's number. */
24
+ version: string;
25
+ /** What the floor gates: the first sentence of the constant's doc comment. */
26
+ gates: string;
27
+ /** The issue that added it, `#4784`, or a product's (`terragucci issue 1303`). */
28
+ issue?: string;
29
+ /** The file under packages/core/src that declares it. */
30
+ file: string;
31
+ /** The `@intentius/chant` subpaths a product can import the constant from. */
32
+ modules: readonly string[];
33
+ }
34
+
35
+ /** Every floor, in the order the files declare them. Two files may declare the same name; each is a row. */
36
+ export const FLOOR_TABLE: readonly FloorRow[] = FLOOR_ROWS;
37
+
38
+ /** The rows named `name`: one, or more when two files declare it. */
39
+ export function floorRows(name: string): FloorRow[] {
40
+ return FLOOR_TABLE.filter((r) => r.name === name);
41
+ }
42
+
43
+ /**
44
+ * The version a product must reach for the floor `name`, or undefined when no
45
+ * file declares it. When two files declare the name, the higher version, so a
46
+ * check that passes holds for either.
47
+ */
48
+ export function floorVersion(name: string): string | undefined {
49
+ const rows = floorRows(name);
50
+ return rows.length === 0 ? undefined : rows.map((r) => r.version).reduce((a, b) => (compareChantVersions(a, b) >= 0 ? a : b));
51
+ }
52
+
53
+ /** A version's numbers, `0.124.84` as [0, 124, 84]; a pre-release or build suffix is dropped. */
54
+ function parts(v: string): number[] {
55
+ return v
56
+ .replace(/^v/, "")
57
+ .split(/[-+]/)[0]
58
+ .split(".")
59
+ .map((n) => Number.parseInt(n, 10) || 0);
60
+ }
61
+
62
+ /** Negative when `a` is older than `b`, 0 when equal, positive when newer. */
63
+ export function compareChantVersions(a: string, b: string): number {
64
+ const x = parts(a);
65
+ const y = parts(b);
66
+ for (let i = 0; i < Math.max(x.length, y.length); i++) {
67
+ const d = (x[i] ?? 0) - (y[i] ?? 0);
68
+ if (d !== 0) return d;
69
+ }
70
+ return 0;
71
+ }
72
+
73
+ /** Whether chant `version` has the part the floor `name` gates; false for a name no file declares. */
74
+ export function chantMeets(version: string, name: string): boolean {
75
+ const floor = floorVersion(name);
76
+ return floor !== undefined && compareChantVersions(version, floor) >= 0;
77
+ }
@@ -0,0 +1,110 @@
1
+ /**
2
+ * #4800 — the forge target from a product's flags: the overrides
3
+ * `forgeTargetFromEnv` takes, and `forgeTargetFromFlags` checking the flags
4
+ * SQL Yodeler, terragucci and plywood each checked themselves.
5
+ */
6
+
7
+ import { describe, expect, test } from "vitest";
8
+ import { apiBaseOf, ForgeFlagError, forgeFlagHints, forgeTargetFromFlags, forgeTargetOptionsFromFlags, forgeTargetWith } from "./forge-flags";
9
+ import { ForgeEnvironmentError } from "./pr-forge";
10
+
11
+ const SHA = "a".repeat(40);
12
+
13
+ describe("forgeTargetWith (#4800)", () => {
14
+ const job = {
15
+ GITHUB_ACTIONS: "true",
16
+ GITHUB_REPOSITORY: "acme/infra",
17
+ GITHUB_SERVER_URL: "https://github.com",
18
+ GITHUB_API_URL: "https://api.github.com",
19
+ GITHUB_RUN_ID: "77",
20
+ GITHUB_SHA: SHA,
21
+ GITHUB_EVENT_PATH: "/event.json",
22
+ GITHUB_TOKEN: "t",
23
+ };
24
+ const readFile = () => JSON.stringify({ pull_request: { number: 12, head: { sha: "b".repeat(40) } } });
25
+
26
+ test("--repo and --pr over the job's, the event left unread, the run still the job's", () => {
27
+ const t = forgeTargetWith(job, { repo: "acme/db", pr: 3, readFile });
28
+ expect(t).toMatchObject({ kind: "github", repo: "acme/db", pr: 3, sha: SHA, apiBase: "https://api.github.com", host: "github.com", runUrl: "https://github.com/acme/infra/actions/runs/77" });
29
+ });
30
+
31
+ test("--url gives the host and the REST base on each forge", () => {
32
+ const env = { GITHUB_TOKEN: "t", GITLAB_TOKEN: "g", FORGEJO_TOKEN: "f" };
33
+ expect(forgeTargetWith(env, { kind: "github", repo: "a/b", url: "https://github.com/" })).toMatchObject({ apiBase: "https://api.github.com", host: "github.com" });
34
+ expect(forgeTargetWith(env, { kind: "github", repo: "a/b", url: "https://ghe.example" })).toMatchObject({ apiBase: "https://ghe.example/api/v3", host: "ghe.example" });
35
+ expect(forgeTargetWith(env, { kind: "forgejo", repo: "a/b", url: "http://forgejo:3000" })).toMatchObject({ apiBase: "http://forgejo:3000/api/v1", host: "forgejo:3000" });
36
+ expect(forgeTargetWith(env, { kind: "gitlab", repo: "g/p", url: "https://gl.example" })).toMatchObject({ apiBase: "https://gl.example/api/v4", host: "gl.example", tokenSource: "GITLAB_TOKEN" });
37
+ });
38
+
39
+ test("--url replaces the job's API, which belongs to the job's own forge", () => {
40
+ const t = forgeTargetWith({ ...job, GITHUB_API_URL: "https://api.github.com" }, { url: "https://ghe.example", readFile });
41
+ expect(t).toMatchObject({ apiBase: "https://ghe.example/api/v3", host: "ghe.example" });
42
+ });
43
+
44
+ test("--api-url alone gives the host too", () => {
45
+ expect(forgeTargetWith({ GITHUB_TOKEN: "t" }, { kind: "github", repo: "a/b", apiUrl: "https://ghe.example/api/v3/" })).toMatchObject({ apiBase: "https://ghe.example/api/v3", host: "ghe.example" });
46
+ expect(forgeTargetWith({ GITHUB_TOKEN: "t" }, { kind: "github", repo: "a/b", apiUrl: "https://api.github.com" }).host).toBe("github.com");
47
+ });
48
+
49
+ test("GitLab: --repo, --pr and --api-url over a merge request pipeline's", () => {
50
+ const t = forgeTargetWith(
51
+ { GITLAB_CI: "true", CI_API_V4_URL: "https://gitlab.com/api/v4", CI_SERVER_HOST: "gitlab.com", CI_MERGE_REQUEST_PROJECT_ID: "1", CI_MERGE_REQUEST_IID: "2", GITLAB_TOKEN: "g" },
52
+ { repo: "99", pr: 7, apiUrl: "https://gl.example/api/v4" },
53
+ );
54
+ expect(t).toMatchObject({ repo: "99", pr: 7, apiBase: "https://gl.example/api/v4", host: "gl.example" });
55
+ });
56
+
57
+ test("tokenOptional: a target with an empty token reads a public repository", () => {
58
+ expect(() => forgeTargetWith({}, { kind: "github", repo: "a/b" })).toThrow(ForgeEnvironmentError);
59
+ expect(forgeTargetWith({}, { kind: "github", repo: "a/b", tokenOptional: true })).toMatchObject({ token: "", tokenSource: "" });
60
+ });
61
+
62
+ test("apiBaseOf, terragucci's apiBase", () => {
63
+ expect(apiBaseOf("github", "https://github.com")).toBe("https://api.github.com");
64
+ expect(apiBaseOf("github", "https://ghe.example/")).toBe("https://ghe.example/api/v3");
65
+ expect(apiBaseOf("gitlab", "https://gitlab.com")).toBe("https://gitlab.com/api/v4");
66
+ expect(apiBaseOf("forgejo", "https://codeberg.org")).toBe("https://codeberg.org/api/v1");
67
+ });
68
+
69
+ test("with no overrides the target is as before", () => {
70
+ expect(forgeTargetWith(job, { readFile })).toMatchObject({ repo: "acme/infra", pr: 12, sha: "b".repeat(40) });
71
+ });
72
+ });
73
+
74
+ describe("forgeTargetFromFlags (#4800)", () => {
75
+ test("checks the flags as a command line gives them", () => {
76
+ expect(() => forgeTargetOptionsFromFlags({ forge: "bitbucket" })).toThrow('--forge must be one of github, gitlab, forgejo, got "bitbucket"');
77
+ expect(() => forgeTargetOptionsFromFlags({ pr: "0" })).toThrow('--pr must be a pull request number, got "0"');
78
+ expect(() => forgeTargetOptionsFromFlags({ url: "gitlab.example" })).toThrow(ForgeFlagError);
79
+ expect(forgeTargetOptionsFromFlags({ forge: "gitlab", repo: " g/p ", pr: "4", apiUrl: "https://gl/api/v4", tokenEnv: "MY", url: "" })).toEqual({ kind: "gitlab", repo: "g/p", pr: 4, apiUrl: "https://gl/api/v4", tokenEnv: "MY" });
80
+ });
81
+
82
+ test("outside CI, the flags are the whole target", () => {
83
+ const t = forgeTargetFromFlags({ forge: "forgejo", repo: "a/b", pr: "9", url: "https://codeberg.org" }, { FORGEJO_TOKEN: "f" }, { requirePr: true });
84
+ expect(t).toMatchObject({ kind: "forgejo", repo: "a/b", pr: 9, apiBase: "https://codeberg.org/api/v1", host: "codeberg.org", tokenSource: "FORGEJO_TOKEN" });
85
+ });
86
+
87
+ test("a token the product holds, from its own config", () => {
88
+ const t = forgeTargetFromFlags({ forge: "gitlab", repo: "g/p", url: "https://gitlab.com", token: "tg" }, {});
89
+ expect(t).toMatchObject({ token: "tg", tokenSource: "the token given", tokenHeader: "PRIVATE-TOKEN" });
90
+ });
91
+
92
+ test("an unknown forge, and the hints for what is missing", () => {
93
+ let unknown: unknown;
94
+ try {
95
+ forgeTargetFromFlags({}, {});
96
+ } catch (e) {
97
+ unknown = e;
98
+ }
99
+ expect(unknown).toBeInstanceOf(ForgeEnvironmentError);
100
+ expect(forgeFlagHints(unknown as ForgeEnvironmentError, { requirePr: true })).toEqual(["outside CI pass --forge github|gitlab|forgejo, --repo, --pr and --api-url"]);
101
+ let missing: unknown;
102
+ try {
103
+ forgeTargetFromFlags({ forge: "github" }, {}, { requirePr: true });
104
+ } catch (e) {
105
+ missing = e;
106
+ }
107
+ expect((missing as ForgeEnvironmentError).missing).toEqual(["GITHUB_REPOSITORY", "a pull request (a pull_request event, or refs/pull/<n>/ in GITHUB_REF)", "a token (CHANT_GITHUB_TOKEN, GH_TOKEN, GITHUB_TOKEN)"]);
108
+ expect(forgeFlagHints(missing as ForgeEnvironmentError, { requirePr: true })).toEqual(["outside CI pass --repo, --pr and --api-url", "name another token variable with --token-env"]);
109
+ });
110
+ });