@intentius/chant 0.124.87 → 0.124.88

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 (342) hide show
  1. package/dist/action-pins.d.ts +1 -0
  2. package/dist/action-pins.d.ts.map +1 -1
  3. package/dist/action-pins.js +2 -0
  4. package/dist/actor.d.ts +12 -0
  5. package/dist/actor.d.ts.map +1 -0
  6. package/dist/actor.js +18 -0
  7. package/dist/bundle-check.d.ts +20 -5
  8. package/dist/bundle-check.d.ts.map +1 -1
  9. package/dist/bundle-check.js +20 -5
  10. package/dist/chant-install.d.ts +98 -0
  11. package/dist/chant-install.d.ts.map +1 -1
  12. package/dist/chant-install.js +204 -2
  13. package/dist/ci-commit.d.ts +1 -1
  14. package/dist/ci-commit.d.ts.map +1 -1
  15. package/dist/ci-commit.js +1 -2
  16. package/dist/ci-control.d.ts +1 -1
  17. package/dist/ci-control.d.ts.map +1 -1
  18. package/dist/ci-control.js +1 -1
  19. package/dist/ci-evidence-claims.d.ts +59 -0
  20. package/dist/ci-evidence-claims.d.ts.map +1 -0
  21. package/dist/ci-evidence-claims.js +87 -0
  22. package/dist/ci-evidence-from-job.d.ts +103 -0
  23. package/dist/ci-evidence-from-job.d.ts.map +1 -0
  24. package/dist/ci-evidence-from-job.js +162 -0
  25. package/dist/ci-evidence-jobs.d.ts +39 -4
  26. package/dist/ci-evidence-jobs.d.ts.map +1 -1
  27. package/dist/ci-evidence-jobs.js +38 -4
  28. package/dist/ci-handover.d.ts +12 -0
  29. package/dist/ci-handover.d.ts.map +1 -1
  30. package/dist/ci-handover.js +15 -3
  31. package/dist/ci-identity.d.ts +32 -6
  32. package/dist/ci-identity.d.ts.map +1 -1
  33. package/dist/ci-identity.js +40 -8
  34. package/dist/ci-image.d.ts +47 -9
  35. package/dist/ci-image.d.ts.map +1 -1
  36. package/dist/ci-image.js +45 -18
  37. package/dist/ci-jobs.d.ts +1 -1
  38. package/dist/ci-jobs.d.ts.map +1 -1
  39. package/dist/ci-jobs.js +7 -2
  40. package/dist/ci-login.d.ts +75 -13
  41. package/dist/ci-login.d.ts.map +1 -1
  42. package/dist/ci-login.js +89 -37
  43. package/dist/ci-product-words.d.ts +20 -1
  44. package/dist/ci-product-words.d.ts.map +1 -1
  45. package/dist/ci-product-words.js +27 -1
  46. package/dist/ci-product.d.ts +21 -2
  47. package/dist/ci-product.d.ts.map +1 -1
  48. package/dist/ci-product.js +21 -2
  49. package/dist/cli/handlers/approve-confirm.d.ts +14 -0
  50. package/dist/cli/handlers/approve-confirm.d.ts.map +1 -1
  51. package/dist/cli/handlers/approve-confirm.js +46 -0
  52. package/dist/cli/handlers/build.d.ts +1 -1
  53. package/dist/cli/handlers/build.d.ts.map +1 -1
  54. package/dist/cli/handlers/build.js +22 -1
  55. package/dist/cli/handlers/ci-check.d.ts.map +1 -1
  56. package/dist/cli/handlers/ci-check.js +21 -1
  57. package/dist/cli/handlers/ci-evidence.d.ts.map +1 -1
  58. package/dist/cli/handlers/ci-evidence.js +227 -18
  59. package/dist/cli/handlers/ci-forge-check.d.ts.map +1 -1
  60. package/dist/cli/handlers/ci-forge-check.js +34 -17
  61. package/dist/cli/handlers/generated-check.d.ts +3 -0
  62. package/dist/cli/handlers/generated-check.d.ts.map +1 -0
  63. package/dist/cli/handlers/generated-check.js +41 -0
  64. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  65. package/dist/cli/handlers/lifecycle.js +3 -0
  66. package/dist/cli/handlers/local-chant.d.ts +13 -0
  67. package/dist/cli/handlers/local-chant.d.ts.map +1 -1
  68. package/dist/cli/handlers/local-chant.js +42 -1
  69. package/dist/cli/handlers/pr.d.ts.map +1 -1
  70. package/dist/cli/handlers/pr.js +42 -5
  71. package/dist/cli/handlers/run-wave.js +8 -0
  72. package/dist/cli/main.d.ts.map +1 -1
  73. package/dist/cli/main.js +38 -4
  74. package/dist/cli/parse-args.d.ts.map +1 -1
  75. package/dist/cli/parse-args.js +66 -0
  76. package/dist/cli/registry.d.ts +24 -0
  77. package/dist/cli/registry.d.ts.map +1 -1
  78. package/dist/components/check-hooks.d.ts +10 -0
  79. package/dist/components/check-hooks.d.ts.map +1 -1
  80. package/dist/components/check-hooks.js +18 -0
  81. package/dist/components/pr-checks.d.ts +105 -0
  82. package/dist/components/pr-checks.d.ts.map +1 -0
  83. package/dist/components/pr-checks.js +119 -0
  84. package/dist/components/pr-pipeline.d.ts +34 -0
  85. package/dist/components/pr-pipeline.d.ts.map +1 -1
  86. package/dist/components/pr-pipeline.js +14 -1
  87. package/dist/components/product-pipeline.d.ts +16 -1
  88. package/dist/components/product-pipeline.d.ts.map +1 -1
  89. package/dist/components/product-pipeline.js +17 -2
  90. package/dist/components/product-plan.d.ts +257 -4
  91. package/dist/components/product-plan.d.ts.map +1 -1
  92. package/dist/components/product-plan.js +241 -11
  93. package/dist/config.d.ts +10 -6
  94. package/dist/config.d.ts.map +1 -1
  95. package/dist/config.js +11 -6
  96. package/dist/control/consumers.d.ts +6 -0
  97. package/dist/control/consumers.d.ts.map +1 -1
  98. package/dist/control/consumers.js +6 -0
  99. package/dist/dead-guards.d.ts.map +1 -1
  100. package/dist/dead-guards.js +9 -6
  101. package/dist/discovery/files.d.ts +1 -1
  102. package/dist/discovery/files.js +1 -1
  103. package/dist/drift-issue.d.ts +20 -3
  104. package/dist/drift-issue.d.ts.map +1 -1
  105. package/dist/drift-issue.js +16 -0
  106. package/dist/drift-record.d.ts +45 -5
  107. package/dist/drift-record.d.ts.map +1 -1
  108. package/dist/drift-record.js +27 -6
  109. package/dist/floor-table.d.ts +6 -6
  110. package/dist/floor-table.d.ts.map +1 -1
  111. package/dist/floor-table.data.d.ts.map +1 -1
  112. package/dist/floor-table.data.js +58 -21
  113. package/dist/floor-table.js +10 -7
  114. package/dist/forge-check/contract.d.ts +8 -0
  115. package/dist/forge-check/contract.d.ts.map +1 -1
  116. package/dist/forge-check/contract.js +4 -1
  117. package/dist/forge-check/index.d.ts +2 -0
  118. package/dist/forge-check/index.d.ts.map +1 -1
  119. package/dist/forge-check/index.js +2 -0
  120. package/dist/forge-flags.d.ts +10 -0
  121. package/dist/forge-flags.d.ts.map +1 -1
  122. package/dist/forge-flags.js +31 -0
  123. package/dist/forge-remote.d.ts +47 -0
  124. package/dist/forge-remote.d.ts.map +1 -0
  125. package/dist/forge-remote.js +69 -0
  126. package/dist/generated-check.d.ts +74 -0
  127. package/dist/generated-check.d.ts.map +1 -0
  128. package/dist/generated-check.js +216 -0
  129. package/dist/lexicon.d.ts +16 -0
  130. package/dist/lexicon.d.ts.map +1 -1
  131. package/dist/lifecycle/publish-npm.d.ts +15 -0
  132. package/dist/lifecycle/publish-npm.d.ts.map +1 -1
  133. package/dist/lifecycle/publish-npm.js +49 -3
  134. package/dist/lifecycle/release-images.d.ts +22 -1
  135. package/dist/lifecycle/release-images.d.ts.map +1 -1
  136. package/dist/lifecycle/release-images.js +27 -3
  137. package/dist/lifecycle/release-ledger.d.ts +4 -3
  138. package/dist/lifecycle/release-ledger.d.ts.map +1 -1
  139. package/dist/lifecycle/release-ledger.js +3 -2
  140. package/dist/local-chant.d.ts +57 -3
  141. package/dist/local-chant.d.ts.map +1 -1
  142. package/dist/local-chant.js +122 -13
  143. package/dist/op/op-waves-evidence-jobs.d.ts +92 -0
  144. package/dist/op/op-waves-evidence-jobs.d.ts.map +1 -0
  145. package/dist/op/op-waves-evidence-jobs.js +112 -0
  146. package/dist/op/op-waves-evidence.d.ts +12 -1
  147. package/dist/op/op-waves-evidence.d.ts.map +1 -1
  148. package/dist/op/op-waves-evidence.js +23 -2
  149. package/dist/op/op-waves-run.d.ts +12 -1
  150. package/dist/op/op-waves-run.d.ts.map +1 -1
  151. package/dist/op/op-waves-run.js +54 -3
  152. package/dist/op/op-waves.d.ts +8 -0
  153. package/dist/op/op-waves.d.ts.map +1 -1
  154. package/dist/op/op-waves.js +10 -0
  155. package/dist/op/schedule-overdue.d.ts +39 -2
  156. package/dist/op/schedule-overdue.d.ts.map +1 -1
  157. package/dist/op/schedule-overdue.js +89 -7
  158. package/dist/pr-forge-reads.d.ts +21 -1
  159. package/dist/pr-forge-reads.d.ts.map +1 -1
  160. package/dist/pr-forge-reads.js +19 -1
  161. package/dist/pr-forge.d.ts +7 -1
  162. package/dist/pr-forge.d.ts.map +1 -1
  163. package/dist/pr-forge.js +7 -2
  164. package/dist/pr-plan-note.d.ts +24 -0
  165. package/dist/pr-plan-note.d.ts.map +1 -1
  166. package/dist/pr-plan-note.js +11 -1
  167. package/dist/pr-plan-record.d.ts +47 -0
  168. package/dist/pr-plan-record.d.ts.map +1 -0
  169. package/dist/pr-plan-record.js +89 -0
  170. package/dist/pr-post.d.ts +40 -0
  171. package/dist/pr-post.d.ts.map +1 -1
  172. package/dist/pr-post.js +79 -6
  173. package/dist/pr-requires.d.ts +8 -0
  174. package/dist/pr-requires.d.ts.map +1 -1
  175. package/dist/pr-requires.js +3 -1
  176. package/dist/ref-gate-init.d.ts +76 -0
  177. package/dist/ref-gate-init.d.ts.map +1 -0
  178. package/dist/ref-gate-init.js +144 -0
  179. package/dist/ref-gate-rules.d.ts +19 -0
  180. package/dist/ref-gate-rules.d.ts.map +1 -0
  181. package/dist/ref-gate-rules.js +17 -0
  182. package/dist/release-floors.d.ts +64 -16
  183. package/dist/release-floors.d.ts.map +1 -1
  184. package/dist/release-floors.js +65 -17
  185. package/dist/state-migration.d.ts +24 -1
  186. package/dist/state-migration.d.ts.map +1 -1
  187. package/dist/state-migration.js +39 -3
  188. package/dist/state-unlock.d.ts +32 -1
  189. package/dist/state-unlock.d.ts.map +1 -1
  190. package/dist/state-unlock.js +31 -0
  191. package/dist/wave-runtime.mjs +292 -285
  192. package/dist/workspace/ci-green-cli.d.ts.map +1 -1
  193. package/dist/workspace/ci-green-cli.js +13 -7
  194. package/dist/workspace/drift-cli.d.ts +1 -1
  195. package/dist/workspace/drift-cli.d.ts.map +1 -1
  196. package/dist/workspace/drift-cli.js +5 -12
  197. package/dist/workspace/forge-work.d.ts +3 -2
  198. package/dist/workspace/forge-work.d.ts.map +1 -1
  199. package/dist/workspace/forge-work.js +7 -17
  200. package/dist/workspace/lexicon-outputs.js +2 -2
  201. package/dist/workspace/release-workflow.d.ts +26 -3
  202. package/dist/workspace/release-workflow.d.ts.map +1 -1
  203. package/dist/workspace/release-workflow.js +48 -6
  204. package/dist/workspace/trust/check-evidence-report.d.ts +18 -0
  205. package/dist/workspace/trust/check-evidence-report.d.ts.map +1 -1
  206. package/dist/workspace/trust/check-evidence-report.js +13 -0
  207. package/dist/workspace/trust/check-evidence.d.ts +13 -1
  208. package/dist/workspace/trust/check-evidence.d.ts.map +1 -1
  209. package/dist/workspace/trust/check-evidence.js +8 -3
  210. package/dist/workspace/trust/evidence.d.ts +5 -0
  211. package/dist/workspace/trust/evidence.d.ts.map +1 -1
  212. package/dist/workspace/trust/evidence.js +5 -0
  213. package/dist/workspace/trust/open-evidence.d.ts +67 -0
  214. package/dist/workspace/trust/open-evidence.d.ts.map +1 -0
  215. package/dist/workspace/trust/open-evidence.js +92 -0
  216. package/dist/workspace/trust/ref-gate-cli.d.ts.map +1 -1
  217. package/dist/workspace/trust/ref-gate-cli.js +65 -3
  218. package/dist/workspace/trust/ref-gate.d.ts +61 -2
  219. package/dist/workspace/trust/ref-gate.d.ts.map +1 -1
  220. package/dist/workspace/trust/ref-gate.js +72 -7
  221. package/package.json +1 -1
  222. package/src/action-pins.ts +2 -0
  223. package/src/actor.test.ts +12 -0
  224. package/src/actor.ts +19 -0
  225. package/src/bundle-check.test.ts +22 -0
  226. package/src/bundle-check.ts +33 -5
  227. package/src/chant-install.test.ts +109 -1
  228. package/src/chant-install.ts +243 -2
  229. package/src/ci-commit.test.ts +51 -5
  230. package/src/ci-commit.ts +1 -2
  231. package/src/ci-control.ts +1 -0
  232. package/src/ci-evidence-claims.ts +102 -0
  233. package/src/ci-evidence-from-job.test.ts +147 -0
  234. package/src/ci-evidence-from-job.ts +195 -0
  235. package/src/ci-evidence-jobs.ts +41 -4
  236. package/src/ci-handover.ts +16 -3
  237. package/src/ci-identity.test.ts +3 -3
  238. package/src/ci-identity.ts +51 -11
  239. package/src/ci-image.test.ts +60 -10
  240. package/src/ci-image.ts +78 -19
  241. package/src/ci-jobs.ts +7 -2
  242. package/src/ci-login.test.ts +131 -3
  243. package/src/ci-login.token-drop.test.ts +204 -0
  244. package/src/ci-login.ts +137 -39
  245. package/src/ci-product-words.ts +30 -0
  246. package/src/ci-product.ts +26 -1
  247. package/src/cli/commands/__fixtures__/source-dir-root/migrations/0001-init/backfill.ts +3 -0
  248. package/src/cli/handlers/approve-confirm.test.ts +35 -0
  249. package/src/cli/handlers/approve-confirm.ts +44 -0
  250. package/src/cli/handlers/build-source-dir.test.ts +4 -0
  251. package/src/cli/handlers/build.ts +20 -2
  252. package/src/cli/handlers/ci-check.ts +19 -1
  253. package/src/cli/handlers/ci-evidence-open.test.ts +164 -0
  254. package/src/cli/handlers/ci-evidence.ts +210 -16
  255. package/src/cli/handlers/ci-forge-check.ts +22 -9
  256. package/src/cli/handlers/generated-check.ts +39 -0
  257. package/src/cli/handlers/lifecycle.test.ts +20 -0
  258. package/src/cli/handlers/lifecycle.ts +4 -0
  259. package/src/cli/handlers/local-chant.ts +39 -1
  260. package/src/cli/handlers/pr.ts +43 -5
  261. package/src/cli/handlers/run-wave.ts +7 -0
  262. package/src/cli/main.ts +38 -4
  263. package/src/cli/parse-args.ts +46 -0
  264. package/src/cli/registry.ts +24 -0
  265. package/src/components/check-hooks.ts +22 -0
  266. package/src/components/check-report-summary.test.ts +78 -0
  267. package/src/components/pr-checks.ts +159 -0
  268. package/src/components/pr-pipeline.ts +41 -1
  269. package/src/components/product-pipeline.ts +25 -3
  270. package/src/components/product-plan.test.ts +102 -1
  271. package/src/components/product-plan.ts +416 -15
  272. package/src/config.ts +13 -8
  273. package/src/control/consumers.ts +7 -0
  274. package/src/dead-guards.test.ts +27 -5
  275. package/src/dead-guards.ts +9 -6
  276. package/src/discovery/files.ts +1 -1
  277. package/src/drift-issue.test.ts +29 -1
  278. package/src/drift-issue.ts +28 -3
  279. package/src/drift-record.test.ts +25 -0
  280. package/src/drift-record.ts +55 -6
  281. package/src/floor-table.data.ts +58 -21
  282. package/src/floor-table.ts +12 -9
  283. package/src/forge-check/contract.ts +11 -1
  284. package/src/forge-check/forge-check.test.ts +8 -0
  285. package/src/forge-check/index.ts +2 -0
  286. package/src/forge-flags.test.ts +25 -1
  287. package/src/forge-flags.ts +34 -0
  288. package/src/forge-remote.test.ts +37 -0
  289. package/src/forge-remote.ts +79 -0
  290. package/src/generated-check.e2e.test.ts +98 -0
  291. package/src/generated-check.test.ts +104 -0
  292. package/src/generated-check.ts +269 -0
  293. package/src/lexicon.ts +17 -0
  294. package/src/lifecycle/publish-npm.ts +56 -3
  295. package/src/lifecycle/release-catalog.test.ts +2 -2
  296. package/src/lifecycle/release-images-dockerfile.test.ts +20 -0
  297. package/src/lifecycle/release-images.test.ts +44 -0
  298. package/src/lifecycle/release-images.ts +39 -3
  299. package/src/lifecycle/release-ledger.ts +4 -3
  300. package/src/local-chant.e2e.test.ts +81 -6
  301. package/src/local-chant.test.ts +22 -3
  302. package/src/local-chant.ts +130 -13
  303. package/src/op/op-waves-evidence-jobs.ts +134 -0
  304. package/src/op/op-waves-evidence.test.ts +36 -3
  305. package/src/op/op-waves-evidence.ts +23 -3
  306. package/src/op/op-waves-run.ts +57 -2
  307. package/src/op/op-waves.ts +11 -0
  308. package/src/op/schedule-overdue.test.ts +83 -1
  309. package/src/op/schedule-overdue.ts +107 -9
  310. package/src/pr-forge-reads-compare.test.ts +2 -1
  311. package/src/pr-forge-reads.ts +37 -1
  312. package/src/pr-forge.ts +14 -3
  313. package/src/pr-plan-note.ts +32 -3
  314. package/src/pr-plan-record.test.ts +75 -0
  315. package/src/pr-plan-record.ts +101 -0
  316. package/src/pr-post-plan-note.test.ts +60 -0
  317. package/src/pr-post.test.ts +30 -0
  318. package/src/pr-post.ts +110 -6
  319. package/src/pr-requires.test.ts +20 -0
  320. package/src/pr-requires.ts +10 -1
  321. package/src/ref-gate-init.ts +189 -0
  322. package/src/ref-gate-rules.ts +26 -0
  323. package/src/release-floors.ts +86 -17
  324. package/src/state-migration-record.test.ts +90 -0
  325. package/src/state-migration.test.ts +1 -1
  326. package/src/state-migration.ts +52 -3
  327. package/src/state-unlock.test.ts +33 -1
  328. package/src/state-unlock.ts +49 -1
  329. package/src/workspace/ci-green-cli.ts +12 -6
  330. package/src/workspace/drift-cli.ts +6 -18
  331. package/src/workspace/forge-work.ts +7 -14
  332. package/src/workspace/lexicon-outputs.ts +2 -2
  333. package/src/workspace/release-workflow.test.ts +70 -0
  334. package/src/workspace/release-workflow.ts +56 -8
  335. package/src/workspace/trust/check-evidence-report.ts +24 -0
  336. package/src/workspace/trust/check-evidence.ts +17 -5
  337. package/src/workspace/trust/evidence.ts +5 -0
  338. package/src/workspace/trust/open-evidence.ts +129 -0
  339. package/src/workspace/trust/ref-gate-cli.ts +59 -3
  340. package/src/workspace/trust/ref-gate-pieces.test.ts +175 -0
  341. package/src/workspace/trust/ref-gate.e2e.test.ts +17 -0
  342. package/src/workspace/trust/ref-gate.ts +87 -6
