@intentius/chant 0.101.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (739) hide show
  1. package/dist/agents/checks.d.ts.map +1 -1
  2. package/dist/attrref.d.ts.map +1 -1
  3. package/dist/audit/core.d.ts +2 -0
  4. package/dist/audit/core.d.ts.map +1 -1
  5. package/dist/audit/discover.d.ts.map +1 -1
  6. package/dist/audit/nginx.d.ts.map +1 -1
  7. package/dist/audit/prior-art.d.ts +48 -0
  8. package/dist/audit/prior-art.d.ts.map +1 -1
  9. package/dist/behaviour-kinds.d.ts.map +1 -1
  10. package/dist/builder.d.ts.map +1 -1
  11. package/dist/change-set.d.ts +232 -0
  12. package/dist/change-set.d.ts.map +1 -0
  13. package/dist/cli/commands/audit.d.ts +7 -0
  14. package/dist/cli/commands/audit.d.ts.map +1 -1
  15. package/dist/cli/commands/build.d.ts.map +1 -1
  16. package/dist/cli/commands/carve-emit.d.ts.map +1 -1
  17. package/dist/cli/commands/check-lexicon.d.ts +16 -0
  18. package/dist/cli/commands/check-lexicon.d.ts.map +1 -1
  19. package/dist/cli/commands/import.d.ts +8 -0
  20. package/dist/cli/commands/import.d.ts.map +1 -1
  21. package/dist/cli/commands/init-lexicon.d.ts.map +1 -1
  22. package/dist/cli/commands/init.d.ts +19 -0
  23. package/dist/cli/commands/init.d.ts.map +1 -1
  24. package/dist/cli/commands/onboard.d.ts +9 -0
  25. package/dist/cli/commands/onboard.d.ts.map +1 -1
  26. package/dist/cli/commands/pinned-upgrade.d.ts +19 -5
  27. package/dist/cli/commands/pinned-upgrade.d.ts.map +1 -1
  28. package/dist/cli/handlers/build.d.ts.map +1 -1
  29. package/dist/cli/handlers/change-set.d.ts +11 -0
  30. package/dist/cli/handlers/change-set.d.ts.map +1 -0
  31. package/dist/cli/handlers/dev.d.ts.map +1 -1
  32. package/dist/cli/handlers/fan-out.d.ts +33 -0
  33. package/dist/cli/handlers/fan-out.d.ts.map +1 -1
  34. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  35. package/dist/cli/handlers/misc.d.ts.map +1 -1
  36. package/dist/cli/handlers/operator.d.ts +16 -0
  37. package/dist/cli/handlers/operator.d.ts.map +1 -1
  38. package/dist/cli/handlers/pr.d.ts +31 -0
  39. package/dist/cli/handlers/pr.d.ts.map +1 -0
  40. package/dist/cli/handlers/run.d.ts.map +1 -1
  41. package/dist/cli/lsp/server.d.ts.map +1 -1
  42. package/dist/cli/main.d.ts.map +1 -1
  43. package/dist/cli/mcp/op-tools.d.ts.map +1 -1
  44. package/dist/cli/mcp/server.d.ts.map +1 -1
  45. package/dist/cli/mcp/tools/build.d.ts.map +1 -1
  46. package/dist/cli/mcp/tools/composites.d.ts.map +1 -1
  47. package/dist/cli/mcp/tools/explain.d.ts.map +1 -1
  48. package/dist/cli/mcp/tools/import.d.ts.map +1 -1
  49. package/dist/cli/mcp/tools/lint.d.ts.map +1 -1
  50. package/dist/cli/mcp/tools/scaffold.d.ts.map +1 -1
  51. package/dist/cli/mcp/tools/search.d.ts.map +1 -1
  52. package/dist/cli/mcp/workspace-tools.d.ts +4 -3
  53. package/dist/cli/mcp/workspace-tools.d.ts.map +1 -1
  54. package/dist/cli/registry.d.ts +74 -3
  55. package/dist/cli/registry.d.ts.map +1 -1
  56. package/dist/codegen/fetch.d.ts.map +1 -1
  57. package/dist/codegen/naming.d.ts.map +1 -1
  58. package/dist/codegen/pinned-upgrade.d.ts +67 -3
  59. package/dist/codegen/pinned-upgrade.d.ts.map +1 -1
  60. package/dist/codegen/registry.d.ts.map +1 -1
  61. package/dist/components/auto-release.d.ts +16 -0
  62. package/dist/components/auto-release.d.ts.map +1 -1
  63. package/dist/components/capability-plugin-loader.d.ts.map +1 -1
  64. package/dist/components/capability.d.ts +53 -0
  65. package/dist/components/capability.d.ts.map +1 -1
  66. package/dist/components/changed-files.d.ts +31 -0
  67. package/dist/components/changed-files.d.ts.map +1 -0
  68. package/dist/components/cli-support.d.ts +9 -1
  69. package/dist/components/cli-support.d.ts.map +1 -1
  70. package/dist/components/component.d.ts +24 -0
  71. package/dist/components/component.d.ts.map +1 -1
  72. package/dist/components/deploy-units.d.ts.map +1 -1
  73. package/dist/components/driver.d.ts +13 -0
  74. package/dist/components/driver.d.ts.map +1 -1
  75. package/dist/components/fan-out-output.d.ts +6 -0
  76. package/dist/components/fan-out-output.d.ts.map +1 -1
  77. package/dist/components/fan-out-record.d.ts +41 -0
  78. package/dist/components/fan-out-record.d.ts.map +1 -0
  79. package/dist/components/fan-out-run.d.ts +65 -0
  80. package/dist/components/fan-out-run.d.ts.map +1 -1
  81. package/dist/components/fan-out-support.d.ts +2 -0
  82. package/dist/components/fan-out-support.d.ts.map +1 -1
  83. package/dist/components/fan-out.d.ts +6 -0
  84. package/dist/components/fan-out.d.ts.map +1 -1
  85. package/dist/components/gated-wave-pipeline.d.ts +50 -0
  86. package/dist/components/gated-wave-pipeline.d.ts.map +1 -0
  87. package/dist/components/index.d.ts +1 -1
  88. package/dist/components/index.d.ts.map +1 -1
  89. package/dist/components/layers.d.ts +25 -0
  90. package/dist/components/layers.d.ts.map +1 -0
  91. package/dist/components/pr-pipeline.d.ts +61 -0
  92. package/dist/components/pr-pipeline.d.ts.map +1 -0
  93. package/dist/components/pr-run.d.ts +119 -0
  94. package/dist/components/pr-run.d.ts.map +1 -0
  95. package/dist/components/promote.d.ts.map +1 -1
  96. package/dist/components/starter-plugin.d.ts.map +1 -1
  97. package/dist/components/verbs/process-runner.d.ts.map +1 -1
  98. package/dist/components/verbs/r2-sync.d.ts.map +1 -1
  99. package/dist/components/verbs/run-agent.d.ts.map +1 -1
  100. package/dist/components/verbs/sbom-generator.d.ts.map +1 -1
  101. package/dist/components/verbs/shell.d.ts.map +1 -1
  102. package/dist/components/verbs/sign.d.ts.map +1 -1
  103. package/dist/components/verbs/verify.d.ts.map +1 -1
  104. package/dist/components/verbs/vuln-gate.d.ts.map +1 -1
  105. package/dist/components/verbs/vuln-scan.d.ts.map +1 -1
  106. package/dist/components/verbs/wrangler.d.ts.map +1 -1
  107. package/dist/components/wave-plan.d.ts +49 -0
  108. package/dist/components/wave-plan.d.ts.map +1 -0
  109. package/dist/composite.d.ts.map +1 -1
  110. package/dist/config.d.ts +19 -7
  111. package/dist/config.d.ts.map +1 -1
  112. package/dist/declarable.d.ts +16 -0
  113. package/dist/declarable.d.ts.map +1 -1
  114. package/dist/discovery/cache.d.ts.map +1 -1
  115. package/dist/discovery/fold-import.d.ts +15 -5
  116. package/dist/discovery/fold-import.d.ts.map +1 -1
  117. package/dist/discovery/param-deps.d.ts +16 -0
  118. package/dist/discovery/param-deps.d.ts.map +1 -1
  119. package/dist/discovery/sandbox/policy-wire.d.ts.map +1 -1
  120. package/dist/discovery/specifier-resolve.d.ts +37 -0
  121. package/dist/discovery/specifier-resolve.d.ts.map +1 -0
  122. package/dist/errors.d.ts.map +1 -1
  123. package/dist/fold/fold.d.ts +3 -1
  124. package/dist/fold/fold.d.ts.map +1 -1
  125. package/dist/gated-waves.d.ts +147 -0
  126. package/dist/gated-waves.d.ts.map +1 -0
  127. package/dist/graph-detail.d.ts.map +1 -1
  128. package/dist/graph-ir.d.ts.map +1 -1
  129. package/dist/graph-layout.d.ts.map +1 -1
  130. package/dist/import/base-parser.d.ts.map +1 -1
  131. package/dist/import/embedded.d.ts +7 -0
  132. package/dist/import/embedded.d.ts.map +1 -1
  133. package/dist/import/parser-options.d.ts +14 -0
  134. package/dist/import/parser-options.d.ts.map +1 -0
  135. package/dist/import/parser.d.ts +17 -0
  136. package/dist/import/parser.d.ts.map +1 -1
  137. package/dist/index.d.ts +1 -0
  138. package/dist/index.d.ts.map +1 -1
  139. package/dist/kubectl-context.d.ts.map +1 -1
  140. package/dist/lexicon-output.d.ts.map +1 -1
  141. package/dist/lexicon-schema.d.ts +3 -3
  142. package/dist/lexicon.d.ts +103 -3
  143. package/dist/lexicon.d.ts.map +1 -1
  144. package/dist/lifecycle/assert-live.d.ts.map +1 -1
  145. package/dist/lifecycle/gate-ledger.d.ts +22 -0
  146. package/dist/lifecycle/gate-ledger.d.ts.map +1 -1
  147. package/dist/lifecycle/git.d.ts +46 -1
  148. package/dist/lifecycle/git.d.ts.map +1 -1
  149. package/dist/lifecycle/member-ledger.d.ts.map +1 -1
  150. package/dist/lifecycle/observe.d.ts.map +1 -1
  151. package/dist/lifecycle/plan-ledger.d.ts.map +1 -1
  152. package/dist/lifecycle/release-ledger.d.ts.map +1 -1
  153. package/dist/lifecycle/scenario.d.ts.map +1 -1
  154. package/dist/lifecycle/status.d.ts.map +1 -1
  155. package/dist/lifecycle/work-lease.d.ts +61 -2
  156. package/dist/lifecycle/work-lease.d.ts.map +1 -1
  157. package/dist/lint/config.d.ts +8 -8
  158. package/dist/lint/engine.d.ts +6 -0
  159. package/dist/lint/engine.d.ts.map +1 -1
  160. package/dist/lint/post-synth.d.ts +18 -0
  161. package/dist/lint/post-synth.d.ts.map +1 -1
  162. package/dist/lsp/lexicon-providers.d.ts.map +1 -1
  163. package/dist/op/activities/activity-contracts.d.ts +137 -11
  164. package/dist/op/activities/activity-contracts.d.ts.map +1 -1
  165. package/dist/op/activities/apply.d.ts +79 -9
  166. package/dist/op/activities/apply.d.ts.map +1 -1
  167. package/dist/op/activities/change-set.d.ts +62 -0
  168. package/dist/op/activities/change-set.d.ts.map +1 -0
  169. package/dist/op/activities/decide.d.ts +2 -0
  170. package/dist/op/activities/decide.d.ts.map +1 -1
  171. package/dist/op/activities/factory.d.ts +137 -0
  172. package/dist/op/activities/factory.d.ts.map +1 -0
  173. package/dist/op/activities/index.d.ts +5 -1
  174. package/dist/op/activities/index.d.ts.map +1 -1
  175. package/dist/op/activities/lexicon-upgrade.d.ts +44 -12
  176. package/dist/op/activities/lexicon-upgrade.d.ts.map +1 -1
  177. package/dist/op/activity-contract.d.ts +1 -1
  178. package/dist/op/activity-contract.d.ts.map +1 -1
  179. package/dist/op/activity-failure.d.ts.map +1 -1
  180. package/dist/op/activity-profiles.d.ts.map +1 -1
  181. package/dist/op/builders.d.ts +11 -0
  182. package/dist/op/builders.d.ts.map +1 -1
  183. package/dist/op/composites/apply-op.d.ts +12 -5
  184. package/dist/op/composites/apply-op.d.ts.map +1 -1
  185. package/dist/op/composites/lexicon-upgrade-op.d.ts +22 -6
  186. package/dist/op/composites/lexicon-upgrade-op.d.ts.map +1 -1
  187. package/dist/op/decide-backend.d.ts +5 -1
  188. package/dist/op/decide-backend.d.ts.map +1 -1
  189. package/dist/op/decide-read-inputs.d.ts +4 -2
  190. package/dist/op/decide-read-inputs.d.ts.map +1 -1
  191. package/dist/op/emulator-lifecycle.d.ts +21 -2
  192. package/dist/op/emulator-lifecycle.d.ts.map +1 -1
  193. package/dist/op/factory.d.ts +83 -0
  194. package/dist/op/factory.d.ts.map +1 -0
  195. package/dist/op/gate-approval.d.ts +5 -1
  196. package/dist/op/gate-approval.d.ts.map +1 -1
  197. package/dist/op/gate-wait.d.ts.map +1 -1
  198. package/dist/op/gate.d.ts +19 -3
  199. package/dist/op/gate.d.ts.map +1 -1
  200. package/dist/op/index.d.ts +6 -1
  201. package/dist/op/index.d.ts.map +1 -1
  202. package/dist/op/local-executor.d.ts +6 -0
  203. package/dist/op/local-executor.d.ts.map +1 -1
  204. package/dist/op/op-ir.d.ts +2 -0
  205. package/dist/op/op-ir.d.ts.map +1 -1
  206. package/dist/op/op-verb-class.d.ts.map +1 -1
  207. package/dist/op/operator.d.ts.map +1 -1
  208. package/dist/op/run-context.d.ts +39 -0
  209. package/dist/op/run-context.d.ts.map +1 -0
  210. package/dist/op/run-live.d.ts.map +1 -1
  211. package/dist/op/runtimes/local.d.ts.map +1 -1
  212. package/dist/op/source-archive.d.ts.map +1 -1
  213. package/dist/op/steward-beside.d.ts.map +1 -1
  214. package/dist/op/steward-points.d.ts.map +1 -1
  215. package/dist/op/steward.d.ts.map +1 -1
  216. package/dist/op/types.d.ts +16 -3
  217. package/dist/op/types.d.ts.map +1 -1
  218. package/dist/op/work-lease-run.d.ts +24 -4
  219. package/dist/op/work-lease-run.d.ts.map +1 -1
  220. package/dist/plan-summary.d.ts +207 -0
  221. package/dist/plan-summary.d.ts.map +1 -0
  222. package/dist/pr-forge.d.ts +105 -0
  223. package/dist/pr-forge.d.ts.map +1 -0
  224. package/dist/pr-loop.d.ts +178 -0
  225. package/dist/pr-loop.d.ts.map +1 -0
  226. package/dist/project-root.d.ts.map +1 -1
  227. package/dist/provenance.d.ts +21 -0
  228. package/dist/provenance.d.ts.map +1 -1
  229. package/dist/pseudo-parameter.d.ts.map +1 -1
  230. package/dist/reconcile.d.ts.map +1 -1
  231. package/dist/secret-materialization.d.ts.map +1 -1
  232. package/dist/telemetry-attribution.d.ts +31 -0
  233. package/dist/telemetry-attribution.d.ts.map +1 -1
  234. package/dist/terraform/emit-source.d.ts.map +1 -1
  235. package/dist/terraform/hcl2json.d.ts +45 -0
  236. package/dist/terraform/hcl2json.d.ts.map +1 -0
  237. package/dist/terraform/parse.d.ts +4 -40
  238. package/dist/terraform/parse.d.ts.map +1 -1
  239. package/dist/testing.d.ts.map +1 -1
  240. package/dist/workspace/__fixtures__/contract-repo.d.ts.map +1 -1
  241. package/dist/workspace/__fixtures__/decide-workspace.d.ts +1 -1
  242. package/dist/workspace/__fixtures__/decide-workspace.d.ts.map +1 -1
  243. package/dist/workspace/agent-cli.d.ts +5 -0
  244. package/dist/workspace/agent-cli.d.ts.map +1 -1
  245. package/dist/workspace/box-cli.d.ts +12 -0
  246. package/dist/workspace/box-cli.d.ts.map +1 -0
  247. package/dist/workspace/box-factory.d.ts +97 -0
  248. package/dist/workspace/box-factory.d.ts.map +1 -0
  249. package/dist/workspace/box-listing.d.ts +85 -0
  250. package/dist/workspace/box-listing.d.ts.map +1 -0
  251. package/dist/workspace/box-publish.d.ts +147 -0
  252. package/dist/workspace/box-publish.d.ts.map +1 -0
  253. package/dist/workspace/broker-protocol.d.ts +190 -0
  254. package/dist/workspace/broker-protocol.d.ts.map +1 -0
  255. package/dist/workspace/changes.d.ts.map +1 -1
  256. package/dist/workspace/chant-migrations/chud-lexicon-exit.d.ts.map +1 -1
  257. package/dist/workspace/checks/boxes.d.ts.map +1 -1
  258. package/dist/workspace/checks.d.ts +5 -0
  259. package/dist/workspace/checks.d.ts.map +1 -1
  260. package/dist/workspace/compose-graph.d.ts +10 -0
  261. package/dist/workspace/compose-graph.d.ts.map +1 -1
  262. package/dist/workspace/composites.d.ts +2 -2
  263. package/dist/workspace/composites.d.ts.map +1 -1
  264. package/dist/workspace/conformance/__fixtures__/reference-broker.d.ts +17 -0
  265. package/dist/workspace/conformance/__fixtures__/reference-broker.d.ts.map +1 -0
  266. package/dist/workspace/conformance/broker.d.ts +202 -0
  267. package/dist/workspace/conformance/broker.d.ts.map +1 -0
  268. package/dist/workspace/conformance/index.d.ts +68 -6
  269. package/dist/workspace/conformance/index.d.ts.map +1 -1
  270. package/dist/workspace/conformance/vitest.d.ts +19 -3
  271. package/dist/workspace/conformance/vitest.d.ts.map +1 -1
  272. package/dist/workspace/conformance/writer.d.ts +462 -0
  273. package/dist/workspace/conformance/writer.d.ts.map +1 -0
  274. package/dist/workspace/decide.d.ts +126 -12
  275. package/dist/workspace/decide.d.ts.map +1 -1
  276. package/dist/workspace/decision-points.schema.json +11 -4
  277. package/dist/workspace/declaration.d.ts +156 -4
  278. package/dist/workspace/declaration.d.ts.map +1 -1
  279. package/dist/workspace/declaration.schema.json +383 -5
  280. package/dist/workspace/environments.d.ts +36 -10
  281. package/dist/workspace/environments.d.ts.map +1 -1
  282. package/dist/workspace/factory-rules.d.ts +180 -0
  283. package/dist/workspace/factory-rules.d.ts.map +1 -0
  284. package/dist/workspace/generated-files.d.ts.map +1 -1
  285. package/dist/workspace/graph-cache.d.ts.map +1 -1
  286. package/dist/workspace/graph-cli.d.ts +2 -0
  287. package/dist/workspace/graph-cli.d.ts.map +1 -1
  288. package/dist/workspace/identity.d.ts +111 -0
  289. package/dist/workspace/identity.d.ts.map +1 -0
  290. package/dist/workspace/init.d.ts +21 -0
  291. package/dist/workspace/init.d.ts.map +1 -1
  292. package/dist/workspace/intent-cli.d.ts +7 -4
  293. package/dist/workspace/intent-cli.d.ts.map +1 -1
  294. package/dist/workspace/intent-record.d.ts +36 -2
  295. package/dist/workspace/intent-record.d.ts.map +1 -1
  296. package/dist/workspace/intent.d.ts +249 -8
  297. package/dist/workspace/intent.d.ts.map +1 -1
  298. package/dist/workspace/json-edit.d.ts +24 -0
  299. package/dist/workspace/json-edit.d.ts.map +1 -0
  300. package/dist/workspace/jsonc.d.ts +11 -0
  301. package/dist/workspace/jsonc.d.ts.map +1 -1
  302. package/dist/workspace/kinds.d.ts +66 -4
  303. package/dist/workspace/kinds.d.ts.map +1 -1
  304. package/dist/workspace/lexicon-symbols.d.ts +29 -0
  305. package/dist/workspace/lexicon-symbols.d.ts.map +1 -0
  306. package/dist/workspace/lineage-hash-index.d.ts.map +1 -1
  307. package/dist/workspace/lineage-lock.d.ts +2 -2
  308. package/dist/workspace/lineage-lock.d.ts.map +1 -1
  309. package/dist/workspace/lineage-upgrade.d.ts +31 -2
  310. package/dist/workspace/lineage-upgrade.d.ts.map +1 -1
  311. package/dist/workspace/links.d.ts.map +1 -1
  312. package/dist/workspace/point-answer.schema.json +42 -2
  313. package/dist/workspace/points-cli.d.ts +10 -3
  314. package/dist/workspace/points-cli.d.ts.map +1 -1
  315. package/dist/workspace/points.d.ts +66 -5
  316. package/dist/workspace/points.d.ts.map +1 -1
  317. package/dist/workspace/principal-classes.d.ts +114 -0
  318. package/dist/workspace/principal-classes.d.ts.map +1 -0
  319. package/dist/workspace/reason-codes.d.ts +53 -4
  320. package/dist/workspace/reason-codes.d.ts.map +1 -1
  321. package/dist/workspace/record-assets.d.ts.map +1 -1
  322. package/dist/workspace/record-sessions.d.ts +5 -7
  323. package/dist/workspace/record-sessions.d.ts.map +1 -1
  324. package/dist/workspace/records-checkout.d.ts +54 -0
  325. package/dist/workspace/records-checkout.d.ts.map +1 -0
  326. package/dist/workspace/records-cli.d.ts +34 -1
  327. package/dist/workspace/records-cli.d.ts.map +1 -1
  328. package/dist/workspace/records-close.d.ts +7 -3
  329. package/dist/workspace/records-close.d.ts.map +1 -1
  330. package/dist/workspace/records-since.d.ts.map +1 -1
  331. package/dist/workspace/records-write.d.ts +68 -7
  332. package/dist/workspace/records-write.d.ts.map +1 -1
  333. package/dist/workspace/records.d.ts +43 -9
  334. package/dist/workspace/records.d.ts.map +1 -1
  335. package/dist/workspace/runs-cli.d.ts +296 -0
  336. package/dist/workspace/runs-cli.d.ts.map +1 -0
  337. package/dist/workspace/runs.d.ts +544 -0
  338. package/dist/workspace/runs.d.ts.map +1 -0
  339. package/dist/workspace/session-kinds.d.ts +1 -1
  340. package/dist/workspace/session-kinds.d.ts.map +1 -1
  341. package/dist/workspace/source-block.d.ts +1 -1
  342. package/dist/workspace/source-block.d.ts.map +1 -1
  343. package/dist/workspace/squash.d.ts +80 -0
  344. package/dist/workspace/squash.d.ts.map +1 -0
  345. package/dist/workspace/status-gates.d.ts +17 -3
  346. package/dist/workspace/status-gates.d.ts.map +1 -1
  347. package/dist/workspace/status.d.ts +64 -0
  348. package/dist/workspace/status.d.ts.map +1 -1
  349. package/dist/workspace/symbols.d.ts +63 -0
  350. package/dist/workspace/symbols.d.ts.map +1 -0
  351. package/dist/workspace/trailer-joins.d.ts +46 -0
  352. package/dist/workspace/trailer-joins.d.ts.map +1 -0
  353. package/dist/workspace/trailers.d.ts +89 -0
  354. package/dist/workspace/trailers.d.ts.map +1 -0
  355. package/dist/workspace/trust/attestor.d.ts.map +1 -1
  356. package/dist/workspace/trust/rotation.d.ts.map +1 -1
  357. package/dist/workspace/trust/run-commits.d.ts +46 -0
  358. package/dist/workspace/trust/run-commits.d.ts.map +1 -0
  359. package/dist/workspace/trust/run-statement.d.ts +128 -0
  360. package/dist/workspace/trust/run-statement.d.ts.map +1 -0
  361. package/dist/workspace/trust/seal.d.ts +38 -0
  362. package/dist/workspace/trust/seal.d.ts.map +1 -1
  363. package/dist/workspace/trust/test-repo.d.ts.map +1 -1
  364. package/dist/workspace/trust/verify-cli.d.ts +1 -1
  365. package/dist/workspace/trust/verify.d.ts +16 -2
  366. package/dist/workspace/trust/verify.d.ts.map +1 -1
  367. package/dist/workspace/wip-cli.d.ts +21 -0
  368. package/dist/workspace/wip-cli.d.ts.map +1 -0
  369. package/dist/workspace/wip.d.ts +268 -0
  370. package/dist/workspace/wip.d.ts.map +1 -0
  371. package/dist/workspace/work-cli.d.ts +39 -3
  372. package/dist/workspace/work-cli.d.ts.map +1 -1
  373. package/dist/workspace/work-evidence.d.ts +1 -1
  374. package/dist/workspace/work-evidence.d.ts.map +1 -1
  375. package/dist/workspace/work-size.d.ts +55 -0
  376. package/dist/workspace/work-size.d.ts.map +1 -0
  377. package/dist/workspace/work.d.ts +26 -1
  378. package/dist/workspace/work.d.ts.map +1 -1
  379. package/dist/workspace/workspace-kinds.schema.json +122 -0
  380. package/dist/workspace/workspace-principals.schema.json +60 -0
  381. package/dist/workspace/write-lock-cli.d.ts +60 -0
  382. package/dist/workspace/write-lock-cli.d.ts.map +1 -0
  383. package/dist/workspace/write-lock.d.ts +152 -0
  384. package/dist/workspace/write-lock.d.ts.map +1 -0
  385. package/dist/workspace/write-scope.d.ts +83 -19
  386. package/dist/workspace/write-scope.d.ts.map +1 -1
  387. package/dist/yaml.d.ts +21 -39
  388. package/dist/yaml.d.ts.map +1 -1
  389. package/package.json +7 -2
  390. package/src/__fixtures__/change-set/lifecycle-plan.floci.json +59 -0
  391. package/src/__fixtures__/change-set/lifecycle-v1.ts.txt +4 -0
  392. package/src/__fixtures__/change-set/lifecycle-v2.ts.txt +4 -0
  393. package/src/__fixtures__/change-set/lifecycle.change-set.golden.json +95 -0
  394. package/src/__fixtures__/change-set/warden.change-set.golden.json +106 -0
  395. package/src/__fixtures__/change-set/warden.plan.json +44 -0
  396. package/src/__fixtures__/plan-summary/normalization-vectors.json +1593 -0
  397. package/src/__fixtures__/pr-loop/pr-apply-applied.note.golden.md +31 -0
  398. package/src/__fixtures__/pr-loop/pr-apply-refused.note.golden.md +31 -0
  399. package/src/__fixtures__/pr-loop/pr-plan.golden.json +127 -0
  400. package/src/__fixtures__/pr-loop/pr-plan.note.golden.md +37 -0
  401. package/src/audit/core.test.ts +15 -0
  402. package/src/audit/core.ts +8 -2
  403. package/src/audit/discover.test.ts +11 -0
  404. package/src/audit/discover.ts +7 -2
  405. package/src/audit/prior-art.ts +15 -0
  406. package/src/change-set-bundle.test.ts +57 -0
  407. package/src/change-set.test.ts +215 -0
  408. package/src/change-set.ts +445 -0
  409. package/src/cli/commands/__fixtures__/init-lexicon-output/package.json +1 -1
  410. package/src/cli/commands/audit-opt-in.test.ts +54 -0
  411. package/src/cli/commands/audit.ts +29 -2
  412. package/src/cli/commands/build.test.ts +19 -0
  413. package/src/cli/commands/build.ts +3 -2
  414. package/src/cli/commands/carve-emit-state.test.ts +4 -0
  415. package/src/cli/commands/carve-emit.ts +5 -19
  416. package/src/cli/commands/check-lexicon.test.ts +62 -1
  417. package/src/cli/commands/check-lexicon.ts +36 -6
  418. package/src/cli/commands/import-live.test.ts +18 -0
  419. package/src/cli/commands/import-parser-options.test.ts +133 -0
  420. package/src/cli/commands/import.ts +21 -3
  421. package/src/cli/commands/init-lexicon/templates/project.ts +1 -1
  422. package/src/cli/commands/init.test.ts +8 -1
  423. package/src/cli/commands/init.ts +23 -8
  424. package/src/cli/commands/lint.test.ts +37 -0
  425. package/src/cli/commands/onboard.test.ts +53 -3
  426. package/src/cli/commands/onboard.ts +52 -4
  427. package/src/cli/commands/pinned-upgrade.ts +73 -33
  428. package/src/cli/handlers/__snapshots__/build-member.test.ts.snap +2 -2
  429. package/src/cli/handlers/build.ts +13 -1
  430. package/src/cli/handlers/change-set.test.ts +56 -0
  431. package/src/cli/handlers/change-set.ts +44 -0
  432. package/src/cli/handlers/components.ts +2 -2
  433. package/src/cli/handlers/dev.ts +8 -6
  434. package/src/cli/handlers/fan-out.test.ts +221 -2
  435. package/src/cli/handlers/fan-out.ts +165 -75
  436. package/src/cli/handlers/graph.ts +3 -0
  437. package/src/cli/handlers/lifecycle.test.ts +67 -0
  438. package/src/cli/handlers/lifecycle.ts +6 -5
  439. package/src/cli/handlers/misc.ts +2 -0
  440. package/src/cli/handlers/operator.test.ts +21 -0
  441. package/src/cli/handlers/operator.ts +121 -6
  442. package/src/cli/handlers/pr.ts +373 -0
  443. package/src/cli/handlers/run.test.ts +111 -0
  444. package/src/cli/handlers/run.ts +86 -24
  445. package/src/cli/handlers/scenario.ts +2 -2
  446. package/src/cli/main.test.ts +21 -0
  447. package/src/cli/main.ts +246 -30
  448. package/src/cli/mcp/never-over-mcp.test.ts +101 -0
  449. package/src/cli/mcp/op-tools.ts +24 -2
  450. package/src/cli/mcp/workspace-tools.test.ts +5 -2
  451. package/src/cli/mcp/workspace-tools.ts +62 -7
  452. package/src/cli/registry.ts +74 -3
  453. package/src/codegen/pinned-upgrade-multi.test.ts +157 -0
  454. package/src/codegen/pinned-upgrade-tags.test.ts +112 -0
  455. package/src/codegen/pinned-upgrade.test.ts +104 -0
  456. package/src/codegen/pinned-upgrade.ts +250 -56
  457. package/src/codegen/testdata/postgres-tags.json +242 -0
  458. package/src/components/auto-release.ts +1 -1
  459. package/src/components/capability.ts +55 -0
  460. package/src/components/changed-files.ts +66 -0
  461. package/src/components/cli-support.ts +28 -5
  462. package/src/components/component.schema.json +17 -0
  463. package/src/components/component.ts +25 -0
  464. package/src/components/deploy-units.ts +3 -0
  465. package/src/components/driver.test.ts +52 -0
  466. package/src/components/driver.ts +31 -13
  467. package/src/components/fan-out-output.ts +42 -1
  468. package/src/components/fan-out-record.ts +69 -0
  469. package/src/components/fan-out-run.test.ts +17 -0
  470. package/src/components/fan-out-run.ts +304 -1
  471. package/src/components/fan-out-support.ts +3 -0
  472. package/src/components/fan-out-waves.test.ts +375 -0
  473. package/src/components/fan-out.ts +18 -17
  474. package/src/components/gated-wave-pipeline.ts +82 -0
  475. package/src/components/index.ts +1 -0
  476. package/src/components/layers.ts +30 -0
  477. package/src/components/pr-pipeline.ts +91 -0
  478. package/src/components/pr-run.test.ts +205 -0
  479. package/src/components/pr-run.ts +280 -0
  480. package/src/components/promote.ts +5 -0
  481. package/src/components/verbs/shell.test.ts +11 -0
  482. package/src/components/verbs/shell.ts +7 -3
  483. package/src/components/wave-plan.ts +124 -0
  484. package/src/config.test.ts +21 -0
  485. package/src/config.ts +15 -0
  486. package/src/declarable.test.ts +21 -0
  487. package/src/declarable.ts +19 -0
  488. package/src/discovery/fold-composite.test.ts +41 -5
  489. package/src/discovery/fold-import.test.ts +129 -0
  490. package/src/discovery/fold-import.ts +643 -131
  491. package/src/discovery/fold-package-composite.test.ts +264 -0
  492. package/src/discovery/fold-specifiers.test.ts +191 -0
  493. package/src/discovery/param-deps.test.ts +66 -1
  494. package/src/discovery/param-deps.ts +45 -0
  495. package/src/discovery/sandbox/bundle.ts +1 -1
  496. package/src/discovery/specifier-resolve.ts +344 -0
  497. package/src/fold/fold.test.ts +39 -1
  498. package/src/fold/fold.ts +83 -9
  499. package/src/fold-provenance.test.ts +140 -0
  500. package/src/gated-waves-bundle.test.ts +62 -0
  501. package/src/gated-waves.test.ts +118 -0
  502. package/src/gated-waves.ts +240 -0
  503. package/src/graph-ir.test.ts +83 -0
  504. package/src/graph-ir.ts +29 -0
  505. package/src/import/embedded.test.ts +20 -0
  506. package/src/import/embedded.ts +13 -0
  507. package/src/import/parser-options.ts +46 -0
  508. package/src/import/parser.ts +20 -0
  509. package/src/index.ts +1 -0
  510. package/src/lexicon.ts +106 -3
  511. package/src/lifecycle/gate-ledger.ts +23 -0
  512. package/src/lifecycle/git.ts +102 -16
  513. package/src/lifecycle/observe.test.ts +18 -0
  514. package/src/lifecycle/observe.ts +6 -4
  515. package/src/lifecycle/snapshot.ts +2 -2
  516. package/src/lifecycle/work-lease.test.ts +1 -1
  517. package/src/lifecycle/work-lease.ts +93 -2
  518. package/src/lint/engine.test.ts +55 -0
  519. package/src/lint/engine.ts +30 -4
  520. package/src/lint/output-docs.test.ts +59 -56
  521. package/src/lint/post-synth.test.ts +19 -0
  522. package/src/lint/post-synth.ts +19 -1
  523. package/src/meta/declared-imports.test.ts +1 -1
  524. package/src/op/activities/activity-contracts.ts +84 -0
  525. package/src/op/activities/apply.test.ts +189 -5
  526. package/src/op/activities/apply.ts +230 -8
  527. package/src/op/activities/change-set.ts +114 -0
  528. package/src/op/activities/decide.ts +3 -0
  529. package/src/op/activities/factory.ts +675 -0
  530. package/src/op/activities/index.ts +9 -0
  531. package/src/op/activities/lexicon-upgrade.test.ts +160 -6
  532. package/src/op/activities/lexicon-upgrade.ts +154 -51
  533. package/src/op/activity-contract.test.ts +21 -1
  534. package/src/op/activity-contract.ts +19 -9
  535. package/src/op/builders.ts +23 -0
  536. package/src/op/composites/apply-op.ts +12 -5
  537. package/src/op/composites/composites.test.ts +30 -3
  538. package/src/op/composites/lexicon-upgrade-op.test.ts +7 -2
  539. package/src/op/composites/lexicon-upgrade-op.ts +29 -8
  540. package/src/op/decide-backend.ts +5 -1
  541. package/src/op/decide-read-inputs.ts +33 -5
  542. package/src/op/emulator-lifecycle.test.ts +23 -0
  543. package/src/op/emulator-lifecycle.ts +52 -14
  544. package/src/op/factory.e2e.test.ts +232 -0
  545. package/src/op/factory.ts +118 -0
  546. package/src/op/gate-approval.test.ts +74 -0
  547. package/src/op/gate-approval.ts +5 -1
  548. package/src/op/gate.ts +31 -5
  549. package/src/op/index.ts +11 -1
  550. package/src/op/local-executor.test.ts +15 -0
  551. package/src/op/local-executor.ts +40 -12
  552. package/src/op/local-output.ts +1 -1
  553. package/src/op/op-ir.test.ts +9 -0
  554. package/src/op/op-ir.ts +4 -0
  555. package/src/op/op-verb-class.ts +3 -0
  556. package/src/op/operator.ts +4 -0
  557. package/src/op/run-context.test.ts +141 -0
  558. package/src/op/run-context.ts +51 -0
  559. package/src/op/runtimes/local.test.ts +14 -0
  560. package/src/op/runtimes/local.ts +2 -0
  561. package/src/op/steward-beside.ts +2 -0
  562. package/src/op/types.ts +16 -3
  563. package/src/op/work-lease-run.test.ts +47 -0
  564. package/src/op/work-lease-run.ts +76 -11
  565. package/src/plan-summary.test.ts +263 -0
  566. package/src/plan-summary.ts +845 -0
  567. package/src/pr-forge.test.ts +237 -0
  568. package/src/pr-forge.ts +332 -0
  569. package/src/pr-loop-bundle.test.ts +46 -0
  570. package/src/pr-loop.test.ts +171 -0
  571. package/src/pr-loop.ts +324 -0
  572. package/src/provenance.ts +35 -0
  573. package/src/telemetry-attribution.test.ts +23 -1
  574. package/src/telemetry-attribution.ts +51 -0
  575. package/src/terraform/hcl2json.test.ts +21 -0
  576. package/src/terraform/hcl2json.ts +81 -0
  577. package/src/terraform/parse.ts +11 -74
  578. package/src/workspace/agent-cli.ts +7 -3
  579. package/src/workspace/agent.schema.json +22 -0
  580. package/src/workspace/app-kind.test.ts +196 -0
  581. package/src/workspace/box-cli.ts +113 -0
  582. package/src/workspace/box-factory.test.ts +323 -0
  583. package/src/workspace/box-factory.ts +136 -0
  584. package/src/workspace/box-listing-write.schema.json +204 -0
  585. package/src/workspace/box-listing.test.ts +234 -0
  586. package/src/workspace/box-listing.ts +324 -0
  587. package/src/workspace/box-publish.schema.json +498 -0
  588. package/src/workspace/box-publish.test.ts +204 -0
  589. package/src/workspace/box-publish.ts +420 -0
  590. package/src/workspace/box-ship.test.ts +96 -0
  591. package/src/workspace/broker-protocol.schema.json +186 -0
  592. package/src/workspace/broker-protocol.test.ts +122 -0
  593. package/src/workspace/broker-protocol.ts +317 -0
  594. package/src/workspace/builder-tiers.test.ts +146 -0
  595. package/src/workspace/change-set.schema.json +460 -0
  596. package/src/workspace/changes.schema.json +12 -20
  597. package/src/workspace/changes.ts +4 -1
  598. package/src/workspace/chant-migrations.e2e.test.ts +17 -5
  599. package/src/workspace/checks/boxes.test.ts +5 -0
  600. package/src/workspace/checks.ts +39 -8
  601. package/src/workspace/component-environments.test.ts +105 -0
  602. package/src/workspace/compose-graph.ts +7 -0
  603. package/src/workspace/composites.schema.json +23 -4
  604. package/src/workspace/composites.test.ts +8 -8
  605. package/src/workspace/composites.ts +13 -2
  606. package/src/workspace/conformance/__fixture__/decisions/decision.schema.json +2 -2
  607. package/src/workspace/conformance/__fixtures__/reference-broker.ts +207 -0
  608. package/src/workspace/conformance/__writer_fixture__/answers/answer.kind.mjs +32 -0
  609. package/src/workspace/conformance/__writer_fixture__/answers/answer.schema.json +135 -0
  610. package/src/workspace/conformance/__writer_fixture__/contracts/contract.kind.mjs +37 -0
  611. package/src/workspace/conformance/__writer_fixture__/contracts/contract.schema.json +213 -0
  612. package/src/workspace/conformance/__writer_fixture__/decisions/points.json +228 -0
  613. package/src/workspace/conformance/__writer_fixture__/drivers/driver.kind.mjs +15 -0
  614. package/src/workspace/conformance/__writer_fixture__/drivers/driver.schema.json +38 -0
  615. package/src/workspace/conformance/__writer_fixture__/sessions/session.kind.mjs +54 -0
  616. package/src/workspace/conformance/__writer_fixture__/sessions/session.schema.json +289 -0
  617. package/src/workspace/conformance/__writer_fixture__/work/W-001-the-writer-suite-works-this-item.md +25 -0
  618. package/src/workspace/conformance/__writer_fixture__/work/work.kind.mjs +60 -0
  619. package/src/workspace/conformance/__writer_fixture__/work/work.schema.json +603 -0
  620. package/src/workspace/conformance/broker.test.ts +122 -0
  621. package/src/workspace/conformance/broker.ts +792 -0
  622. package/src/workspace/conformance/conformance.e2e.test.ts +36 -3
  623. package/src/workspace/conformance/index.mjs +51 -3
  624. package/src/workspace/conformance/index.ts +107 -15
  625. package/src/workspace/conformance/vitest.ts +76 -2
  626. package/src/workspace/conformance/writer-conformance.e2e.test.ts +177 -0
  627. package/src/workspace/conformance/writer.test.ts +186 -0
  628. package/src/workspace/conformance/writer.ts +1191 -0
  629. package/src/workspace/decide.test.ts +208 -4
  630. package/src/workspace/decide.ts +433 -73
  631. package/src/workspace/decision-points.schema.json +11 -4
  632. package/src/workspace/declaration.schema.json +383 -5
  633. package/src/workspace/declaration.ts +315 -10
  634. package/src/workspace/environments.ts +66 -14
  635. package/src/workspace/factory-rules.test.ts +62 -0
  636. package/src/workspace/factory-rules.ts +218 -0
  637. package/src/workspace/graph-cli.ts +6 -3
  638. package/src/workspace/graph.schema.json +314 -0
  639. package/src/workspace/identity.test.ts +219 -0
  640. package/src/workspace/identity.ts +186 -0
  641. package/src/workspace/init.ts +82 -2
  642. package/src/workspace/intent-cli.ts +84 -13
  643. package/src/workspace/intent-patch-id.test.ts +162 -0
  644. package/src/workspace/intent-record.schema.json +336 -1
  645. package/src/workspace/intent-record.ts +96 -16
  646. package/src/workspace/intent-reviews.test.ts +76 -0
  647. package/src/workspace/intent-squash.test.ts +213 -0
  648. package/src/workspace/intent-why.test.ts +274 -0
  649. package/src/workspace/intent.schema.json +950 -9
  650. package/src/workspace/intent.test.ts +11 -2
  651. package/src/workspace/intent.ts +722 -65
  652. package/src/workspace/json-edit.test.ts +121 -0
  653. package/src/workspace/json-edit.ts +142 -0
  654. package/src/workspace/jsonc.ts +20 -0
  655. package/src/workspace/kinds.ts +201 -39
  656. package/src/workspace/lexicon-symbols.test.ts +148 -0
  657. package/src/workspace/lexicon-symbols.ts +125 -0
  658. package/src/workspace/lineage-upgrade.test.ts +63 -0
  659. package/src/workspace/lineage-upgrade.ts +146 -5
  660. package/src/workspace/plan-summary.schema.json +155 -0
  661. package/src/workspace/point-answer.schema.json +42 -2
  662. package/src/workspace/points-cli.ts +42 -16
  663. package/src/workspace/points-write.schema.json +163 -4
  664. package/src/workspace/points.schema.json +157 -2
  665. package/src/workspace/points.test.ts +13 -1
  666. package/src/workspace/points.ts +118 -12
  667. package/src/workspace/pr-report.schema.json +95 -0
  668. package/src/workspace/principal-classes.test.ts +175 -0
  669. package/src/workspace/principal-classes.ts +307 -0
  670. package/src/workspace/profiles.test.ts +159 -0
  671. package/src/workspace/read-contract.test.ts +2 -2
  672. package/src/workspace/reason-codes.test.ts +23 -3
  673. package/src/workspace/reason-codes.ts +61 -4
  674. package/src/workspace/record-sessions.ts +9 -8
  675. package/src/workspace/records-amend.schema.json +80 -0
  676. package/src/workspace/records-checkout.ts +106 -0
  677. package/src/workspace/records-cli.ts +123 -17
  678. package/src/workspace/records-close.schema.json +79 -0
  679. package/src/workspace/records-close.ts +31 -7
  680. package/src/workspace/records-concurrent.e2e.test.ts +135 -0
  681. package/src/workspace/records-concurrent.test.ts +145 -0
  682. package/src/workspace/records-formats.test.ts +46 -10
  683. package/src/workspace/records-new.schema.json +9 -0
  684. package/src/workspace/records-review.schema.json +80 -0
  685. package/src/workspace/records-sessions-write.test.ts +69 -0
  686. package/src/workspace/records-sessions.test.ts +22 -0
  687. package/src/workspace/records-uncommitted.test.ts +171 -0
  688. package/src/workspace/records-write.ts +219 -30
  689. package/src/workspace/records.schema.json +88 -1
  690. package/src/workspace/records.ts +76 -8
  691. package/src/workspace/reference-kinds/app/package.json +10 -0
  692. package/src/workspace/reference-kinds/app/workspace-kinds.json +45 -0
  693. package/src/workspace/run-statement.schema.json +622 -0
  694. package/src/workspace/runs-cli.ts +710 -0
  695. package/src/workspace/runs-statement.test.ts +239 -0
  696. package/src/workspace/runs-write.schema.json +994 -0
  697. package/src/workspace/runs.schema.json +1257 -0
  698. package/src/workspace/runs.test.ts +281 -0
  699. package/src/workspace/runs.ts +970 -0
  700. package/src/workspace/session-kinds.ts +3 -3
  701. package/src/workspace/squash.ts +198 -0
  702. package/src/workspace/status-contract.test.ts +10 -2
  703. package/src/workspace/status-gates.ts +25 -9
  704. package/src/workspace/status.schema.json +252 -4
  705. package/src/workspace/status.ts +110 -1
  706. package/src/workspace/symbols.ts +191 -0
  707. package/src/workspace/trailer-joins.test.ts +171 -0
  708. package/src/workspace/trailer-joins.ts +82 -0
  709. package/src/workspace/trailers.ts +148 -0
  710. package/src/workspace/trust/run-commits.ts +115 -0
  711. package/src/workspace/trust/run-statement.ts +226 -0
  712. package/src/workspace/trust/seal.ts +58 -1
  713. package/src/workspace/trust/verify-cli.ts +6 -5
  714. package/src/workspace/trust/verify.ts +39 -6
  715. package/src/workspace/wip-cli.ts +97 -0
  716. package/src/workspace/wip-write.schema.json +504 -0
  717. package/src/workspace/wip.schema.json +334 -0
  718. package/src/workspace/wip.test.ts +294 -0
  719. package/src/workspace/wip.ts +753 -0
  720. package/src/workspace/work-cli.e2e.test.ts +28 -1
  721. package/src/workspace/work-cli.ts +136 -8
  722. package/src/workspace/work-evidence.schema.json +5 -0
  723. package/src/workspace/work-history.schema.json +73 -1
  724. package/src/workspace/work-history.test.ts +48 -5
  725. package/src/workspace/work-kind-fields.test.ts +154 -0
  726. package/src/workspace/work-lease.schema.json +14 -1
  727. package/src/workspace/work-size.test.ts +77 -0
  728. package/src/workspace/work-size.ts +93 -0
  729. package/src/workspace/work.ts +82 -0
  730. package/src/workspace/workspace-kinds.schema.json +122 -0
  731. package/src/workspace/workspace-principals.schema.json +60 -0
  732. package/src/workspace/write-lock-cli.ts +131 -0
  733. package/src/workspace/write-lock.schema.json +172 -0
  734. package/src/workspace/write-lock.test.ts +189 -0
  735. package/src/workspace/write-lock.ts +474 -0
  736. package/src/workspace/write-scope.test.ts +144 -3
  737. package/src/workspace/write-scope.ts +192 -45
  738. package/src/yaml.test.ts +111 -1
  739. package/src/yaml.ts +141 -549
