@intentius/chant 0.124.86 → 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 (384) 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.map +1 -1
  14. package/dist/ci-commit.js +1 -2
  15. package/dist/ci-control.d.ts +1 -1
  16. package/dist/ci-control.d.ts.map +1 -1
  17. package/dist/ci-control.js +1 -1
  18. package/dist/ci-evidence-claims.d.ts +59 -0
  19. package/dist/ci-evidence-claims.d.ts.map +1 -0
  20. package/dist/ci-evidence-claims.js +87 -0
  21. package/dist/ci-evidence-from-job.d.ts +103 -0
  22. package/dist/ci-evidence-from-job.d.ts.map +1 -0
  23. package/dist/ci-evidence-from-job.js +162 -0
  24. package/dist/ci-evidence-jobs.d.ts +69 -10
  25. package/dist/ci-evidence-jobs.d.ts.map +1 -1
  26. package/dist/ci-evidence-jobs.js +72 -8
  27. package/dist/ci-handover.d.ts +12 -0
  28. package/dist/ci-handover.d.ts.map +1 -1
  29. package/dist/ci-handover.js +15 -3
  30. package/dist/ci-identity.d.ts +32 -6
  31. package/dist/ci-identity.d.ts.map +1 -1
  32. package/dist/ci-identity.js +40 -8
  33. package/dist/ci-image.d.ts +47 -9
  34. package/dist/ci-image.d.ts.map +1 -1
  35. package/dist/ci-image.js +45 -18
  36. package/dist/ci-jobs.d.ts +1 -1
  37. package/dist/ci-jobs.d.ts.map +1 -1
  38. package/dist/ci-jobs.js +7 -2
  39. package/dist/ci-login.d.ts +75 -13
  40. package/dist/ci-login.d.ts.map +1 -1
  41. package/dist/ci-login.js +89 -37
  42. package/dist/ci-product-words.d.ts +20 -1
  43. package/dist/ci-product-words.d.ts.map +1 -1
  44. package/dist/ci-product-words.js +27 -1
  45. package/dist/ci-product.d.ts +20 -1
  46. package/dist/ci-product.d.ts.map +1 -1
  47. package/dist/ci-product.js +21 -2
  48. package/dist/cli/handlers/approve-confirm.d.ts +14 -0
  49. package/dist/cli/handlers/approve-confirm.d.ts.map +1 -1
  50. package/dist/cli/handlers/approve-confirm.js +46 -0
  51. package/dist/cli/handlers/build.d.ts +1 -1
  52. package/dist/cli/handlers/build.d.ts.map +1 -1
  53. package/dist/cli/handlers/build.js +22 -1
  54. package/dist/cli/handlers/ci-check.d.ts.map +1 -1
  55. package/dist/cli/handlers/ci-check.js +38 -14
  56. package/dist/cli/handlers/ci-evidence.d.ts.map +1 -1
  57. package/dist/cli/handlers/ci-evidence.js +238 -26
  58. package/dist/cli/handlers/ci-forge-check.d.ts.map +1 -1
  59. package/dist/cli/handlers/ci-forge-check.js +34 -17
  60. package/dist/cli/handlers/generated-check.d.ts +3 -0
  61. package/dist/cli/handlers/generated-check.d.ts.map +1 -0
  62. package/dist/cli/handlers/generated-check.js +41 -0
  63. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  64. package/dist/cli/handlers/lifecycle.js +3 -0
  65. package/dist/cli/handlers/local-chant.d.ts +13 -0
  66. package/dist/cli/handlers/local-chant.d.ts.map +1 -1
  67. package/dist/cli/handlers/local-chant.js +42 -1
  68. package/dist/cli/handlers/pr.d.ts.map +1 -1
  69. package/dist/cli/handlers/pr.js +42 -5
  70. package/dist/cli/handlers/run-wave.js +8 -0
  71. package/dist/cli/main.d.ts.map +1 -1
  72. package/dist/cli/main.js +38 -4
  73. package/dist/cli/parse-args.d.ts.map +1 -1
  74. package/dist/cli/parse-args.js +66 -0
  75. package/dist/cli/registry.d.ts +24 -0
  76. package/dist/cli/registry.d.ts.map +1 -1
  77. package/dist/components/check-hooks.d.ts +10 -0
  78. package/dist/components/check-hooks.d.ts.map +1 -1
  79. package/dist/components/check-hooks.js +21 -3
  80. package/dist/components/check-steps.js +1 -1
  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 +262 -3
  91. package/dist/components/product-plan.d.ts.map +1 -1
  92. package/dist/components/product-plan.js +243 -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 -20
  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 +17 -4
  147. package/dist/op/op-waves-evidence.d.ts.map +1 -1
  148. package/dist/op/op-waves-evidence.js +32 -10
  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 +51 -1
  183. package/dist/release-floors.d.ts.map +1 -1
  184. package/dist/release-floors.js +66 -16
  185. package/dist/state-migration.d.ts +23 -0
  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 +310 -303
  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/ci-green.d.ts.map +1 -1
  195. package/dist/workspace/ci-green.js +4 -3
  196. package/dist/workspace/drift-cli.d.ts +1 -1
  197. package/dist/workspace/drift-cli.d.ts.map +1 -1
  198. package/dist/workspace/drift-cli.js +5 -12
  199. package/dist/workspace/forge-work.d.ts +3 -2
  200. package/dist/workspace/forge-work.d.ts.map +1 -1
  201. package/dist/workspace/forge-work.js +7 -17
  202. package/dist/workspace/lexicon-outputs.js +2 -2
  203. package/dist/workspace/release-workflow.d.ts +26 -3
  204. package/dist/workspace/release-workflow.d.ts.map +1 -1
  205. package/dist/workspace/release-workflow.js +48 -6
  206. package/dist/workspace/trust/check-evidence-report.d.ts +25 -0
  207. package/dist/workspace/trust/check-evidence-report.d.ts.map +1 -1
  208. package/dist/workspace/trust/check-evidence-report.js +20 -0
  209. package/dist/workspace/trust/check-evidence.d.ts +59 -13
  210. package/dist/workspace/trust/check-evidence.d.ts.map +1 -1
  211. package/dist/workspace/trust/check-evidence.js +101 -24
  212. package/dist/workspace/trust/ci-tag-statement.d.ts +2 -2
  213. package/dist/workspace/trust/ci-tag-statement.d.ts.map +1 -1
  214. package/dist/workspace/trust/dsse.d.ts +40 -2
  215. package/dist/workspace/trust/dsse.d.ts.map +1 -1
  216. package/dist/workspace/trust/dsse.js +34 -2
  217. package/dist/workspace/trust/evidence.d.ts +7 -2
  218. package/dist/workspace/trust/evidence.d.ts.map +1 -1
  219. package/dist/workspace/trust/evidence.js +5 -0
  220. package/dist/workspace/trust/keyless-fixture.d.ts +41 -0
  221. package/dist/workspace/trust/keyless-fixture.d.ts.map +1 -0
  222. package/dist/workspace/trust/keyless-fixture.js +161 -0
  223. package/dist/workspace/trust/keyless.d.ts +202 -0
  224. package/dist/workspace/trust/keyless.d.ts.map +1 -0
  225. package/dist/workspace/trust/keyless.js +488 -0
  226. package/dist/workspace/trust/local-evidence.d.ts +3 -0
  227. package/dist/workspace/trust/local-evidence.d.ts.map +1 -1
  228. package/dist/workspace/trust/op-run-statement.d.ts +2 -2
  229. package/dist/workspace/trust/op-run-statement.d.ts.map +1 -1
  230. package/dist/workspace/trust/open-evidence.d.ts +67 -0
  231. package/dist/workspace/trust/open-evidence.d.ts.map +1 -0
  232. package/dist/workspace/trust/open-evidence.js +92 -0
  233. package/dist/workspace/trust/policy.d.ts +56 -1
  234. package/dist/workspace/trust/policy.d.ts.map +1 -1
  235. package/dist/workspace/trust/policy.js +103 -2
  236. package/dist/workspace/trust/ref-gate-cli.d.ts.map +1 -1
  237. package/dist/workspace/trust/ref-gate-cli.js +65 -3
  238. package/dist/workspace/trust/ref-gate.d.ts +62 -3
  239. package/dist/workspace/trust/ref-gate.d.ts.map +1 -1
  240. package/dist/workspace/trust/ref-gate.js +75 -8
  241. package/dist/workspace/trust/run-statement.d.ts +3 -3
  242. package/dist/workspace/trust/run-statement.d.ts.map +1 -1
  243. package/dist/workspace/trust/runner-identity.d.ts +56 -0
  244. package/dist/workspace/trust/runner-identity.d.ts.map +1 -0
  245. package/dist/workspace/trust/runner-identity.js +65 -0
  246. package/dist/workspace/trust/trust-files.d.ts.map +1 -1
  247. package/dist/workspace/trust/trust-files.js +8 -1
  248. package/package.json +1 -1
  249. package/src/action-pins.ts +2 -0
  250. package/src/actor.test.ts +12 -0
  251. package/src/actor.ts +19 -0
  252. package/src/bundle-check.test.ts +22 -0
  253. package/src/bundle-check.ts +33 -5
  254. package/src/chant-install.test.ts +109 -1
  255. package/src/chant-install.ts +243 -2
  256. package/src/ci-commit.test.ts +51 -5
  257. package/src/ci-commit.ts +1 -2
  258. package/src/ci-control.ts +1 -0
  259. package/src/ci-evidence-claims.ts +102 -0
  260. package/src/ci-evidence-from-job.test.ts +147 -0
  261. package/src/ci-evidence-from-job.ts +195 -0
  262. package/src/ci-evidence-jobs.ts +85 -10
  263. package/src/ci-handover.ts +16 -3
  264. package/src/ci-identity.test.ts +3 -3
  265. package/src/ci-identity.ts +51 -11
  266. package/src/ci-image.test.ts +60 -10
  267. package/src/ci-image.ts +78 -19
  268. package/src/ci-jobs.ts +7 -2
  269. package/src/ci-login.test.ts +131 -3
  270. package/src/ci-login.token-drop.test.ts +204 -0
  271. package/src/ci-login.ts +137 -39
  272. package/src/ci-product-words.ts +30 -0
  273. package/src/ci-product.ts +26 -1
  274. package/src/cli/commands/__fixtures__/source-dir-root/migrations/0001-init/backfill.ts +3 -0
  275. package/src/cli/handlers/approve-confirm.test.ts +35 -0
  276. package/src/cli/handlers/approve-confirm.ts +44 -0
  277. package/src/cli/handlers/build-source-dir.test.ts +4 -0
  278. package/src/cli/handlers/build.ts +20 -2
  279. package/src/cli/handlers/ci-check.ts +35 -13
  280. package/src/cli/handlers/ci-evidence-open.test.ts +164 -0
  281. package/src/cli/handlers/ci-evidence.ts +223 -24
  282. package/src/cli/handlers/ci-forge-check.ts +22 -9
  283. package/src/cli/handlers/generated-check.ts +39 -0
  284. package/src/cli/handlers/lifecycle.test.ts +20 -0
  285. package/src/cli/handlers/lifecycle.ts +4 -0
  286. package/src/cli/handlers/local-chant.ts +39 -1
  287. package/src/cli/handlers/pr.ts +43 -5
  288. package/src/cli/handlers/run-wave.ts +7 -0
  289. package/src/cli/main.ts +38 -4
  290. package/src/cli/parse-args.ts +46 -0
  291. package/src/cli/registry.ts +24 -0
  292. package/src/components/check-hooks.ts +25 -3
  293. package/src/components/check-report-summary.test.ts +78 -0
  294. package/src/components/check-steps.ts +1 -1
  295. package/src/components/pr-checks.ts +159 -0
  296. package/src/components/pr-pipeline.ts +41 -1
  297. package/src/components/product-pipeline.ts +25 -3
  298. package/src/components/product-plan.test.ts +102 -1
  299. package/src/components/product-plan.ts +419 -14
  300. package/src/config.ts +13 -8
  301. package/src/control/consumers.ts +7 -0
  302. package/src/dead-guards.test.ts +27 -5
  303. package/src/dead-guards.ts +9 -6
  304. package/src/discovery/files.ts +1 -1
  305. package/src/drift-issue.test.ts +29 -1
  306. package/src/drift-issue.ts +28 -3
  307. package/src/drift-record.test.ts +25 -0
  308. package/src/drift-record.ts +55 -6
  309. package/src/floor-table.data.ts +58 -20
  310. package/src/floor-table.ts +12 -9
  311. package/src/forge-check/contract.ts +11 -1
  312. package/src/forge-check/forge-check.test.ts +8 -0
  313. package/src/forge-check/index.ts +2 -0
  314. package/src/forge-flags.test.ts +25 -1
  315. package/src/forge-flags.ts +34 -0
  316. package/src/forge-remote.test.ts +37 -0
  317. package/src/forge-remote.ts +79 -0
  318. package/src/generated-check.e2e.test.ts +98 -0
  319. package/src/generated-check.test.ts +104 -0
  320. package/src/generated-check.ts +269 -0
  321. package/src/lexicon.ts +17 -0
  322. package/src/lifecycle/publish-npm.ts +56 -3
  323. package/src/lifecycle/release-catalog.test.ts +2 -2
  324. package/src/lifecycle/release-images-dockerfile.test.ts +20 -0
  325. package/src/lifecycle/release-images.test.ts +44 -0
  326. package/src/lifecycle/release-images.ts +39 -3
  327. package/src/lifecycle/release-ledger.ts +4 -3
  328. package/src/local-chant.e2e.test.ts +81 -6
  329. package/src/local-chant.test.ts +22 -3
  330. package/src/local-chant.ts +130 -13
  331. package/src/op/op-waves-evidence-jobs.ts +134 -0
  332. package/src/op/op-waves-evidence.test.ts +37 -4
  333. package/src/op/op-waves-evidence.ts +32 -11
  334. package/src/op/op-waves-run.ts +57 -2
  335. package/src/op/op-waves.ts +11 -0
  336. package/src/op/schedule-overdue.test.ts +83 -1
  337. package/src/op/schedule-overdue.ts +107 -9
  338. package/src/pr-forge-reads-compare.test.ts +2 -1
  339. package/src/pr-forge-reads.ts +37 -1
  340. package/src/pr-forge.ts +14 -3
  341. package/src/pr-plan-note.ts +32 -3
  342. package/src/pr-plan-record.test.ts +75 -0
  343. package/src/pr-plan-record.ts +101 -0
  344. package/src/pr-post-plan-note.test.ts +60 -0
  345. package/src/pr-post.test.ts +30 -0
  346. package/src/pr-post.ts +110 -6
  347. package/src/pr-requires.test.ts +20 -0
  348. package/src/pr-requires.ts +10 -1
  349. package/src/ref-gate-init.ts +189 -0
  350. package/src/ref-gate-rules.ts +26 -0
  351. package/src/release-floors.ts +88 -16
  352. package/src/state-migration-record.test.ts +90 -0
  353. package/src/state-migration.test.ts +1 -1
  354. package/src/state-migration.ts +52 -3
  355. package/src/state-unlock.test.ts +33 -1
  356. package/src/state-unlock.ts +49 -1
  357. package/src/workspace/ci-green-cli.ts +12 -6
  358. package/src/workspace/ci-green.ts +4 -3
  359. package/src/workspace/drift-cli.ts +6 -18
  360. package/src/workspace/forge-work.ts +7 -14
  361. package/src/workspace/lexicon-outputs.ts +2 -2
  362. package/src/workspace/release-workflow.test.ts +70 -0
  363. package/src/workspace/release-workflow.ts +56 -8
  364. package/src/workspace/trust/check-evidence-report.ts +33 -0
  365. package/src/workspace/trust/check-evidence.test.ts +3 -3
  366. package/src/workspace/trust/check-evidence.ts +110 -28
  367. package/src/workspace/trust/ci-tag-statement.ts +2 -2
  368. package/src/workspace/trust/dsse.ts +48 -4
  369. package/src/workspace/trust/evidence.ts +7 -2
  370. package/src/workspace/trust/keyless-fixture.ts +214 -0
  371. package/src/workspace/trust/keyless.test.ts +220 -0
  372. package/src/workspace/trust/keyless.ts +557 -0
  373. package/src/workspace/trust/local-evidence.ts +3 -1
  374. package/src/workspace/trust/op-run-statement.ts +2 -2
  375. package/src/workspace/trust/open-evidence.ts +129 -0
  376. package/src/workspace/trust/policy.ts +129 -2
  377. package/src/workspace/trust/ref-gate-cli.ts +59 -3
  378. package/src/workspace/trust/ref-gate-pieces.test.ts +175 -0
  379. package/src/workspace/trust/ref-gate.e2e.test.ts +17 -0
  380. package/src/workspace/trust/ref-gate.ts +90 -8
  381. package/src/workspace/trust/run-statement.ts +3 -3
  382. package/src/workspace/trust/runner-identity.ts +92 -0
  383. package/src/workspace/trust/trust-files.test.ts +6 -0
  384. package/src/workspace/trust/trust-files.ts +14 -1