@@ -64,6 +64,22 @@ export function driftIssueFingerprint(records, statuses = DRIFT_ISSUE_STATUSES)
64
64
  .join("\n");
65
65
  return createHash("sha256").update(text, "utf8").digest("hex").slice(0, 16);
66
66
  }
67
+ /**
68
+ * A run's fingerprint over several stacks (#4896), for the drift notice a
69
+ * run sends (`driftNotifyFields`'s `fingerprint` on
70
+ * `@intentius/chant/ci-product`): each stack that has drift, as its name and
71
+ * its {@link driftIssueFingerprint}, sorted and hashed. A stack with no
72
+ * drift record is left out, so a clean stack, or one whose read failed and
73
+ * gave no records, does not move it. 16 hex digits of a SHA-256, the value
74
+ * plywood's notices carried before chant computed it.
75
+ */
76
+ export function driftRunFingerprint(stacks, statuses = DRIFT_ISSUE_STATUSES) {
77
+ const parts = stacks
78
+ .filter((s) => driftIssueRecords(s.records, statuses).length > 0)
79
+ .map((s) => `${s.stack}\t${driftIssueFingerprint(s.records, statuses)}`)
80
+ .sort();
81
+ return createHash("sha256").update(parts.join("\n")).digest("hex").slice(0, 16);
82
+ }
67
83
  /** The issue's body: the marker, the product's intro, the table, what could not be read, the notes, the advice, the run, the fingerprint. */