@@ -21,6 +21,14 @@
21
21
  * per-resource `gcpApply` and the fly lexicon's `flyApply`, which never had a
22
22
  * CLI in the path to begin with: gcp maps each CNRM kind to its REST API
23
23
  * itself, and fly speaks the Machines API (flaps) directly, no flyctl.
24
+ * `grafana` joined later (#3011): the grafana lexicon's `grafanaApply`, which
25
+ * writes folders, library panels and dashboards over Grafana's HTTP API.
26
+ * `clickhouse` joined after it (#3208): the sql lexicon's `clickhouseApply`,
27
+ * which sends a ClickHouse server the CREATE and ALTER statements a build's
28
+ * classified changes need, over its HTTP interface. `postgres` joined after
29
+ * that (#3280): the sql lexicon's `postgresApply`, which sends a Postgres
30
+ * server the statements a build's classified changes need, grouped into
31
+ * transactions, with `CONCURRENTLY` statements outside them.
24
32
  * **The dispatcher stayed here**, because "which
25
33
  * mechanism applies this target" is not any one product's knowledge — and
26
34
  * because the activity keeps its name, its arguments and its place in
@@ -33,7 +41,7 @@
33
41
  */
34
42
  import { type ApplyResult } from "../../apply.js";
35
43
  /** The native apply mechanism for a target. */
36
- export type ApplyTarget = "cloudformation" | "kubectl" | "arm" | "kustomize" | "gcp" | "fly";
44
+ export type ApplyTarget = "cloudformation" | "kubectl" | "arm" | "kustomize" | "gcp" | "fly" | "grafana" | "clickhouse" | "postgres";
37
45
  /**
38
46
  * How apply treats resources no longer declared.
39
47
  * - `never` — additive only; never deletes.
@@ -44,7 +52,16 @@ export type ApplyTarget = "cloudformation" | "kubectl" | "arm" | "kustomize" | "
44
52
  * ownership label (via the gcp lexicon's `gcpApply` — only kinds it can
45
53
  * list; the rest are reported not-prunable), `fly` prunes machines by the
46
54
  * metadata marker and the metadata-less types (volumes/ips/certs/secrets)
47
- * app-scoped under a managed app (via the fly lexicon's `flyApply`), and
55
+ * app-scoped under a managed app (via the fly lexicon's `flyApply`),
56
+ * `grafana` prunes dashboards and folders by the ownership labels (via the
57
+ * grafana lexicon's `grafanaApply`; library panels, Grafana 11 and a project
58
+ * with no ownership stack are reported not-prunable), `clickhouse` drops
59
+ * tables, views and databases whose comment carries the project's marker
60
+ * (via the sql lexicon's `clickhouseApply`; a project with no ownership
61
+ * stack is reported not-prunable), `postgres` drops the objects in the
62
+ * declared schemas whose comment carries the project's marker (via the sql
63
+ * lexicon's `postgresApply`; never an object another tool keeps, and a
64
+ * project with no ownership stack is reported not-prunable), and
48
65
  * `cloudformation` is bounded by the stack — which holds, because a
49
66
  * resource CFN did not create is not in the stack.
50
67
  * - `gated` — same delete scope as `owned-only`, but an approval gate precedes
@@ -57,7 +74,11 @@ export interface NativeApplyArgs {
57
74
  target: ApplyTarget;
58
75
  /** Environment. What it means is per target: the CFN stack name on
59
76
  * `cloudformation`, the ARM resource group on `arm`, the chant environment
60
- * on `kubectl`/`kustomize`. On `gcp` and `fly` it is a log label only — the
77
+ * on `kubectl`/`kustomize`, and on `grafana` the chant environment whose
78
+ * `grafana.profiles.<env>` names the Grafana to write to, and on
79
+ * `clickhouse` and `postgres` the chant environment whose
80
+ * `sql.profiles.<env>` names the server. On `gcp` and
81
+ * `fly` it is a log label only — the
61
82
  * gcp applier resolves the project (`GOOGLE_CLOUD_PROJECT` env / CNRM
62
83
  * annotation) and endpoint (`GCP_ENDPOINT_URL` env) itself, and the fly
63
84
  * applier resolves its endpoint (`FLY_FLAPS_BASE_URL` env) and token
@@ -65,7 +86,9 @@ export interface NativeApplyArgs {
65
86
  env: string;
66
87
  /** Built manifest/template path. Default per target ({@link defaultOutput}):
67
88
  * `dist` (a dir) for kubectl, `template.json` (a file) for
68
- * CloudFormation/ARM, `dist/gcp.yaml` for gcp, `dist/fly.json` for fly. */
89
+ * CloudFormation/ARM, `dist/gcp.yaml` for gcp, `dist/fly.json` for fly,
90
+ * `dist/grafana.json` (the build index) for grafana, `dist/schema.json`
91
+ * (the sql lexicon's build output) for clickhouse and postgres. */
69
92
  output?: string;
70
93
  /** Delete handling. Default: never. */
71
94
  deleteMode?: DeleteMode;
@@ -159,6 +182,48 @@ export type FlyApplier = (args: {
159
182
  planPath: string;
160
183
  prune?: boolean;
161
184
  }, signal?: AbortSignal) => Promise<ApplyResult>;
185
+ /**
186
+ * The grafana lexicon's API applier, as this module needs to call it (#3011):
187
+ * `grafanaApply` composed with the lexicon's own `toApplyResult` projection,
188
+ * so what crosses this seam is core's versioned apply envelope (#1446).
189
+ *
190
+ * `environment` selects `grafana.profiles.<environment>` (else `GRAFANA_URL`
191
+ * with `GRAFANA_TOKEN`), the binding observe and export use. The ownership
192
+ * marker is not passed: `grafanaApply` reads `ownership` from the project's
193
+ * `chant.config.ts` itself, and a prune without a stack declines as
194
+ * not-prunable rather than delete another project's dashboards.
195
+ */
196
+ export type GrafanaApplier = (args: {
197
+ indexPath: string;
198
+ environment?: string;
199
+ prune?: boolean;
200
+ }, signal?: AbortSignal) => Promise<ApplyResult>;
201
+ /**
202
+ * The sql lexicon's ClickHouse applier, as this module needs to call it
203
+ * (#3208): `clickhouseApply` composed with the lexicon's own `toApplyResult`
204
+ * projection, so what crosses this seam is core's versioned apply envelope
205
+ * (#1446). A rebuild-class change rides it as NOT-ATTEMPTED.
206
+ *
207
+ * `environment` selects `sql.profiles.<environment>` (else `CLICKHOUSE_URL`),
208
+ * the binding observe and import use. The ownership marker is not passed:
209
+ * `clickhouseApply` reads `ownership` from the project's `chant.config.ts`.
210
+ */
211
+ export type ClickHouseApplier = (args: {
212
+ buildPath: string;
213
+ environment?: string;
214
+ prune?: boolean;
215
+ }, signal?: AbortSignal) => Promise<ApplyResult>;
216
+ /**
217
+ * The sql lexicon's Postgres applier, as this module needs to call it
218
+ * (#3280): `postgresApply` composed with the lexicon's own `toApplyResult`,
219
+ * the same seam as {@link ClickHouseApplier}. An expand-and-contract change
220
+ * and a rolled-back transaction's objects ride it as NOT-ATTEMPTED.
221
+ *
222
+ * `environment` selects `sql.profiles.<environment>` (else `POSTGRES_URL`).
223
+ * The ownership marker and the timeouts are not passed: `postgresApply`
224
+ * reads `ownership` and the profile from the project's `chant.config.ts`.
225
+ */
226
+ export type PostgresApplier = ClickHouseApplier;
162
227
  /**
163
228
  * The aws lexicon's CloudFormation applier, as this module needs to call it
164
229
  * (#1449). Structural, like {@link K8sApplier} and {@link AzureApplier}.
@@ -194,15 +259,20 @@ export type AwsRollback = (args: {
194
259
  * manifests), so `dist`; kustomize's "output" is the kustomization DIRECTORY
195
260
  * the render reads. The file targets take the file their lexicon's build
196
261
  * conventionally emits: `template.json` for CloudFormation/ARM, `dist/gcp.yaml`
197
- * (the CNRM manifest) for gcp, `dist/fly.json` (the serialized plan) for fly.
198
- * Pure — exported for testing.
262
+ * (the CNRM manifest) for gcp, `dist/fly.json` (the serialized plan) for fly,
263
+ * `dist/grafana.json` (the index the grafana serializer writes, with the
264
+ * dashboard files beside it) for grafana, `dist/schema.json` (the sql
265
+ * lexicon's build output) for clickhouse and postgres. Pure — exported for
266
+ * testing.
199
267
  */
200
268
  export declare function defaultOutput(target: ApplyTarget): string;
201
269
  /**
202
270
  * Apply declared source to the cloud via the target's native mechanism.
203
271
  * Deletes (when enabled) ride that mechanism's own delete path — marker-scoped
204
272
  * on `kubectl`, tag-scoped on `arm`, label-scoped on `gcp`, marker- and
205
- * app-scoped on `fly`, and stack-scoped on `cloudformation`, where the deploy
273
+ * app-scoped on `fly`, label-scoped on `grafana`, comment-marker-scoped on
274
+ * `clickhouse` and `postgres`, and stack-scoped on
275
+ * `cloudformation`, where the deploy
206
276
  * itself removes resources dropped from the template and `deleteMode` changes
207
277
  * nothing: a resource CFN did not create is not in the stack. See
208
278
  * {@link DeleteMode}.
@@ -210,9 +280,9 @@ export declare function defaultOutput(target: ApplyTarget): string;
210
280
  * The appliers are injectable so this dispatcher can be tested without the
211
281
  * product lexicons present; production resolves them through
212
282
  * {@link loadK8sApplier} / {@link loadAzureApplier} / {@link loadAwsApplier} /
213
- * {@link loadGcpApplier} / {@link loadFlyApplier}.
283
+ * {@link loadGcpApplier} / {@link loadFlyApplier} / {@link loadGrafanaApplier}.
214
284
  */
215
- export declare function nativeApply(args: NativeApplyArgs, signal?: AbortSignal, applier?: K8sApplier, azureApplier?: AzureApplier, renderer?: (dir: string) => Promise<Array<Record<string, unknown>>>, awsApplier?: AwsApplier, gcpApplier?: GcpApplier, flyApplier?: FlyApplier): Promise<NativeApplyResult>;
285
+ export declare function nativeApply(args: NativeApplyArgs, signal?: AbortSignal, applier?: K8sApplier, azureApplier?: AzureApplier, renderer?: (dir: string) => Promise<Array<Record<string, unknown>>>, awsApplier?: AwsApplier, gcpApplier?: GcpApplier, flyApplier?: FlyApplier, grafanaApplier?: GrafanaApplier, clickhouseApplier?: ClickHouseApplier, postgresApplier?: PostgresApplier): Promise<NativeApplyResult>;
216
286
  /**
217
287
  * Whether a target has a mapped native rollback for {@link compensateApply} to
218
288
  * run without an explicit `compensate.command`. `cloudformation` is the only
@@ -1 +1 @@
1
- {"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AAuB,EACxF,UAAU,CAAC,EAAE,UAAU,EACvB,UAAU,CAAC,EAAE,UAAU,EACvB,UAAU,CAAC,EAAE,UAAU,EACvB,cAAc,CAAC,EAAE,cAAc,EAC/B,iBAAiB,CAAC,EAAE,iBAAiB,EACrC,eAAe,CAAC,EAAE,eAAe,GAChC,OAAO,CAAC,iBAAiB,CAAC,CAiI5B;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAE9D;AAED,MAAM,WAAW,mBAAmB;IAClC,yCAAyC;IACzC,MAAM,EAAE,WAAW,CAAC;IACpB,yDAAyD;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,+BAA+B;AAC/B,MAAM,WAAW,qBAAqB;IACpC,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;sFACkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,mBAAmB,EACzB,MAAM,CAAC,EAAE,WAAW,EACpB,QAAQ,CAAC,EAAE,WAAW,GACrB,OAAO,CAAC,qBAAqB,CAAC,CA0BhC"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Op activities for the change-set document (#3181).
3
+ *
4
+ * A combined run over several members plans each one in its own step, joins
5
+ * the parts with {@link composeChangeSet}, and binds its gate to the
6
+ * document's digest:
7
+ *
8
+ * ```ts
9
+ * phase("Plan", [
10
+ * terraformPlan({ root: "estate", id: "estate" }), // a choudoufu member
11
+ * lifecyclePlanChangeSet({ member: "delivery", env: "prod", cwd: "delivery", id: "delivery" }),
12
+ * readChangeSetPart({ member: "warden", planner: "warden", file: "warden.plan.json", id: "warden" }),
13
+ * composeChangeSet({ parts: [estate.out.changeSet, delivery.out.part, warden.out.part], id: "change-set" }),
14
+ * ]),
15
+ * phase("Approve", [gate("approve-run", { plan: stepOutput("change-set", "digest") })]),
16
+ * ```
17
+ *
18
+ * Each activity here only reads: a plan, a file, or the parts it is handed.
19
+ */
20
+ import { type ChangeSetDocument, type ChangeSetPart, type ChangeSetSummary } from "../../change-set.js";
21
+ export interface ComposeChangeSetArgs {
22
+ /** One part per member, usually step outputs: `terraformPlan`'s `changeSet`, the other activities' `part`. */
23
+ parts: ChangeSetPart[];
24
+ }
25
+ export interface ComposeChangeSetResult {
26
+ document: ChangeSetDocument;
27
+ /** The document's digest. A gate's `plan` binds it. */
28
+ digest: string;
29
+ summary: ChangeSetSummary;
30
+ }
31
+ /** Join members' parts into one change-set document. Fails when two parts name the same member. */
32
+ export declare function composeChangeSet(args: ComposeChangeSetArgs): Promise<ComposeChangeSetResult>;
33
+ export interface LifecyclePlanChangeSetArgs {
34
+ /** The workspace member the plan is of. */
35
+ member: string;
36
+ env: string;
37
+ /** The member's directory. Default: the current directory. */
38
+ cwd?: string;
39
+ /** Pass `--owned`, so owned resources missing from source plan as deletes. */
40
+ owned?: boolean;
41
+ }
42
+ export interface ChangeSetPartResult {
43
+ part: ChangeSetPart;
44
+ }
45
+ /** `chant lifecycle plan <env> --json` in a chant member's directory, as that member's change-set part. */
46
+ export declare function lifecyclePlanChangeSet(args: LifecyclePlanChangeSetArgs, signal?: AbortSignal): Promise<ChangeSetPartResult>;
47
+ export interface ReadChangeSetPartArgs {
48
+ member: string;
49
+ /** Which planner wrote the file: `chant` (`lifecycle plan --json`) or `warden` (its reconcile change sets). */
50
+ planner: "chant" | "warden";
51
+ /** The plan file, relative to the current directory. */
52
+ file: string;
53
+ /** The lexicon the entries belong to, when the plan does not say. */
54
+ lexicon?: string;
55
+ }
56
+ /**
57
+ * A plan another step or job wrote to a file, as a member's part. A warden
58
+ * plan is the reconcile `ChangeSet` (`@intentius/chant/reconcile`), or an
59
+ * array of them, one per cycle and org.
60
+ */
61
+ export declare function readChangeSetPart(args: ReadChangeSetPartArgs): Promise<ChangeSetPartResult>;
62
+ //# sourceMappingURL=change-set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"change-set.d.ts","sourceRoot":"","sources":["../../../src/op/activities/change-set.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAMH,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACtB,MAAM,kBAAkB,CAAC;AAO1B,MAAM,WAAW,oBAAoB;IACnC,8GAA8G;IAC9G,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,mGAAmG;AACnG,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAMlG;AAED,MAAM,WAAW,0BAA0B;IACzC,2CAA2C;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,8DAA8D;IAC9D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,aAAa,CAAC;CACrB;AAMD,2GAA2G;AAC3G,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAOjI;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,+GAA+G;IAC/G,OAAO,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC5B,wDAAwD;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAWjG"}
@@ -76,6 +76,8 @@ export interface DecideResult {
76
76
  backend: string | null;
77
77
  confidence: number | null;
78
78
  threshold: number | null;
79
+ /** For a model's answer: the model's own explanation of it, when the backend gave one (#3345). */
80
+ reason: string | null;
79
81
  /** The people who answered, when people did. */
80
82
  answeredBy: string[];
81
83
  /** Each decider that was asked and did not answer, and why. */
@@ -1 +1 @@
1
- {"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../../src/op/activities/decide.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAOH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE5E,MAAM,WAAW,UAAU;IACzB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,mIAAmI;IACnI,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,yIAAyI;IACzI,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,kGAAkG;IAClG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kIAAkI;IAClI,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IACzC,6GAA6G;IAC7G,MAAM,CAA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AC,YAAY,CAAC,CAE1F"}
@@ -0,0 +1,137 @@
1
+ /**
2
+ * The factory reference Op's activities (#3406, ws-087): the rules of
3
+ * `../../workspace/factory-rules.ts` run against a workspace, and the two
4
+ * places an orchestrator's execution plugs in, the builder and the check, run
5
+ * as commands in the run's worktree.
6
+ *
7
+ * factoryPick which work items are buildable now, in order (the lease claims the first free one)
8
+ * factoryAsk the leased item's tier and, for an ask, the understand answer, through `decide`
9
+ * factoryBuild the builder hook, in the worktree, unless understand said not to build
10
+ * factoryCheck the check hook (or the box's `factory.check`), with its evidence on each criterion
11
+ * factoryRecord the outcome: done (amended, proposals added, committed with chant's trailers),
12
+ * dropped (committed), redraft or ask (nothing), or not_done (kept by the run)
13
+ *
14
+ * `factoryOp` in `../factory.ts` declares them in that order. An open
15
+ * question in `factoryAsk` stops the run waiting, as `decide` does.
16
+ *
17
+ * Commands run with no shell, split as `box publish` splits a publisher, and
18
+ * asynchronously, so the lease heartbeat keeps running while a builder works.
19
+ */
20
+ /** The run's work lease, as `workLeaseOutput()` hands it to a step. */
21
+ export interface FactoryLease {
22
+ item: string;
23
+ holder: string;
24
+ token: string;
25
+ worktree?: string | null;
26
+ branch?: string | null;
27
+ }
28
+ export interface FactoryPickArgs {
29
+ cwd?: string;
30
+ /** The work kind file, when the declaration names several. */
31
+ kind?: string;
32
+ }
33
+ export interface FactoryPickResult {
34
+ /** Buildable work items, in record order: the lease claims the first nobody holds. */
35
+ candidates: string[];
36
+ /** Every other item the work kind reads, with why it waits. */
37
+ held: {
38
+ item: string;
39
+ hold: string;
40
+ message: string;
41
+ }[];
42
+ /** One key per candidate, naming the state it was read in, for a steward's ready step. */
43
+ keys: string[];
44
+ }
45
+ export interface FactoryAskResult {
46
+ item: string;
47
+ ask: boolean;
48
+ tier: string;
49
+ /** The understand point's answer for an ask, or null for an item that isn't one. */
50
+ understand: string | null;
51
+ /** The lease outcome the understand answer leads to, or null when the item is built. */
52
+ outcome: "dropped" | "redraft" | "ask" | null;
53
+ }
54
+ export interface FactoryBuildResult {
55
+ ran: boolean;
56
+ finished: boolean;
57
+ exitCode: number | null;
58
+ /** Paths the guard put back; the reference Op applies no guard of its own, so this is empty unless a hook reports one. */
59
+ reverted: string[];
60
+ note: string;
61
+ /** The builder's last JSON line on stdout, as it printed it, or null: its own report (agent, model, session, run), which the check and after hooks get as FACTORY_BUILD. */
62
+ report: Record<string, unknown> | null;
63
+ }
64
+ export interface FactoryCheckResult {
65
+ ran: boolean;
66
+ ok: boolean;
67
+ command: string | null;
68
+ /** The criteria the check's evidence was attached to. */
69
+ evidence: string[];
70
+ log: string | null;
71
+ /** The check's last JSON line on stdout, as it printed it, or null. */
72
+ report: Record<string, unknown> | null;
73
+ }
74
+ export interface FactoryRecordResult {
75
+ outcome: "done" | "not_done" | "dropped" | "redraft" | "ask";
76
+ reason: string | null;
77
+ commit: string | null;
78
+ implementsProposed: {
79
+ decision: string;
80
+ paths: string[];
81
+ }[];
82
+ }
83
+ /** Which work items are buildable now (#3406 rule 1). */
84
+ export declare function factoryPick(args?: FactoryPickArgs): Promise<FactoryPickResult>;
85
+ export interface FactoryReadyArgs {
86
+ cwd?: string;
87
+ kind?: string;
88
+ /** A command run in `cwd` that prints a JSON list of more keys, for work the factory's own pick can't see yet, such as a box whose intent was just decided and has no first build's item (#382). */
89
+ also?: string;
90
+ }
91
+ /**
92
+ * The steward's ready step for the factory Op (#382, `factoryReady` in ../factory.ts): one key per
93
+ * buildable item, naming the state it was read in, so a person's answer, a retry or a changed item
94
+ * starts a run and the same state does not start another. Only reads.
95
+ */
96
+ export declare function factoryReady(args?: FactoryReadyArgs): Promise<string[]>;
97
+ export interface FactoryAskArgs {
98
+ lease: FactoryLease;
99
+ cwd?: string;
100
+ kind?: string;
101
+ /** Backends for the points' model deciders, in place of `decide.backends` in chant.config. */
102
+ backends?: import("./decide.js").DecideArgs["backends"];
103
+ }
104
+ /** The leased item's tier and understand answer (#3406 rules 2 and 3). An open question stops the run waiting. */
105
+ export declare function factoryAsk(args: FactoryAskArgs): Promise<FactoryAskResult>;
106
+ export interface FactoryBuildArgs {
107
+ lease: FactoryLease;
108
+ ask: FactoryAskResult;
109
+ /** The builder hook: a command run in the worktree, with FACTORY_ITEM, FACTORY_TIER, FACTORY_TOKEN, FACTORY_HOLDER, FACTORY_WORKTREE and FACTORY_CONTEXT set. */
110
+ builder: string;
111
+ /** The context hook's output path, or a command that prints the context bundle's path; passed as FACTORY_CONTEXT. */
112
+ context?: string;
113
+ cwd?: string;
114
+ }
115
+ /** Run the builder hook in the worktree, unless understand said not to build (#3406). */
116
+ export declare function factoryBuild(args: FactoryBuildArgs): Promise<FactoryBuildResult>;
117
+ export interface FactoryCheckArgs {
118
+ lease: FactoryLease;
119
+ build: FactoryBuildResult;
120
+ /** The check hook: a command run in the worktree, whose exit code is the verdict. The box's factory.check when left out. */
121
+ check?: string;
122
+ cwd?: string;
123
+ }
124
+ /** Run the check and attach its result as evidence to each criterion the factory ticks (#3406 rule 5). */
125
+ export declare function factoryCheck(args: FactoryCheckArgs): Promise<FactoryCheckResult>;
126
+ export interface FactoryRecordArgs {
127
+ lease: FactoryLease;
128
+ /** The after hook: a command run in the worktree once the outcome is recorded, with FACTORY_OUTCOME, FACTORY_COMMIT, FACTORY_BUILD and FACTORY_CHECK set, such as ending the build's run record. A failure is reported and changes nothing. */
129
+ after?: string;
130
+ ask: FactoryAskResult;
131
+ build: FactoryBuildResult;
132
+ check: FactoryCheckResult;
133
+ cwd?: string;
134
+ }
135
+ /** Record the outcome on the item's branch and name it for the lease's release (#3406 rules 4 to 6, 8). */
136
+ export declare function factoryRecord(args: FactoryRecordArgs): Promise<FactoryRecordResult>;
137
+ //# sourceMappingURL=factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../src/op/activities/factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH,uEAAuE;AACvE,MAAM,WAAW,YAAY;IAC3B,IAA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EAAE,YAAY,CAAC;IACpB,GAAG,EAAE,gBAAgB,CAAC;IACtB,iKAAiK;IACjK,OAAO,EAAE,MAAM,CAAC;IAChB,qHAAqH;IACrH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,yFAAyF;AACzF,wBAAsB,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA6CtF;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,kBAAkB,CAAC;IAC1B,4HAA4H;IAC5H,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,0GAA0G;AAC1G,wBAAsB,YAAY,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAuCtF;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,CAAC;IACpB,+OAA+O;IAC/O,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,gBAAgB,CAAC;IACtB,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAuBD,2GAA2G;AAC3G,wBAAsB,aAAa,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAkBzF"}
@@ -11,6 +11,8 @@ export { releaseRollbackPlan, releaseRollbackRecord } from "./source-rollback.js
11
11
  export type { ReleaseRollbackPlanArgs, ReleaseRollbackPlanResult, ReleaseRollbackRecordArgs, ReleaseRollbackRecordResult } from "./source-rollback.js";
12
12
  export type { HttpCheckArgs, HttpFetch } from "./http-check.js";
13
13
  export { lifecycleSnapshot, lifecycleDiff } from "./lifecycle.js";
14
+ export { composeChangeSet, lifecyclePlanChangeSet, readChangeSetPart } from "./change-set.js";
15
+ export type { ComposeChangeSetArgs, ComposeChangeSetResult, LifecyclePlanChangeSetArgs, ReadChangeSetPartArgs, ChangeSetPartResult } from "./change-set.js";
14
16
  export type { LifecycleSnapshotArgs, LifecycleDiffArgs, LifecycleDiffResult } from "./lifecycle.js";
15
17
  export { chantTeardown } from "./teardown.js";
16
18
  export type { ChantTeardownArgs } from "./teardown.js";
@@ -19,7 +21,7 @@ export type { EnvTeardownArgs, EnvTeardownResult, EnvTeardownDeps } from "./env-
19
21
  export { reconcilePr, commentMarker, pullRequestContextFrom, resolvePullRequestContext, mergeRequestContextFrom, gitlabNoteTokenFrom, } from "./reconcile.js";
20
22
  export type { ReconcilePrArgs, ReconcileResult, ReconcileMode, ReconcileEntry, PullRequestContext } from "./reconcile.js";
21
23
  export { nativeApply, compensateApply, hasNativeRollback } from "./apply.js";
22
- export type { NativeApplyArgs, NativeApplyResult, CompensateApplyArgs, CompensateApplyResult, ApplyTarget, DeleteMode, K8sApplier, AzureApplier, GcpApplier, FlyApplier, AwsApplier, AwsRollback, } from "./apply.js";
24
+ export type { NativeApplyArgs, NativeApplyResult, CompensateApplyArgs, CompensateApplyResult, ApplyTarget, DeleteMode, K8sApplier, AzureApplier, GcpApplier, FlyApplier, GrafanaApplier, ClickHouseApplier, PostgresApplier, AwsApplier, AwsRollback, } from "./apply.js";
23
25
  export { policyGate } from "./policy.js";
24
26
  export type { PolicyGateArgs } from "./policy.js";
25
27
  export { guardValidate, parseGuardFindings } from "./guard-validate.js";
@@ -42,4 +44,6 @@ export { changeCoverage } from "./change-coverage.js";
42
44
  export type { ChangeCoverageArgs, ChangeCoverageResult } from "./change-coverage.js";
43
45
  export { decide } from "./decide.js";
44
46
  export type { DecideArgs, DecideResult } from "./decide.js";
47
+ export { factoryPick, factoryReady, factoryAsk, factoryBuild, factoryCheck, factoryRecord } from "./factory.js";
48
+ export type { FactoryAskResult, FactoryBuildResult, FactoryCheckResult, FactoryRecordResult, FactoryPickResult, FactoryLease } from "./factory.js";
45
49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C;AAOlF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGzD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC7G,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * lexiconUpgrade — the upgrade-detection and PR-automation activity for
3
- * in-scope lexicons (k8s, gcp, docker, gitlab, aws, azure, github).
3
+ * in-scope lexicons: every lexicon whose plugin declares `upstreamPin` (k8s,
4
+ * k3s, gcp, docker, gitlab, cedar, sql, ...) plus the rolling ones (aws, azure,
5
+ * github, fly).
4
6
  *
5
7
  * Classifies the lexicon as pinned or rolling, calls the right check function,
6
8
  * then surfaces the result in the requested mode: report (default), issue, or
@@ -20,7 +22,7 @@
20
22
  * It only reads the artifacts produced by the lexicon's own generate step,
21
23
  * which is called through the lexicon's npm prepack chain.
22
24
  */
23
- import type { UpgradeCheckResult, LexiconId } from "../../codegen/pinned-upgrade.js";
25
+ import type { UpgradeCheckResult, LexiconId, UpstreamPin } from "../../codegen/pinned-upgrade.js";
24
26
  import type { RollingUpgradeResult, RollingLexicon } from "../../codegen/rolling-upgrade.js";
25
27
  import { bumpPackageJsonVersion } from "../../codegen/version-bump.js";
26
28
  export { bumpPackageJsonVersion };
@@ -33,8 +35,9 @@ export type SemverLabel = "minor" | "breaking";
33
35
  export interface LexiconUpgradeArgs {
34
36
  /**
35
37
  * Which lexicon to check. Determines pinned vs rolling dispatch:
36
- * PINNED: k8s, gcp, docker, gitlab, cedar
37
38
  * ROLLING: aws, azure, github, fly
39
+ * PINNED: any other lexicon whose plugin declares `upstreamPin`
40
+ * (discovered at run time, as `chant dev pinned-upgrade` does)
38
41
  */
39
42
  lexicon: SupportedLexicon;
40
43
  /**
@@ -42,11 +45,17 @@ export interface LexiconUpgradeArgs {
42
45
  * Defaults to `<cwd>/lexicons/<lexicon>`.
43
46
  */
44
47
  lexiconDir?: string;
48
+ /**
49
+ * Label of one pin to check, for a lexicon whose plugin declares several
50
+ * (`upstreamPins`). Omitted, every pin is checked and reported.
51
+ */
52
+ pin?: string;
45
53
  /** What to produce. Default: "report". */
46
54
  mode?: LexiconUpgradeMode;
47
55
  /**
48
- * Override the pinned check function — inject a mock in tests.
49
- * The real implementation calls checkPinnedUpgrade from core.
56
+ * Override the pinned check function — inject a mock in tests. It may
57
+ * return one result or one per pin.
58
+ * The real implementation calls checkPinnedUpgrades from core.
50
59
  */
51
60
  _checkPinned?: CheckPinnedFn;
52
61
  /**
@@ -62,6 +71,13 @@ export interface LexiconUpgradeArgs {
62
71
  * Override the applyPinnedVersionBump function — inject a mock in tests.
63
72
  */
64
73
  _applyBump?: ApplyBumpFn;
74
+ /**
75
+ * Override pin discovery — inject a mock in tests. The real one is
76
+ * `loadUpstreamPin` from core, the loader `chant dev pinned-upgrade` uses.
77
+ * Not consulted when `_checkPinned` is injected: that stands in for the
78
+ * whole pinned check.
79
+ */
80
+ _loadPin?: (lexicon: string, lexiconDir: string) => Promise<UpstreamPin | null>;
65
81
  /**
66
82
  * Override the package.json version writer — inject a mock in tests.
67
83
  * Defaults to bumpPackageJsonVersion.
@@ -90,9 +106,11 @@ export interface LexiconUpgradeResult {
90
106
  export type CheckPinnedFn = (opts: {
91
107
  lexiconDir: string;
92
108
  lexicon: LexiconId;
109
+ /** One pin's label; omitted, every pin of the plugin. */
110
+ pin?: string;
93
111
  force?: boolean;
94
112
  verbose?: boolean;
95
- }) => Promise<UpgradeCheckResult>;
113
+ }) => Promise<UpgradeCheckResult | UpgradeCheckResult[]>;
96
114
  /** Matches checkRollingUpgrade from core. */
97
115
  export type CheckRollingFn = (opts: {
98
116
  lexiconDir: string;
@@ -117,7 +135,7 @@ export type GhRunner = (cmd: string, opts?: {
117
135
  stderr: string;
118
136
  }>;
119
137
  /** Applies a pinned version bump permanently (no revert). Async (core loads the lexicon's pin descriptor); a sync mock is also accepted. */
120
- export type ApplyBumpFn = (lexicon: LexiconId, lexiconDir: string, newVersion: string) => {
138
+ export type ApplyBumpFn = (lexicon: LexiconId, lexiconDir: string, newVersion: string, pin?: string) => {
121
139
  filePath: string;
122
140
  } | Promise<{
123
141
  filePath: string;
@@ -142,10 +160,14 @@ export type BumpPackageVersionFn = (packageJsonPath: string, newVersion: string)
142
160
  * current version string cannot be parsed as M.m.p.
143
161
  */
144
162
  export declare function computeBumpedVersion(current: string, label: SemverLabel): string | null;
145
- /** Return true when the lexicon uses a pinned version constant. */
146
- export declare function isPinned(lexicon: SupportedLexicon): lexicon is LexiconId;
147
163
  /** Return true when the lexicon follows a rolling spec (no pinned constant). */
148
164
  export declare function isRolling(lexicon: SupportedLexicon): lexicon is RollingLexicon;
165
+ /**
166
+ * Return true when the lexicon's plugin declares an `upstreamPin` (loaded from
167
+ * `lexiconDir`, else from its installed package), the same discovery
168
+ * `chant dev pinned-upgrade` does.
169
+ */
170
+ export declare function isPinned(lexicon: SupportedLexicon, lexiconDir?: string, loadPin?: (lexicon: string, lexiconDir: string) => Promise<UpstreamPin | null>): Promise<boolean>;
149
171
  /**
150
172
  * Map a surface severity to a semver label for the PR.
151
173
  *
@@ -155,12 +177,14 @@ export declare function isRolling(lexicon: SupportedLexicon): lexicon is Rolling
155
177
  */
156
178
  export declare function severityToLabel(severity: string): SemverLabel | null;
157
179
  /** Long-lived branch name for a lexicon upgrade PR. */
158
- export declare function upgradeBranchName(lexicon: SupportedLexicon): string;
180
+ export declare function upgradeBranchName(lexicon: SupportedLexicon, pin?: string): string;
159
181
  /** PR title for an upgrade. */
160
- export declare function upgradePrTitle(lexicon: SupportedLexicon, from?: string, to?: string | null): string;
182
+ export declare function upgradePrTitle(lexicon: SupportedLexicon, from?: string, to?: string | null, pin?: string): string;
161
183
  /** Build the PR/issue/report body from the upgrade result data. */
162
184
  export declare function buildUpgradeSummary(opts: {
163
185
  lexicon: SupportedLexicon;
186
+ /** The pin's label, for a lexicon with several pins. */
187
+ pin?: string;
164
188
  from?: string;
165
189
  to?: string | null;
166
190
  deltaText: string;
@@ -170,6 +194,11 @@ export declare function buildUpgradeSummary(opts: {
170
194
  step: string;
171
195
  output: string;
172
196
  }>;
197
+ /** Set for a pin that moves with other constants: nothing was bumped or regenerated. */
198
+ manualPin?: {
199
+ file: string;
200
+ instructions: string;
201
+ };
173
202
  }): string;
174
203
  /**
175
204
  * The hidden marker that makes this lexicon's upgrade-status issue findable
@@ -186,9 +215,12 @@ export declare function lexiconUpgradeIssueMarker(lexicon: SupportedLexicon): st
186
215
  /**
187
216
  * Run the lexicon upgrade check for one lexicon and surface the result.
188
217
  *
189
- * Pinned lexicons (k8s, gcp, docker, gitlab):
218
+ * Pinned lexicons (any whose plugin declares `upstreamPin`):
190
219
  * Calls checkPinnedUpgrade. A PR is opened only when hasUpgrade=true AND
191
220
  * validation passed. Validation failures produce a report or issue.
221
+ * A pin that moves with other constants (`alsoMoves`, sql's version plus
222
+ * digest) is report-only: the summary names the newer version and the
223
+ * manual step, and no branch, bump or PR is made.
192
224
  *
193
225
  * Rolling lexicons (aws, azure, github):
194
226
  * Calls checkRollingUpgrade. A PR is opened only when the surface changed
@@ -1 +1 @@
1
- {"version":3,"file":"lexicon-upgrade.d.ts","sourceRoot":"","sources":["../../../src/op/activities/lexicon-upgrade.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAMH,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAmB,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGrF,OAAO,EAAE,sBAAsB,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;IAChC,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,wFAAwF;IACxF,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;CACpD,GAAG,MAAM,CAgET;AAUD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAE3E;AAoHD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA8U5F"}
@@ -44,7 +44,7 @@ import type { OpConfig } from "./types.js";
44
44
  * {@link ACTIVITY_PROFILES} itself so the runtime list cannot drift from the
45
45
  * table the type is derived from.
46
46
  */
47
- export declare const KNOWN_ACTIVITY_PROFILES: ("fastIdempotent" | "longInfra" | "k8sWait" | "atMostOnce" | "humanGate" | "argoSync" | "policyCheck")[];
47
+ export declare const KNOWN_ACTIVITY_PROFILES: ("argoSync" | "atMostOnce" | "fastIdempotent" | "humanGate" | "k8sWait" | "longInfra" | "policyCheck")[];
48
48
  declare const CONTRACT_BRAND: unique symbol;
49
49
  /**
50
50
  * A registered activity's args/return schemas — the declaration that lets