@intentius/chant 0.124.52 → 0.124.54

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 (584) hide show
  1. package/dist/audit/discover.d.ts.map +1 -1
  2. package/dist/audit/discover.js +3 -1
  3. package/dist/behaviour.d.ts +1 -1
  4. package/dist/behaviour.d.ts.map +1 -1
  5. package/dist/capabilities/templates.d.ts +65 -0
  6. package/dist/capabilities/templates.d.ts.map +1 -0
  7. package/dist/capabilities/templates.js +193 -0
  8. package/dist/capabilities/templates.json +145 -0
  9. package/dist/change-set-graph.d.ts +35 -3
  10. package/dist/change-set-graph.d.ts.map +1 -1
  11. package/dist/change-set-graph.js +60 -9
  12. package/dist/change-set.d.ts +65 -7
  13. package/dist/change-set.d.ts.map +1 -1
  14. package/dist/change-set.js +23 -12
  15. package/dist/ci-identity.d.ts +7 -2
  16. package/dist/ci-identity.d.ts.map +1 -1
  17. package/dist/ci-identity.js +4 -1
  18. package/dist/cli/commands/import-index.d.ts +52 -0
  19. package/dist/cli/commands/import-index.d.ts.map +1 -0
  20. package/dist/cli/commands/import-index.js +226 -0
  21. package/dist/cli/commands/lint.d.ts.map +1 -1
  22. package/dist/cli/commands/lint.js +4 -2
  23. package/dist/cli/handlers/components.d.ts.map +1 -1
  24. package/dist/cli/handlers/components.js +11 -2
  25. package/dist/cli/handlers/fan-out.d.ts.map +1 -1
  26. package/dist/cli/handlers/fan-out.js +16 -3
  27. package/dist/cli/handlers/graph.d.ts.map +1 -1
  28. package/dist/cli/handlers/graph.js +22 -4
  29. package/dist/cli/handlers/index-cloud.d.ts +14 -0
  30. package/dist/cli/handlers/index-cloud.d.ts.map +1 -0
  31. package/dist/cli/handlers/index-cloud.js +22 -0
  32. package/dist/cli/handlers/index-diff.d.ts +18 -0
  33. package/dist/cli/handlers/index-diff.d.ts.map +1 -0
  34. package/dist/cli/handlers/index-diff.js +142 -0
  35. package/dist/cli/handlers/lifecycle-drift.d.ts +25 -0
  36. package/dist/cli/handlers/lifecycle-drift.d.ts.map +1 -0
  37. package/dist/cli/handlers/lifecycle-drift.js +64 -0
  38. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  39. package/dist/cli/handlers/lifecycle.js +188 -28
  40. package/dist/cli/handlers/misc.d.ts +9 -0
  41. package/dist/cli/handlers/misc.d.ts.map +1 -1
  42. package/dist/cli/handlers/misc.js +77 -0
  43. package/dist/cli/handlers/pr.d.ts.map +1 -1
  44. package/dist/cli/handlers/pr.js +15 -2
  45. package/dist/cli/handlers/promote.d.ts.map +1 -1
  46. package/dist/cli/handlers/promote.js +89 -15
  47. package/dist/cli/handlers/query.d.ts.map +1 -1
  48. package/dist/cli/handlers/query.js +28 -4
  49. package/dist/cli/handlers/scenario.d.ts.map +1 -1
  50. package/dist/cli/handlers/scenario.js +8 -7
  51. package/dist/cli/handlers/search.d.ts +34 -4
  52. package/dist/cli/handlers/search.d.ts.map +1 -1
  53. package/dist/cli/handlers/search.js +216 -36
  54. package/dist/cli/main.d.ts.map +1 -1
  55. package/dist/cli/main.js +55 -1
  56. package/dist/cli/mcp/lifecycle-tools.d.ts.map +1 -1
  57. package/dist/cli/mcp/lifecycle-tools.js +3 -2
  58. package/dist/cli/mcp/resource-handlers.d.ts.map +1 -1
  59. package/dist/cli/mcp/resource-handlers.js +4 -3
  60. package/dist/cli/mcp/workspace-tools.js +1 -1
  61. package/dist/cli/parse-args.d.ts.map +1 -1
  62. package/dist/cli/parse-args.js +55 -2
  63. package/dist/cli/registry.d.ts +19 -1
  64. package/dist/cli/registry.d.ts.map +1 -1
  65. package/dist/cloud-lister/aws.d.ts +35 -0
  66. package/dist/cloud-lister/aws.d.ts.map +1 -0
  67. package/dist/cloud-lister/aws.js +203 -0
  68. package/dist/cloud-lister/azure.d.ts +34 -0
  69. package/dist/cloud-lister/azure.d.ts.map +1 -0
  70. package/dist/cloud-lister/azure.js +129 -0
  71. package/dist/cloud-lister/common.d.ts +40 -0
  72. package/dist/cloud-lister/common.d.ts.map +1 -0
  73. package/dist/cloud-lister/common.js +83 -0
  74. package/dist/cloud-lister/credentials.d.ts +50 -0
  75. package/dist/cloud-lister/credentials.d.ts.map +1 -0
  76. package/dist/cloud-lister/credentials.js +86 -0
  77. package/dist/cloud-lister/fakes.d.ts +27 -0
  78. package/dist/cloud-lister/fakes.d.ts.map +1 -0
  79. package/dist/cloud-lister/fakes.js +50 -0
  80. package/dist/cloud-lister/gcp.d.ts +42 -0
  81. package/dist/cloud-lister/gcp.d.ts.map +1 -0
  82. package/dist/cloud-lister/gcp.js +143 -0
  83. package/dist/cloud-lister/guard.d.ts +49 -0
  84. package/dist/cloud-lister/guard.d.ts.map +1 -0
  85. package/dist/cloud-lister/guard.js +103 -0
  86. package/dist/cloud-lister/ids.d.ts +23 -0
  87. package/dist/cloud-lister/ids.d.ts.map +1 -0
  88. package/dist/cloud-lister/ids.js +42 -0
  89. package/dist/cloud-lister/index.d.ts +67 -0
  90. package/dist/cloud-lister/index.d.ts.map +1 -0
  91. package/dist/cloud-lister/index.js +102 -0
  92. package/dist/cloud-lister/kubernetes.d.ts +64 -0
  93. package/dist/cloud-lister/kubernetes.d.ts.map +1 -0
  94. package/dist/cloud-lister/kubernetes.js +276 -0
  95. package/dist/cloud-lister/markers.d.ts +31 -0
  96. package/dist/cloud-lister/markers.d.ts.map +1 -0
  97. package/dist/cloud-lister/markers.js +73 -0
  98. package/dist/cloud-lister/mask.d.ts +31 -0
  99. package/dist/cloud-lister/mask.d.ts.map +1 -0
  100. package/dist/cloud-lister/mask.js +74 -0
  101. package/dist/cloud-lister/sigv4.d.ts +29 -0
  102. package/dist/cloud-lister/sigv4.d.ts.map +1 -0
  103. package/dist/cloud-lister/sigv4.js +54 -0
  104. package/dist/cloud-lister/transport.d.ts +55 -0
  105. package/dist/cloud-lister/transport.d.ts.map +1 -0
  106. package/dist/cloud-lister/transport.js +86 -0
  107. package/dist/cloud-lister/types.d.ts +121 -0
  108. package/dist/cloud-lister/types.d.ts.map +1 -0
  109. package/dist/cloud-lister/types.js +24 -0
  110. package/dist/components/capability-plugin-loader.d.ts.map +1 -1
  111. package/dist/components/capability-plugin-loader.js +6 -0
  112. package/dist/components/capability-plugin.d.ts +9 -0
  113. package/dist/components/capability-plugin.d.ts.map +1 -1
  114. package/dist/components/capability.d.ts +215 -0
  115. package/dist/components/capability.d.ts.map +1 -1
  116. package/dist/components/cli-support.d.ts +21 -0
  117. package/dist/components/cli-support.d.ts.map +1 -1
  118. package/dist/components/cli-support.js +58 -14
  119. package/dist/components/declared-reads.d.ts +38 -0
  120. package/dist/components/declared-reads.d.ts.map +1 -0
  121. package/dist/components/declared-reads.js +131 -0
  122. package/dist/components/deploy-units.d.ts.map +1 -1
  123. package/dist/components/deploy-units.js +4 -0
  124. package/dist/components/driver.d.ts +34 -1
  125. package/dist/components/driver.d.ts.map +1 -1
  126. package/dist/components/driver.js +66 -3
  127. package/dist/components/fan-out-run.d.ts +23 -1
  128. package/dist/components/fan-out-run.d.ts.map +1 -1
  129. package/dist/components/fan-out-run.js +82 -14
  130. package/dist/components/fan-out-support.d.ts +6 -0
  131. package/dist/components/fan-out-support.d.ts.map +1 -1
  132. package/dist/components/fan-out-support.js +4 -1
  133. package/dist/components/fan-out.d.ts +28 -0
  134. package/dist/components/fan-out.d.ts.map +1 -1
  135. package/dist/components/groups.d.ts +229 -0
  136. package/dist/components/groups.d.ts.map +1 -0
  137. package/dist/components/groups.js +760 -0
  138. package/dist/components/index.d.ts +6 -2
  139. package/dist/components/index.d.ts.map +1 -1
  140. package/dist/components/index.js +4 -0
  141. package/dist/components/plan-shape-conformance.d.ts +48 -0
  142. package/dist/components/plan-shape-conformance.d.ts.map +1 -0
  143. package/dist/components/plan-shape-conformance.js +122 -0
  144. package/dist/components/pr-run.d.ts +41 -4
  145. package/dist/components/pr-run.d.ts.map +1 -1
  146. package/dist/components/pr-run.js +209 -39
  147. package/dist/components/promote-rounds.d.ts +9 -0
  148. package/dist/components/promote-rounds.d.ts.map +1 -1
  149. package/dist/components/promote-rounds.js +23 -2
  150. package/dist/components/promote.d.ts +17 -0
  151. package/dist/components/promote.d.ts.map +1 -1
  152. package/dist/components/promote.js +36 -6
  153. package/dist/components/release-gate.d.ts +23 -1
  154. package/dist/components/release-gate.d.ts.map +1 -1
  155. package/dist/components/release-gate.js +97 -33
  156. package/dist/components/run-groups.d.ts +58 -0
  157. package/dist/components/run-groups.d.ts.map +1 -0
  158. package/dist/components/run-groups.js +78 -0
  159. package/dist/components/starter-plugin.d.ts +1 -0
  160. package/dist/components/starter-plugin.d.ts.map +1 -1
  161. package/dist/components/starter-plugin.js +6 -1
  162. package/dist/components/verbs/index.d.ts +1 -0
  163. package/dist/components/verbs/index.d.ts.map +1 -1
  164. package/dist/components/verbs/index.js +1 -0
  165. package/dist/components/verbs/member-outputs.d.ts +187 -0
  166. package/dist/components/verbs/member-outputs.d.ts.map +1 -0
  167. package/dist/components/verbs/member-outputs.js +218 -0
  168. package/dist/config.d.ts +60 -0
  169. package/dist/config.d.ts.map +1 -1
  170. package/dist/config.js +27 -0
  171. package/dist/deep-observation.d.ts +1 -13
  172. package/dist/deep-observation.d.ts.map +1 -1
  173. package/dist/deep-observation.js +5 -22
  174. package/dist/drift-record.d.ts +542 -0
  175. package/dist/drift-record.d.ts.map +1 -0
  176. package/dist/drift-record.js +886 -0
  177. package/dist/engine-facts.d.ts +144 -0
  178. package/dist/engine-facts.d.ts.map +1 -0
  179. package/dist/engine-facts.js +14 -0
  180. package/dist/graph-ir.d.ts +153 -2
  181. package/dist/graph-ir.d.ts.map +1 -1
  182. package/dist/graph-ir.js +224 -6
  183. package/dist/graph-refs.d.ts +145 -0
  184. package/dist/graph-refs.d.ts.map +1 -1
  185. package/dist/graph-refs.js +305 -0
  186. package/dist/graph-schema/fixtures/adopt.json +15 -0
  187. package/dist/graph-schema/fixtures/choudoufu.engine-graph.json +169 -0
  188. package/dist/graph-schema/fixtures/index.json +68 -0
  189. package/dist/graph-schema/fixtures/plunge.engine-graph.json +158 -0
  190. package/dist/graph-schema/fixtures.d.ts +23 -0
  191. package/dist/graph-schema/fixtures.d.ts.map +1 -0
  192. package/dist/graph-schema/fixtures.js +246 -0
  193. package/dist/graph-schema/generate.d.ts +15 -0
  194. package/dist/graph-schema/generate.d.ts.map +1 -0
  195. package/dist/graph-schema/generate.js +267 -0
  196. package/dist/graph-schema/graph.schema.json +1387 -0
  197. package/dist/health.schema.json +2 -1
  198. package/dist/identity.d.ts.map +1 -1
  199. package/dist/identity.js +2 -0
  200. package/dist/index.d.ts +1 -0
  201. package/dist/index.d.ts.map +1 -1
  202. package/dist/index.js +2 -0
  203. package/dist/instance-nodes.d.ts +159 -0
  204. package/dist/instance-nodes.d.ts.map +1 -0
  205. package/dist/instance-nodes.js +231 -0
  206. package/dist/lexicon.d.ts +72 -0
  207. package/dist/lexicon.d.ts.map +1 -1
  208. package/dist/lifecycle/adoption-file.d.ts +56 -0
  209. package/dist/lifecycle/adoption-file.d.ts.map +1 -0
  210. package/dist/lifecycle/adoption-file.js +123 -0
  211. package/dist/lifecycle/cloud-index.d.ts +186 -0
  212. package/dist/lifecycle/cloud-index.d.ts.map +1 -0
  213. package/dist/lifecycle/cloud-index.js +618 -0
  214. package/dist/lifecycle/derive-edges.d.ts +59 -0
  215. package/dist/lifecycle/derive-edges.d.ts.map +1 -0
  216. package/dist/lifecycle/derive-edges.js +126 -0
  217. package/dist/lifecycle/git.d.ts +10 -9
  218. package/dist/lifecycle/git.d.ts.map +1 -1
  219. package/dist/lifecycle/git.js +7 -1
  220. package/dist/lifecycle/identity-match.d.ts +133 -0
  221. package/dist/lifecycle/identity-match.d.ts.map +1 -0
  222. package/dist/lifecycle/identity-match.js +147 -0
  223. package/dist/lifecycle/index-diff.d.ts +224 -0
  224. package/dist/lifecycle/index-diff.d.ts.map +1 -0
  225. package/dist/lifecycle/index-diff.js +327 -0
  226. package/dist/lifecycle/index-document.d.ts +130 -0
  227. package/dist/lifecycle/index-document.d.ts.map +1 -0
  228. package/dist/lifecycle/index-document.js +189 -0
  229. package/dist/lifecycle/index-drift.d.ts +121 -0
  230. package/dist/lifecycle/index-drift.d.ts.map +1 -0
  231. package/dist/lifecycle/index-drift.js +178 -0
  232. package/dist/lifecycle/index-import.d.ts +168 -0
  233. package/dist/lifecycle/index-import.d.ts.map +1 -0
  234. package/dist/lifecycle/index-import.js +515 -0
  235. package/dist/lifecycle/index-join.d.ts +129 -0
  236. package/dist/lifecycle/index-join.d.ts.map +1 -0
  237. package/dist/lifecycle/index-join.js +248 -0
  238. package/dist/lifecycle/index.d.ts +4 -0
  239. package/dist/lifecycle/index.d.ts.map +1 -1
  240. package/dist/lifecycle/index.js +4 -0
  241. package/dist/lifecycle/observation-baseline.d.ts +61 -21
  242. package/dist/lifecycle/observation-baseline.d.ts.map +1 -1
  243. package/dist/lifecycle/observation-baseline.js +144 -19
  244. package/dist/lifecycle/observe.d.ts.map +1 -1
  245. package/dist/lifecycle/observe.js +6 -1
  246. package/dist/lifecycle/query.d.ts +45 -4
  247. package/dist/lifecycle/query.d.ts.map +1 -1
  248. package/dist/lifecycle/query.js +89 -7
  249. package/dist/lifecycle/replay.d.ts +10 -3
  250. package/dist/lifecycle/replay.d.ts.map +1 -1
  251. package/dist/lifecycle/replay.js +10 -6
  252. package/dist/lifecycle/scenario.d.ts +4 -3
  253. package/dist/lifecycle/scenario.d.ts.map +1 -1
  254. package/dist/lifecycle/snapshot-store-fake.d.ts +9 -0
  255. package/dist/lifecycle/snapshot-store-fake.d.ts.map +1 -0
  256. package/dist/lifecycle/snapshot-store-fake.js +21 -0
  257. package/dist/lifecycle/snapshot-store-s3.d.ts +102 -0
  258. package/dist/lifecycle/snapshot-store-s3.d.ts.map +1 -0
  259. package/dist/lifecycle/snapshot-store-s3.js +254 -0
  260. package/dist/lifecycle/snapshot-store.d.ts +170 -0
  261. package/dist/lifecycle/snapshot-store.d.ts.map +1 -0
  262. package/dist/lifecycle/snapshot-store.js +832 -0
  263. package/dist/lifecycle/snapshot.d.ts +11 -0
  264. package/dist/lifecycle/snapshot.d.ts.map +1 -1
  265. package/dist/lifecycle/snapshot.js +18 -5
  266. package/dist/lifecycle/type-listing.d.ts +148 -0
  267. package/dist/lifecycle/type-listing.d.ts.map +1 -0
  268. package/dist/lifecycle/type-listing.js +166 -0
  269. package/dist/lint/component-checks.d.ts +15 -1
  270. package/dist/lint/component-checks.d.ts.map +1 -1
  271. package/dist/lint/component-checks.js +1 -0
  272. package/dist/lint/presets/relaxed.json +2 -1
  273. package/dist/lint/presets/strict.json +2 -1
  274. package/dist/lint/rules/__fixtures__/comp/comp008/fail/dns.component.d.ts +4 -0
  275. package/dist/lint/rules/__fixtures__/comp/comp008/fail/dns.component.d.ts.map +1 -0
  276. package/dist/lint/rules/__fixtures__/comp/comp008/fail/dns.component.js +13 -0
  277. package/dist/lint/rules/__fixtures__/comp/comp008/pass/dns.component.d.ts +4 -0
  278. package/dist/lint/rules/__fixtures__/comp/comp008/pass/dns.component.d.ts.map +1 -0
  279. package/dist/lint/rules/__fixtures__/comp/comp008/pass/dns.component.js +8 -0
  280. package/dist/lint/rules/comp/comp008-applies-signal-only-root.d.ts +33 -0
  281. package/dist/lint/rules/comp/comp008-applies-signal-only-root.d.ts.map +1 -0
  282. package/dist/lint/rules/comp/comp008-applies-signal-only-root.js +123 -0
  283. package/dist/lint/rules/comp/index.d.ts +2 -1
  284. package/dist/lint/rules/comp/index.d.ts.map +1 -1
  285. package/dist/lint/rules/comp/index.js +4 -1
  286. package/dist/observation.d.ts +19 -2
  287. package/dist/observation.d.ts.map +1 -1
  288. package/dist/observation.js +18 -1
  289. package/dist/op/activities/activity-contracts.d.ts +1 -1
  290. package/dist/op/activities/activity-contracts.js +1 -1
  291. package/dist/op/activities/change-set.d.ts +6 -4
  292. package/dist/op/activities/change-set.d.ts.map +1 -1
  293. package/dist/op/activities/change-set.js +4 -2
  294. package/dist/op/activity-failure.d.ts +27 -0
  295. package/dist/op/activity-failure.d.ts.map +1 -1
  296. package/dist/op/activity-failure.js +31 -0
  297. package/dist/op/index.d.ts +2 -1
  298. package/dist/op/index.d.ts.map +1 -1
  299. package/dist/op/index.js +1 -1
  300. package/dist/op/local-executor.d.ts +5 -1
  301. package/dist/op/local-executor.d.ts.map +1 -1
  302. package/dist/op/local-executor.js +22 -8
  303. package/dist/pr-loop.d.ts +56 -1
  304. package/dist/pr-loop.d.ts.map +1 -1
  305. package/dist/pr-loop.js +51 -1
  306. package/dist/pulumi-urn.d.ts +101 -0
  307. package/dist/pulumi-urn.d.ts.map +1 -0
  308. package/dist/pulumi-urn.js +131 -0
  309. package/dist/release-floors.d.ts +23 -0
  310. package/dist/release-floors.d.ts.map +1 -0
  311. package/dist/release-floors.js +22 -0
  312. package/dist/sensitive-key.d.ts +23 -0
  313. package/dist/sensitive-key.d.ts.map +1 -0
  314. package/dist/sensitive-key.js +31 -0
  315. package/dist/wave-runtime.mjs +234 -234
  316. package/dist/workspace/adoption-report.d.ts +53 -0
  317. package/dist/workspace/adoption-report.d.ts.map +1 -0
  318. package/dist/workspace/adoption-report.js +76 -0
  319. package/dist/workspace/capabilities-contract.d.ts +7 -0
  320. package/dist/workspace/capabilities-contract.d.ts.map +1 -1
  321. package/dist/workspace/capabilities-contract.js +2 -1
  322. package/dist/workspace/capabilities.schema.json +98 -0
  323. package/dist/workspace/change-set.schema.json +42 -3
  324. package/dist/workspace/ci-cloud-identity.d.ts +13 -1
  325. package/dist/workspace/ci-cloud-identity.d.ts.map +1 -1
  326. package/dist/workspace/ci-cloud-identity.js +30 -1
  327. package/dist/workspace/compose-graph.d.ts +10 -1
  328. package/dist/workspace/compose-graph.d.ts.map +1 -1
  329. package/dist/workspace/compose-graph.js +6 -1
  330. package/dist/workspace/conformance/index.d.ts +1 -1
  331. package/dist/workspace/conformance/index.d.ts.map +1 -1
  332. package/dist/workspace/conformance/index.js +6 -1
  333. package/dist/workspace/drift-cli.d.ts +81 -0
  334. package/dist/workspace/drift-cli.d.ts.map +1 -0
  335. package/dist/workspace/drift-cli.js +317 -0
  336. package/dist/workspace/drift.schema.json +672 -0
  337. package/dist/workspace/graph-cli.d.ts +2 -0
  338. package/dist/workspace/graph-cli.d.ts.map +1 -1
  339. package/dist/workspace/graph-cli.js +3 -0
  340. package/dist/workspace/graph.schema.json +72 -0
  341. package/dist/workspace/init.d.ts +5 -1
  342. package/dist/workspace/init.d.ts.map +1 -1
  343. package/dist/workspace/init.js +55 -9
  344. package/dist/workspace/ledger.schema.json +1 -1
  345. package/dist/workspace/nested-graph.d.ts.map +1 -1
  346. package/dist/workspace/nested-graph.js +2 -0
  347. package/dist/workspace/pr-report.schema.json +51 -2
  348. package/dist/workspace/promote-waves.d.ts +112 -0
  349. package/dist/workspace/promote-waves.d.ts.map +1 -0
  350. package/dist/workspace/promote-waves.js +290 -0
  351. package/dist/workspace/promote.d.ts +84 -2
  352. package/dist/workspace/promote.d.ts.map +1 -1
  353. package/dist/workspace/promote.js +347 -61
  354. package/dist/workspace/reason-codes.d.ts +12 -0
  355. package/dist/workspace/reason-codes.d.ts.map +1 -1
  356. package/dist/workspace/reason-codes.js +14 -0
  357. package/dist/workspace/search-contract.d.ts +3 -3
  358. package/dist/workspace/search-contract.d.ts.map +1 -1
  359. package/dist/workspace/search-contract.js +2 -0
  360. package/dist/workspace/search.schema.json +103 -5
  361. package/package.json +14 -1
  362. package/src/__fixtures__/drift-record/README.md +58 -0
  363. package/src/__fixtures__/drift-record/choudoufu-cone.ndjson +4 -0
  364. package/src/__fixtures__/drift-record/choudoufu-resource.ndjson +3 -0
  365. package/src/__fixtures__/drift-record/component-status-ledger.json +65 -0
  366. package/src/__fixtures__/drift-record/component-status.json +91 -0
  367. package/src/__fixtures__/drift-record/deep-diff.json +259 -0
  368. package/src/__fixtures__/drift-record/lifecycle-diff-live.json +825 -0
  369. package/src/__fixtures__/drift-record/live-diff.json +125 -0
  370. package/src/audit/discover.e2e.test.ts +14 -0
  371. package/src/audit/discover.ts +3 -1
  372. package/src/behaviour.ts +1 -1
  373. package/src/capabilities/templates.json +145 -0
  374. package/src/capabilities/templates.test.ts +212 -0
  375. package/src/capabilities/templates.ts +204 -0
  376. package/src/change-set-bundle.test.ts +83 -0
  377. package/src/change-set-graph.ts +80 -9
  378. package/src/change-set.test.ts +24 -0
  379. package/src/change-set.ts +77 -14
  380. package/src/ci-identity-targets.test.ts +23 -0
  381. package/src/ci-identity.ts +10 -4
  382. package/src/cli/commands/import-index.test.ts +117 -0
  383. package/src/cli/commands/import-index.ts +265 -0
  384. package/src/cli/commands/lint.ts +4 -2
  385. package/src/cli/handlers/components.test.ts +9 -0
  386. package/src/cli/handlers/components.ts +12 -2
  387. package/src/cli/handlers/fan-out.ts +17 -3
  388. package/src/cli/handlers/graph.test.ts +42 -0
  389. package/src/cli/handlers/graph.ts +26 -4
  390. package/src/cli/handlers/index-cloud.ts +32 -0
  391. package/src/cli/handlers/index-diff.test.ts +68 -0
  392. package/src/cli/handlers/index-diff.ts +146 -0
  393. package/src/cli/handlers/ledger-root-member.test.ts +161 -0
  394. package/src/cli/handlers/lifecycle-drift.ts +68 -0
  395. package/src/cli/handlers/lifecycle.test.ts +33 -11
  396. package/src/cli/handlers/lifecycle.ts +205 -30
  397. package/src/cli/handlers/misc.ts +73 -0
  398. package/src/cli/handlers/pr-waves-blocked.test.ts +37 -2
  399. package/src/cli/handlers/pr.ts +14 -2
  400. package/src/cli/handlers/promote.test.ts +64 -0
  401. package/src/cli/handlers/promote.ts +81 -6
  402. package/src/cli/handlers/query.ts +27 -4
  403. package/src/cli/handlers/run-declared-reads-cli.test.ts +187 -0
  404. package/src/cli/handlers/run-groups-cli.test.ts +229 -0
  405. package/src/cli/handlers/scenario.test.ts +13 -0
  406. package/src/cli/handlers/scenario.ts +8 -7
  407. package/src/cli/handlers/search-index.test.ts +255 -0
  408. package/src/cli/handlers/search-json.test.ts +1 -1
  409. package/src/cli/handlers/search-ownership.test.ts +194 -0
  410. package/src/cli/handlers/search.ts +271 -38
  411. package/src/cli/main.test.ts +7 -0
  412. package/src/cli/main.ts +56 -1
  413. package/src/cli/mcp/lifecycle-tools.ts +3 -2
  414. package/src/cli/mcp/resource-handlers.ts +4 -3
  415. package/src/cli/mcp/workspace-tools.ts +1 -1
  416. package/src/cli/parse-args.ts +40 -2
  417. package/src/cli/registry.ts +19 -1
  418. package/src/cloud-lister/aws.test.ts +202 -0
  419. package/src/cloud-lister/aws.ts +226 -0
  420. package/src/cloud-lister/azure.test.ts +132 -0
  421. package/src/cloud-lister/azure.ts +142 -0
  422. package/src/cloud-lister/common.ts +115 -0
  423. package/src/cloud-lister/credentials.ts +110 -0
  424. package/src/cloud-lister/fakes.ts +66 -0
  425. package/src/cloud-lister/gcp.test.ts +121 -0
  426. package/src/cloud-lister/gcp.ts +159 -0
  427. package/src/cloud-lister/guard.test.ts +198 -0
  428. package/src/cloud-lister/guard.ts +111 -0
  429. package/src/cloud-lister/ids.ts +54 -0
  430. package/src/cloud-lister/index.ts +134 -0
  431. package/src/cloud-lister/kubernetes.test.ts +160 -0
  432. package/src/cloud-lister/kubernetes.ts +284 -0
  433. package/src/cloud-lister/markers.ts +74 -0
  434. package/src/cloud-lister/mask.ts +77 -0
  435. package/src/cloud-lister/shape.test.ts +81 -0
  436. package/src/cloud-lister/sigv4.ts +70 -0
  437. package/src/cloud-lister/transport.ts +118 -0
  438. package/src/cloud-lister/types.ts +135 -0
  439. package/src/components/capability-plugin-loader.ts +4 -0
  440. package/src/components/capability-plugin.ts +10 -0
  441. package/src/components/capability.ts +229 -0
  442. package/src/components/cli-support.ts +70 -14
  443. package/src/components/declared-reads.test.ts +103 -0
  444. package/src/components/declared-reads.ts +134 -0
  445. package/src/components/deploy-units.ts +4 -0
  446. package/src/components/driver.ts +89 -4
  447. package/src/components/fan-out-run.ts +95 -15
  448. package/src/components/fan-out-support.ts +10 -1
  449. package/src/components/fan-out.ts +30 -0
  450. package/src/components/groups.test.ts +320 -0
  451. package/src/components/groups.ts +880 -0
  452. package/src/components/index.ts +42 -0
  453. package/src/components/plan-shape-conformance.ts +130 -0
  454. package/src/components/pr-env-run-bundle.test.ts +2 -0
  455. package/src/components/pr-run.test.ts +516 -3
  456. package/src/components/pr-run.ts +231 -41
  457. package/src/components/promote-rounds.ts +25 -2
  458. package/src/components/promote.ts +55 -5
  459. package/src/components/registry.test.ts +1 -1
  460. package/src/components/release-gate.ts +115 -30
  461. package/src/components/release-groups.test.ts +362 -0
  462. package/src/components/run-groups.ts +113 -0
  463. package/src/components/starter-plugin.ts +6 -0
  464. package/src/components/verbs/index.ts +1 -0
  465. package/src/components/verbs/member-outputs.test.ts +205 -0
  466. package/src/components/verbs/member-outputs.ts +308 -0
  467. package/src/config.ts +44 -0
  468. package/src/deep-observation.ts +5 -23
  469. package/src/drift-record.test.ts +596 -0
  470. package/src/drift-record.ts +1206 -0
  471. package/src/engine-facts.guard.test.ts +111 -0
  472. package/src/engine-facts.test.ts +178 -0
  473. package/src/engine-facts.ts +154 -0
  474. package/src/gated-waves-bundle.test.ts +2 -0
  475. package/src/graph-ir-live.test.ts +92 -0
  476. package/src/graph-ir.ts +317 -7
  477. package/src/graph-refs.ts +416 -0
  478. package/src/graph-schema/fixtures/adopt.json +15 -0
  479. package/src/graph-schema/fixtures/choudoufu.engine-graph.json +169 -0
  480. package/src/graph-schema/fixtures/index.json +68 -0
  481. package/src/graph-schema/fixtures/plunge.engine-graph.json +158 -0
  482. package/src/graph-schema/fixtures.ts +267 -0
  483. package/src/graph-schema/generate.ts +263 -0
  484. package/src/graph-schema/graph-schema.test.ts +153 -0
  485. package/src/graph-schema/graph.schema.json +1387 -0
  486. package/src/health.schema.json +2 -1
  487. package/src/identity.ts +2 -0
  488. package/src/index.ts +2 -0
  489. package/src/instance-nodes.ts +288 -0
  490. package/src/lexicon.ts +76 -0
  491. package/src/lifecycle/__fixtures__/index-diff/20261026T120000Z-aaaaaaaaaaaa.json +149 -0
  492. package/src/lifecycle/__fixtures__/index-diff/20261026T130000Z-bbbbbbbbbbbb.json +127 -0
  493. package/src/lifecycle/adoption-file.test.ts +100 -0
  494. package/src/lifecycle/adoption-file.ts +154 -0
  495. package/src/lifecycle/cloud-index.test.ts +517 -0
  496. package/src/lifecycle/cloud-index.ts +736 -0
  497. package/src/lifecycle/derive-edges.test.ts +193 -0
  498. package/src/lifecycle/derive-edges.ts +182 -0
  499. package/src/lifecycle/git.ts +10 -4
  500. package/src/lifecycle/identity-match.test.ts +308 -0
  501. package/src/lifecycle/identity-match.ts +257 -0
  502. package/src/lifecycle/index-diff.test.ts +198 -0
  503. package/src/lifecycle/index-diff.ts +476 -0
  504. package/src/lifecycle/index-document.test.ts +64 -0
  505. package/src/lifecycle/index-document.ts +299 -0
  506. package/src/lifecycle/index-drift.test.ts +191 -0
  507. package/src/lifecycle/index-drift.ts +304 -0
  508. package/src/lifecycle/index-import.test.ts +255 -0
  509. package/src/lifecycle/index-import.ts +634 -0
  510. package/src/lifecycle/index-join.test.ts +250 -0
  511. package/src/lifecycle/index-join.ts +304 -0
  512. package/src/lifecycle/index-store-load-bearing.test.ts +187 -0
  513. package/src/lifecycle/index.ts +4 -0
  514. package/src/lifecycle/member-ledger.test.ts +25 -7
  515. package/src/lifecycle/observation-baseline.test.ts +72 -1
  516. package/src/lifecycle/observation-baseline.ts +190 -27
  517. package/src/lifecycle/observe.ts +6 -1
  518. package/src/lifecycle/query.test.ts +69 -1
  519. package/src/lifecycle/query.ts +103 -10
  520. package/src/lifecycle/replay.test.ts +9 -5
  521. package/src/lifecycle/replay.ts +9 -5
  522. package/src/lifecycle/scenario.ts +4 -3
  523. package/src/lifecycle/snapshot-store-fake.ts +29 -0
  524. package/src/lifecycle/snapshot-store-s3.ts +316 -0
  525. package/src/lifecycle/snapshot-store.test.ts +385 -0
  526. package/src/lifecycle/snapshot-store.ts +981 -0
  527. package/src/lifecycle/snapshot.test.ts +13 -0
  528. package/src/lifecycle/snapshot.ts +23 -6
  529. package/src/lifecycle/type-listing.test.ts +166 -0
  530. package/src/lifecycle/type-listing.ts +309 -0
  531. package/src/lint/component-checks.ts +17 -1
  532. package/src/lint/config.test.ts +3 -0
  533. package/src/lint/presets/relaxed.json +2 -1
  534. package/src/lint/presets/strict.json +2 -1
  535. package/src/lint/rules/__fixtures__/comp/comp008/fail/dns.component.ts +15 -0
  536. package/src/lint/rules/__fixtures__/comp/comp008/pass/dns.component.ts +10 -0
  537. package/src/lint/rules/comp/comp.test.ts +2 -1
  538. package/src/lint/rules/comp/comp008-applies-signal-only-root.ts +121 -0
  539. package/src/lint/rules/comp/comp008.test.ts +77 -0
  540. package/src/lint/rules/comp/index.ts +4 -1
  541. package/src/observation-edges.test.ts +33 -0
  542. package/src/observation.ts +36 -1
  543. package/src/op/activities/activity-contracts.ts +1 -1
  544. package/src/op/activities/change-set.ts +8 -5
  545. package/src/op/activity-failure.ts +36 -0
  546. package/src/op/index.ts +2 -1
  547. package/src/op/local-executor.test.ts +80 -0
  548. package/src/op/local-executor.ts +27 -9
  549. package/src/pr-loop-bundle.test.ts +5 -2
  550. package/src/pr-loop.test.ts +43 -0
  551. package/src/pr-loop.ts +111 -2
  552. package/src/pulumi-urn.ts +151 -0
  553. package/src/release-floors.ts +22 -0
  554. package/src/sensitive-key.ts +34 -0
  555. package/src/workspace/adoption-report.test.ts +61 -0
  556. package/src/workspace/adoption-report.ts +103 -0
  557. package/src/workspace/capabilities-contract.test.ts +4 -0
  558. package/src/workspace/capabilities-contract.ts +9 -1
  559. package/src/workspace/capabilities.schema.json +98 -0
  560. package/src/workspace/change-set.schema.json +42 -3
  561. package/src/workspace/ci-cloud-identity.ts +31 -1
  562. package/src/workspace/compose-graph.test.ts +12 -0
  563. package/src/workspace/compose-graph.ts +12 -1
  564. package/src/workspace/conformance/conformance.e2e.test.ts +2 -1
  565. package/src/workspace/conformance/index.ts +6 -1
  566. package/src/workspace/drift-cli.test.ts +65 -0
  567. package/src/workspace/drift-cli.ts +365 -0
  568. package/src/workspace/drift.schema.json +672 -0
  569. package/src/workspace/graph-cli.ts +5 -0
  570. package/src/workspace/graph.schema.json +72 -0
  571. package/src/workspace/init.test.ts +38 -1
  572. package/src/workspace/init.ts +50 -8
  573. package/src/workspace/intent-gaps.test.ts +18 -2
  574. package/src/workspace/ledger.schema.json +1 -1
  575. package/src/workspace/nested-graph.ts +1 -0
  576. package/src/workspace/pr-report.schema.json +51 -2
  577. package/src/workspace/promote-waves.test.ts +296 -0
  578. package/src/workspace/promote-waves.ts +340 -0
  579. package/src/workspace/promote.test.ts +158 -4
  580. package/src/workspace/promote.ts +398 -57
  581. package/src/workspace/reason-codes.test.ts +4 -1
  582. package/src/workspace/reason-codes.ts +14 -0
  583. package/src/workspace/search-contract.ts +2 -0
  584. package/src/workspace/search.schema.json +103 -5