68
84
  export function driftIssueBody(input, fingerprint = driftIssueFingerprint(input.records, input.statuses)) {
69
85
  const { words } = input;
@@ -43,7 +43,8 @@
43
43
  *
44
44
  * ## Adapters
45
45
  *
46
- * The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords}),
46
+ * The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords},
47
+ * and {@link lexiconDriftRecords} for one lexicon's whole section, #4896),
47
48
  * deep observe ({@link deepDiffDriftRecords}, {@link mergeDeepDrift}) and
48
49
  * component status ({@link componentStatusDriftRecords}). The terraform and
49
50
  * choudoufu ones live in the terraform lexicon's `drift-record` subpath,
@@ -444,19 +445,30 @@ export declare function placeDriftRecord(input: Pick<DriftAdapterBase, "member"
444
445
  node: string | null;
445
446
  instanceOf?: string;
446
447
  };
448
+ /**
449
+ * What a declared entity the provider confirmed absent (the live diff's
450
+ * `missing`) is, when no snapshot says it was deployed (#4896). `pending`,
451
+ * the default, reads it as not deployed yet. `missing` reads it as gone,
452
+ * which is what a SQL server lacking a declared table means: the sql
453
+ * lexicon declares it (`LexiconPlugin.liveAbsentStatus`), and
454
+ * `chant lifecycle diff --live --json` writes it as the section's `absent`.
455
+ */
456
+ export type LiveAbsentStatus = Extract<DriftStatus, "pending" | "missing">;
447
457
  export interface LiveDiffDriftInput extends DriftAdapterBase {
448
458
  /** `chant lifecycle diff --live --json`, parsed. */
449
459
  diff: LiveDiffResult;
450
460
  /** Entity types by name, for the records whose diff row carries none. */
451
461
  types?: Record<string, string>;
462
+ /** The status of a `missing` entity, default `pending` ({@link LiveAbsentStatus}). */
463
+ absent?: LiveAbsentStatus;
452
464
  }