@@ -1,3 +1,5 @@
1
+ /** `require` in {@link PrRequiresOptions} (#4913). */
2
+ export { REF_GATE_PIECES_FLOOR } from "./release-floors.js";
1
3
  /** The four checks, in the order they run and the report lists them. */
2
4
  export const PR_APPLY_REQUIRES = ["approved", "mergeable", "undiverged", "checks"];
3
5
  const READS = 5;
@@ -14,7 +16,7 @@ export async function checkPrRequires(forge, pr, head, opts = {}) {
14
16
  approved: forge.prApproved ? () => forge.prApproved(pr, head, opts.approvers) : undefined,
15
17
  mergeable: forge.prMergeable ? () => forge.prMergeable(pr, head) : undefined,
16
18
  undiverged: forge.prUndiverged ? () => forge.prUndiverged(pr, head) : undefined,
17
- checks: forge.prChecksPassed ? () => forge.prChecksPassed(pr, head, opts.ignore ?? []) : undefined,
19
+ checks: forge.prChecksPassed ? () => forge.prChecksPassed(pr, head, opts.ignore ?? [], opts.require ?? []) : undefined,
18
20
  };
19
21
  const out = [];
20
22
  const asked = new Set(opts.only ?? PR_APPLY_REQUIRES);
@@ -0,0 +1,76 @@
1
+ /**
2
+ * `@intentius/chant/ref-gate-init` (#4913): the pieces of the ref gate a
3
+ * product's init writes, so no product writes `.chant/trust.json`, a hook or
4
+ * its own runner key words.
5
+ *
6
+ * {@link refGateInitPlan} plans, and writes nothing, so a product folds the
7
+ * files into its own plan and keeps its dry run:
8
+ *
9
+ * - `.chant/trust.json` with a `refs` rule for the branch (#4867): created
10
+ * with `"schema": 1` when there is none, the rule added in place when the
11
+ * file has no rule for the branch, left as it is when it has one or does
12
+ * not parse.
13
+ * - The `pre-push` hook `chant workspace ref-gate install` writes, in the
14
+ * checkout's hooks directory, so a push the gate would refuse stops before
15
+ * the network and records the request for an override. It is local: git
16
+ * never commits it. A hook that is not chant's is left as it is.
17
+ * - The runner key hint: with no runner key and no keyless identity in the
18
+ * file, nothing can sign the evidence the rule needs, so the gate would
19
+ * refuse every push; a note gives the commands that list a key and where
20
+ * the pipeline reads it.
21
+ *
22
+ * {@link writeRefGateInit} writes the planned files, the hook executable.
23
+ */
24
+ export { REF_GATE_PIECES_FLOOR } from "./release-floors.js";
25
+ /** One check the rule requires evidence for, as `refs[].checks[]` holds it. */
26
+ export interface RefGateInitCheck {
27
+ check: string;
28
+ /** Default `block`. */
29
+ action?: "block" | "warn";
30
+ /** The command that produces the evidence, printed in a refusal. */
31
+ command: string;
32
+ }
33
+ export interface RefGateInitOptions {
34
+ /** The branch the gate protects. Default `main`. */
35
+ branch?: string;
36
+ /** The checks an update of the branch needs current evidence for. At least one. */
37
+ checks: readonly RefGateInitCheck[];
38
+ /** The commit status the gate's status job sets. Default `chant/ref-gate`, which the rule then leaves out. */
39
+ status?: string;
40
+ /** Write the `pre-push` hook in this checkout. Default true. */
41
+ prePush?: boolean;
42
+ /** The command the hook runs for chant, such as `npx chant`. Default `chant`. */
43
+ chant?: string;
44
+ /** For the hint: the principal the runner key is listed under, such as `ci:acme/infra`. */
45
+ runner?: string;
46
+ /** For the hint: the secret or CI/CD variable the pipeline reads the runner key from (`evidence.runnerKeySecret`, `--evidence-runner-key-secret`). */
47
+ runnerKeySecret?: string;
48
+ }
49
+ /** A planned file, in the shape a product's init plans its own. */
50
+ export interface RefGateInitFile {
51
+ /** Absolute. */
52
+ path: string;
53
+ status: "created" | "updated" | "unchanged";
54
+ content: string;
55
+ /** The hook's mode, 0o755; a product that writes the file itself sets it. */
56
+ mode?: number;
57
+ /** In the git directory, so never committed. */
58
+ local?: boolean;
59
+ }
60
+ export interface RefGateInitPlan {
61
+ files: RefGateInitFile[];
62
+ /** What a person still has to do, or what was left as it is and why. */
63
+ notes: string[];
64
+ }
65
+ export declare class RefGateInitError extends Error {
66
+ constructor(message: string);
67
+ }
68
+ /**
69
+ * Plan the ref gate's init pieces for the checkout `repo` (#4913). Writes
70
+ * nothing. Throws a {@link RefGateInitError} for options no rule can hold,
71
+ * or a directory that is not in a git repository.
72
+ */
73
+ export declare function refGateInitPlan(repo: string, opts: RefGateInitOptions): RefGateInitPlan;
74
+ /** Write the files of a plan, each directory made and the hook executable. An unchanged file is not touched. */
75
+ export declare function writeRefGateInit(plan: Pick<RefGateInitPlan, "files">): void;
76
+ //# sourceMappingURL=ref-gate-init.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ref-gate-init.d.ts","sourceRoot":"","sources":["../src/ref-gate-init.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAWH,OAAO,EAAE,qBAAqB,EAAE,MAAM,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I,CAAC,eAAe,EAAE,OAAO,CAAC,GAAG,IAAI,CAO3E"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * `@intentius/chant/ref-gate-init` (#4913): the pieces of the ref gate a
3
+ * product's init writes, so no product writes `.chant/trust.json`, a hook or
4
+ * its own runner key words.
5
+ *
6
+ * {@link refGateInitPlan} plans, and writes nothing, so a product folds the
7
+ * files into its own plan and keeps its dry run:
8
+ *
9
+ * - `.chant/trust.json` with a `refs` rule for the branch (#4867): created
10
+ * with `"schema": 1` when there is none, the rule added in place when the
11
+ * file has no rule for the branch, left as it is when it has one or does
12
+ * not parse.
13
+ * - The `pre-push` hook `chant workspace ref-gate install` writes, in the
14
+ * checkout's hooks directory, so a push the gate would refuse stops before
15
+ * the network and records the request for an override. It is local: git
16
+ * never commits it. A hook that is not chant's is left as it is.
17
+ * - The runner key hint: with no runner key and no keyless identity in the
18
+ * file, nothing can sign the evidence the rule needs, so the gate would
19
+ * refuse every push; a note gives the commands that list a key and where
20
+ * the pipeline reads it.
21
+ *
22
+ * {@link writeRefGateInit} writes the planned files, the hook executable.
23
+ */
24
+ import { spawnSync } from "node:child_process";
25
+ import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
26
+ import { dirname, isAbsolute, join } from "node:path";
27
+ import { appendElement, setProperty } from "./workspace/json-edit.js";
28
+ import { parseJsonText } from "./workspace/jsonc.js";
29
+ import { REF_CHECK_NAME, TRUST_CONFIG_PATH, trustConfigSchema } from "./workspace/trust/policy.js";
30
+ import { refPatternRegExp, REF_GATE_STATUS } from "./workspace/trust/ref-gate.js";
31
+ import { REF_GATE_HOOK_MARK, refGateHook } from "./workspace/trust/ref-gate-cli.js";
32
+ export { REF_GATE_PIECES_FLOOR } from "./release-floors.js";
33
+ export class RefGateInitError extends Error {
34
+ constructor(message) {
35
+ super(message);
36
+ this.name = "RefGateInitError";
37
+ }
38
+ }
39
+ function gitOut(repo, args) {
40
+ const r = spawnSync("git", args, { cwd: repo, encoding: "utf-8" });
41
+ return r.status === 0 ? r.stdout.trim() : undefined;
42
+ }
43
+ function planned(path, content, extra = {}) {
44
+ const before = existsSync(path) ? readFileSync(path, "utf-8") : undefined;
45
+ return { path, status: before === undefined ? "created" : before === content ? "unchanged" : "updated", content, ...extra };
46
+ }
47
+ /** The `refs` rule for `ref`, with `action` and `status` only where they differ from the defaults. */
48
+ function ruleFor(ref, opts) {
49
+ return {
50
+ ref,
51
+ checks: opts.checks.map((c) => ({ check: c.check, ...(c.action === "warn" ? { action: "warn" } : {}), command: c.command })),
52
+ ...(opts.status && opts.status !== REF_GATE_STATUS ? { status: opts.status } : {}),
53
+ };
54
+ }
55
+ /**
56
+ * Plan the ref gate's init pieces for the checkout `repo` (#4913). Writes
57
+ * nothing. Throws a {@link RefGateInitError} for options no rule can hold,
58
+ * or a directory that is not in a git repository.
59
+ */
60
+ export function refGateInitPlan(repo, opts) {
61
+ const branch = opts.branch ?? "main";
62
+ const ref = `refs/heads/${branch}`;
63
+ if (!branch || /\s|\*/.test(branch))
64
+ throw new RefGateInitError(`the branch is one branch name, such as main, not ${JSON.stringify(branch)}`);
65
+ if (opts.checks.length === 0)
66
+ throw new RefGateInitError("the ref gate's rule needs at least one check");
67
+ for (const c of opts.checks) {
68
+ if (!REF_CHECK_NAME.test(c.check))
69
+ throw new RefGateInitError(`${JSON.stringify(c.check)} is not a check name: letters, digits, . _ : -`);
70
+ if (!c.command.trim())
71
+ throw new RefGateInitError(`check ${c.check} needs the command that produces its evidence`);
72
+ }
73
+ const top = gitOut(repo, ["rev-parse", "--show-toplevel"]);
74
+ if (!top)
75
+ throw new RefGateInitError(`${repo} is not in a git checkout; the ref gate's pieces go in one`);
76
+ const files = [];
77
+ const notes = [];
78
+ const trustPath = join(top, TRUST_CONFIG_PATH);
79
+ const rule = ruleFor(ref, opts);
80
+ let config;
81
+ if (!existsSync(trustPath)) {
82
+ config = { schema: 1, refs: [rule] };
83
+ files.push(planned(trustPath, `${JSON.stringify(config, null, 2)}\n`));
84
+ }
85
+ else {
86
+ const before = readFileSync(trustPath, "utf-8");
87
+ const parsed = parseJsonText(before, { jsonc: false });
88
+ const valid = parsed.ok ? trustConfigSchema.safeParse(parsed.value) : undefined;
89
+ if (!parsed.ok || !valid?.success) {
90
+ notes.push(`${TRUST_CONFIG_PATH} does not read as chant's trust policy, so init left it as it is; add a refs rule for ${ref} by hand once it does (chant workspace ref-gate)`);
91
+ }
92
+ else {
93
+ config = valid.data;
94
+ const covering = (config.refs ?? []).find((r) => refPatternRegExp(r.ref).test(ref));
95
+ if (covering) {
96
+ notes.push(`${TRUST_CONFIG_PATH} already has a refs rule for ${ref} (${covering.ref}), so init left it as it is`);
97
+ files.push(planned(trustPath, before));
98
+ }
99
+ else {
100
+ const after = config.refs ? appendElement(before, false, "/refs", rule) : setProperty(before, false, "", "refs", [rule]);
101
+ // The in-place edit is checked against the value it means, as the trust writes check theirs.
102
+ const reread = parseJsonText(after, { jsonc: false });
103
+ const check = reread.ok ? trustConfigSchema.safeParse(reread.value) : undefined;
104
+ if (!check?.success || (check.data.refs ?? []).length !== (config.refs ?? []).length + 1)
105
+ throw new RefGateInitError(`adding the refs rule to ${TRUST_CONFIG_PATH} did not read back as meant`);
106
+ config = check.data;
107
+ files.push(planned(trustPath, after));
108
+ }
109
+ }
110
+ }
111
+ if (files.some((f) => f.path === trustPath && f.status !== "unchanged")) {
112
+ notes.push(`${TRUST_CONFIG_PATH} is a protected write: merge it in a reviewed pull request; the gate reads it at base, so it holds from the next change on`);
113
+ }
114
+ if (config && (config.runners ?? []).length === 0 && !config.keyless) {
115
+ const principal = opts.runner ?? "<runner principal>";
116
+ const secret = opts.runnerKeySecret ?? "<secret>";
117
+ notes.push(`no runner key or keyless identity is in ${TRUST_CONFIG_PATH}, so no evidence verifies and the gate refuses every push to ${ref}. ` +
118
+ `Make a key with \`openssl genpkey -algorithm ed25519 -out runner.pem\`, list it with \`chant workspace trust runner add ${principal} --key runner.pem\`, ` +
119
+ `and keep runner.pem out of the repository: store it in the ${secret} secret the pipeline signs evidence with. Or list the pipeline's OIDC identity under keyless and sign with no key.`);
120
+ }
121
+ if (opts.prePush !== false) {
122
+ const hooks = gitOut(top, ["rev-parse", "--git-path", "hooks"]);
123
+ const dir = hooks ? (isAbsolute(hooks) ? hooks : join(top, hooks)) : join(top, ".git", "hooks");
124
+ const path = join(dir, "pre-push");
125
+ if (existsSync(path) && !readFileSync(path, "utf-8").includes(REF_GATE_HOOK_MARK)) {
126
+ notes.push(`${path} is not chant's ref gate hook, so init left it as it is; call ${opts.chant ?? "chant"} workspace ref-gate pre-push from it`);
127
+ }
128
+ else {
129
+ files.push(planned(path, refGateHook("pre-push", opts.chant), { mode: 0o755, local: true }));
130
+ }
131
+ }
132
+ return { files, notes };
133
+ }
134
+ /** Write the files of a plan, each directory made and the hook executable. An unchanged file is not touched. */
135
+ export function writeRefGateInit(plan) {
136
+ for (const f of plan.files) {
137
+ if (f.status === "unchanged")
138
+ continue;
139
+ mkdirSync(dirname(f.path), { recursive: true });
140
+ writeFileSync(f.path, f.content);
141
+ if (f.mode !== undefined)
142
+ chmodSync(f.path, f.mode);
143
+ }
144
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * `@intentius/chant/ref-gate-rules` (#4913): the ref gate's rules (#4867)
3
+ * for a product to read, so it needs no code of its own for the policy in
4
+ * `.chant/trust.json`'s `refs`.
5
+ *
6
+ * {@link refGateRulesAt} reads the rules for one ref from the policy at
7
+ * base, as `chant workspace ref-gate` does: whether a rule matches, the
8
+ * checks it needs evidence for, and the status the gate's status job sets.
9
+ * An apply before merge passes that status as `require` to chant's requires
10
+ * checks (`checkPrRequires` in `@intentius/chant/pr-requires`), so `checks`
11
+ * waits for the gate's status rather than passing before the job posted it.
12
+ * A forge check passes it as `refGateStatus` to `pipelineContract`;
13
+ * {@link refGateStatusFor} reads it for the default branch, as
14
+ * `chant ci forge-check --ref-gate-status` does.
15
+ */
16
+ export { REF_GATE_STATUS, refGateRulesAt, refGateStatusFor, refPatternRegExp, rulesFor, type RefGateRules, } from "./workspace/trust/ref-gate.js";
17
+ export type { RefRule } from "./workspace/trust/policy.js";
18
+ export { REF_GATE_PIECES_FLOOR } from "./release-floors.js";
19
+ //# sourceMappingURL=ref-gate-rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ref-gate-rules.d.ts","sourceRoot":"","sources":["../src/ref-gate-rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,EACR,KAAK,YAAY,GAClB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * `@intentius/chant/ref-gate-rules` (#4913): the ref gate's rules (#4867)
3
+ * for a product to read, so it needs no code of its own for the policy in
4
+ * `.chant/trust.json`'s `refs`.
5
+ *
6
+ * {@link refGateRulesAt} reads the rules for one ref from the policy at
7
+ * base, as `chant workspace ref-gate` does: whether a rule matches, the
8
+ * checks it needs evidence for, and the status the gate's status job sets.
9
+ * An apply before merge passes that status as `require` to chant's requires
10
+ * checks (`checkPrRequires` in `@intentius/chant/pr-requires`), so `checks`
11
+ * waits for the gate's status rather than passing before the job posted it.
12
+ * A forge check passes it as `refGateStatus` to `pipelineContract`;
13
+ * {@link refGateStatusFor} reads it for the default branch, as
14
+ * `chant ci forge-check --ref-gate-status` does.
15
+ */
16
+ export { REF_GATE_STATUS, refGateRulesAt, refGateStatusFor, refPatternRegExp, rulesFor, } from "./workspace/trust/ref-gate.js";
17
+ export { REF_GATE_PIECES_FLOOR } from "./release-floors.js";
@@ -19,7 +19,7 @@
19
19
  * this constant to the next patch (#4501). The check fails while a floor
20
20
  * still names this constant after its version shipped.
21
21
  */
22
- export declare const NEXT_RELEASE = "0.124.86";
22
+ export declare const NEXT_RELEASE = "0.124.88";
23
23
  /** 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). */
24
24
  export declare const LOCAL_CHANT_FLOOR = "0.124.86";
25
25
  /** 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). */
@@ -28,6 +28,10 @@ export declare const REF_GATE_FLOOR = "0.124.86";
28
28
  export declare const OVERDUE_PIPELINE_FILES_FLOOR = "0.124.86";
29
29
  /** The first chant whose `terraformApplyCapabilityWith` takes `onCommand`, a hook around each engine command `terraform-apply` runs for a root, its reads' upstreams included (#4865). */
30
30
  export declare const TERRAFORM_APPLY_COMMAND_HOOK_FLOOR = "0.124.86";
31
+ /** 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). */
32
+ export declare const TERRAFORM_ENGINE_TIMINGS_FLOOR = "0.124.88";
33
+ /** 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). */
34
+ export declare const TERRAFORM_ROOT_HELPERS_FLOOR = "0.124.88";
31
35
  /** 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). */
32
36
  export declare const PRODUCT_HELPERS_FLOOR = "0.124.86";
33
37
  /** 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). */
@@ -76,4 +80,50 @@ export declare const CLOUD_LOGIN_FLOOR = "0.124.86";
76
80
  export declare const CHECK_EVIDENCE_FLOOR = "0.124.86";
77
81
  /** 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. */
78
82
  export declare const LOCAL_EVIDENCE_FLOOR = "0.124.86";
83
+ /** 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). */
84
+ export declare const KEYLESS_EVIDENCE_FLOOR = "0.124.87";
85
+ /** 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). */
86
+ export declare const WAVE_EVIDENCE_JOB_FLOOR = "0.124.88";
87
+ /** 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). */
88
+ export declare const CLOUD_LOGIN_SAME_STEP_FLOOR = "0.124.88";
89
+ /** 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). */
90
+ export declare const RELEASE_WORKFLOW_QEMU_FLOOR = "0.124.88";
91
+ /** 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). */
92
+ export declare const NPM_CARRIES_IMAGE_FLOOR = "0.124.88";
93
+ /** 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). */
94
+ export declare const LIVE_DRIFT_RECORDS_FLOOR = "0.124.88";
95
+ /** 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). */
96
+ export declare const SQL_TYPES_PATH_FLOOR = "0.124.88";
97
+ /** 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). */
98
+ export declare const FORGE_TARGET_ORIGIN_FLOOR = "0.124.88";
99
+ /** 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). */
100
+ export declare const STACK_OPS_PRODUCT_HELPERS_FLOOR = "0.124.88";
101
+ /** 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). */
102
+ export declare const FORGE_REMOTE_FLOOR = "0.124.88";
103
+ /** 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). */
104
+ export declare const GENERATED_CHECK_FLOOR = "0.124.88";
105
+ /** 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). */
106
+ export declare const LOCAL_CHANT_NEXT_RELEASE_FLOOR = "0.124.88";
107
+ /** 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). */
108
+ export declare const CHANT_EXTERNAL_PACKAGES_FLOOR = "0.124.88";
109
+ /** 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). */
110
+ export declare const CI_IMAGE_NON_ROOT_FLOOR = "0.124.88";
111
+ /** The first chant whose `productImageStages` stages type as the docker lexicon's `DockerfileStage[]` under `exactOptionalPropertyTypes`, so `new Dockerfile({ stages: productImageStages(spec) })` compiles (#4932). */
112
+ export declare const CI_IMAGE_DOCKER_STAGES_FLOOR = "0.124.88";
113
+ /** 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). */
114
+ export declare const OP_SETUP_STEP_NAME_FLOOR = "0.124.88";
115
+ /** 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). */
116
+ export declare const CLOUD_LOGIN_RESTART_FLOOR = "0.124.88";
117
+ /** 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). */
118
+ export declare const PR_LOOP_EVIDENCE_FLOOR = "0.124.88";
119
+ /** 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). */
120
+ export declare const CHECK_JOB_FLOOR = "0.124.88";
121
+ /** 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). */
122
+ export declare const GITLAB_OPEN_EVIDENCE_FLOOR = "0.124.88";
123
+ /** 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). */
124
+ export declare const CHECK_SUMMARY_FLOOR = "0.124.88";
125
+ /** 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). */
126
+ export declare const REF_GATE_STATUS_JOB_FLOOR = "0.124.88";
127
+ /** 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). */
128
+ export declare const REF_GATE_PIECES_FLOOR = "0.124.88";
79
129
  //# sourceMappingURL=release-floors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"release-floors.d.ts","sourceRoot":"","sources":["../src/release-floors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,+SAA+S;AAC/S,eAAO,MAAM,iBAAiB,aAAe,CAAC;AAE9C,qMAAqM;AACrM,eA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AO,MAAM,+BAA+B,aAAe,CAAC;AAE5D,wQAAwQ;AACxQ,eAAO,MAAM,kBAAkB,aAAe,CAAC;AAC/C,mYAAmY;AACnY,eAAO,MAAM,qBAAqB,aAAe,CAAC;AAElD,8TAA8T;AAC9T,eAAO,MAAM,8BAA8B,aAAe,CAAC;AAE3D,yNAAyN;AACzN,eAAO,MAAM,6BAA6B,aAAe,CAAC;AAE1D,0TAA0T;AAC1T,eAAO,MAAM,uBAAuB,aAAe,CAAC;AAEpD,yNAAyN;AACzN,eAAO,MAAM,4BAA4B,aAAe,CAAC;AAEzD,qOAAqO;AACrO,eAAO,MAAM,wBAAwB,aAAe,CAAC;AAErD,8WAA8W;AAC9W,eAAO,MAAM,yBAAyB,aAAe,CAAC;AAEtD,oQAAoQ;AACpQ,eAAO,MAAM,sBAAsB,aAAe,CAAC;AAEnD,mVAAmV;AACnV,eAAO,MAAM,eAAe,aAAe,CAAC;AAE5C,iWAAiW;AACjW,eAAO,MAAM,0BAA0B,aAAe,CAAC;AAEvD,sPAAsP;AACtP,eAAO,MAAM,mBAAmB,aAAe,CAAC;AAEhD,wQAAwQ;AACxQ,eAAO,MAAM,yBAAyB,aAAe,CAAC;AAEtD,mWAAmW;AACnW,eAAO,MAAM,qBAAqB,aAAe,CAAC"}
@@ -19,27 +19,31 @@
19
19
  * this constant to the next patch (#4501). The check fails while a floor
20
20
  * still names this constant after its version shipped.
21
21
  */
22
- export const NEXT_RELEASE = "0.124.86";
22
+ export const NEXT_RELEASE = "0.124.88";
23
23
  /** 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). */
24
- export const LOCAL_CHANT_FLOOR = NEXT_RELEASE;
24
+ export const LOCAL_CHANT_FLOOR = "0.124.86";
25
25
  /** 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). */
26
- export const REF_GATE_FLOOR = NEXT_RELEASE;
26
+ export const REF_GATE_FLOOR = "0.124.86";
27
27
  /** 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). */
28
- export const OVERDUE_PIPELINE_FILES_FLOOR = NEXT_RELEASE;
28
+ export const OVERDUE_PIPELINE_FILES_FLOOR = "0.124.86";
29
29
  /** The first chant whose `terraformApplyCapabilityWith` takes `onCommand`, a hook around each engine command `terraform-apply` runs for a root, its reads' upstreams included (#4865). */
30
- export const TERRAFORM_APPLY_COMMAND_HOOK_FLOOR = NEXT_RELEASE;
30
+ export const TERRAFORM_APPLY_COMMAND_HOOK_FLOOR = "0.124.86";
31
+ /** 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). */
32
+ export const TERRAFORM_ENGINE_TIMINGS_FLOOR = NEXT_RELEASE;
33
+ /** 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). */
34
+ export const TERRAFORM_ROOT_HELPERS_FLOOR = NEXT_RELEASE;
31
35
  /** 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). */
32
- export const PRODUCT_HELPERS_FLOOR = NEXT_RELEASE;
36
+ export const PRODUCT_HELPERS_FLOOR = "0.124.86";
33
37
  /** 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). */
34
- export const CI_IMAGE_FLOOR = NEXT_RELEASE;
38
+ export const CI_IMAGE_FLOOR = "0.124.86";
35
39
  /** 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). */
36
- export const DRIFT_ISSUE_FLOOR = NEXT_RELEASE;
40
+ export const DRIFT_ISSUE_FLOOR = "0.124.86";
37
41
  /** 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). */
38
- export const SOURCE_DIR_RULE_FLOOR = NEXT_RELEASE;
42
+ export const SOURCE_DIR_RULE_FLOOR = "0.124.86";
39
43
  /** 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). */
40
- export const PULUMI_STACK_OPS_ON_CORE_FLOOR = NEXT_RELEASE;
44
+ export const PULUMI_STACK_OPS_ON_CORE_FLOOR = "0.124.86";
41
45
  /** 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). */
42
- export const TERRAFORM_STATE_VERSION_READS_FLOOR = NEXT_RELEASE;
46
+ export const TERRAFORM_STATE_VERSION_READS_FLOOR = "0.124.86";
43
47
  /** 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). */
44
48
  export const TERRAFORM_APPLY_INSTANCE_READS_FLOOR = "0.124.80";
45
49
  /** The first chant whose terraform lexicon's `terraform-apply` takes `binary`, and `terraformApplyCapabilityWith({ resolveRoot })` gives each root its own binary (terragucci issue 1303). */
@@ -67,12 +71,58 @@ export const PR_FORGE_READS_FLOOR = "0.124.78";
67
71
  /** The first chant whose GitLab `scheduledRuns` takes `schedule`, the selector of an Op's `gitlab.scheduleRule` (#4813). */
68
72
  export const SCHEDULED_RUNS_SELECTOR_FLOOR = "0.124.78";
69
73
  /** 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). */
70
- export const OP_WAVES_JOB_INPUTS_FLOOR = NEXT_RELEASE;
74
+ export const OP_WAVES_JOB_INPUTS_FLOOR = "0.124.86";
71
75
  /** 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). */
72
- export const FLOOR_TABLE_FLOOR = NEXT_RELEASE;
76
+ export const FLOOR_TABLE_FLOOR = "0.124.86";
73
77
  /** 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). */
74
- export const CLOUD_LOGIN_FLOOR = NEXT_RELEASE;
78
+ export const CLOUD_LOGIN_FLOOR = "0.124.86";
75
79
  /** 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). */
76
- export const CHECK_EVIDENCE_FLOOR = NEXT_RELEASE;
80
+ export const CHECK_EVIDENCE_FLOOR = "0.124.86";
77
81
  /** 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. */
78
- export const LOCAL_EVIDENCE_FLOOR = NEXT_RELEASE;
82
+ export const LOCAL_EVIDENCE_FLOOR = "0.124.86";
83
+ /** 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). */
84
+ export const KEYLESS_EVIDENCE_FLOOR = "0.124.87";
85
+ /** 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). */
86
+ export const WAVE_EVIDENCE_JOB_FLOOR = NEXT_RELEASE;
87
+ /** 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). */
88
+ export const CLOUD_LOGIN_SAME_STEP_FLOOR = NEXT_RELEASE;
89
+ /** 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). */
90
+ export const RELEASE_WORKFLOW_QEMU_FLOOR = NEXT_RELEASE;
91
+ /** 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). */
92
+ export const NPM_CARRIES_IMAGE_FLOOR = NEXT_RELEASE;
93
+ /** 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). */
94
+ export const LIVE_DRIFT_RECORDS_FLOOR = NEXT_RELEASE;
95
+ /** 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). */
96
+ export const SQL_TYPES_PATH_FLOOR = NEXT_RELEASE;
97
+ /** 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). */
98
+ export const FORGE_TARGET_ORIGIN_FLOOR = NEXT_RELEASE;
99
+ /** 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). */
100
+ export const STACK_OPS_PRODUCT_HELPERS_FLOOR = NEXT_RELEASE;
101
+ /** 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). */
102
+ export const FORGE_REMOTE_FLOOR = NEXT_RELEASE;
103
+ /** 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). */
104
+ export const GENERATED_CHECK_FLOOR = NEXT_RELEASE;
105
+ /** 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). */
106
+ export const LOCAL_CHANT_NEXT_RELEASE_FLOOR = NEXT_RELEASE;
107
+ /** 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). */
108
+ export const CHANT_EXTERNAL_PACKAGES_FLOOR = NEXT_RELEASE;
109
+ /** 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). */
110
+ export const CI_IMAGE_NON_ROOT_FLOOR = NEXT_RELEASE;
111
+ /** The first chant whose `productImageStages` stages type as the docker lexicon's `DockerfileStage[]` under `exactOptionalPropertyTypes`, so `new Dockerfile({ stages: productImageStages(spec) })` compiles (#4932). */
112
+ export const CI_IMAGE_DOCKER_STAGES_FLOOR = NEXT_RELEASE;
113
+ /** 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). */
114
+ export const OP_SETUP_STEP_NAME_FLOOR = NEXT_RELEASE;
115
+ /** 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). */
116
+ export const CLOUD_LOGIN_RESTART_FLOOR = NEXT_RELEASE;
117
+ /** 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). */
118
+ export const PR_LOOP_EVIDENCE_FLOOR = NEXT_RELEASE;
119
+ /** 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). */
120
+ export const CHECK_JOB_FLOOR = NEXT_RELEASE;
121
+ /** 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). */
122
+ export const GITLAB_OPEN_EVIDENCE_FLOOR = NEXT_RELEASE;
123
+ /** 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). */
124
+ export const CHECK_SUMMARY_FLOOR = NEXT_RELEASE;
125
+ /** 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). */
126
+ export const REF_GATE_STATUS_JOB_FLOOR = NEXT_RELEASE;
127
+ /** 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). */
128
+ export const REF_GATE_PIECES_FLOOR = NEXT_RELEASE;
@@ -4,6 +4,14 @@ import type { GatedRequestRules } from "./lifecycle/gated-request.js";
4
4
  export declare const STATE_MIGRATION_FLOOR = "0.124.77";
5
5
  /** 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). */
6
6
  export declare const STATE_MIGRATION_SOURCE_FLOOR = "0.124.86";
7
+ /** The first chant whose `runStateMigration` takes a product's `record`, which the request's attachment binds beside the roots and `chant approve` shows (#4928). */
8
+ export declare const STATE_MIGRATION_RECORD_FLOOR = "0.124.88";
9
+ /** The most a product's migration `record` may take, as canonical JSON in UTF-8 (#4928): a record names moves, retags and stamps, never a state's contents. */
10
+ export declare const STATE_MIGRATION_RECORD_MAX_BYTES: number;
11
+ /** A product's migration `record` that cannot be bound: not JSON, or over {@link STATE_MIGRATION_RECORD_MAX_BYTES}. Thrown before anything is asked. */
12
+ export declare class StateMigrationRecordError extends Error {
13
+ constructor(message: string);
14
+ }
7
15
  /** A state as a migration binds it: its version id, when the store keeps versions, and its digest, null for no state. */
8
16
  export interface MigrationStateAt {
9
17
  version_id?: string;
@@ -74,6 +82,16 @@ export interface StateMigrationInput {
74
82
  words: StateMigrationWords;
75
83
  /** The product's facts the request binds, such as the migration file's path and digest. */
76
84
  fields?: Record<string, string>;
85
+ /**
86
+ * The product's own record of the migration, such as its moves, retags and
87
+ * stamps (#4928). It goes in the request's attachment beside the roots as
88
+ * canonical JSON (keys sorted), so the request's digest binds it and
89
+ * `chant approve` shows it. At most {@link STATE_MIGRATION_RECORD_MAX_BYTES};
90
+ * a record that is larger or is not JSON throws {@link StateMigrationRecordError}
91
+ * before anything is asked. Never a state's contents. Unset, the attachment
92
+ * is the roots alone, as before.
93
+ */
94
+ record?: unknown;
77
95
  /** The product's facts the finished line adds, given how it ended. */
78
96
  detail?: (result: StateMigrationResult) => Record<string, string | number | boolean>;
79
97
  rules: GatedRequestRules;
@@ -155,6 +173,11 @@ export type StateMigrationOutcome = {
155
173
  result?: StateMigrationResult;
156
174
  recorded: boolean;
157
175
  };
176
+ /**
177
+ * A product's record as the attachment binds it (#4928): its canonical JSON
178
+ * read back, so its keys are in sorted order, once it is known to fit.
179
+ */
180
+ export declare function boundRecord(record: unknown): unknown;
158
181
  /** The finished line's flat facts: how it ended, and each root's location, versions and digests. */
159
182
  export declare function migrationFacts(result: StateMigrationResult): Record<string, string | number | boolean>;
160
183
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"state-migration.d.ts","sourceRoot":"","sources":["../src/state-migration.ts"],"names":[],"mappings":"AAwCA,OAAO,EAA6B,KAAK,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAKnE,uEAAuE;AACvE,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAEhD,ySAAyS;AACzS,eAAO,MAAM,4BAA4B,aAAe,CAAC;AAEzD,yHAA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