@@ -33,7 +33,9 @@ import { dirname, relative } from "node:path";
33
33
  import { existsSync, statSync } from "node:fs";
34
34
  import { getHeadCommit } from "../lifecycle/git.js";
35
35
  import { buildCapabilityRegistry } from "./capability-plugin-loader.js";
36
+ import { componentSetFanOut, formRunGroups, planAndRunComponentGroup } from "./groups.js";
36
37
  import { applyConfigDefaults } from "./config-defaults.js";
38
+ import { withDeclaredReads } from "./declared-reads.js";
37
39
  import { loadChantConfig } from "../config.js";
38
40
  /** Discover components under `path` and shape them for `chant list --components`. */
39
41
  export async function listComponents(path, sandbox) {
@@ -348,6 +350,13 @@ function resolveComponentList(selector, discovered, all) {
348
350
  };
349
351
  }
350
352
  const enabled = withoutDisabled(discovered, all);
353
+ return { success: true, ...dependencyClosure(names, enabled), list: { named: names, enabled } };
354
+ }
355
+ /**
356
+ * `names` and every component of `enabled` they depend on, transitively, in
357
+ * `enabled`'s order, and which of those the names did not give (#3950).
358
+ */
359
+ export function dependencyClosure(names, enabled) {
351
360
  const byName = new Map(enabled.map((c) => [c.name, c]));
352
361
  const included = new Set();
353
362
  const visit = (name) => {
@@ -362,20 +371,13 @@ function resolveComponentList(selector, discovered, all) {
362
371
  visit(name);
363
372
  const targets = enabled.filter((c) => included.has(c.name));
364
373
  const named = new Set(names);
365
- return { success: true, targets, added: targets.map((c) => c.name).filter((n) => !named.has(n)) };
374
+ return { targets, added: targets.map((c) => c.name).filter((n) => !named.has(n)) };
366
375
  }
367
376
  export async function runComponents(path, selector, options = {}) {
368
377
  const resolved = await resolveComponentTargets(path, selector, options.sandbox, options.buildParams);
369
378
  if (!resolved.success) {
370
379
  return { success: false, selected: [], error: resolved.error };
371
380
  }
372
- const targets = resolved.targets;
373
- const narrowed = options.targets ?? {};
374
- const outside = Object.keys(narrowed).filter((name) => !targets.some((c) => c.name === name));
375
- if (outside.length > 0) {
376
- return { success: false, selected: [], error: `--target names ${outside.join(", ")}, which this run does not run` };
377
- }
378
- const targeted = Object.keys(narrowed).length > 0 ? { targets: narrowed } : {};
379
381
  // (#629) Resolve `chant.config.ts`'s `sbom`/`signing`/`vulnPolicy` sections
380
382
  // and fill their defaults into every recognized step (`generate-sbom`,
381
383
  // `sign`/`attest-provenance`, `verify`, `vuln-gate`) that didn't already
@@ -393,8 +395,28 @@ export async function runComponents(path, selector, options = {}) {
393
395
  lexicons: lexiconNames(config.lexicons),
394
396
  }));
395
397
  const env = options.env ?? "local";
396
- const selected = targets.map((c) => c.name);
397
- const resolvedTargets = targets.map((component) => applyConfigDefaults(component, config));
398
+ // #4516: the reads a capability finds in its steps' files (a template's
399
+ // Fn::ImportValue) order a set run as `deriveFanOut` orders a fan-out, so an
400
+ // importer runs after the component whose export it reads. A list takes its
401
+ // closure again with them written in, so a listed importer pulls in its
402
+ // exporter. A single name runs on its own, against seeded outputs.
403
+ let resolvedTargets;
404
+ let added = resolved.added ?? [];
405
+ if (resolved.list) {
406
+ const enabled = await withDeclaredReads(resolved.list.enabled.map((component) => applyConfigDefaults(component, config)), registry, path);
407
+ ({ targets: resolvedTargets, added } = dependencyClosure(resolved.list.named, enabled));
408
+ }
409
+ else {
410
+ const defaulted = resolved.targets.map((component) => applyConfigDefaults(component, config));
411
+ resolvedTargets = selector === "all" ? await withDeclaredReads(defaulted, registry, path) : defaulted;
412
+ }
413
+ const selected = resolvedTargets.map((c) => c.name);
414
+ const narrowed = options.targets ?? {};
415
+ const outside = Object.keys(narrowed).filter((name) => !selected.includes(name));
416
+ if (outside.length > 0) {
417
+ return { success: false, selected: [], error: `--target names ${outside.join(", ")}, which this run does not run` };
418
+ }
419
+ const targeted = Object.keys(narrowed).length > 0 ? { targets: narrowed } : {};
398
420
  // Cross-component/cross-stack outputs to resolve references against. Seeded
399
421
  // from a caller (a downstream CI job passing an upstream job's dumped
400
422
  // outputs via `--seed-outputs`); grows as this run's components complete.
@@ -409,16 +431,37 @@ export async function runComponents(path, selector, options = {}) {
409
431
  const releaseIdentity = () => (revision ? { revision } : {});
410
432
  try {
411
433
  if (selector === "all" || isComponentList(selector)) {
434
+ // ws-107 (#4465): the components a capability takes as one plan in their
435
+ // wave and apply as one group, by the rule the pull-request run uses.
436
+ // A cycle or unknown dependency throws here the error the driver would:
437
+ // `componentSetFanOut` drops a dependency outside the set, so the full
438
+ // graph is resolved first.
439
+ resolveComponentGraph(resolvedTargets);
440
+ const grouped = await formRunGroups({ components: resolvedTargets, plan: componentSetFanOut(resolvedTargets), registry, env });
412
441
  if (isComponentList(selector) && options.onPlan) {
413
442
  // Resolved here, before dispatch, so the order is printed before any
414
- // component runs. A cycle or unknown dependency throws the same error
415
- // `runInterpretDriver` would, caught below.
416
- const graph = resolveComponentGraph(resolvedTargets);
417
- options.onPlan({ order: graph.order, waves: graph.waves, added: resolved.added ?? [] });
443
+ // component runs.
444
+ options.onPlan({ order: grouped.order, waves: grouped.waves.filter((w) => w.length > 0), added });
418
445
  }
446
+ const byName = new Map(resolvedTargets.map((c) => [c.name, c]));
447
+ const groups = grouped.groups?.length
448
+ ? {
449
+ waves: grouped.waves,
450
+ groups: grouped.groups,
451
+ run: (group, componentOutputs) => planAndRunComponentGroup({
452
+ group,
453
+ components: byName,
454
+ registry,
455
+ env,
456
+ ctxOf: (name) => deployContext({ env, releaseIdentity, ...targeted }, name),
457
+ componentOutputs,
458
+ }),
459
+ }
460
+ : undefined;
419
461
  const run = await runInterpretDriver(resolvedTargets, registry, {
420
462
  env,
421
463
  releaseIdentity,
464
+ ...(groups ? { groups } : {}),
422
465
  ...targeted,
423
466
  componentOutputs: seedOutputs,
424
467
  ...(emit ? { onRunEvent: emit } : {}),
@@ -430,6 +473,7 @@ export async function runComponents(path, selector, options = {}) {
430
473
  selected,
431
474
  components: resolvedTargets,
432
475
  buildParams: options.buildParams,
476
+ ...(grouped.groups?.length || grouped.fallbacks?.length ? { grouped } : {}),
433
477
  ...(run.status === "gated" && run.gate
434
478
  ? {
435
479
  gated: {
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Reads a capability finds in the files its steps name (#4466).
3
+ *
4
+ * A read core can see is a `stackOutput()` or `@<component>.publish.*`
5
+ * reference in a step. A CloudFormation template that imports another
6
+ * stack's export reads that stack too, but the read sits inside the
7
+ * template. A capability that can find such reads says so through
8
+ * `Capability.declaredReads`, and {@link withDeclaredReads} writes each one
9
+ * into the reader's step as the `stackOutput()` reference a person would have
10
+ * written, plus a `dependsOn` on the upstream. From there on it is an ordinary
11
+ * read: it orders the fan-out, it is named under `unknownInputs` while the
12
+ * upstream's plan cannot say the value, and a reader whose plan read another
13
+ * value than the upstream applied is held for a round.
14
+ */
15
+ import type { CapabilityRegistry, DeclaredRead } from "./capability.js";
16
+ import type { DriverComponent } from "./driver.js";
17
+ /** A declared read with the kind of the step it names. */
18
+ export type PlacedRead = DeclaredRead & {
19
+ index: number;
20
+ kind: string;
21
+ };
22
+ /**
23
+ * Each capability's declared reads among `components` (#4466): every read a
24
+ * capability with `declaredReads` reports between two components of the
25
+ * project, its own reads of itself left out. A capability that throws
26
+ * reports none.
27
+ */
28
+ export declare function declaredReadsOf(components: readonly DriverComponent[], registry: CapabilityRegistry, root: string): Promise<PlacedRead[]>;
29
+ /**
30
+ * `components` with each declared read written in (#4466): the reader's
31
+ * step gets `{ stackOutput: { stack: upstream, name: output } }` at the
32
+ * read's place, unless something sits there already, and the reader depends
33
+ * on the upstream. Components no read names come back as they were.
34
+ */
35
+ export declare function applyDeclaredReads(components: readonly DriverComponent[], reads: readonly PlacedRead[]): DriverComponent[];
36
+ /** {@link declaredReadsOf} and {@link applyDeclaredReads} in one: `components` with their declared reads written in. */
37
+ export declare function withDeclaredReads(components: readonly DriverComponent[], registry: CapabilityRegistry, root: string): Promise<DriverComponent[]>;
38
+ //# sourceMappingURL=declared-reads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"declared-reads.d.ts","sourceRoot":"","sources":["../../src/components/declared-reads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAsB,MAAM,cAAc,CAAC;AACzF,OAAO,KAAK,EAAE,eAAe,EAA2B,MAAM,UAAU,CAAC;AAGzE,0DAA0D;AAC1D,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAmCxE;;;;;GAKG;AACH,wBAAsB,eAAe,CACnC,UAAU,EAAE,SAAS,eAAe,EAAE,EACtC,QAAQ,EAAE,kBAAkB,EAC5B,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,UAAU,EAAE,CAAC,CA6BvB;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,SAAS,eAAe,EAAE,EAAE,KAAK,EAAE,SAAS,UAAU,EAAE,GAAG,eAAe,EAAE,CAyB1H;AAED,wHAAwH;AACxH,wBAAsB,iBAAiB,CAAC,UAAU,EAAE,SAAS,eAAe,EAAE,EAAE,QAAQ,EAAE,kBAAkB,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAGtJ"}
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Reads a capability finds in the files its steps name (#4466).
3
+ *
4
+ * A read core can see is a `stackOutput()` or `@<component>.publish.*`
5
+ * reference in a step. A CloudFormation template that imports another
6
+ * stack's export reads that stack too, but the read sits inside the
7
+ * template. A capability that can find such reads says so through
8
+ * `Capability.declaredReads`, and {@link withDeclaredReads} writes each one
9
+ * into the reader's step as the `stackOutput()` reference a person would have
10
+ * written, plus a `dependsOn` on the upstream. From there on it is an ordinary
11
+ * read: it orders the fan-out, it is named under `unknownInputs` while the
12
+ * upstream's plan cannot say the value, and a reader whose plan read another
13
+ * value than the upstream applied is held for a round.
14
+ */
15
+ import { capabilitySteps } from "./wave-plan.js";
16
+ /** `pointer`'s segments, unescaped (RFC 6901). */
17
+ function segments(pointer) {
18
+ if (pointer === "")
19
+ return [];
20
+ return pointer
21
+ .split("/")
22
+ .slice(1)
23
+ .map((s) => s.replace(/~1/g, "/").replace(/~0/g, "~"));
24
+ }
25
+ /** `value` with `ref` placed at `path`, copying each object on the way; `undefined` when something already sits there. */
26
+ function placed(value, path, ref) {
27
+ if (path.length === 0)
28
+ return undefined;
29
+ const [head, ...rest] = path;
30
+ const here = value[head];
31
+ if (rest.length === 0)
32
+ return here === undefined ? { ...value, [head]: ref } : undefined;
33
+ if (here !== undefined && (here === null || typeof here !== "object" || Array.isArray(here)))
34
+ return undefined;
35
+ const inner = placed(here ?? {}, rest, ref);
36
+ return inner ? { ...value, [head]: inner } : undefined;
37
+ }
38
+ /** `phases` with each step `replace` gives a new value for swapped, in place, nested phases included. */
39
+ function mapSteps(phases, replace) {
40
+ const walk = (steps) => steps.map((step) => {
41
+ if (typeof step.phase === "string" && Array.isArray(step.steps)) {
42
+ return { ...step, steps: walk(step.steps) };
43
+ }
44
+ if (step.kind === "gate")
45
+ return step;
46
+ return replace(step);
47
+ });
48
+ return phases.map((phase) => ({ ...phase, steps: walk(phase.steps) }));
49
+ }
50
+ /**
51
+ * Each capability's declared reads among `components` (#4466): every read a
52
+ * capability with `declaredReads` reports between two components of the
53
+ * project, its own reads of itself left out. A capability that throws
54
+ * reports none.
55
+ */
56
+ export async function declaredReadsOf(components, registry, root) {
57
+ const names = new Set(components.map((c) => c.name));
58
+ const byKind = new Map();
59
+ for (const component of components) {
60
+ const seen = new Map();
61
+ for (const step of capabilitySteps(component.deploy)) {
62
+ if (!registry.has(step.kind))
63
+ continue;
64
+ const index = seen.get(step.kind) ?? 0;
65
+ seen.set(step.kind, index + 1);
66
+ const { kind, ...rest } = step;
67
+ (byKind.get(kind) ?? byKind.set(kind, []).get(kind)).push({ component: component.name, index, step: rest });
68
+ }
69
+ }
70
+ const out = [];
71
+ for (const [kind, members] of byKind) {
72
+ const capability = registry.resolve(kind);
73
+ if (typeof capability.declaredReads !== "function")
74
+ continue;
75
+ let reported;
76
+ try {
77
+ reported = await capability.declaredReads({ root }, members);
78
+ }
79
+ catch {
80
+ continue;
81
+ }
82
+ for (const r of reported ?? []) {
83
+ if (r.reader === r.upstream || !names.has(r.reader) || !names.has(r.upstream))
84
+ continue;
85
+ out.push({ ...r, index: r.index ?? 0, kind });
86
+ }
87
+ }
88
+ return out.sort((a, b) => a.reader.localeCompare(b.reader) || a.index - b.index || a.at.localeCompare(b.at));
89
+ }
90
+ /**
91
+ * `components` with each declared read written in (#4466): the reader's
92
+ * step gets `{ stackOutput: { stack: upstream, name: output } }` at the
93
+ * read's place, unless something sits there already, and the reader depends
94
+ * on the upstream. Components no read names come back as they were.
95
+ */
96
+ export function applyDeclaredReads(components, reads) {
97
+ const byReader = new Map();
98
+ for (const r of reads)
99
+ (byReader.get(r.reader) ?? byReader.set(r.reader, []).get(r.reader)).push(r);
100
+ return components.map((component) => {
101
+ const mine = byReader.get(component.name);
102
+ if (!mine)
103
+ return component;
104
+ const kinds = new Map();
105
+ const added = new Set();
106
+ const deploy = mapSteps(component.deploy, (step) => {
107
+ const index = kinds.get(step.kind) ?? 0;
108
+ kinds.set(step.kind, index + 1);
109
+ let next = step;
110
+ for (const r of mine.filter((x) => x.kind === step.kind && x.index === index)) {
111
+ const { kind, ...rest } = next;
112
+ const with_ = placed(rest, segments(r.at), { stackOutput: { stack: r.upstream, name: r.output } });
113
+ if (!with_)
114
+ continue;
115
+ next = { kind, ...with_ };
116
+ added.add(r.upstream);
117
+ }
118
+ return next;
119
+ });
120
+ const dependsOn = [...(component.dependsOn ?? [])];
121
+ for (const up of [...added].sort())
122
+ if (!dependsOn.includes(up))
123
+ dependsOn.push(up);
124
+ return { ...component, dependsOn, deploy };
125
+ });
126
+ }
127
+ /** {@link declaredReadsOf} and {@link applyDeclaredReads} in one: `components` with their declared reads written in. */
128
+ export async function withDeclaredReads(components, registry, root) {
129
+ const reads = await declaredReadsOf(components, registry, root);
130
+ return reads.length > 0 ? applyDeclaredReads(components, reads) : [...components];
131
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"deploy-units.d.ts","sourceRoot":"","sources":["../../src/components/deploy-units.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,SAAS,OAAO,EAAE,CAAC;CAC3B;AAED,6EAA6E;AAC7E,MAAM,WAAW,cAAc;IAC7B,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAoBtD,CAAC;AAEF,kEAAkE;AAClE,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAAG,UAAU,EAAE,CA0B7E"}
1
+ {"version":3,"file":"deploy-units.d.ts","sourceRoot":"","sources":["../../src/components/deploy-units.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,SAAS,OAAO,EAAE,CAAC;CAC3B;AAED,6EAA6E;AAC7E,MAAM,WAAW,cAAc;IAC7B,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAwBtD,CAAC;AAEF,kEAAkE;AAClE,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAAG,UAAU,EAAE,CA0B7E"}
@@ -26,6 +26,10 @@ export const DEPLOY_UNIT_RULES = [
26
26
  // A Config Connector manifest applied over REST (#4273). Its unit is the
27
27
  // step's `stack`, the member its plan names.
28
28
  { kind: "gcp-apply", field: "stack", lexicon: "gcp" },
29
+ // Another workspace member's outputs (#4455). Its unit is the member, so a
30
+ // change signal naming the member puts the component in the change. No
31
+ // lexicon observes it: the member's own pipeline reports its status.
32
+ { kind: "member-outputs", field: "member", lexicon: "workspace" },
29
33
  ];
30
34
  /**
31
35
  * Every distinct deploy unit a component's phases target, in declaration
@@ -47,7 +47,8 @@
47
47
  */
48
48
  import { type GateDigestMismatch, type GateLedgerPort } from "../op/gate.js";
49
49
  import type { PendingGateRecord } from "../lifecycle/gate-ledger.js";
50
- import type { CapabilityRegistry, DeployContext } from "./capability.js";
50
+ import type { CapabilityRegistry, DeployContext, GroupMemberStatus } from "./capability.js";
51
+ import type { FanOutGroup } from "./fan-out.js";
51
52
  import type { ReleaseIdentity } from "../telemetry-attribution.js";
52
53
  import type { RunProgressEvent } from "./run-progress.js";
53
54
  import { type RunEventSink } from "../run-event-stream.js";
@@ -180,6 +181,8 @@ export interface DriverRunResult {
180
181
  * component that ran in an earlier job.
181
182
  */
182
183
  componentOutputs: Record<string, Record<string, unknown>>;
184
+ /** How each member of a group that ran ended, as its capability said (ws-107, #4465), by component. Absent when no group ran. */
185
+ groupOutcomes?: Record<string, GroupMemberStatus>;
183
186
  }
184
187
  export interface ComponentGraph {
185
188
  /** Flat topological order — every dependency before its dependents. */
@@ -259,6 +262,16 @@ export declare function unresolvedWiringReferences(input: Record<string, unknown
259
262
  export declare function wiringReads(input: Record<string, unknown>, componentOutputs: Record<string, Record<string, unknown>>): Array<WiringReference & {
260
263
  known: boolean;
261
264
  }>;
265
+ /**
266
+ * Every cross-component reference in `input` with where it sits, as a JSON
267
+ * Pointer into `input` (ws-107), and the output it names (`publish.<field>`
268
+ * for an artifact). A reference made twice is listed at each place. Sorted
269
+ * by `ref`, then by `at`.
270
+ */
271
+ export declare function wiringReferencesAt(input: Record<string, unknown>): Array<WiringReference & {
272
+ at: string;
273
+ output: string;
274
+ }>;
262
275
  /**
263
276
  * The cross-component references in `input` that resolve to another value
264
277
  * against `now` than against `read`, sorted (#3999). A pull request's apply
@@ -402,6 +415,26 @@ export interface InterpretRunOptions {
402
415
  releaseIdentity?: (component: string) => ReleaseIdentity | undefined;
403
416
  /** The addresses each component narrows to (#4300), by component: its `DeployContext.targets`. */
404
417
  targets?: Readonly<Record<string, readonly string[]>>;
418
+ /** Groups applied as one (ws-107, #4465). See {@link InterpretGroups}. Absent: every component runs its own deploy. */
419
+ groups?: InterpretGroups;
420
+ }
421
+ /**
422
+ * Groups a run applies as one (ws-107, #4465): a promote under a release and
423
+ * `run --components` hand them over, already placed by `groupFanOut`. Each
424
+ * group runs once, through `run`, in the wave its members sit in and in place
425
+ * of their own deploys. A member that does not end `ok` stops the run after
426
+ * its wave, as a failed component does.
427
+ */
428
+ export interface InterpretGroups {
429
+ /** The grouped waves, which replace the ones `dependsOn` gives. Every component of the run is in one; an empty wave is passed over. */
430
+ waves: string[][];
431
+ /** Each group's members are components of the run, in one wave. */
432
+ groups: readonly FanOutGroup[];
433
+ /** Apply one group with the outputs standing, adding each applied member's own: one result per member, and how each ended. */
434
+ run: (group: FanOutGroup, componentOutputs: Record<string, Record<string, unknown>>) => Promise<{
435
+ results: DriverComponentResult[];
436
+ outcomes: Record<string, GroupMemberStatus>;
437
+ }>;
405
438
  }
406
439
  /**
407
440
  * Run a set of components to completion on the local in-process executor:
@@ -1 +1 @@
1
- {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../src/components/driver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAIH,OAAO,EAAmC,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAK3G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,OAAO,EAAmD,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEzG,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,oGAAoG;AACpG,MAAM,MAAM,WAAW,GACnB,MAAM,GACN;IAAE,WAAW,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GAChD,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5B,uFAAuF;AACvF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,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C,CAAC;CACvD,EACD,SAAS,EAAE,MAAM,GAChB,aAAa,CAUf;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,kBAAkB,EAAE,GAAG,EAAE,aAAa,GAAG,IAAI,CAgBxH;AAED,wBAAsB,kBAAkB,CACtC,UAAU,EAAE,eAAe,EAAE,EAC7B,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,eAAe,CAAC,CA6F1B"}
@@ -248,6 +248,43 @@ function wiringReferences(input) {
248
248
  walk(input);
249
249
  return [...found.values()].sort((a, b) => a.ref.localeCompare(b.ref));
250
250
  }
251
+ /**
252
+ * Every cross-component reference in `input` with where it sits, as a JSON
253
+ * Pointer into `input` (ws-107), and the output it names (`publish.<field>`
254
+ * for an artifact). A reference made twice is listed at each place. Sorted
255
+ * by `ref`, then by `at`.
256
+ */
257
+ export function wiringReferencesAt(input) {
258
+ const found = [];
259
+ const pointer = (path) => path.map((p) => "/" + p.replace(/~/g, "~0").replace(/\//g, "~1")).join("");
260
+ const walk = (value, path) => {
261
+ if (typeof value === "string") {
262
+ if (PRIOR_STEP_REF.test(value))
263
+ return;
264
+ const ref = value.match(COMPONENT_ARTIFACT_REF);
265
+ if (ref) {
266
+ const [, source, field] = ref;
267
+ found.push({ source, ref: `${source}.publish.${field}`, publish: true, at: pointer(path), output: `publish.${field}` });
268
+ }
269
+ return;
270
+ }
271
+ if (Array.isArray(value)) {
272
+ value.forEach((v, i) => walk(v, [...path, String(i)]));
273
+ return;
274
+ }
275
+ if (value && typeof value === "object") {
276
+ if ("stackOutput" in value) {
277
+ const { stack, name } = value.stackOutput;
278
+ found.push({ source: stack, ref: `${stack}.${name}`, publish: name === "publish" || name.startsWith("publish."), at: pointer(path), output: name });
279
+ return;
280
+ }
281
+ for (const [k, v] of Object.entries(value))
282
+ walk(v, [...path, k]);
283
+ }
284
+ };
285
+ walk(input, []);
286
+ return found.sort((a, b) => a.ref.localeCompare(b.ref) || a.at.localeCompare(b.at));
287
+ }
251
288
  /**
252
289
  * The cross-component references in `input` that resolve to another value
253
290
  * against `now` than against `read`, sorted (#3999). A pull request's apply
@@ -854,8 +891,21 @@ export function assertTargetsAccepted(component, registry, ctx) {
854
891
  walk(phase.steps);
855
892
  }
856
893
  export async function runInterpretDriver(components, registry, options) {
857
- const { order, waves } = resolveComponentGraph(components);
894
+ const graph = resolveComponentGraph(components);
858
895
  const byName = new Map(components.map((c) => [c.name, c]));
896
+ // ws-107 (#4465): the grouped waves, and each member's group.
897
+ const waves = options.groups ? options.groups.waves.map((w) => w.filter((name) => byName.has(name))).filter((w) => w.length > 0) : graph.waves;
898
+ const order = options.groups ? waves.flat() : graph.order;
899
+ const placed = new Set(order);
900
+ const unplaced = components.filter((c) => !placed.has(c.name)).map((c) => c.name);
901
+ if (unplaced.length > 0)
902
+ throw new Error(`the grouped waves leave out ${unplaced.join(", ")}, which this run runs`);
903
+ // A group keeps its members in this run; one left with fewer than two is no group, and its member runs its own deploy.
904
+ const runGroups = (options.groups?.groups ?? [])
905
+ .map((g) => ({ ...g, components: g.components.filter((c) => byName.has(c)) }))
906
+ .filter((g) => g.components.length > 1);
907
+ const groupOf = new Map(runGroups.flatMap((g) => g.components.map((c) => [c, g])));
908
+ const groupOutcomes = {};
859
909
  const componentOutputs = { ...(options.componentOutputs ?? {}) };
860
910
  const emit = joinRunEventSinks(options.onRunEvent, progressSinkOf(options.onProgress));
861
911
  const gates = {
@@ -871,13 +921,25 @@ export async function runInterpretDriver(components, registry, options) {
871
921
  waveLoop: for (const [waveIndex, wave] of waves.entries()) {
872
922
  const waveNum = waveIndex + 1;
873
923
  emit?.({ type: "wave-start", wave: waveNum, components: wave });
874
- const waveComponents = wave.map((name) => byName.get(name));
875
- const waveResults = await Promise.all(waveComponents.map(async (component) => {
924
+ const waveComponents = wave.filter((name) => !groupOf.has(name)).map((name) => byName.get(name));
925
+ const groupsHere = [...new Set(wave.map((name) => groupOf.get(name)).filter((g) => g !== undefined))];
926
+ // Groups and the wave's other components run side by side, as a wave's components do.
927
+ const groupResults = Promise.all(groupsHere.map(async (group) => {
928
+ for (const name of group.components)
929
+ emit?.({ type: "component-start", wave: waveNum, component: name });
930
+ const ran = await options.groups.run(group, componentOutputs);
931
+ Object.assign(groupOutcomes, ran.outcomes);
932
+ for (const result of ran.results)
933
+ emit?.({ type: "component-settle", wave: waveNum, component: result.component, status: progressStatus(result.status) });
934
+ return ran.results;
935
+ }));
936
+ const ownResults = await Promise.all(waveComponents.map(async (component) => {
876
937
  emit?.({ type: "component-start", wave: waveNum, component: component.name });
877
938
  const result = await runComponentDeploy(component, deployContext(options, component.name), registry, componentOutputs, undefined, gates, emit);
878
939
  emit?.({ type: "component-settle", wave: waveNum, component: component.name, status: progressStatus(result.status) });
879
940
  return result;
880
941
  }));
942
+ const waveResults = [...ownResults, ...(await groupResults).flat()];
881
943
  results.push(...waveResults);
882
944
  const stopped = waveResults.find((r) => r.status !== "ok");
883
945
  emit?.({ type: "wave-settle", wave: waveNum, status: progressStatus(stopped?.status ?? "ok") });
@@ -897,6 +959,7 @@ export async function runInterpretDriver(components, registry, options) {
897
959
  emit?.({ type: "run-settle", status: progressStatus(status), durationMs: null });
898
960
  const result = {
899
961
  order, waves, results, ok, status, failedComponent, componentOutputs,
962
+ ...(Object.keys(groupOutcomes).length > 0 ? { groupOutcomes } : {}),
900
963
  ...(gated
901
964
  ? {
902
965
  gatedComponent: gated.component,
@@ -43,7 +43,7 @@ import { type FanOutPlan, type FanOutProgress, type FanOutSkip } from "./fan-out
43
43
  import { type GateLedgerPort } from "../op/gate.js";
44
44
  import type { RunProgressEvent } from "./run-progress.js";
45
45
  import { type RunEventSink } from "../run-event-stream.js";
46
- import type { CapabilityRegistry } from "./capability.js";
46
+ import type { CapabilityRegistry, GroupMemberStatus, GroupRun } from "./capability.js";
47
47
  import type { PendingGateRecord } from "../lifecycle/gate-ledger.js";
48
48
  import type { DeployContext } from "./capability.js";
49
49
  import { type WaveComponentPlan } from "./wave-plan.js";
@@ -178,6 +178,20 @@ export interface FanOutRunOptions {
178
178
  * before it applied.
179
179
  */
180
180
  hold?: (component: string, componentOutputs: Record<string, Record<string, unknown>>) => string | undefined;
181
+ /**
182
+ * The approved plan of each group in `plan.groups` (ws-107), by the
183
+ * group's first component. A group runs through `runGroup` in its wave,
184
+ * in place of its members' own runs, and is held and blocked as one: a
185
+ * member held or blocked holds or blocks the rest. Not with `waveGate`.
186
+ */
187
+ groupRuns?: Record<string, GroupRun>;
188
+ /**
189
+ * A group with no entry in `groupRuns` plans in its wave against the
190
+ * outputs standing, then applies (#4465): `components fan-out` plans
191
+ * nothing before it runs. Without it such a group fails, which is what a
192
+ * pull request's apply wants for a group nobody approved.
193
+ */
194
+ planGroupsAtWave?: boolean;
181
195
  }
182
196
  /** A component {@link FanOutRunOptions.hold} held back, or one downstream of it. */
183
197
  export interface FanOutHeld {
@@ -205,6 +219,14 @@ export interface FanOutRunResult {
205
219
  waves?: WaveRecord[];
206
220
  /** What {@link FanOutRunOptions.hold} held back, in plan order. Absent when nothing was. */
207
221
  held?: FanOutHeld[];
222
+ /**
223
+ * Members of a group whose apply stopped before their part began (ws-107),
224
+ * sorted. Each has a `fail` result but is not in `failed`; what depends on
225
+ * it outside the group is blocked by it. Absent when none.
226
+ */
227
+ notStarted?: string[];
228
+ /** How each member of a group that ran ended, as its capability said (#4446), by component. Absent when no group ran. */
229
+ groupOutcomes?: Record<string, GroupMemberStatus>;
208
230
  }
209
231
  /**
210
232
  * Dispatch a fan-out plan.
@@ -1 +1 @@
1
- {"version":3,"file":"fan-out-run.d.ts","sourceRoot":"","sources":["../../src/components/fan-out-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAE3B,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,E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