453
465
  /**
454
466
  * A chant member's records, from `lifecycle diff --live`: `unchanged` and
455
467
  * `newlyObserved` are in-sync, `driftedSinceSnapshot` drifted (before is the
456
- * snapshot, after the read), `missing` pending, `disappeared` missing,
457
- * `orphan` undeclared, `runtimeChildren` runtime, `unobserved` not-observed.
458
- * An entity in both `missing` and `disappeared` was deployed and is gone,
459
- * so it is missing.
468
+ * snapshot, after the read), `missing` pending (or `input.absent`),
469
+ * `disappeared` missing, `orphan` undeclared, `runtimeChildren` runtime,
470
+ * `unobserved` not-observed. An entity in both `missing` and `disappeared`
471
+ * was deployed and is gone, so it is missing.
460
472
  */
461
473
  export declare function liveDiffDriftRecords(input: LiveDiffDriftInput): DriftRecord[];
462
474
  export interface DeepDiffDriftInput extends DriftAdapterBase {
@@ -488,6 +500,34 @@ export declare function deepDiffDriftRecords(input: DeepDiffDriftInput): DriftRe
488
500
  * thin record are added as they are.
489
501
  */
490
502
  export declare function mergeDeepDrift(thin: Iterable<DriftRecord>, deep: Iterable<DriftRecord>): DriftRecord[];
503
+ /**
504
+ * One lexicon's section of `chant lifecycle diff --live --json`
505
+ * (`lexicons.<name>`, or `stacks.<stack>.<name>`), as far as its drift
506
+ * records read it.
507
+ */
508
+ export interface LiveDiffLexiconSection {
509
+ resources?: LiveDiffResult;
510
+ /** The live state per entity; its `type` names a record's resource type. */
511
+ observed?: Record<string, {
512
+ type?: unknown;
513
+ }>;
514
+ deep?: DeepDiffResult;
515
+ /** What a confirmed-absent entity is, when the lexicon says (#4896). Left out, `pending`. */
516
+ absent?: LiveAbsentStatus;
517
+ }
518
+ export interface LexiconDriftInput extends DriftAdapterBase {
519
+ section: LiveDiffLexiconSection;
520
+ }
521
+ /**
522
+ * One lexicon's drift records from its section of `lifecycle diff --live
523
+ * --json` (#4896): {@link liveDiffDriftRecords} over `resources`, with the
524
+ * types `observed` names and the section's `absent`, and the deep read laid
525
+ * over it with {@link mergeDeepDrift}. `chant workspace drift` reads a chant
526
+ * member this way, and a product that runs the diff itself (SQL Yodeler
527
+ * reads `lexicons.sql`) gets the same records. A section with no
528
+ * `resources` has none.
529
+ */
530
+ export declare function lexiconDriftRecords(input: LexiconDriftInput): DriftRecord[];
491
531
  export interface ComponentStatusDriftInput extends DriftAdapterBase {
492
532
  /** `chant components status [env] --json`'s rows. */
493
533
  rows: readonly ComponentStatusRow[];
@@ -1 +1 @@
1
- {"version":3,"file":"drift-record.d.ts","sourceRoot":"","sources":["../src/drift-record.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AAEH,OAAO,EAAgB,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAsB,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAG1E,sDAAsD;AACtD,eAAO,MAAM,eAAe,4EAA4E,CAAC;AAEzG,8BAA8B;AAC9B,eAAO,MAAM,aAAa,OAAO,CAAC;AAElC;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEtD,sGAAsG;AACtG,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,gBAAgB,CAElE;AAaD,wDAAwD;AACxD,eAAO,MAAM,aAAa,EAAwC,SAAS,WAAW,EAAE,CAAC;AAEzF;;;;;;;;;GASG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAIjF,sDAAsD;AACtD,eAAO,MAAM,WAAW,EAAsC,SAAS,SAAS,EAAE,CAAC;AAEnF;;;;;;;;;;;;;GAaG;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AAS,kBAAkB,EAAE,CAAC;CACrC;AAED;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,yBAAyB,GAAG,WAAW,EAAE,CA4B3F;AAID;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,yFAAyF;IACzF,MAAM,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,+EAA+E;IAC/E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,oFAAoF;AACpF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,eAAe,CAAC;AAEjG;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE;QAAE,IAAI,EAAE,oBAAoB,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC"}
@@ -43,7 +43,8 @@
43
43
  *
44
44
  * ## Adapters
45
45
  *
46
- * The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords}),
46
+ * The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords},
47
+ * and {@link lexiconDriftRecords} for one lexicon's whole section, #4896),
47
48
  * deep observe ({@link deepDiffDriftRecords}, {@link mergeDeepDrift}) and
48
49
  * component status ({@link componentStatusDriftRecords}). The terraform and
49
50
  * choudoufu ones live in the terraform lexicon's `drift-record` subpath,
@@ -736,10 +737,10 @@ function chantEvidence(input, command) {
736
737
  /**
737
738
  * A chant member's records, from `lifecycle diff --live`: `unchanged` and
738
739
  * `newlyObserved` are in-sync, `driftedSinceSnapshot` drifted (before is the
739
- * snapshot, after the read), `missing` pending, `disappeared` missing,
740
- * `orphan` undeclared, `runtimeChildren` runtime, `unobserved` not-observed.
741
- * An entity in both `missing` and `disappeared` was deployed and is gone,
742
- * so it is missing.
740
+ * snapshot, after the read), `missing` pending (or `input.absent`),
741
+ * `disappeared` missing, `orphan` undeclared, `runtimeChildren` runtime,
742
+ * `unobserved` not-observed. An entity in both `missing` and `disappeared`
743
+ * was deployed and is gone, so it is missing.
743
744
  */
744
745
  export function liveDiffDriftRecords(input) {
745
746
  const { diff } = input;
@@ -766,7 +767,7 @@ export function liveDiffDriftRecords(input) {
766
767
  for (const name of diff.disappeared ?? [])
767
768
  put(name, { status: "missing" });
768
769
  for (const name of diff.missing ?? [])
769
- put(name, { status: "pending" });
770
+ put(name, { status: input.absent ?? "pending" });
770
771
  for (const name of diff.orphan ?? [])
771
772
  put(name, { status: "undeclared" });
772
773
  for (const r of diff.runtimeChildren ?? [])
@@ -844,6 +845,26 @@ export function mergeDeepDrift(thin, deep) {
844
845
  }
845
846
  return [...out.values()].sort((a, b) => byString(key(a), key(b)));
846
847
  }
848
+ /**
849
+ * One lexicon's drift records from its section of `lifecycle diff --live
850
+ * --json` (#4896): {@link liveDiffDriftRecords} over `resources`, with the
851
+ * types `observed` names and the section's `absent`, and the deep read laid
852
+ * over it with {@link mergeDeepDrift}. `chant workspace drift` reads a chant
853
+ * member this way, and a product that runs the diff itself (SQL Yodeler
854
+ * reads `lexicons.sql`) gets the same records. A section with no
855
+ * `resources` has none.
856
+ */
857
+ export function lexiconDriftRecords(input) {
858
+ const { section, ...base } = input;
859
+ if (!section.resources)
860
+ return [];
861
+ const types = {};
862
+ for (const [name, meta] of Object.entries(section.observed ?? {}))
863
+ if (typeof meta?.type === "string")
864
+ types[name] = meta.type;
865
+ const thin = liveDiffDriftRecords({ ...base, diff: section.resources, types, ...(section.absent ? { absent: section.absent } : {}) });
866
+ return section.deep ? mergeDeepDrift(thin, deepDiffDriftRecords({ ...base, diff: section.deep })) : thin;
867
+ }
847
868
  /**
848
869
  * A member's records from component status, one per component, addressed
849
870
  * by component name: `reconciled` in-sync, `drifted` drifted, `stale`
@@ -8,19 +8,19 @@ export interface FloorRow {
8
8
  gates: string;
9
9
  /** The issue that added it, `#4784`, or a product's (`terragucci issue 1303`). */
10
10
  issue?: string;
11
- /** The file under packages/core/src that declares it. */
11
+ /** The file under packages/core/src that declares it, or a lexicon's floors file from the repository root (`lexicons/terraform/src/chant-floors.ts`). */
12
12
  file: string;
13
- /** The `@intentius/chant` subpaths a product can import the constant from. */
13
+ /** The subpaths a product can import the constant from: `@intentius/chant/...`, or the lexicon's own. */
14
14
  modules: readonly string[];
15
15
  }
16
- /** Every floor, in the order the files declare them. Two files may declare the same name; each is a row. */
16
+ /** Every floor, core's in the order its files declare them, then each lexicon's. */
17
17
  export declare const FLOOR_TABLE: readonly FloorRow[];
18
- /** The rows named `name`: one, or more when two files declare it. */
18
+ /** The rows named `name`: one, or none. A table a caller builds may hold more. */
19
19
  export declare function floorRows(name: string): FloorRow[];
20
20
  /**
21
21
  * The version a product must reach for the floor `name`, or undefined when no
22
- * file declares it. When two files declare the name, the higher version, so a
23
- * check that passes holds for either.
22
+ * file declares it. Should a name ever have two rows, the higher version, so
23
+ * a check that passes holds for either.
24
24
  */
25
25
  export declare function floorVersion(name: string): string | undefined;
26
26
  /** Negative when `a` is older than `b`, 0 when equal, positive when newer. */
@@ -1 +1 @@
1
- {"version":3,"file":"floor-table.d.ts","sourceRoot":"","sources":["../src/floor-table.ts"],"names":[],"mappings":"AAkBA,iBAAiB;AACjB,MAAM,WAAW,QAAQ;IACvB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,qGAAqG;IACrG,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IAC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AgB,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAQjE;AAED,sGAAsG;AACtG,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAGjE"}
@@ -1 +1 @@
1
- {"version":3,"file":"floor-table.data.d.ts","sourceRoot":"","sources":["../src/floor-table.data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EA8KzC,CAAC"}
1
+ {"version":3,"file":"floor-table.data.d.ts","sourceRoot":"","sources":["../src/floor-table.data.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAkNzC,CAAC"}
@@ -1,5 +1,6 @@
1
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.
2
+ // packages/core/src and in each lexicon's src/chant-floors.ts (#4916); run
3
+ // `npx tsx scripts/floor-table.ts` after adding one.
3
4
  // scripts/release-floors.ts fails while this file is stale.
4
5
  import { NEXT_RELEASE } from "./release-floors.js";
5
6
  export const FLOOR_ROWS = [
@@ -8,6 +9,7 @@ export const FLOOR_ROWS = [
8
9
  { 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"] },
9
10
  { 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"] },
10
11
  { 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"] },
12
+ { name: "CHANT_RUN_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `runChant`, `lastJsonLine`, `installResolveFallback` and `fallbackImportArgs` in `@intentius/chant/chant-install` (#4889): a product runs chant and reads its `--json` document, and a file with no `node_modules` above it imports the product's packages, with no code of the product's own.", issue: "#4889", file: "chant-install.ts", modules: ["@intentius/chant/chant-install"] },
11
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"] },
12
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"] },
13
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,7 +18,7 @@ export const FLOOR_ROWS = [
16
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"] },
17
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"] },
18
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"] },
19
- { 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"] },
21
+ { name: "CI_COMMIT_REFUSAL_REPLY_FLOOR", version: "0.124.86", 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"] },
20
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"] },
21
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"] },
22
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"] },
@@ -28,7 +30,11 @@ export const FLOOR_ROWS = [
28
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"] },
29
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"] },
30
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"] },
31
- { 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"] },
33
+ { name: "PRODUCT_PLAN_FLOOR", version: "0.124.86", 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_PLAN_STEPS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose product plan carries the plan-job steps beside the plan verb and the note job's own lines (#4899, #4931): `productPlan.login` and a target's `login` (ci-login) with the job's OIDC token, `idTokens`, `pending`, `controlRead`, `setup` steps, job-level `env`, `report`, `concurrency`, the comment re-plan `replan`, and `noteSteps`; a hand-off's `marker` kept under the note words' `productMarker`; and the note job's notices and overdue Ops under a hand-off's counts.", issue: "#4899", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
35
+ { name: "COMMENT_LEAVES_COMMIT_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `parseProductComment` takes `leaveCommit` and that has `commitWordOf` (#4890): a comment job that is not the commit job leaves every comment for a commit word to it, a malformed one included, so the comment gets one reply.", issue: "#4890", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
36
+ { name: "PRODUCT_PLAN_WATCHES_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose product plan takes `watches`, the product's own scheduled jobs the note job's `pr-post` checks for having stopped with the job's token (#4888), and whose `checkOverdueOps` and `overdueOpsAt` take a product's `logPrefix` and `label`.", issue: "#4888", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
37
+ { name: "PRODUCT_PLAN_RECORD_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose product plan takes `record` (#4899): the plan step writes the plan job's run record into the hand-off, and the note job keeps it as Op `pr-plan` on `chant/lifecycle` with `pr-post --record-run <plan job>` (`--open` on GitLab), as `chant ci run plan --in-place` records `pr-plan`'s.", issue: "#4899", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
32
38
  { 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"] },
33
39
  { 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"] },
34
40
  { 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,6 +43,7 @@ export const FLOOR_ROWS = [
37
43
  { 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"] },
38
44
  { 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"] },
39
45
  { 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"] },
46
+ { name: "APPROVE_CONFIRM_FLOOR", version: "0.124.55", gates: "The first chant with `confirmApproval` here, the type-the-name confirmation a product's approve word asks through (#4575).", issue: "#4575", file: "cli/handlers/approve-confirm.ts", modules: ["@intentius/chant/cli/handlers/approve-confirm"] },
40
47
  { 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"] },
41
48
  { 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"] },
42
49
  { 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,6 +52,7 @@ export const FLOOR_ROWS = [
45
52
  { 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"] },
46
53
  { 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"] },
47
54
  { 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"] },
55
+ { name: "CONTROL_CONSUMERS_FLOOR", version: "0.124.55", gates: "The first chant with the consumers join, joinControlConsumers and readControlConsumers on `@intentius/chant/ci-control` (#4600).", issue: "#4600", file: "control/consumers.ts", modules: ["@intentius/chant/ci-control", "@intentius/chant/control/consumers"] },
48
56
  { 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"] },
49
57
  { 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"] },
50
58
  { 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"] },
@@ -80,9 +88,10 @@ export const FLOOR_ROWS = [
80
88
  { 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"] },
81
89
  { 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"] },
82
90
  { 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"] },
91
+ { name: "RELEASE_IMAGE_ARGS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose Dockerfile entry in `release.images` takes `args`, build arguments beside the two chant passes (#4908).", issue: "#4908", file: "lifecycle/release-images.ts", modules: ["@intentius/chant/lifecycle/release-images"] },
83
92
  { 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"] },
84
93
  { 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"] },
85
- { 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"] },
94
+ { name: "RELEASE_RECORD_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"] },
86
95
  { 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"] },
87
96
  { 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"] },
88
97
  { 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"] },
@@ -125,16 +134,18 @@ export const FLOOR_ROWS = [
125
134
  { 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"] },
126
135
  { 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"] },
127
136
  { 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"] },
128
- { 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"] },
129
- { 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"] },
130
- { 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"] },
131
- { 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"] },
132
- { 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"] },
133
- { 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"] },
134
- { 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"] },
135
- { 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"] },
136
- { 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"] },
137
- { 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"] },
137
+ { name: "LOCAL_CHANT_FLOOR", version: "0.124.86", 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"] },
138
+ { name: "REF_GATE_FLOOR", version: "0.124.86", 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"] },
139
+ { name: "OVERDUE_PIPELINE_FILES_FLOOR", version: "0.124.86", 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"] },
140
+ { name: "TERRAFORM_APPLY_COMMAND_HOOK_FLOOR", version: "0.124.86", 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"] },
141
+ { name: "TERRAFORM_ENGINE_TIMINGS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose terraform lexicon times each root's engine commands and reads its spans and lock waits (`@intentius/chant-lexicon-terraform/engine-timings`, `engineTimings()` as `terraformApplyCapabilityWith`'s `onCommand`), and runs a composed group's commands through that hook (#4887).", issue: "#4887", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
142
+ { name: "TERRAFORM_ROOT_HELPERS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose terraform lexicon finds live roots and estates (`live-roots`), places a Terragrunt unit (`terragruntUnitPlace`), reads a state migration's history and revert from its finished lines (`migration-history`), and runs the binary without the forge's tokens (`tokenlessBinaryExec`, `engineEnv`) (#4910).", issue: "#4910", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
143
+ { name: "PRODUCT_HELPERS_FLOOR", version: "0.124.86", 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"] },
144
+ { name: "CI_IMAGE_FLOOR", version: "0.124.86", 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"] },
145
+ { name: "DRIFT_ISSUE_FLOOR", version: "0.124.86", 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"] },
146
+ { name: "SOURCE_DIR_RULE_FLOOR", version: "0.124.86", 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"] },
147
+ { name: "PULUMI_STACK_OPS_ON_CORE_FLOOR", version: "0.124.86", 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"] },
148
+ { name: "TERRAFORM_STATE_VERSION_READS_FLOOR", version: "0.124.86", 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"] },
138
149
  { 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"] },
139
150
  { 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"] },
140
151
  { 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"] },
@@ -148,19 +159,42 @@ export const FLOOR_ROWS = [
148
159
  { 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"] },
149
160
  { 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"] },
150
161
  { 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"] },
151
- { 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"] },
152
- { 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"] },
153
- { 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"] },
154
- { 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"] },
155
- { 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"] },
156
- { 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"] },
162
+ { name: "OP_WAVES_JOB_INPUTS_FLOOR", version: "0.124.86", 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"] },
163
+ { name: "FLOOR_TABLE_FLOOR", version: "0.124.86", 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"] },
164
+ { name: "CLOUD_LOGIN_FLOOR", version: "0.124.86", 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"] },
165
+ { name: "CHECK_EVIDENCE_FLOOR", version: "0.124.86", 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"] },
166
+ { name: "LOCAL_EVIDENCE_FLOOR", version: "0.124.86", 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"] },
167
+ { name: "KEYLESS_EVIDENCE_FLOOR", version: "0.124.87", 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"] },
168
+ { name: "WAVE_EVIDENCE_JOB_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose waves generators run each wave's policy as a step of its own (`chant run wave --policy-only`; on GitLab a `<wave job>-policy` job) and sign its checks in a `<wave job>-evidence` job with `chant ci evidence sign --from-job`, from the forge's record of the wave job's steps, so a wave that trades cloud credentials signs keyless with `evidence.identity: \"oidc\"` instead of being refused (#4926).", issue: "#4926", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
169
+ { name: "CLOUD_LOGIN_SAME_STEP_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose cloud login leaves the region to the job unless the spec names one, takes `sameStep` to export into the step that runs it, accepts an AWS spec with no role (the token file alone), and whose trade sets `CHANT_CLOUD_TRADED` so a login's targets file is told from a trade's (#4930).", issue: "#4930", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
170
+ { name: "RELEASE_WORKFLOW_QEMU_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chant release workflow` sets up QEMU in the cut and publish jobs for the platforms `release.images` builds that the runner can't (`docker/setup-qemu-action` at its pin on GitHub and Forgejo, a `tonistiigi/binfmt` run line on GitLab), and whose `release.images` command entries take `platforms` (#4876).", issue: "#4876", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
171
+ { name: "NPM_CARRIES_IMAGE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose npm publish target refuses at plan time a package that would carry an image archive the release records (`publish-npm-carries-image`), naming the file and the `files` entry that leaves it out (#4934).", issue: "#4934", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
172
+ { name: "LIVE_DRIFT_RECORDS_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `driftRunFingerprint` in `@intentius/chant/drift-issue` and `lexiconDriftRecords` in `@intentius/chant/drift-record`, whose `chant lifecycle diff --live --json` writes a lexicon's `absent`, and whose sql lexicon reports a declared object the server lacks as `missing` instead of `pending` (#4896).", issue: "#4896", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
173
+ { name: "SQL_TYPES_PATH_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chant sql types --path` prints where `sql-types.d.ts` is by the source-dir rule, the path `sqlTypesPath` answers (#4897).", issue: "#4897", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
174
+ { name: "FORGE_TARGET_ORIGIN_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose forge target carries its web `origin` (`forgeTargetWith`) and whose `@intentius/chant/forge-flags` has `jobForgeTarget`, a job's target or undefined where the job cannot reach the forge, so a product keeps no target type of its own (#4888).", issue: "#4888", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
175
+ { name: "STACK_OPS_PRODUCT_HELPERS_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `actorFromEnv` (`@intentius/chant/actor`), `forgeTargetLiveRuns` and `forgeLiveRunsOf` in `@intentius/chant/state-unlock`, and a pulumi lexicon whose stack ops take the product's `approveCommand`, with `pulumiStackLockToCancel` and `pulumiMoveDestStack`, a move naming its own `--dest` from both sides' `project` (#4911).", issue: "#4911", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
176
+ { name: "FORGE_REMOTE_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/forge-remote` (`forgeOfRemote`, `forgeOfCheckout`, `forgeKindOfHost`), the forge and repository a checkout's origin remote names, and a pulumi `gatedStackCancel` that reads the forge's runs from it on a laptop (#4920).", issue: "#4920", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
177
+ { name: "GENERATED_CHECK_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `chant dev generated-check` (`chantGenerated` in a product's root package.json, `@intentius/chant/generated-check`) and `chant dev local-image` (`localChantImage` in `@intentius/chant/local-chant`): a drift check of a product's committed generated files, and an image build with the product's chant, local or pinned, without the product's own scripts (#4909).", issue: "#4909", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
178
+ { name: "LOCAL_CHANT_NEXT_RELEASE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chant dev local` keeps the product's peer dependencies installed and packs the checkout at its `NEXT_RELEASE`, and whose root build of a project with no `sourceDir` leaves its top-level `migrations/` out, with the sql lexicon opening no `.sql` file under a `migrations` directory (#4921).", issue: "#4921", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
179
+ { name: "CHANT_EXTERNAL_PACKAGES_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chantExternalPlugin` keeps external only the chant packages it is given, by default the ones in the package's `dependencies`, so a product that bundles its lexicons uses it as is (#4922).", issue: "#4922", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
180
+ { name: "CI_IMAGE_NON_ROOT_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `ciToolInstallLine` takes `sudo` and `binDir` and a root under a shell variable, for a job that is not root, whose `CI_TOOL_SHA256` records terraform 1.14.9, terragrunt 1.2.0 and the AWS CLI 2.37.9, and whose Pulumi lexicon's `ciFetchScript` and `PINNED_SHA256` are ci-image's (#4908).", issue: "#4908", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
181
+ { name: "CI_IMAGE_DOCKER_STAGES_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `productImageStages` stages type as the docker lexicon's `DockerfileStage[]` under `exactOptionalPropertyTypes`, so `new Dockerfile({ stages: productImageStages(spec) })` compiles (#4932).", issue: "#4932", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
182
+ { name: "OP_SETUP_STEP_NAME_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose setup steps (`OpSetupStep`: an Op waves spec's wave and job group `setup`, a scheduled Op's `setup`, `release.workflow.setup`) take a `name`, rendered as the step's name on GitHub and Forgejo (#4932).", issue: "#4932", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
183
+ { name: "CLOUD_LOGIN_RESTART_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose cloud login takes `restart` (log in, then start the step's script again without the token request variables, and empty the token files when the step exits), sets `CHANT_CLOUD_TOKEN_FILES` for `LOGIN_CLEAR_TOKENS`, takes a full token URL as GCP's `stsEndpoint`, and whose GitLab trade evaluates its exports without writing a file (#4912).", issue: "#4912", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
184
+ { name: "PR_LOOP_EVIDENCE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chant build --pr-loop` takes `evidence` (`--evidence-runner-key-secret`, `--evidence-identity oidc`, `--evidence-audience`) and signs the plan job's `plan` and `policy` checks in its note job on GitHub, GitLab and Forgejo (#4935).", issue: "#4935", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
185
+ { name: "CHECK_JOB_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose pull request pipelines take `checkJob` (`--check-job`): a check job that runs `chant ci check` on the pull request's commit with no token or runner identity, and with `evidence` a `check-evidence` job that signs each passed hook from its report with `chant ci evidence sign --from-report .chant/check` (#4935).", issue: "#4935", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
186
+ { name: "GITLAB_OPEN_EVIDENCE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose GitLab pipelines sign evidence in the target branch's plan notes pipeline, in jobs that name the `chant-evidence` environment, with `chant ci evidence sign --open`, and whose `pr-post --open --evidence-dir` ends each merge request's note with the checks line; no job of a merge request pipeline holds the runner key (#4914).", issue: "#4914", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
187
+ { name: "CHECK_SUMMARY_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `chant ci check` takes `--summary <file>` and whose `checkReportSummary` renders the check report's markdown section, so a product's check step runs chant's check stage and keeps the section in its own report (#4914).", issue: "#4914", file: "release-floors.ts", modules: ["@intentius/chant/components/check-hooks", "@intentius/chant/release-floors"] },
188
+ { name: "REF_GATE_STATUS_JOB_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose pull request pipelines take `refGateStatus` (`--ref-gate-status`): a `ref-gate` job that runs `chant workspace ref-gate status` for the pull request's commit, and on GitLab `ref-gate status --open` for every open merge request (#4935).", issue: "#4935", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
189
+ { name: "REF_GATE_PIECES_FLOOR", version: NEXT_RELEASE, gates: "The first chant with `@intentius/chant/ref-gate-rules` (`refGateRulesAt`), `require` in `checkPrRequires`, `refGateStatus` in `pipelineContract` and `ci forge-check --ref-gate-status`, `@intentius/chant/ref-gate-init` (`refGateInitPlan`, `writeRefGateInit`), and a pre-receive refusal that prints the command recording the override request (#4913).", issue: "#4913", file: "release-floors.ts", modules: ["@intentius/chant/forge-check", "@intentius/chant/forge-check/index", "@intentius/chant/pr-requires", "@intentius/chant/ref-gate-init", "@intentius/chant/ref-gate-rules", "@intentius/chant/release-floors"] },
157
190
  { 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"] },
158
191
  { 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"] },
159
192
  { 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"] },
160
193
  { 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"] },
161
194
  { 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"] },
162
195
  { 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"] },
163
- { 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"] },
196
+ { name: "STATE_MIGRATION_SOURCE_FLOOR", version: "0.124.86", 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"] },
197
+ { name: "STATE_MIGRATION_RECORD_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `runStateMigration` takes a product's `record`, which the request's attachment binds beside the roots and `chant approve` shows (#4928).", issue: "#4928", file: "state-migration.ts", modules: ["@intentius/chant/state-migration"] },
164
198
  { 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"] },
165
199
  { 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"] },
166
200
  { 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"] },
@@ -176,4 +210,7 @@ export const FLOOR_ROWS = [
176
210
  { 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"] },
177
211
  { 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"] },
178
212
  { 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"] },
213
+ { name: "MODULE_CONSUMERS_FLOOR", version: "0.124.55", gates: "The first chant whose terraform lexicon has `moduleConsumers`, the scan of every registry module call a root makes, with `readRegistryCatalog` and `deprecatedPins` beside it on `./registry` (#4599).", issue: "#4599", file: "lexicons/terraform/src/chant-floors.ts", modules: ["@intentius/chant-lexicon-terraform/chant-floors", "@intentius/chant-lexicon-terraform/registry", "@intentius/chant-lexicon-terraform/registry/index"] },
214
+ { name: "USED_SOURCES_FLOOR", version: "0.124.55", gates: "The first chant whose terraform lexicon has `usedSources`, every module source and provider address a root uses, with `moduleSourceForms`, `providerAddressForms` and `lockedProviders` on `./registry` (#3924).", issue: "#3924", file: "lexicons/terraform/src/chant-floors.ts", modules: ["@intentius/chant-lexicon-terraform/chant-floors", "@intentius/chant-lexicon-terraform/registry", "@intentius/chant-lexicon-terraform/registry/index"] },
215
+ { name: "MODULE_CATALOG_FLOOR", version: "0.124.55", gates: "The first chant whose terraform lexicon has `./module-catalog`, the known-module catalog TF047 reads (#4560).", issue: "#4560", file: "lexicons/terraform/src/chant-floors.ts", modules: ["@intentius/chant-lexicon-terraform/chant-floors", "@intentius/chant-lexicon-terraform/module-catalog", "@intentius/chant-lexicon-terraform/module-catalog/index"] },
179
216
  ];
@@ -3,28 +3,31 @@
3
3
  * feature-detect on, as one table, and the version compare a product asks it
4
4
  * with.
5
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
6
+ * A floor is a constant `<NAME>_FLOOR` in chant core, or in a lexicon's
7
+ * src/chant-floors.ts (#4916), naming the first chant release with a part
8
+ * (an export, a field chant writes, a flag). Lexicons release with chant at
9
+ * the same version, so a lexicon's floor is a chant version too. A product
8
10
  * that runs on several chant releases checks one before it calls the part. The
9
11
  * rows are written by scripts/floor-table.ts from the constants themselves
10
12
  * (./floor-table.data.ts), and scripts/release-floors.ts fails while a floor
11
13
  * 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.
14
+ * of the next one, NEXT_RELEASE, which the release moves on. Each name is
15
+ * declared once (#4916), and scripts/floor-table.ts fails on a second.
13
16
  *
14
17
  * `chant dev dead-guards` (./dead-guards.ts) reads this table against a
15
18
  * product's chant pin and names each check the pin already meets.
16
19
  */
17
20
  import { FLOOR_ROWS } from "./floor-table.data.js";
18
- /** Every floor, in the order the files declare them. Two files may declare the same name; each is a row. */
21
+ /** Every floor, core's in the order its files declare them, then each lexicon's. */
19
22
  export const FLOOR_TABLE = FLOOR_ROWS;
20
- /** The rows named `name`: one, or more when two files declare it. */
23
+ /** The rows named `name`: one, or none. A table a caller builds may hold more. */
21
24
  export function floorRows(name) {
22
25
  return FLOOR_TABLE.filter((r) => r.name === name);
23
26
  }
24
27
  /**
25
28
  * The version a product must reach for the floor `name`, or undefined when no
26
- * file declares it. When two files declare the name, the higher version, so a
27
- * check that passes holds for either.
29
+ * file declares it. Should a name ever have two rows, the higher version, so
30
+ * a check that passes holds for either.
28
31
  */
29
32
  export function floorVersion(name) {
30
33
  const rows = floorRows(name);
@@ -139,6 +139,14 @@ export interface PipelineContractInput {
139
139
  protectedBranches?: string[];
140
140
  /** Default: each pipeline's plan status, such as `chant/plan` or `plywood/preview/<member>`. */
141
141
  requiredStatuses?: string[];
142
+ /**
143
+ * The ref gate's status (#4913), added to the required statuses: the one
144
+ * the generated `ref-gate` job sets when the pipeline renders it
145
+ * (`refGateStatus`, `--ref-gate-status`). Read it with `refGateRulesAt`
146
+ * (`@intentius/chant/ref-gate-rules`): its `status` for the default branch,
147
+ * by default `chant/ref-gate`.
148
+ */
149
+ refGateStatus?: string;
142
150
  gitlabVariables?: string[];
143
151
  }
144
152
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/forge-check/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAA6C,KAAK,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/H,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,6CAA6C;AAC7C,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,qHAAqH;IACrH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,8HAA8H;IAC9H,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,gEAAgE;AAChE,MAAM,WAAW,aAAa;IAC5B,mEAAmE;IACnE,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,QAAQ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gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7G,8EAA8E;AAC9E,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAuBhG;AAQD,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,CAStF;AAED,4HAA4H;AAC5H,MAAM,WAAW,gBAAgB;IAC/B,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,qBAAqB,CAAC;IAChC,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,oBAAoB,CAAC;IACjC,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,2FAA2F;IAC3F,KAAK,CAAC,EAAE,mBAAmB,GAAG,cAAc,CAAC;IAC7C,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,gGAAgG;IAChG,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,kBAAkB,CA8BjF"}
@@ -107,12 +107,15 @@ export function pipelineContract(input) {
107
107
  if (!statuses.includes(ctx))
108
108
  statuses.push(ctx);
109
109
  }
110
+ const required = [...(input.requiredStatuses ?? statuses)];
111
+ if (input.refGateStatus && !required.includes(input.refGateStatus))
112
+ required.push(input.refGateStatus);
110
113
  return {
111
114
  forge,
112
115
  repository,
113
116
  jobs,
114
117
  protectedBranches: input.protectedBranches ?? [repository.defaultBranch],
115
- requiredStatuses: input.requiredStatuses ?? statuses,
118
+ requiredStatuses: required,
116
119
  ...(input.gitlabVariables ? { gitlabVariables: input.gitlabVariables } : {}),
117
120
  };
118
121
  }