@petepetrash/circuit 0.1.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 (1993) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +246 -0
  3. package/bin/circuit +44 -0
  4. package/bin/node-version-guard.d.ts +12 -0
  5. package/bin/node-version-guard.js +65 -0
  6. package/dist/app/checkpoints/discover.d.ts +63 -0
  7. package/dist/app/checkpoints/discover.d.ts.map +1 -0
  8. package/dist/app/checkpoints/discover.js +121 -0
  9. package/dist/app/checkpoints/discover.js.map +1 -0
  10. package/dist/app/checkpoints/render.d.ts +4 -0
  11. package/dist/app/checkpoints/render.d.ts.map +1 -0
  12. package/dist/app/checkpoints/render.js +68 -0
  13. package/dist/app/checkpoints/render.js.map +1 -0
  14. package/dist/app/continuity/brief.d.ts +140 -0
  15. package/dist/app/continuity/brief.d.ts.map +1 -0
  16. package/dist/app/continuity/brief.js +557 -0
  17. package/dist/app/continuity/brief.js.map +1 -0
  18. package/dist/app/continuity/harvest.d.ts +65 -0
  19. package/dist/app/continuity/harvest.d.ts.map +1 -0
  20. package/dist/app/continuity/harvest.js +658 -0
  21. package/dist/app/continuity/harvest.js.map +1 -0
  22. package/dist/app/continuity/records.d.ts +39 -0
  23. package/dist/app/continuity/records.d.ts.map +1 -0
  24. package/dist/app/continuity/records.js +210 -0
  25. package/dist/app/continuity/records.js.map +1 -0
  26. package/dist/app/history/extract.d.ts +8 -0
  27. package/dist/app/history/extract.d.ts.map +1 -0
  28. package/dist/app/history/extract.js +716 -0
  29. package/dist/app/history/extract.js.map +1 -0
  30. package/dist/app/history/indexer.d.ts +107 -0
  31. package/dist/app/history/indexer.d.ts.map +1 -0
  32. package/dist/app/history/indexer.js +234 -0
  33. package/dist/app/history/indexer.js.map +1 -0
  34. package/dist/app/history/memory-effect-read.d.ts +8 -0
  35. package/dist/app/history/memory-effect-read.d.ts.map +1 -0
  36. package/dist/app/history/memory-effect-read.js +40 -0
  37. package/dist/app/history/memory-effect-read.js.map +1 -0
  38. package/dist/app/history/memory-effect.d.ts +34 -0
  39. package/dist/app/history/memory-effect.d.ts.map +1 -0
  40. package/dist/app/history/memory-effect.js +234 -0
  41. package/dist/app/history/memory-effect.js.map +1 -0
  42. package/dist/app/history/memory-identity.d.ts +7 -0
  43. package/dist/app/history/memory-identity.d.ts.map +1 -0
  44. package/dist/app/history/memory-identity.js +39 -0
  45. package/dist/app/history/memory-identity.js.map +1 -0
  46. package/dist/app/history/memory-merge.d.ts +16 -0
  47. package/dist/app/history/memory-merge.d.ts.map +1 -0
  48. package/dist/app/history/memory-merge.js +224 -0
  49. package/dist/app/history/memory-merge.js.map +1 -0
  50. package/dist/app/history/memory-preview.d.ts +10 -0
  51. package/dist/app/history/memory-preview.d.ts.map +1 -0
  52. package/dist/app/history/memory-preview.js +103 -0
  53. package/dist/app/history/memory-preview.js.map +1 -0
  54. package/dist/app/history/pull-log.d.ts +13 -0
  55. package/dist/app/history/pull-log.d.ts.map +1 -0
  56. package/dist/app/history/pull-log.js +91 -0
  57. package/dist/app/history/pull-log.js.map +1 -0
  58. package/dist/app/history/pull-suppression.d.ts +12 -0
  59. package/dist/app/history/pull-suppression.d.ts.map +1 -0
  60. package/dist/app/history/pull-suppression.js +40 -0
  61. package/dist/app/history/pull-suppression.js.map +1 -0
  62. package/dist/app/history/query.d.ts +19 -0
  63. package/dist/app/history/query.d.ts.map +1 -0
  64. package/dist/app/history/query.js +342 -0
  65. package/dist/app/history/query.js.map +1 -0
  66. package/dist/app/history/recall-precision.d.ts +15 -0
  67. package/dist/app/history/recall-precision.d.ts.map +1 -0
  68. package/dist/app/history/recall-precision.js +116 -0
  69. package/dist/app/history/recall-precision.js.map +1 -0
  70. package/dist/app/history/run-source-files.d.ts +23 -0
  71. package/dist/app/history/run-source-files.d.ts.map +1 -0
  72. package/dist/app/history/run-source-files.js +82 -0
  73. package/dist/app/history/run-source-files.js.map +1 -0
  74. package/dist/app/history/run-start-recall.d.ts +18 -0
  75. package/dist/app/history/run-start-recall.d.ts.map +1 -0
  76. package/dist/app/history/run-start-recall.js +156 -0
  77. package/dist/app/history/run-start-recall.js.map +1 -0
  78. package/dist/app/inbox/discover.d.ts +63 -0
  79. package/dist/app/inbox/discover.d.ts.map +1 -0
  80. package/dist/app/inbox/discover.js +120 -0
  81. package/dist/app/inbox/discover.js.map +1 -0
  82. package/dist/app/inbox/render.d.ts +4 -0
  83. package/dist/app/inbox/render.d.ts.map +1 -0
  84. package/dist/app/inbox/render.js +66 -0
  85. package/dist/app/inbox/render.js.map +1 -0
  86. package/dist/app/operator-summary/writer.d.ts +41 -0
  87. package/dist/app/operator-summary/writer.d.ts.map +1 -0
  88. package/dist/app/operator-summary/writer.js +1667 -0
  89. package/dist/app/operator-summary/writer.js.map +1 -0
  90. package/dist/app/process-evidence/projection.d.ts +36 -0
  91. package/dist/app/process-evidence/projection.d.ts.map +1 -0
  92. package/dist/app/process-evidence/projection.js +137 -0
  93. package/dist/app/process-evidence/projection.js.map +1 -0
  94. package/dist/app/run-envelope/autonomous-run.d.ts +17 -0
  95. package/dist/app/run-envelope/autonomous-run.d.ts.map +1 -0
  96. package/dist/app/run-envelope/autonomous-run.js +59 -0
  97. package/dist/app/run-envelope/autonomous-run.js.map +1 -0
  98. package/dist/app/run-envelope/continuation-loop.d.ts +24 -0
  99. package/dist/app/run-envelope/continuation-loop.d.ts.map +1 -0
  100. package/dist/app/run-envelope/continuation-loop.js +72 -0
  101. package/dist/app/run-envelope/continuation-loop.js.map +1 -0
  102. package/dist/app/run-envelope/contract-lock.d.ts +15 -0
  103. package/dist/app/run-envelope/contract-lock.d.ts.map +1 -0
  104. package/dist/app/run-envelope/contract-lock.js +44 -0
  105. package/dist/app/run-envelope/contract-lock.js.map +1 -0
  106. package/dist/app/run-envelope/contract-quality.d.ts +15 -0
  107. package/dist/app/run-envelope/contract-quality.d.ts.map +1 -0
  108. package/dist/app/run-envelope/contract-quality.js +48 -0
  109. package/dist/app/run-envelope/contract-quality.js.map +1 -0
  110. package/dist/app/run-envelope/no-progress.d.ts +11 -0
  111. package/dist/app/run-envelope/no-progress.d.ts.map +1 -0
  112. package/dist/app/run-envelope/no-progress.js +40 -0
  113. package/dist/app/run-envelope/no-progress.js.map +1 -0
  114. package/dist/app/run-envelope/shadow-record.d.ts +40 -0
  115. package/dist/app/run-envelope/shadow-record.d.ts.map +1 -0
  116. package/dist/app/run-envelope/shadow-record.js +108 -0
  117. package/dist/app/run-envelope/shadow-record.js.map +1 -0
  118. package/dist/app/run-envelope/source-record.d.ts +62 -0
  119. package/dist/app/run-envelope/source-record.d.ts.map +1 -0
  120. package/dist/app/run-envelope/source-record.js +648 -0
  121. package/dist/app/run-envelope/source-record.js.map +1 -0
  122. package/dist/app/run-status/projection-common.d.ts +57 -0
  123. package/dist/app/run-status/projection-common.d.ts.map +1 -0
  124. package/dist/app/run-status/projection-common.js +90 -0
  125. package/dist/app/run-status/projection-common.js.map +1 -0
  126. package/dist/app/run-status/run-folder-projector.d.ts +9 -0
  127. package/dist/app/run-status/run-folder-projector.d.ts.map +1 -0
  128. package/dist/app/run-status/run-folder-projector.js +68 -0
  129. package/dist/app/run-status/run-folder-projector.js.map +1 -0
  130. package/dist/app/run-status/runtime-run-folder.d.ts +4 -0
  131. package/dist/app/run-status/runtime-run-folder.d.ts.map +1 -0
  132. package/dist/app/run-status/runtime-run-folder.js +461 -0
  133. package/dist/app/run-status/runtime-run-folder.js.map +1 -0
  134. package/dist/cli/checkpoints.d.ts +7 -0
  135. package/dist/cli/checkpoints.d.ts.map +1 -0
  136. package/dist/cli/checkpoints.js +60 -0
  137. package/dist/cli/checkpoints.js.map +1 -0
  138. package/dist/cli/chosen-connectors.d.ts +14 -0
  139. package/dist/cli/chosen-connectors.d.ts.map +1 -0
  140. package/dist/cli/chosen-connectors.js +85 -0
  141. package/dist/cli/chosen-connectors.js.map +1 -0
  142. package/dist/cli/circuit.d.ts +9 -0
  143. package/dist/cli/circuit.d.ts.map +1 -0
  144. package/dist/cli/circuit.js +218 -0
  145. package/dist/cli/circuit.js.map +1 -0
  146. package/dist/cli/command-vocabulary.d.ts +3 -0
  147. package/dist/cli/command-vocabulary.d.ts.map +1 -0
  148. package/dist/cli/command-vocabulary.js +26 -0
  149. package/dist/cli/command-vocabulary.js.map +1 -0
  150. package/dist/cli/commander-support.d.ts +6 -0
  151. package/dist/cli/commander-support.d.ts.map +1 -0
  152. package/dist/cli/commander-support.js +61 -0
  153. package/dist/cli/commander-support.js.map +1 -0
  154. package/dist/cli/compiled-flow-loading.d.ts +21 -0
  155. package/dist/cli/compiled-flow-loading.d.ts.map +1 -0
  156. package/dist/cli/compiled-flow-loading.js +84 -0
  157. package/dist/cli/compiled-flow-loading.js.map +1 -0
  158. package/dist/cli/config-command.d.ts +33 -0
  159. package/dist/cli/config-command.d.ts.map +1 -0
  160. package/dist/cli/config-command.js +367 -0
  161. package/dist/cli/config-command.js.map +1 -0
  162. package/dist/cli/create.d.ts +12 -0
  163. package/dist/cli/create.d.ts.map +1 -0
  164. package/dist/cli/create.js +229 -0
  165. package/dist/cli/create.js.map +1 -0
  166. package/dist/cli/custom-flow-package.d.ts +62 -0
  167. package/dist/cli/custom-flow-package.d.ts.map +1 -0
  168. package/dist/cli/custom-flow-package.js +294 -0
  169. package/dist/cli/custom-flow-package.js.map +1 -0
  170. package/dist/cli/doctor.d.ts +9 -0
  171. package/dist/cli/doctor.d.ts.map +1 -0
  172. package/dist/cli/doctor.js +147 -0
  173. package/dist/cli/doctor.js.map +1 -0
  174. package/dist/cli/flow-selection-preview.d.ts +784 -0
  175. package/dist/cli/flow-selection-preview.d.ts.map +1 -0
  176. package/dist/cli/flow-selection-preview.js +248 -0
  177. package/dist/cli/flow-selection-preview.js.map +1 -0
  178. package/dist/cli/front-door.d.ts +3 -0
  179. package/dist/cli/front-door.d.ts.map +1 -0
  180. package/dist/cli/front-door.js +41 -0
  181. package/dist/cli/front-door.js.map +1 -0
  182. package/dist/cli/generate.d.ts +8 -0
  183. package/dist/cli/generate.d.ts.map +1 -0
  184. package/dist/cli/generate.js +346 -0
  185. package/dist/cli/generate.js.map +1 -0
  186. package/dist/cli/handoff-codex-hooks.d.ts +25 -0
  187. package/dist/cli/handoff-codex-hooks.d.ts.map +1 -0
  188. package/dist/cli/handoff-codex-hooks.js +555 -0
  189. package/dist/cli/handoff-codex-hooks.js.map +1 -0
  190. package/dist/cli/handoff.d.ts +8 -0
  191. package/dist/cli/handoff.d.ts.map +1 -0
  192. package/dist/cli/handoff.js +634 -0
  193. package/dist/cli/handoff.js.map +1 -0
  194. package/dist/cli/help.d.ts +15 -0
  195. package/dist/cli/help.d.ts.map +1 -0
  196. package/dist/cli/help.js +312 -0
  197. package/dist/cli/help.js.map +1 -0
  198. package/dist/cli/history.d.ts +2 -0
  199. package/dist/cli/history.d.ts.map +1 -0
  200. package/dist/cli/history.js +384 -0
  201. package/dist/cli/history.js.map +1 -0
  202. package/dist/cli/inbox.d.ts +7 -0
  203. package/dist/cli/inbox.d.ts.map +1 -0
  204. package/dist/cli/inbox.js +58 -0
  205. package/dist/cli/inbox.js.map +1 -0
  206. package/dist/cli/interactive/app.d.ts +11 -0
  207. package/dist/cli/interactive/app.d.ts.map +1 -0
  208. package/dist/cli/interactive/app.js +220 -0
  209. package/dist/cli/interactive/app.js.map +1 -0
  210. package/dist/cli/interactive/index.d.ts +2 -0
  211. package/dist/cli/interactive/index.d.ts.map +1 -0
  212. package/dist/cli/interactive/index.js +51 -0
  213. package/dist/cli/interactive/index.js.map +1 -0
  214. package/dist/cli/interactive/state.d.ts +122 -0
  215. package/dist/cli/interactive/state.d.ts.map +1 -0
  216. package/dist/cli/interactive/state.js +413 -0
  217. package/dist/cli/interactive/state.js.map +1 -0
  218. package/dist/cli/memory.d.ts +5 -0
  219. package/dist/cli/memory.d.ts.map +1 -0
  220. package/dist/cli/memory.js +327 -0
  221. package/dist/cli/memory.js.map +1 -0
  222. package/dist/cli/post-run-artifacts.d.ts +45 -0
  223. package/dist/cli/post-run-artifacts.d.ts.map +1 -0
  224. package/dist/cli/post-run-artifacts.js +100 -0
  225. package/dist/cli/post-run-artifacts.js.map +1 -0
  226. package/dist/cli/preview.d.ts +9 -0
  227. package/dist/cli/preview.d.ts.map +1 -0
  228. package/dist/cli/preview.js +326 -0
  229. package/dist/cli/preview.js.map +1 -0
  230. package/dist/cli/reclaim.d.ts +2 -0
  231. package/dist/cli/reclaim.d.ts.map +1 -0
  232. package/dist/cli/reclaim.js +67 -0
  233. package/dist/cli/reclaim.js.map +1 -0
  234. package/dist/cli/recovery-attempt-runner.d.ts +25 -0
  235. package/dist/cli/recovery-attempt-runner.d.ts.map +1 -0
  236. package/dist/cli/recovery-attempt-runner.js +98 -0
  237. package/dist/cli/recovery-attempt-runner.js.map +1 -0
  238. package/dist/cli/resume-input.d.ts +27 -0
  239. package/dist/cli/resume-input.d.ts.map +1 -0
  240. package/dist/cli/resume-input.js +58 -0
  241. package/dist/cli/resume-input.js.map +1 -0
  242. package/dist/cli/routed-connectors.d.ts +14 -0
  243. package/dist/cli/routed-connectors.d.ts.map +1 -0
  244. package/dist/cli/routed-connectors.js +85 -0
  245. package/dist/cli/routed-connectors.js.map +1 -0
  246. package/dist/cli/run-flag-vocabulary.d.ts +14 -0
  247. package/dist/cli/run-flag-vocabulary.d.ts.map +1 -0
  248. package/dist/cli/run-flag-vocabulary.js +38 -0
  249. package/dist/cli/run-flag-vocabulary.js.map +1 -0
  250. package/dist/cli/run-output.d.ts +32 -0
  251. package/dist/cli/run-output.d.ts.map +1 -0
  252. package/dist/cli/run-output.js +47 -0
  253. package/dist/cli/run-output.js.map +1 -0
  254. package/dist/cli/run-stdout-envelope.d.ts +47 -0
  255. package/dist/cli/run-stdout-envelope.d.ts.map +1 -0
  256. package/dist/cli/run-stdout-envelope.js +98 -0
  257. package/dist/cli/run-stdout-envelope.js.map +1 -0
  258. package/dist/cli/run.d.ts +59 -0
  259. package/dist/cli/run.d.ts.map +1 -0
  260. package/dist/cli/run.js +1182 -0
  261. package/dist/cli/run.js.map +1 -0
  262. package/dist/cli/runs.d.ts +2 -0
  263. package/dist/cli/runs.d.ts.map +1 -0
  264. package/dist/cli/runs.js +88 -0
  265. package/dist/cli/runs.js.map +1 -0
  266. package/dist/cli/runtime-routing-policy.d.ts +51 -0
  267. package/dist/cli/runtime-routing-policy.d.ts.map +1 -0
  268. package/dist/cli/runtime-routing-policy.js +143 -0
  269. package/dist/cli/runtime-routing-policy.js.map +1 -0
  270. package/dist/cli/styled-table.d.ts +11 -0
  271. package/dist/cli/styled-table.d.ts.map +1 -0
  272. package/dist/cli/styled-table.js +40 -0
  273. package/dist/cli/styled-table.js.map +1 -0
  274. package/dist/cli/terminal-style.d.ts +26 -0
  275. package/dist/cli/terminal-style.d.ts.map +1 -0
  276. package/dist/cli/terminal-style.js +75 -0
  277. package/dist/cli/terminal-style.js.map +1 -0
  278. package/dist/cli/tty-notice.d.ts +21 -0
  279. package/dist/cli/tty-notice.d.ts.map +1 -0
  280. package/dist/cli/tty-notice.js +35 -0
  281. package/dist/cli/tty-notice.js.map +1 -0
  282. package/dist/cli/uninstall.d.ts +22 -0
  283. package/dist/cli/uninstall.d.ts.map +1 -0
  284. package/dist/cli/uninstall.js +277 -0
  285. package/dist/cli/uninstall.js.map +1 -0
  286. package/dist/cli/utility-progress.d.ts +14 -0
  287. package/dist/cli/utility-progress.d.ts.map +1 -0
  288. package/dist/cli/utility-progress.js +23 -0
  289. package/dist/cli/utility-progress.js.map +1 -0
  290. package/dist/cli/version-info.d.ts +2 -0
  291. package/dist/cli/version-info.d.ts.map +1 -0
  292. package/dist/cli/version-info.js +32 -0
  293. package/dist/cli/version-info.js.map +1 -0
  294. package/dist/connectors/claude-code.d.ts +16 -0
  295. package/dist/connectors/claude-code.d.ts.map +1 -0
  296. package/dist/connectors/claude-code.js +492 -0
  297. package/dist/connectors/claude-code.js.map +1 -0
  298. package/dist/connectors/codex-default-model.d.ts +10 -0
  299. package/dist/connectors/codex-default-model.d.ts.map +1 -0
  300. package/dist/connectors/codex-default-model.js +142 -0
  301. package/dist/connectors/codex-default-model.js.map +1 -0
  302. package/dist/connectors/codex.d.ts +21 -0
  303. package/dist/connectors/codex.d.ts.map +1 -0
  304. package/dist/connectors/codex.js +709 -0
  305. package/dist/connectors/codex.js.map +1 -0
  306. package/dist/connectors/connector.d.ts +7 -0
  307. package/dist/connectors/connector.d.ts.map +1 -0
  308. package/dist/connectors/connector.js +2 -0
  309. package/dist/connectors/connector.js.map +1 -0
  310. package/dist/connectors/cursor-agent.d.ts +10 -0
  311. package/dist/connectors/cursor-agent.d.ts.map +1 -0
  312. package/dist/connectors/cursor-agent.js +156 -0
  313. package/dist/connectors/cursor-agent.js.map +1 -0
  314. package/dist/connectors/custom.d.ts +7 -0
  315. package/dist/connectors/custom.d.ts.map +1 -0
  316. package/dist/connectors/custom.js +135 -0
  317. package/dist/connectors/custom.js.map +1 -0
  318. package/dist/connectors/health.d.ts +35 -0
  319. package/dist/connectors/health.d.ts.map +1 -0
  320. package/dist/connectors/health.js +169 -0
  321. package/dist/connectors/health.js.map +1 -0
  322. package/dist/connectors/remediation.d.ts +3 -0
  323. package/dist/connectors/remediation.d.ts.map +1 -0
  324. package/dist/connectors/remediation.js +16 -0
  325. package/dist/connectors/remediation.js.map +1 -0
  326. package/dist/connectors/resolver.d.ts +44 -0
  327. package/dist/connectors/resolver.d.ts.map +1 -0
  328. package/dist/connectors/resolver.js +204 -0
  329. package/dist/connectors/resolver.js.map +1 -0
  330. package/dist/connectors/subprocess.d.ts +59 -0
  331. package/dist/connectors/subprocess.d.ts.map +1 -0
  332. package/dist/connectors/subprocess.js +375 -0
  333. package/dist/connectors/subprocess.js.map +1 -0
  334. package/dist/flows/accommodation-ledger.d.ts +49 -0
  335. package/dist/flows/accommodation-ledger.d.ts.map +1 -0
  336. package/dist/flows/accommodation-ledger.js +277 -0
  337. package/dist/flows/accommodation-ledger.js.map +1 -0
  338. package/dist/flows/assemble-flow-schematic.d.ts +30 -0
  339. package/dist/flows/assemble-flow-schematic.d.ts.map +1 -0
  340. package/dist/flows/assemble-flow-schematic.js +58 -0
  341. package/dist/flows/assemble-flow-schematic.js.map +1 -0
  342. package/dist/flows/axis-selections.d.ts +4 -0
  343. package/dist/flows/axis-selections.d.ts.map +1 -0
  344. package/dist/flows/axis-selections.js +34 -0
  345. package/dist/flows/axis-selections.js.map +1 -0
  346. package/dist/flows/block-step-expansion.d.ts +69 -0
  347. package/dist/flows/block-step-expansion.d.ts.map +1 -0
  348. package/dist/flows/block-step-expansion.js +219 -0
  349. package/dist/flows/block-step-expansion.js.map +1 -0
  350. package/dist/flows/build/assembly-spec.d.ts +5 -0
  351. package/dist/flows/build/assembly-spec.d.ts.map +1 -0
  352. package/dist/flows/build/assembly-spec.js +287 -0
  353. package/dist/flows/build/assembly-spec.js.map +1 -0
  354. package/dist/flows/build/data.d.ts +848 -0
  355. package/dist/flows/build/data.d.ts.map +1 -0
  356. package/dist/flows/build/data.js +163 -0
  357. package/dist/flows/build/data.js.map +1 -0
  358. package/dist/flows/build/flow.d.ts +2 -0
  359. package/dist/flows/build/flow.d.ts.map +1 -0
  360. package/dist/flows/build/flow.js +4 -0
  361. package/dist/flows/build/flow.js.map +1 -0
  362. package/dist/flows/build/index.d.ts +4 -0
  363. package/dist/flows/build/index.d.ts.map +1 -0
  364. package/dist/flows/build/index.js +8 -0
  365. package/dist/flows/build/index.js.map +1 -0
  366. package/dist/flows/build/relay-hints.d.ts +5 -0
  367. package/dist/flows/build/relay-hints.d.ts.map +1 -0
  368. package/dist/flows/build/relay-hints.js +51 -0
  369. package/dist/flows/build/relay-hints.js.map +1 -0
  370. package/dist/flows/build/reports.d.ts +577 -0
  371. package/dist/flows/build/reports.d.ts.map +1 -0
  372. package/dist/flows/build/reports.js +698 -0
  373. package/dist/flows/build/reports.js.map +1 -0
  374. package/dist/flows/build/writers/baseline-snapshot.d.ts +4 -0
  375. package/dist/flows/build/writers/baseline-snapshot.d.ts.map +1 -0
  376. package/dist/flows/build/writers/baseline-snapshot.js +76 -0
  377. package/dist/flows/build/writers/baseline-snapshot.js.map +1 -0
  378. package/dist/flows/build/writers/checkpoint-brief-projection.d.ts +29 -0
  379. package/dist/flows/build/writers/checkpoint-brief-projection.d.ts.map +1 -0
  380. package/dist/flows/build/writers/checkpoint-brief-projection.js +145 -0
  381. package/dist/flows/build/writers/checkpoint-brief-projection.js.map +1 -0
  382. package/dist/flows/build/writers/checkpoint-brief.d.ts +3 -0
  383. package/dist/flows/build/writers/checkpoint-brief.d.ts.map +1 -0
  384. package/dist/flows/build/writers/checkpoint-brief.js +55 -0
  385. package/dist/flows/build/writers/checkpoint-brief.js.map +1 -0
  386. package/dist/flows/build/writers/checkpoint-html.d.ts +3 -0
  387. package/dist/flows/build/writers/checkpoint-html.d.ts.map +1 -0
  388. package/dist/flows/build/writers/checkpoint-html.js +106 -0
  389. package/dist/flows/build/writers/checkpoint-html.js.map +1 -0
  390. package/dist/flows/build/writers/close.d.ts +3 -0
  391. package/dist/flows/build/writers/close.d.ts.map +1 -0
  392. package/dist/flows/build/writers/close.js +72 -0
  393. package/dist/flows/build/writers/close.js.map +1 -0
  394. package/dist/flows/build/writers/plan.d.ts +3 -0
  395. package/dist/flows/build/writers/plan.d.ts.map +1 -0
  396. package/dist/flows/build/writers/plan.js +74 -0
  397. package/dist/flows/build/writers/plan.js.map +1 -0
  398. package/dist/flows/build/writers/result-projection.d.ts +13 -0
  399. package/dist/flows/build/writers/result-projection.d.ts.map +1 -0
  400. package/dist/flows/build/writers/result-projection.js +105 -0
  401. package/dist/flows/build/writers/result-projection.js.map +1 -0
  402. package/dist/flows/build/writers/touch-area-projection.d.ts +9 -0
  403. package/dist/flows/build/writers/touch-area-projection.d.ts.map +1 -0
  404. package/dist/flows/build/writers/touch-area-projection.js +120 -0
  405. package/dist/flows/build/writers/touch-area-projection.js.map +1 -0
  406. package/dist/flows/build/writers/touch-area.d.ts +3 -0
  407. package/dist/flows/build/writers/touch-area.d.ts.map +1 -0
  408. package/dist/flows/build/writers/touch-area.js +130 -0
  409. package/dist/flows/build/writers/touch-area.js.map +1 -0
  410. package/dist/flows/build/writers/verification-projection.d.ts +4 -0
  411. package/dist/flows/build/writers/verification-projection.d.ts.map +1 -0
  412. package/dist/flows/build/writers/verification-projection.js +21 -0
  413. package/dist/flows/build/writers/verification-projection.js.map +1 -0
  414. package/dist/flows/build/writers/verification.d.ts +3 -0
  415. package/dist/flows/build/writers/verification.d.ts.map +1 -0
  416. package/dist/flows/build/writers/verification.js +31 -0
  417. package/dist/flows/build/writers/verification.js.map +1 -0
  418. package/dist/flows/canonical-stage-policy.d.ts +14 -0
  419. package/dist/flows/canonical-stage-policy.d.ts.map +1 -0
  420. package/dist/flows/canonical-stage-policy.js +31 -0
  421. package/dist/flows/canonical-stage-policy.js.map +1 -0
  422. package/dist/flows/catalog-derivations.d.ts +34 -0
  423. package/dist/flows/catalog-derivations.d.ts.map +1 -0
  424. package/dist/flows/catalog-derivations.js +144 -0
  425. package/dist/flows/catalog-derivations.js.map +1 -0
  426. package/dist/flows/catalog.d.ts +16 -0
  427. package/dist/flows/catalog.d.ts.map +1 -0
  428. package/dist/flows/catalog.js +87 -0
  429. package/dist/flows/catalog.js.map +1 -0
  430. package/dist/flows/compile-schematic-to-flow.d.ts +16 -0
  431. package/dist/flows/compile-schematic-to-flow.d.ts.map +1 -0
  432. package/dist/flows/compile-schematic-to-flow.js +651 -0
  433. package/dist/flows/compile-schematic-to-flow.js.map +1 -0
  434. package/dist/flows/compiled-flow-file-plan.d.ts +8 -0
  435. package/dist/flows/compiled-flow-file-plan.d.ts.map +1 -0
  436. package/dist/flows/compiled-flow-file-plan.js +50 -0
  437. package/dist/flows/compiled-flow-file-plan.js.map +1 -0
  438. package/dist/flows/composition/actual-menu.d.ts +30 -0
  439. package/dist/flows/composition/actual-menu.d.ts.map +1 -0
  440. package/dist/flows/composition/actual-menu.js +131 -0
  441. package/dist/flows/composition/actual-menu.js.map +1 -0
  442. package/dist/flows/composition/composer.d.ts +73 -0
  443. package/dist/flows/composition/composer.d.ts.map +1 -0
  444. package/dist/flows/composition/composer.js +1339 -0
  445. package/dist/flows/composition/composer.js.map +1 -0
  446. package/dist/flows/composition/equipment-profiles.d.ts +21 -0
  447. package/dist/flows/composition/equipment-profiles.d.ts.map +1 -0
  448. package/dist/flows/composition/equipment-profiles.js +82 -0
  449. package/dist/flows/composition/equipment-profiles.js.map +1 -0
  450. package/dist/flows/composition/evaluate.d.ts +76 -0
  451. package/dist/flows/composition/evaluate.d.ts.map +1 -0
  452. package/dist/flows/composition/evaluate.js +373 -0
  453. package/dist/flows/composition/evaluate.js.map +1 -0
  454. package/dist/flows/composition/index.d.ts +8 -0
  455. package/dist/flows/composition/index.d.ts.map +1 -0
  456. package/dist/flows/composition/index.js +16 -0
  457. package/dist/flows/composition/index.js.map +1 -0
  458. package/dist/flows/composition/intent.d.ts +10 -0
  459. package/dist/flows/composition/intent.d.ts.map +1 -0
  460. package/dist/flows/composition/intent.js +125 -0
  461. package/dist/flows/composition/intent.js.map +1 -0
  462. package/dist/flows/composition/propose-prompts.d.ts +3 -0
  463. package/dist/flows/composition/propose-prompts.d.ts.map +1 -0
  464. package/dist/flows/composition/propose-prompts.js +196 -0
  465. package/dist/flows/composition/propose-prompts.js.map +1 -0
  466. package/dist/flows/composition/propose.d.ts +36 -0
  467. package/dist/flows/composition/propose.d.ts.map +1 -0
  468. package/dist/flows/composition/propose.js +275 -0
  469. package/dist/flows/composition/propose.js.map +1 -0
  470. package/dist/flows/contract-body-signature.d.ts +4 -0
  471. package/dist/flows/contract-body-signature.d.ts.map +1 -0
  472. package/dist/flows/contract-body-signature.js +166 -0
  473. package/dist/flows/contract-body-signature.js.map +1 -0
  474. package/dist/flows/converge-proof/assembly-spec.d.ts +5 -0
  475. package/dist/flows/converge-proof/assembly-spec.d.ts.map +1 -0
  476. package/dist/flows/converge-proof/assembly-spec.js +115 -0
  477. package/dist/flows/converge-proof/assembly-spec.js.map +1 -0
  478. package/dist/flows/converge-proof/data.d.ts +412 -0
  479. package/dist/flows/converge-proof/data.d.ts.map +1 -0
  480. package/dist/flows/converge-proof/data.js +23 -0
  481. package/dist/flows/converge-proof/data.js.map +1 -0
  482. package/dist/flows/converge-proof/flow.d.ts +2 -0
  483. package/dist/flows/converge-proof/flow.d.ts.map +1 -0
  484. package/dist/flows/converge-proof/flow.js +4 -0
  485. package/dist/flows/converge-proof/flow.js.map +1 -0
  486. package/dist/flows/cross-tool-build/assembly-spec.d.ts +5 -0
  487. package/dist/flows/cross-tool-build/assembly-spec.d.ts.map +1 -0
  488. package/dist/flows/cross-tool-build/assembly-spec.js +183 -0
  489. package/dist/flows/cross-tool-build/assembly-spec.js.map +1 -0
  490. package/dist/flows/cross-tool-build/data.d.ts +570 -0
  491. package/dist/flows/cross-tool-build/data.d.ts.map +1 -0
  492. package/dist/flows/cross-tool-build/data.js +94 -0
  493. package/dist/flows/cross-tool-build/data.js.map +1 -0
  494. package/dist/flows/cross-tool-build/flow.d.ts +2 -0
  495. package/dist/flows/cross-tool-build/flow.d.ts.map +1 -0
  496. package/dist/flows/cross-tool-build/flow.js +4 -0
  497. package/dist/flows/cross-tool-build/flow.js.map +1 -0
  498. package/dist/flows/cross-tool-build/relay-hints.d.ts +7 -0
  499. package/dist/flows/cross-tool-build/relay-hints.d.ts.map +1 -0
  500. package/dist/flows/cross-tool-build/relay-hints.js +76 -0
  501. package/dist/flows/cross-tool-build/relay-hints.js.map +1 -0
  502. package/dist/flows/cross-tool-build/reports.d.ts +161 -0
  503. package/dist/flows/cross-tool-build/reports.d.ts.map +1 -0
  504. package/dist/flows/cross-tool-build/reports.js +196 -0
  505. package/dist/flows/cross-tool-build/reports.js.map +1 -0
  506. package/dist/flows/cross-tool-build/writers/close.d.ts +3 -0
  507. package/dist/flows/cross-tool-build/writers/close.d.ts.map +1 -0
  508. package/dist/flows/cross-tool-build/writers/close.js +49 -0
  509. package/dist/flows/cross-tool-build/writers/close.js.map +1 -0
  510. package/dist/flows/cross-tool-build/writers/plan.d.ts +3 -0
  511. package/dist/flows/cross-tool-build/writers/plan.d.ts.map +1 -0
  512. package/dist/flows/cross-tool-build/writers/plan.js +27 -0
  513. package/dist/flows/cross-tool-build/writers/plan.js.map +1 -0
  514. package/dist/flows/cross-tool-build/writers/verification.d.ts +3 -0
  515. package/dist/flows/cross-tool-build/writers/verification.d.ts.map +1 -0
  516. package/dist/flows/cross-tool-build/writers/verification.js +46 -0
  517. package/dist/flows/cross-tool-build/writers/verification.js.map +1 -0
  518. package/dist/flows/equipment-reshape.d.ts +18 -0
  519. package/dist/flows/equipment-reshape.d.ts.map +1 -0
  520. package/dist/flows/equipment-reshape.js +119 -0
  521. package/dist/flows/equipment-reshape.js.map +1 -0
  522. package/dist/flows/explainer/data.d.ts +1032 -0
  523. package/dist/flows/explainer/data.d.ts.map +1 -0
  524. package/dist/flows/explainer/data.js +712 -0
  525. package/dist/flows/explainer/data.js.map +1 -0
  526. package/dist/flows/explainer/flow.d.ts +2 -0
  527. package/dist/flows/explainer/flow.d.ts.map +1 -0
  528. package/dist/flows/explainer/flow.js +4 -0
  529. package/dist/flows/explainer/flow.js.map +1 -0
  530. package/dist/flows/explainer/relay-hints.d.ts +4 -0
  531. package/dist/flows/explainer/relay-hints.d.ts.map +1 -0
  532. package/dist/flows/explainer/relay-hints.js +28 -0
  533. package/dist/flows/explainer/relay-hints.js.map +1 -0
  534. package/dist/flows/explainer/reports.d.ts +394 -0
  535. package/dist/flows/explainer/reports.d.ts.map +1 -0
  536. package/dist/flows/explainer/reports.js +296 -0
  537. package/dist/flows/explainer/reports.js.map +1 -0
  538. package/dist/flows/explainer/writers/close.d.ts +3 -0
  539. package/dist/flows/explainer/writers/close.d.ts.map +1 -0
  540. package/dist/flows/explainer/writers/close.js +67 -0
  541. package/dist/flows/explainer/writers/close.js.map +1 -0
  542. package/dist/flows/explainer/writers/digest.d.ts +3 -0
  543. package/dist/flows/explainer/writers/digest.d.ts.map +1 -0
  544. package/dist/flows/explainer/writers/digest.js +47 -0
  545. package/dist/flows/explainer/writers/digest.js.map +1 -0
  546. package/dist/flows/explainer/writers/ideas.d.ts +3 -0
  547. package/dist/flows/explainer/writers/ideas.d.ts.map +1 -0
  548. package/dist/flows/explainer/writers/ideas.js +65 -0
  549. package/dist/flows/explainer/writers/ideas.js.map +1 -0
  550. package/dist/flows/explainer/writers/intake.d.ts +3 -0
  551. package/dist/flows/explainer/writers/intake.d.ts.map +1 -0
  552. package/dist/flows/explainer/writers/intake.js +33 -0
  553. package/dist/flows/explainer/writers/intake.js.map +1 -0
  554. package/dist/flows/explainer/writers/spec.d.ts +3 -0
  555. package/dist/flows/explainer/writers/spec.d.ts.map +1 -0
  556. package/dist/flows/explainer/writers/spec.js +77 -0
  557. package/dist/flows/explainer/writers/spec.js.map +1 -0
  558. package/dist/flows/explainer/writers/verification.d.ts +3 -0
  559. package/dist/flows/explainer/writers/verification.d.ts.map +1 -0
  560. package/dist/flows/explainer/writers/verification.js +43 -0
  561. package/dist/flows/explainer/writers/verification.js.map +1 -0
  562. package/dist/flows/explore/assembly-spec.d.ts +5 -0
  563. package/dist/flows/explore/assembly-spec.d.ts.map +1 -0
  564. package/dist/flows/explore/assembly-spec.js +344 -0
  565. package/dist/flows/explore/assembly-spec.js.map +1 -0
  566. package/dist/flows/explore/data.d.ts +734 -0
  567. package/dist/flows/explore/data.d.ts.map +1 -0
  568. package/dist/flows/explore/data.js +174 -0
  569. package/dist/flows/explore/data.js.map +1 -0
  570. package/dist/flows/explore/flow.d.ts +2 -0
  571. package/dist/flows/explore/flow.d.ts.map +1 -0
  572. package/dist/flows/explore/flow.js +4 -0
  573. package/dist/flows/explore/flow.js.map +1 -0
  574. package/dist/flows/explore/index.d.ts +4 -0
  575. package/dist/flows/explore/index.d.ts.map +1 -0
  576. package/dist/flows/explore/index.js +8 -0
  577. package/dist/flows/explore/index.js.map +1 -0
  578. package/dist/flows/explore/relay-hints.d.ts +6 -0
  579. package/dist/flows/explore/relay-hints.d.ts.map +1 -0
  580. package/dist/flows/explore/relay-hints.js +53 -0
  581. package/dist/flows/explore/relay-hints.js.map +1 -0
  582. package/dist/flows/explore/reports.d.ts +483 -0
  583. package/dist/flows/explore/reports.d.ts.map +1 -0
  584. package/dist/flows/explore/reports.js +359 -0
  585. package/dist/flows/explore/reports.js.map +1 -0
  586. package/dist/flows/explore/writers/analysis.d.ts +3 -0
  587. package/dist/flows/explore/writers/analysis.d.ts.map +1 -0
  588. package/dist/flows/explore/writers/analysis.js +55 -0
  589. package/dist/flows/explore/writers/analysis.js.map +1 -0
  590. package/dist/flows/explore/writers/brief.d.ts +3 -0
  591. package/dist/flows/explore/writers/brief.d.ts.map +1 -0
  592. package/dist/flows/explore/writers/brief.js +24 -0
  593. package/dist/flows/explore/writers/brief.js.map +1 -0
  594. package/dist/flows/explore/writers/close.d.ts +3 -0
  595. package/dist/flows/explore/writers/close.d.ts.map +1 -0
  596. package/dist/flows/explore/writers/close.js +86 -0
  597. package/dist/flows/explore/writers/close.js.map +1 -0
  598. package/dist/flows/explore/writers/decision-options-projection.d.ts +10 -0
  599. package/dist/flows/explore/writers/decision-options-projection.d.ts.map +1 -0
  600. package/dist/flows/explore/writers/decision-options-projection.js +108 -0
  601. package/dist/flows/explore/writers/decision-options-projection.js.map +1 -0
  602. package/dist/flows/explore/writers/decision-options.d.ts +3 -0
  603. package/dist/flows/explore/writers/decision-options.d.ts.map +1 -0
  604. package/dist/flows/explore/writers/decision-options.js +25 -0
  605. package/dist/flows/explore/writers/decision-options.js.map +1 -0
  606. package/dist/flows/explore/writers/decision.d.ts +3 -0
  607. package/dist/flows/explore/writers/decision.d.ts.map +1 -0
  608. package/dist/flows/explore/writers/decision.js +80 -0
  609. package/dist/flows/explore/writers/decision.js.map +1 -0
  610. package/dist/flows/explore/writers/result-projection.d.ts +17 -0
  611. package/dist/flows/explore/writers/result-projection.d.ts.map +1 -0
  612. package/dist/flows/explore/writers/result-projection.js +41 -0
  613. package/dist/flows/explore/writers/result-projection.js.map +1 -0
  614. package/dist/flows/explore/writers/tournament-html.d.ts +3 -0
  615. package/dist/flows/explore/writers/tournament-html.d.ts.map +1 -0
  616. package/dist/flows/explore/writers/tournament-html.js +119 -0
  617. package/dist/flows/explore/writers/tournament-html.js.map +1 -0
  618. package/dist/flows/fix/assembly-spec.d.ts +5 -0
  619. package/dist/flows/fix/assembly-spec.d.ts.map +1 -0
  620. package/dist/flows/fix/assembly-spec.js +405 -0
  621. package/dist/flows/fix/assembly-spec.js.map +1 -0
  622. package/dist/flows/fix/data.d.ts +921 -0
  623. package/dist/flows/fix/data.d.ts.map +1 -0
  624. package/dist/flows/fix/data.js +207 -0
  625. package/dist/flows/fix/data.js.map +1 -0
  626. package/dist/flows/fix/flow.d.ts +2 -0
  627. package/dist/flows/fix/flow.d.ts.map +1 -0
  628. package/dist/flows/fix/flow.js +4 -0
  629. package/dist/flows/fix/flow.js.map +1 -0
  630. package/dist/flows/fix/index.d.ts +3 -0
  631. package/dist/flows/fix/index.d.ts.map +1 -0
  632. package/dist/flows/fix/index.js +5 -0
  633. package/dist/flows/fix/index.js.map +1 -0
  634. package/dist/flows/fix/relay-hints.d.ts +6 -0
  635. package/dist/flows/fix/relay-hints.d.ts.map +1 -0
  636. package/dist/flows/fix/relay-hints.js +52 -0
  637. package/dist/flows/fix/relay-hints.js.map +1 -0
  638. package/dist/flows/fix/reports.d.ts +562 -0
  639. package/dist/flows/fix/reports.d.ts.map +1 -0
  640. package/dist/flows/fix/reports.js +822 -0
  641. package/dist/flows/fix/reports.js.map +1 -0
  642. package/dist/flows/fix/writers/baseline-snapshot.d.ts +3 -0
  643. package/dist/flows/fix/writers/baseline-snapshot.d.ts.map +1 -0
  644. package/dist/flows/fix/writers/baseline-snapshot.js +45 -0
  645. package/dist/flows/fix/writers/baseline-snapshot.js.map +1 -0
  646. package/dist/flows/fix/writers/brief-projection.d.ts +8 -0
  647. package/dist/flows/fix/writers/brief-projection.d.ts.map +1 -0
  648. package/dist/flows/fix/writers/brief-projection.js +149 -0
  649. package/dist/flows/fix/writers/brief-projection.js.map +1 -0
  650. package/dist/flows/fix/writers/brief.d.ts +3 -0
  651. package/dist/flows/fix/writers/brief.d.ts.map +1 -0
  652. package/dist/flows/fix/writers/brief.js +29 -0
  653. package/dist/flows/fix/writers/brief.js.map +1 -0
  654. package/dist/flows/fix/writers/change-set-projection.d.ts +10 -0
  655. package/dist/flows/fix/writers/change-set-projection.d.ts.map +1 -0
  656. package/dist/flows/fix/writers/change-set-projection.js +62 -0
  657. package/dist/flows/fix/writers/change-set-projection.js.map +1 -0
  658. package/dist/flows/fix/writers/change-set.d.ts +3 -0
  659. package/dist/flows/fix/writers/change-set.d.ts.map +1 -0
  660. package/dist/flows/fix/writers/change-set.js +93 -0
  661. package/dist/flows/fix/writers/change-set.js.map +1 -0
  662. package/dist/flows/fix/writers/close.d.ts +3 -0
  663. package/dist/flows/fix/writers/close.d.ts.map +1 -0
  664. package/dist/flows/fix/writers/close.js +86 -0
  665. package/dist/flows/fix/writers/close.js.map +1 -0
  666. package/dist/flows/fix/writers/regression-baseline.d.ts +3 -0
  667. package/dist/flows/fix/writers/regression-baseline.d.ts.map +1 -0
  668. package/dist/flows/fix/writers/regression-baseline.js +39 -0
  669. package/dist/flows/fix/writers/regression-baseline.js.map +1 -0
  670. package/dist/flows/fix/writers/regression-projection.d.ts +5 -0
  671. package/dist/flows/fix/writers/regression-projection.d.ts.map +1 -0
  672. package/dist/flows/fix/writers/regression-projection.js +71 -0
  673. package/dist/flows/fix/writers/regression-projection.js.map +1 -0
  674. package/dist/flows/fix/writers/regression-rerun.d.ts +3 -0
  675. package/dist/flows/fix/writers/regression-rerun.d.ts.map +1 -0
  676. package/dist/flows/fix/writers/regression-rerun.js +51 -0
  677. package/dist/flows/fix/writers/regression-rerun.js.map +1 -0
  678. package/dist/flows/fix/writers/result-projection.d.ts +15 -0
  679. package/dist/flows/fix/writers/result-projection.d.ts.map +1 -0
  680. package/dist/flows/fix/writers/result-projection.js +58 -0
  681. package/dist/flows/fix/writers/result-projection.js.map +1 -0
  682. package/dist/flows/fix/writers/verification-projection.d.ts +4 -0
  683. package/dist/flows/fix/writers/verification-projection.d.ts.map +1 -0
  684. package/dist/flows/fix/writers/verification-projection.js +24 -0
  685. package/dist/flows/fix/writers/verification-projection.js.map +1 -0
  686. package/dist/flows/fix/writers/verification.d.ts +3 -0
  687. package/dist/flows/fix/writers/verification.d.ts.map +1 -0
  688. package/dist/flows/fix/writers/verification.js +32 -0
  689. package/dist/flows/fix/writers/verification.js.map +1 -0
  690. package/dist/flows/fix-until-green/assembly-spec.d.ts +5 -0
  691. package/dist/flows/fix-until-green/assembly-spec.d.ts.map +1 -0
  692. package/dist/flows/fix-until-green/assembly-spec.js +141 -0
  693. package/dist/flows/fix-until-green/assembly-spec.js.map +1 -0
  694. package/dist/flows/fix-until-green/data.d.ts +462 -0
  695. package/dist/flows/fix-until-green/data.d.ts.map +1 -0
  696. package/dist/flows/fix-until-green/data.js +49 -0
  697. package/dist/flows/fix-until-green/data.js.map +1 -0
  698. package/dist/flows/fix-until-green/flow.d.ts +2 -0
  699. package/dist/flows/fix-until-green/flow.d.ts.map +1 -0
  700. package/dist/flows/fix-until-green/flow.js +4 -0
  701. package/dist/flows/fix-until-green/flow.js.map +1 -0
  702. package/dist/flows/fix-until-green/relay-hints.d.ts +3 -0
  703. package/dist/flows/fix-until-green/relay-hints.d.ts.map +1 -0
  704. package/dist/flows/fix-until-green/relay-hints.js +37 -0
  705. package/dist/flows/fix-until-green/relay-hints.js.map +1 -0
  706. package/dist/flows/fix-until-green/reports.d.ts +38 -0
  707. package/dist/flows/fix-until-green/reports.d.ts.map +1 -0
  708. package/dist/flows/fix-until-green/reports.js +28 -0
  709. package/dist/flows/fix-until-green/reports.js.map +1 -0
  710. package/dist/flows/fix-until-green/writers/plan.d.ts +3 -0
  711. package/dist/flows/fix-until-green/writers/plan.d.ts.map +1 -0
  712. package/dist/flows/fix-until-green/writers/plan.js +27 -0
  713. package/dist/flows/fix-until-green/writers/plan.js.map +1 -0
  714. package/dist/flows/fix-until-green/writers/verification.d.ts +3 -0
  715. package/dist/flows/fix-until-green/writers/verification.d.ts.map +1 -0
  716. package/dist/flows/fix-until-green/writers/verification.js +46 -0
  717. package/dist/flows/fix-until-green/writers/verification.js.map +1 -0
  718. package/dist/flows/flow-definition.d.ts +81 -0
  719. package/dist/flows/flow-definition.d.ts.map +1 -0
  720. package/dist/flows/flow-definition.js +258 -0
  721. package/dist/flows/flow-definition.js.map +1 -0
  722. package/dist/flows/goal/assembly-spec.d.ts +5 -0
  723. package/dist/flows/goal/assembly-spec.d.ts.map +1 -0
  724. package/dist/flows/goal/assembly-spec.js +352 -0
  725. package/dist/flows/goal/assembly-spec.js.map +1 -0
  726. package/dist/flows/goal/data.d.ts +795 -0
  727. package/dist/flows/goal/data.d.ts.map +1 -0
  728. package/dist/flows/goal/data.js +181 -0
  729. package/dist/flows/goal/data.js.map +1 -0
  730. package/dist/flows/goal/flow.d.ts +2 -0
  731. package/dist/flows/goal/flow.d.ts.map +1 -0
  732. package/dist/flows/goal/flow.js +4 -0
  733. package/dist/flows/goal/flow.js.map +1 -0
  734. package/dist/flows/goal/relay-hints.d.ts +5 -0
  735. package/dist/flows/goal/relay-hints.d.ts.map +1 -0
  736. package/dist/flows/goal/relay-hints.js +48 -0
  737. package/dist/flows/goal/relay-hints.js.map +1 -0
  738. package/dist/flows/goal/reports.d.ts +442 -0
  739. package/dist/flows/goal/reports.d.ts.map +1 -0
  740. package/dist/flows/goal/reports.js +510 -0
  741. package/dist/flows/goal/reports.js.map +1 -0
  742. package/dist/flows/goal/writers/attempt.d.ts +3 -0
  743. package/dist/flows/goal/writers/attempt.d.ts.map +1 -0
  744. package/dist/flows/goal/writers/attempt.js +52 -0
  745. package/dist/flows/goal/writers/attempt.js.map +1 -0
  746. package/dist/flows/goal/writers/close.d.ts +3 -0
  747. package/dist/flows/goal/writers/close.d.ts.map +1 -0
  748. package/dist/flows/goal/writers/close.js +80 -0
  749. package/dist/flows/goal/writers/close.js.map +1 -0
  750. package/dist/flows/goal/writers/contract.d.ts +3 -0
  751. package/dist/flows/goal/writers/contract.d.ts.map +1 -0
  752. package/dist/flows/goal/writers/contract.js +137 -0
  753. package/dist/flows/goal/writers/contract.js.map +1 -0
  754. package/dist/flows/goal/writers/evidence-evaluation.d.ts +3 -0
  755. package/dist/flows/goal/writers/evidence-evaluation.d.ts.map +1 -0
  756. package/dist/flows/goal/writers/evidence-evaluation.js +91 -0
  757. package/dist/flows/goal/writers/evidence-evaluation.js.map +1 -0
  758. package/dist/flows/goal/writers/recovery.d.ts +3 -0
  759. package/dist/flows/goal/writers/recovery.d.ts.map +1 -0
  760. package/dist/flows/goal/writers/recovery.js +67 -0
  761. package/dist/flows/goal/writers/recovery.js.map +1 -0
  762. package/dist/flows/prototype/assembly-spec.d.ts +5 -0
  763. package/dist/flows/prototype/assembly-spec.d.ts.map +1 -0
  764. package/dist/flows/prototype/assembly-spec.js +408 -0
  765. package/dist/flows/prototype/assembly-spec.js.map +1 -0
  766. package/dist/flows/prototype/data.d.ts +947 -0
  767. package/dist/flows/prototype/data.d.ts.map +1 -0
  768. package/dist/flows/prototype/data.js +212 -0
  769. package/dist/flows/prototype/data.js.map +1 -0
  770. package/dist/flows/prototype/flow.d.ts +2 -0
  771. package/dist/flows/prototype/flow.d.ts.map +1 -0
  772. package/dist/flows/prototype/flow.js +4 -0
  773. package/dist/flows/prototype/flow.js.map +1 -0
  774. package/dist/flows/prototype/index.d.ts +4 -0
  775. package/dist/flows/prototype/index.d.ts.map +1 -0
  776. package/dist/flows/prototype/index.js +8 -0
  777. package/dist/flows/prototype/index.js.map +1 -0
  778. package/dist/flows/prototype/relay-hints.d.ts +5 -0
  779. package/dist/flows/prototype/relay-hints.d.ts.map +1 -0
  780. package/dist/flows/prototype/relay-hints.js +46 -0
  781. package/dist/flows/prototype/relay-hints.js.map +1 -0
  782. package/dist/flows/prototype/reports.d.ts +909 -0
  783. package/dist/flows/prototype/reports.d.ts.map +1 -0
  784. package/dist/flows/prototype/reports.js +721 -0
  785. package/dist/flows/prototype/reports.js.map +1 -0
  786. package/dist/flows/prototype/writers/brief.d.ts +3 -0
  787. package/dist/flows/prototype/writers/brief.d.ts.map +1 -0
  788. package/dist/flows/prototype/writers/brief.js +51 -0
  789. package/dist/flows/prototype/writers/brief.js.map +1 -0
  790. package/dist/flows/prototype/writers/checkpoint-html.d.ts +3 -0
  791. package/dist/flows/prototype/writers/checkpoint-html.d.ts.map +1 -0
  792. package/dist/flows/prototype/writers/checkpoint-html.js +247 -0
  793. package/dist/flows/prototype/writers/checkpoint-html.js.map +1 -0
  794. package/dist/flows/prototype/writers/close.d.ts +3 -0
  795. package/dist/flows/prototype/writers/close.d.ts.map +1 -0
  796. package/dist/flows/prototype/writers/close.js +358 -0
  797. package/dist/flows/prototype/writers/close.js.map +1 -0
  798. package/dist/flows/prototype/writers/plan.d.ts +3 -0
  799. package/dist/flows/prototype/writers/plan.d.ts.map +1 -0
  800. package/dist/flows/prototype/writers/plan.js +31 -0
  801. package/dist/flows/prototype/writers/plan.js.map +1 -0
  802. package/dist/flows/prototype/writers/variant-choice-options.d.ts +3 -0
  803. package/dist/flows/prototype/writers/variant-choice-options.d.ts.map +1 -0
  804. package/dist/flows/prototype/writers/variant-choice-options.js +58 -0
  805. package/dist/flows/prototype/writers/variant-choice-options.js.map +1 -0
  806. package/dist/flows/prototype/writers/variant-options.d.ts +3 -0
  807. package/dist/flows/prototype/writers/variant-options.d.ts.map +1 -0
  808. package/dist/flows/prototype/writers/variant-options.js +74 -0
  809. package/dist/flows/prototype/writers/variant-options.js.map +1 -0
  810. package/dist/flows/prototype/writers/variant-provider-evidence.d.ts +3 -0
  811. package/dist/flows/prototype/writers/variant-provider-evidence.d.ts.map +1 -0
  812. package/dist/flows/prototype/writers/variant-provider-evidence.js +79 -0
  813. package/dist/flows/prototype/writers/variant-provider-evidence.js.map +1 -0
  814. package/dist/flows/prototype/writers/variant-verification.d.ts +3 -0
  815. package/dist/flows/prototype/writers/variant-verification.d.ts.map +1 -0
  816. package/dist/flows/prototype/writers/variant-verification.js +149 -0
  817. package/dist/flows/prototype/writers/variant-verification.js.map +1 -0
  818. package/dist/flows/prototype/writers/verification.d.ts +3 -0
  819. package/dist/flows/prototype/writers/verification.d.ts.map +1 -0
  820. package/dist/flows/prototype/writers/verification.js +105 -0
  821. package/dist/flows/prototype/writers/verification.js.map +1 -0
  822. package/dist/flows/pursue/assembly-spec.d.ts +6 -0
  823. package/dist/flows/pursue/assembly-spec.d.ts.map +1 -0
  824. package/dist/flows/pursue/assembly-spec.js +181 -0
  825. package/dist/flows/pursue/assembly-spec.js.map +1 -0
  826. package/dist/flows/pursue/data.d.ts +740 -0
  827. package/dist/flows/pursue/data.d.ts.map +1 -0
  828. package/dist/flows/pursue/data.js +125 -0
  829. package/dist/flows/pursue/data.js.map +1 -0
  830. package/dist/flows/pursue/flow.d.ts +2 -0
  831. package/dist/flows/pursue/flow.d.ts.map +1 -0
  832. package/dist/flows/pursue/flow.js +4 -0
  833. package/dist/flows/pursue/flow.js.map +1 -0
  834. package/dist/flows/pursue/relay-hints.d.ts +4 -0
  835. package/dist/flows/pursue/relay-hints.d.ts.map +1 -0
  836. package/dist/flows/pursue/relay-hints.js +34 -0
  837. package/dist/flows/pursue/relay-hints.js.map +1 -0
  838. package/dist/flows/pursue/reports.d.ts +383 -0
  839. package/dist/flows/pursue/reports.d.ts.map +1 -0
  840. package/dist/flows/pursue/reports.js +404 -0
  841. package/dist/flows/pursue/reports.js.map +1 -0
  842. package/dist/flows/pursue/writers/close.d.ts +3 -0
  843. package/dist/flows/pursue/writers/close.d.ts.map +1 -0
  844. package/dist/flows/pursue/writers/close.js +41 -0
  845. package/dist/flows/pursue/writers/close.js.map +1 -0
  846. package/dist/flows/pursue/writers/contract-projection.d.ts +7 -0
  847. package/dist/flows/pursue/writers/contract-projection.d.ts.map +1 -0
  848. package/dist/flows/pursue/writers/contract-projection.js +125 -0
  849. package/dist/flows/pursue/writers/contract-projection.js.map +1 -0
  850. package/dist/flows/pursue/writers/contract.d.ts +3 -0
  851. package/dist/flows/pursue/writers/contract.d.ts.map +1 -0
  852. package/dist/flows/pursue/writers/contract.js +17 -0
  853. package/dist/flows/pursue/writers/contract.js.map +1 -0
  854. package/dist/flows/pursue/writers/graph.d.ts +3 -0
  855. package/dist/flows/pursue/writers/graph.d.ts.map +1 -0
  856. package/dist/flows/pursue/writers/graph.js +76 -0
  857. package/dist/flows/pursue/writers/graph.js.map +1 -0
  858. package/dist/flows/pursue/writers/result-projection.d.ts +11 -0
  859. package/dist/flows/pursue/writers/result-projection.d.ts.map +1 -0
  860. package/dist/flows/pursue/writers/result-projection.js +85 -0
  861. package/dist/flows/pursue/writers/result-projection.js.map +1 -0
  862. package/dist/flows/pursue/writers/verification-projection.d.ts +4 -0
  863. package/dist/flows/pursue/writers/verification-projection.d.ts.map +1 -0
  864. package/dist/flows/pursue/writers/verification-projection.js +20 -0
  865. package/dist/flows/pursue/writers/verification-projection.js.map +1 -0
  866. package/dist/flows/pursue/writers/verification.d.ts +3 -0
  867. package/dist/flows/pursue/writers/verification.d.ts.map +1 -0
  868. package/dist/flows/pursue/writers/verification.js +24 -0
  869. package/dist/flows/pursue/writers/verification.js.map +1 -0
  870. package/dist/flows/pursue/writers/wave-plan.d.ts +3 -0
  871. package/dist/flows/pursue/writers/wave-plan.d.ts.map +1 -0
  872. package/dist/flows/pursue/writers/wave-plan.js +36 -0
  873. package/dist/flows/pursue/writers/wave-plan.js.map +1 -0
  874. package/dist/flows/registries/checkpoint-writers/registry.d.ts +3 -0
  875. package/dist/flows/registries/checkpoint-writers/registry.d.ts.map +1 -0
  876. package/dist/flows/registries/checkpoint-writers/registry.js +12 -0
  877. package/dist/flows/registries/checkpoint-writers/registry.js.map +1 -0
  878. package/dist/flows/registries/checkpoint-writers/types.d.ts +22 -0
  879. package/dist/flows/registries/checkpoint-writers/types.d.ts.map +1 -0
  880. package/dist/flows/registries/checkpoint-writers/types.js +24 -0
  881. package/dist/flows/registries/checkpoint-writers/types.js.map +1 -0
  882. package/dist/flows/registries/close-writers/generic-close-builder.d.ts +3 -0
  883. package/dist/flows/registries/close-writers/generic-close-builder.d.ts.map +1 -0
  884. package/dist/flows/registries/close-writers/generic-close-builder.js +45 -0
  885. package/dist/flows/registries/close-writers/generic-close-builder.js.map +1 -0
  886. package/dist/flows/registries/close-writers/registry.d.ts +5 -0
  887. package/dist/flows/registries/close-writers/registry.d.ts.map +1 -0
  888. package/dist/flows/registries/close-writers/registry.js +48 -0
  889. package/dist/flows/registries/close-writers/registry.js.map +1 -0
  890. package/dist/flows/registries/close-writers/types.d.ts +19 -0
  891. package/dist/flows/registries/close-writers/types.d.ts.map +1 -0
  892. package/dist/flows/registries/close-writers/types.js +19 -0
  893. package/dist/flows/registries/close-writers/types.js.map +1 -0
  894. package/dist/flows/registries/compose-writers/registry.d.ts +6 -0
  895. package/dist/flows/registries/compose-writers/registry.d.ts.map +1 -0
  896. package/dist/flows/registries/compose-writers/registry.js +46 -0
  897. package/dist/flows/registries/compose-writers/registry.js.map +1 -0
  898. package/dist/flows/registries/compose-writers/types.d.ts +30 -0
  899. package/dist/flows/registries/compose-writers/types.d.ts.map +1 -0
  900. package/dist/flows/registries/compose-writers/types.js +22 -0
  901. package/dist/flows/registries/compose-writers/types.js.map +1 -0
  902. package/dist/flows/registries/cross-report-validators.d.ts +10 -0
  903. package/dist/flows/registries/cross-report-validators.d.ts.map +1 -0
  904. package/dist/flows/registries/cross-report-validators.js +31 -0
  905. package/dist/flows/registries/cross-report-validators.js.map +1 -0
  906. package/dist/flows/registries/report-schemas.d.ts +10 -0
  907. package/dist/flows/registries/report-schemas.d.ts.map +1 -0
  908. package/dist/flows/registries/report-schemas.js +77 -0
  909. package/dist/flows/registries/report-schemas.js.map +1 -0
  910. package/dist/flows/registries/runtime-index.d.ts +100 -0
  911. package/dist/flows/registries/runtime-index.d.ts.map +1 -0
  912. package/dist/flows/registries/runtime-index.js +27 -0
  913. package/dist/flows/registries/runtime-index.js.map +1 -0
  914. package/dist/flows/registries/shape-hints/from-zod.d.ts +6 -0
  915. package/dist/flows/registries/shape-hints/from-zod.d.ts.map +1 -0
  916. package/dist/flows/registries/shape-hints/from-zod.js +354 -0
  917. package/dist/flows/registries/shape-hints/from-zod.js.map +1 -0
  918. package/dist/flows/registries/shape-hints/instruction-helpers.d.ts +3 -0
  919. package/dist/flows/registries/shape-hints/instruction-helpers.d.ts.map +1 -0
  920. package/dist/flows/registries/shape-hints/instruction-helpers.js +28 -0
  921. package/dist/flows/registries/shape-hints/instruction-helpers.js.map +1 -0
  922. package/dist/flows/registries/shape-hints/registry.d.ts +5 -0
  923. package/dist/flows/registries/shape-hints/registry.d.ts.map +1 -0
  924. package/dist/flows/registries/shape-hints/registry.js +33 -0
  925. package/dist/flows/registries/shape-hints/registry.js.map +1 -0
  926. package/dist/flows/registries/shape-hints/types.d.ts +14 -0
  927. package/dist/flows/registries/shape-hints/types.d.ts.map +1 -0
  928. package/dist/flows/registries/shape-hints/types.js +25 -0
  929. package/dist/flows/registries/shape-hints/types.js.map +1 -0
  930. package/dist/flows/registries/verification-writers/registry.d.ts +6 -0
  931. package/dist/flows/registries/verification-writers/registry.d.ts.map +1 -0
  932. package/dist/flows/registries/verification-writers/registry.js +37 -0
  933. package/dist/flows/registries/verification-writers/registry.js.map +1 -0
  934. package/dist/flows/registries/verification-writers/types.d.ts +37 -0
  935. package/dist/flows/registries/verification-writers/types.d.ts.map +1 -0
  936. package/dist/flows/registries/verification-writers/types.js +22 -0
  937. package/dist/flows/registries/verification-writers/types.js.map +1 -0
  938. package/dist/flows/report-declarations.d.ts +23 -0
  939. package/dist/flows/report-declarations.d.ts.map +1 -0
  940. package/dist/flows/report-declarations.js +46 -0
  941. package/dist/flows/report-declarations.js.map +1 -0
  942. package/dist/flows/report-schema-kit.d.ts +22 -0
  943. package/dist/flows/report-schema-kit.d.ts.map +1 -0
  944. package/dist/flows/report-schema-kit.js +59 -0
  945. package/dist/flows/report-schema-kit.js.map +1 -0
  946. package/dist/flows/resolvers/archetype.d.ts +14 -0
  947. package/dist/flows/resolvers/archetype.d.ts.map +1 -0
  948. package/dist/flows/resolvers/archetype.js +125 -0
  949. package/dist/flows/resolvers/archetype.js.map +1 -0
  950. package/dist/flows/resolvers/equipment.d.ts +32 -0
  951. package/dist/flows/resolvers/equipment.d.ts.map +1 -0
  952. package/dist/flows/resolvers/equipment.js +101 -0
  953. package/dist/flows/resolvers/equipment.js.map +1 -0
  954. package/dist/flows/resolvers/signals.d.ts +27 -0
  955. package/dist/flows/resolvers/signals.d.ts.map +1 -0
  956. package/dist/flows/resolvers/signals.js +273 -0
  957. package/dist/flows/resolvers/signals.js.map +1 -0
  958. package/dist/flows/resolvers/structure.d.ts +23 -0
  959. package/dist/flows/resolvers/structure.d.ts.map +1 -0
  960. package/dist/flows/resolvers/structure.js +112 -0
  961. package/dist/flows/resolvers/structure.js.map +1 -0
  962. package/dist/flows/review/assembly-spec.d.ts +5 -0
  963. package/dist/flows/review/assembly-spec.d.ts.map +1 -0
  964. package/dist/flows/review/assembly-spec.js +90 -0
  965. package/dist/flows/review/assembly-spec.js.map +1 -0
  966. package/dist/flows/review/data.d.ts +555 -0
  967. package/dist/flows/review/data.d.ts.map +1 -0
  968. package/dist/flows/review/data.js +75 -0
  969. package/dist/flows/review/data.js.map +1 -0
  970. package/dist/flows/review/flow.d.ts +2 -0
  971. package/dist/flows/review/flow.d.ts.map +1 -0
  972. package/dist/flows/review/flow.js +4 -0
  973. package/dist/flows/review/flow.js.map +1 -0
  974. package/dist/flows/review/index.d.ts +4 -0
  975. package/dist/flows/review/index.d.ts.map +1 -0
  976. package/dist/flows/review/index.js +8 -0
  977. package/dist/flows/review/index.js.map +1 -0
  978. package/dist/flows/review/relay-hints.d.ts +3 -0
  979. package/dist/flows/review/relay-hints.d.ts.map +1 -0
  980. package/dist/flows/review/relay-hints.js +31 -0
  981. package/dist/flows/review/relay-hints.js.map +1 -0
  982. package/dist/flows/review/reports.d.ts +247 -0
  983. package/dist/flows/review/reports.d.ts.map +1 -0
  984. package/dist/flows/review/reports.js +176 -0
  985. package/dist/flows/review/reports.js.map +1 -0
  986. package/dist/flows/review/writers/intake-projection.d.ts +13 -0
  987. package/dist/flows/review/writers/intake-projection.d.ts.map +1 -0
  988. package/dist/flows/review/writers/intake-projection.js +90 -0
  989. package/dist/flows/review/writers/intake-projection.js.map +1 -0
  990. package/dist/flows/review/writers/intake.d.ts +3 -0
  991. package/dist/flows/review/writers/intake.d.ts.map +1 -0
  992. package/dist/flows/review/writers/intake.js +186 -0
  993. package/dist/flows/review/writers/intake.js.map +1 -0
  994. package/dist/flows/review/writers/result-html.d.ts +3 -0
  995. package/dist/flows/review/writers/result-html.d.ts.map +1 -0
  996. package/dist/flows/review/writers/result-html.js +78 -0
  997. package/dist/flows/review/writers/result-html.js.map +1 -0
  998. package/dist/flows/review/writers/result-projection.d.ts +6 -0
  999. package/dist/flows/review/writers/result-projection.d.ts.map +1 -0
  1000. package/dist/flows/review/writers/result-projection.js +29 -0
  1001. package/dist/flows/review/writers/result-projection.js.map +1 -0
  1002. package/dist/flows/review/writers/result.d.ts +3 -0
  1003. package/dist/flows/review/writers/result.d.ts.map +1 -0
  1004. package/dist/flows/review/writers/result.js +50 -0
  1005. package/dist/flows/review/writers/result.js.map +1 -0
  1006. package/dist/flows/runtime-proof/assembly-spec.d.ts +5 -0
  1007. package/dist/flows/runtime-proof/assembly-spec.d.ts.map +1 -0
  1008. package/dist/flows/runtime-proof/assembly-spec.js +54 -0
  1009. package/dist/flows/runtime-proof/assembly-spec.js.map +1 -0
  1010. package/dist/flows/runtime-proof/data.d.ts +423 -0
  1011. package/dist/flows/runtime-proof/data.d.ts.map +1 -0
  1012. package/dist/flows/runtime-proof/data.js +36 -0
  1013. package/dist/flows/runtime-proof/data.js.map +1 -0
  1014. package/dist/flows/runtime-proof/flow.d.ts +2 -0
  1015. package/dist/flows/runtime-proof/flow.d.ts.map +1 -0
  1016. package/dist/flows/runtime-proof/flow.js +4 -0
  1017. package/dist/flows/runtime-proof/flow.js.map +1 -0
  1018. package/dist/flows/runtime-proof/reports.d.ts +6 -0
  1019. package/dist/flows/runtime-proof/reports.d.ts.map +1 -0
  1020. package/dist/flows/runtime-proof/reports.js +7 -0
  1021. package/dist/flows/runtime-proof/reports.js.map +1 -0
  1022. package/dist/flows/runtime-proof/writers/compose.d.ts +3 -0
  1023. package/dist/flows/runtime-proof/writers/compose.d.ts.map +1 -0
  1024. package/dist/flows/runtime-proof/writers/compose.js +10 -0
  1025. package/dist/flows/runtime-proof/writers/compose.js.map +1 -0
  1026. package/dist/flows/schematic-catalog-check.d.ts +3 -0
  1027. package/dist/flows/schematic-catalog-check.d.ts.map +1 -0
  1028. package/dist/flows/schematic-catalog-check.js +73 -0
  1029. package/dist/flows/schematic-catalog-check.js.map +1 -0
  1030. package/dist/flows/stage-policy.d.ts +22 -0
  1031. package/dist/flows/stage-policy.d.ts.map +1 -0
  1032. package/dist/flows/stage-policy.js +27 -0
  1033. package/dist/flows/stage-policy.js.map +1 -0
  1034. package/dist/flows/sweep/assembly-spec.d.ts +5 -0
  1035. package/dist/flows/sweep/assembly-spec.d.ts.map +1 -0
  1036. package/dist/flows/sweep/assembly-spec.js +170 -0
  1037. package/dist/flows/sweep/assembly-spec.js.map +1 -0
  1038. package/dist/flows/sweep/data.d.ts +552 -0
  1039. package/dist/flows/sweep/data.d.ts.map +1 -0
  1040. package/dist/flows/sweep/data.js +70 -0
  1041. package/dist/flows/sweep/data.js.map +1 -0
  1042. package/dist/flows/sweep/flow.d.ts +2 -0
  1043. package/dist/flows/sweep/flow.d.ts.map +1 -0
  1044. package/dist/flows/sweep/flow.js +4 -0
  1045. package/dist/flows/sweep/flow.js.map +1 -0
  1046. package/dist/flows/sweep/paths.d.ts +11 -0
  1047. package/dist/flows/sweep/paths.d.ts.map +1 -0
  1048. package/dist/flows/sweep/paths.js +18 -0
  1049. package/dist/flows/sweep/paths.js.map +1 -0
  1050. package/dist/flows/sweep/relay-hints.d.ts +3 -0
  1051. package/dist/flows/sweep/relay-hints.d.ts.map +1 -0
  1052. package/dist/flows/sweep/relay-hints.js +27 -0
  1053. package/dist/flows/sweep/relay-hints.js.map +1 -0
  1054. package/dist/flows/sweep/reports.d.ts +172 -0
  1055. package/dist/flows/sweep/reports.d.ts.map +1 -0
  1056. package/dist/flows/sweep/reports.js +179 -0
  1057. package/dist/flows/sweep/reports.js.map +1 -0
  1058. package/dist/flows/sweep/writers/census.d.ts +3 -0
  1059. package/dist/flows/sweep/writers/census.d.ts.map +1 -0
  1060. package/dist/flows/sweep/writers/census.js +67 -0
  1061. package/dist/flows/sweep/writers/census.js.map +1 -0
  1062. package/dist/flows/sweep/writers/partition.d.ts +3 -0
  1063. package/dist/flows/sweep/writers/partition.d.ts.map +1 -0
  1064. package/dist/flows/sweep/writers/partition.js +130 -0
  1065. package/dist/flows/sweep/writers/partition.js.map +1 -0
  1066. package/dist/flows/sweep/writers/scan.d.ts +5 -0
  1067. package/dist/flows/sweep/writers/scan.d.ts.map +1 -0
  1068. package/dist/flows/sweep/writers/scan.js +89 -0
  1069. package/dist/flows/sweep/writers/scan.js.map +1 -0
  1070. package/dist/flows/sweep/writers/verification.d.ts +3 -0
  1071. package/dist/flows/sweep/writers/verification.d.ts.map +1 -0
  1072. package/dist/flows/sweep/writers/verification.js +55 -0
  1073. package/dist/flows/sweep/writers/verification.js.map +1 -0
  1074. package/dist/flows/types.d.ts +111 -0
  1075. package/dist/flows/types.d.ts.map +1 -0
  1076. package/dist/flows/types.js +14 -0
  1077. package/dist/flows/types.js.map +1 -0
  1078. package/dist/history/run-corpus.d.ts +16 -0
  1079. package/dist/history/run-corpus.d.ts.map +1 -0
  1080. package/dist/history/run-corpus.js +55 -0
  1081. package/dist/history/run-corpus.js.map +1 -0
  1082. package/dist/index.d.ts +2 -0
  1083. package/dist/index.d.ts.map +1 -0
  1084. package/dist/index.js +2 -0
  1085. package/dist/index.js.map +1 -0
  1086. package/dist/memory/project-distill.d.ts +18 -0
  1087. package/dist/memory/project-distill.d.ts.map +1 -0
  1088. package/dist/memory/project-distill.js +244 -0
  1089. package/dist/memory/project-distill.js.map +1 -0
  1090. package/dist/memory/project-identity.d.ts +25 -0
  1091. package/dist/memory/project-identity.d.ts.map +1 -0
  1092. package/dist/memory/project-identity.js +125 -0
  1093. package/dist/memory/project-identity.js.map +1 -0
  1094. package/dist/memory/project-injection.d.ts +12 -0
  1095. package/dist/memory/project-injection.d.ts.map +1 -0
  1096. package/dist/memory/project-injection.js +56 -0
  1097. package/dist/memory/project-injection.js.map +1 -0
  1098. package/dist/memory/project-store.d.ts +35 -0
  1099. package/dist/memory/project-store.d.ts.map +1 -0
  1100. package/dist/memory/project-store.js +150 -0
  1101. package/dist/memory/project-store.js.map +1 -0
  1102. package/dist/policy/fanout-join-policy.d.ts +26 -0
  1103. package/dist/policy/fanout-join-policy.d.ts.map +1 -0
  1104. package/dist/policy/fanout-join-policy.js +87 -0
  1105. package/dist/policy/fanout-join-policy.js.map +1 -0
  1106. package/dist/policy/flow-kind-policy-core.d.ts +50 -0
  1107. package/dist/policy/flow-kind-policy-core.d.ts.map +1 -0
  1108. package/dist/policy/flow-kind-policy-core.js +250 -0
  1109. package/dist/policy/flow-kind-policy-core.js.map +1 -0
  1110. package/dist/policy/flow-kind-policy.d.ts +19 -0
  1111. package/dist/policy/flow-kind-policy.d.ts.map +1 -0
  1112. package/dist/policy/flow-kind-policy.js +41 -0
  1113. package/dist/policy/flow-kind-policy.js.map +1 -0
  1114. package/dist/policy/policy-envelope.d.ts +28 -0
  1115. package/dist/policy/policy-envelope.d.ts.map +1 -0
  1116. package/dist/policy/policy-envelope.js +317 -0
  1117. package/dist/policy/policy-envelope.js.map +1 -0
  1118. package/dist/policy/recovery-route-policy.d.ts +165 -0
  1119. package/dist/policy/recovery-route-policy.d.ts.map +1 -0
  1120. package/dist/policy/recovery-route-policy.js +112 -0
  1121. package/dist/policy/recovery-route-policy.js.map +1 -0
  1122. package/dist/policy/rubric.d.ts +28 -0
  1123. package/dist/policy/rubric.d.ts.map +1 -0
  1124. package/dist/policy/rubric.js +139 -0
  1125. package/dist/policy/rubric.js.map +1 -0
  1126. package/dist/release/checks.d.ts +45 -0
  1127. package/dist/release/checks.d.ts.map +1 -0
  1128. package/dist/release/checks.js +382 -0
  1129. package/dist/release/checks.js.map +1 -0
  1130. package/dist/release/schemas.d.ts +590 -0
  1131. package/dist/release/schemas.d.ts.map +1 -0
  1132. package/dist/release/schemas.js +369 -0
  1133. package/dist/release/schemas.js.map +1 -0
  1134. package/dist/runtime/acceptance-criteria.d.ts +41 -0
  1135. package/dist/runtime/acceptance-criteria.d.ts.map +1 -0
  1136. package/dist/runtime/acceptance-criteria.js +282 -0
  1137. package/dist/runtime/acceptance-criteria.js.map +1 -0
  1138. package/dist/runtime/domain/flow.d.ts +11 -0
  1139. package/dist/runtime/domain/flow.d.ts.map +1 -0
  1140. package/dist/runtime/domain/flow.js +2 -0
  1141. package/dist/runtime/domain/flow.js.map +1 -0
  1142. package/dist/runtime/domain/route.d.ts +13 -0
  1143. package/dist/runtime/domain/route.d.ts.map +1 -0
  1144. package/dist/runtime/domain/route.js +7 -0
  1145. package/dist/runtime/domain/route.js.map +1 -0
  1146. package/dist/runtime/domain/run-file.d.ts +5 -0
  1147. package/dist/runtime/domain/run-file.d.ts.map +1 -0
  1148. package/dist/runtime/domain/run-file.js +2 -0
  1149. package/dist/runtime/domain/run-file.js.map +1 -0
  1150. package/dist/runtime/domain/run.d.ts +4 -0
  1151. package/dist/runtime/domain/run.d.ts.map +1 -0
  1152. package/dist/runtime/domain/run.js +2 -0
  1153. package/dist/runtime/domain/run.js.map +1 -0
  1154. package/dist/runtime/domain/selection.d.ts +11 -0
  1155. package/dist/runtime/domain/selection.d.ts.map +1 -0
  1156. package/dist/runtime/domain/selection.js +2 -0
  1157. package/dist/runtime/domain/selection.js.map +1 -0
  1158. package/dist/runtime/domain/step.d.ts +19 -0
  1159. package/dist/runtime/domain/step.d.ts.map +1 -0
  1160. package/dist/runtime/domain/step.js +4 -0
  1161. package/dist/runtime/domain/step.js.map +1 -0
  1162. package/dist/runtime/domain/trace.d.ts +21 -0
  1163. package/dist/runtime/domain/trace.d.ts.map +1 -0
  1164. package/dist/runtime/domain/trace.js +2 -0
  1165. package/dist/runtime/domain/trace.js.map +1 -0
  1166. package/dist/runtime/executors/checkpoint.d.ts +18 -0
  1167. package/dist/runtime/executors/checkpoint.d.ts.map +1 -0
  1168. package/dist/runtime/executors/checkpoint.js +463 -0
  1169. package/dist/runtime/executors/checkpoint.js.map +1 -0
  1170. package/dist/runtime/executors/compose.d.ts +11 -0
  1171. package/dist/runtime/executors/compose.d.ts.map +1 -0
  1172. package/dist/runtime/executors/compose.js +124 -0
  1173. package/dist/runtime/executors/compose.js.map +1 -0
  1174. package/dist/runtime/executors/fanout.d.ts +8 -0
  1175. package/dist/runtime/executors/fanout.d.ts.map +1 -0
  1176. package/dist/runtime/executors/fanout.js +312 -0
  1177. package/dist/runtime/executors/fanout.js.map +1 -0
  1178. package/dist/runtime/executors/index.d.ts +11 -0
  1179. package/dist/runtime/executors/index.d.ts.map +1 -0
  1180. package/dist/runtime/executors/index.js +32 -0
  1181. package/dist/runtime/executors/index.js.map +1 -0
  1182. package/dist/runtime/executors/relay.d.ts +73 -0
  1183. package/dist/runtime/executors/relay.d.ts.map +1 -0
  1184. package/dist/runtime/executors/relay.js +788 -0
  1185. package/dist/runtime/executors/relay.js.map +1 -0
  1186. package/dist/runtime/executors/result.d.ts +14 -0
  1187. package/dist/runtime/executors/result.d.ts.map +1 -0
  1188. package/dist/runtime/executors/result.js +19 -0
  1189. package/dist/runtime/executors/result.js.map +1 -0
  1190. package/dist/runtime/executors/shared.d.ts +17 -0
  1191. package/dist/runtime/executors/shared.d.ts.map +1 -0
  1192. package/dist/runtime/executors/shared.js +49 -0
  1193. package/dist/runtime/executors/shared.js.map +1 -0
  1194. package/dist/runtime/executors/sub-run.d.ts +8 -0
  1195. package/dist/runtime/executors/sub-run.d.ts.map +1 -0
  1196. package/dist/runtime/executors/sub-run.js +275 -0
  1197. package/dist/runtime/executors/sub-run.js.map +1 -0
  1198. package/dist/runtime/executors/verification.d.ts +7 -0
  1199. package/dist/runtime/executors/verification.d.ts.map +1 -0
  1200. package/dist/runtime/executors/verification.js +374 -0
  1201. package/dist/runtime/executors/verification.js.map +1 -0
  1202. package/dist/runtime/fanout/branch-execution.d.ts +17 -0
  1203. package/dist/runtime/fanout/branch-execution.d.ts.map +1 -0
  1204. package/dist/runtime/fanout/branch-execution.js +576 -0
  1205. package/dist/runtime/fanout/branch-execution.js.map +1 -0
  1206. package/dist/runtime/fanout/branch-expansion.d.ts +6 -0
  1207. package/dist/runtime/fanout/branch-expansion.d.ts.map +1 -0
  1208. package/dist/runtime/fanout/branch-expansion.js +64 -0
  1209. package/dist/runtime/fanout/branch-expansion.js.map +1 -0
  1210. package/dist/runtime/fanout/run-owner-lock.d.ts +28 -0
  1211. package/dist/runtime/fanout/run-owner-lock.d.ts.map +1 -0
  1212. package/dist/runtime/fanout/run-owner-lock.js +98 -0
  1213. package/dist/runtime/fanout/run-owner-lock.js.map +1 -0
  1214. package/dist/runtime/fanout/types.d.ts +38 -0
  1215. package/dist/runtime/fanout/types.d.ts.map +1 -0
  1216. package/dist/runtime/fanout/types.js +2 -0
  1217. package/dist/runtime/fanout/types.js.map +1 -0
  1218. package/dist/runtime/fanout/worktree-reaper.d.ts +108 -0
  1219. package/dist/runtime/fanout/worktree-reaper.d.ts.map +1 -0
  1220. package/dist/runtime/fanout/worktree-reaper.js +195 -0
  1221. package/dist/runtime/fanout/worktree-reaper.js.map +1 -0
  1222. package/dist/runtime/fanout/worktree.d.ts +3 -0
  1223. package/dist/runtime/fanout/worktree.d.ts.map +1 -0
  1224. package/dist/runtime/fanout/worktree.js +35 -0
  1225. package/dist/runtime/fanout/worktree.js.map +1 -0
  1226. package/dist/runtime/manifest/executable-flow.d.ts +100 -0
  1227. package/dist/runtime/manifest/executable-flow.d.ts.map +1 -0
  1228. package/dist/runtime/manifest/executable-flow.js +2 -0
  1229. package/dist/runtime/manifest/executable-flow.js.map +1 -0
  1230. package/dist/runtime/manifest/from-compiled-flow.d.ts +4 -0
  1231. package/dist/runtime/manifest/from-compiled-flow.d.ts.map +1 -0
  1232. package/dist/runtime/manifest/from-compiled-flow.js +169 -0
  1233. package/dist/runtime/manifest/from-compiled-flow.js.map +1 -0
  1234. package/dist/runtime/manifest/runtime-package-index.d.ts +4 -0
  1235. package/dist/runtime/manifest/runtime-package-index.d.ts.map +1 -0
  1236. package/dist/runtime/manifest/runtime-package-index.js +98 -0
  1237. package/dist/runtime/manifest/runtime-package-index.js.map +1 -0
  1238. package/dist/runtime/manifest/validate-executable-flow.d.ts +8 -0
  1239. package/dist/runtime/manifest/validate-executable-flow.d.ts.map +1 -0
  1240. package/dist/runtime/manifest/validate-executable-flow.js +143 -0
  1241. package/dist/runtime/manifest/validate-executable-flow.js.map +1 -0
  1242. package/dist/runtime/projections/progress.d.ts +16 -0
  1243. package/dist/runtime/projections/progress.d.ts.map +1 -0
  1244. package/dist/runtime/projections/progress.js +679 -0
  1245. package/dist/runtime/projections/progress.js.map +1 -0
  1246. package/dist/runtime/projections/status.d.ts +4 -0
  1247. package/dist/runtime/projections/status.d.ts.map +1 -0
  1248. package/dist/runtime/projections/status.js +14 -0
  1249. package/dist/runtime/projections/status.js.map +1 -0
  1250. package/dist/runtime/projections/tournament-checkpoint-context.d.ts +18 -0
  1251. package/dist/runtime/projections/tournament-checkpoint-context.d.ts.map +1 -0
  1252. package/dist/runtime/projections/tournament-checkpoint-context.js +106 -0
  1253. package/dist/runtime/projections/tournament-checkpoint-context.js.map +1 -0
  1254. package/dist/runtime/run/binding-legibility.d.ts +71 -0
  1255. package/dist/runtime/run/binding-legibility.d.ts.map +1 -0
  1256. package/dist/runtime/run/binding-legibility.js +61 -0
  1257. package/dist/runtime/run/binding-legibility.js.map +1 -0
  1258. package/dist/runtime/run/capabilities.d.ts +34 -0
  1259. package/dist/runtime/run/capabilities.d.ts.map +1 -0
  1260. package/dist/runtime/run/capabilities.js +22 -0
  1261. package/dist/runtime/run/capabilities.js.map +1 -0
  1262. package/dist/runtime/run/carried-notes.d.ts +13 -0
  1263. package/dist/runtime/run/carried-notes.d.ts.map +1 -0
  1264. package/dist/runtime/run/carried-notes.js +53 -0
  1265. package/dist/runtime/run/carried-notes.js.map +1 -0
  1266. package/dist/runtime/run/checkpoint-resume.d.ts +44 -0
  1267. package/dist/runtime/run/checkpoint-resume.d.ts.map +1 -0
  1268. package/dist/runtime/run/checkpoint-resume.js +549 -0
  1269. package/dist/runtime/run/checkpoint-resume.js.map +1 -0
  1270. package/dist/runtime/run/child-runner.d.ts +57 -0
  1271. package/dist/runtime/run/child-runner.d.ts.map +1 -0
  1272. package/dist/runtime/run/child-runner.js +2 -0
  1273. package/dist/runtime/run/child-runner.js.map +1 -0
  1274. package/dist/runtime/run/commit-containment.d.ts +11 -0
  1275. package/dist/runtime/run/commit-containment.d.ts.map +1 -0
  1276. package/dist/runtime/run/commit-containment.js +46 -0
  1277. package/dist/runtime/run/commit-containment.js.map +1 -0
  1278. package/dist/runtime/run/compiled-flow-runner.d.ts +26 -0
  1279. package/dist/runtime/run/compiled-flow-runner.d.ts.map +1 -0
  1280. package/dist/runtime/run/compiled-flow-runner.js +137 -0
  1281. package/dist/runtime/run/compiled-flow-runner.js.map +1 -0
  1282. package/dist/runtime/run/connector-planning.d.ts +3 -0
  1283. package/dist/runtime/run/connector-planning.d.ts.map +1 -0
  1284. package/dist/runtime/run/connector-planning.js +29 -0
  1285. package/dist/runtime/run/connector-planning.js.map +1 -0
  1286. package/dist/runtime/run/context-delivery.d.ts +24 -0
  1287. package/dist/runtime/run/context-delivery.d.ts.map +1 -0
  1288. package/dist/runtime/run/context-delivery.js +92 -0
  1289. package/dist/runtime/run/context-delivery.js.map +1 -0
  1290. package/dist/runtime/run/context-pull.d.ts +22 -0
  1291. package/dist/runtime/run/context-pull.d.ts.map +1 -0
  1292. package/dist/runtime/run/context-pull.js +112 -0
  1293. package/dist/runtime/run/context-pull.js.map +1 -0
  1294. package/dist/runtime/run/engine-flags.d.ts +7 -0
  1295. package/dist/runtime/run/engine-flags.d.ts.map +1 -0
  1296. package/dist/runtime/run/engine-flags.js +89 -0
  1297. package/dist/runtime/run/engine-flags.js.map +1 -0
  1298. package/dist/runtime/run/equipment-reshape.d.ts +24 -0
  1299. package/dist/runtime/run/equipment-reshape.d.ts.map +1 -0
  1300. package/dist/runtime/run/equipment-reshape.js +156 -0
  1301. package/dist/runtime/run/equipment-reshape.js.map +1 -0
  1302. package/dist/runtime/run/external-files.d.ts +5 -0
  1303. package/dist/runtime/run/external-files.d.ts.map +1 -0
  1304. package/dist/runtime/run/external-files.js +7 -0
  1305. package/dist/runtime/run/external-files.js.map +1 -0
  1306. package/dist/runtime/run/frozen-eval.d.ts +8 -0
  1307. package/dist/runtime/run/frozen-eval.d.ts.map +1 -0
  1308. package/dist/runtime/run/frozen-eval.js +60 -0
  1309. package/dist/runtime/run/frozen-eval.js.map +1 -0
  1310. package/dist/runtime/run/graph-runner.d.ts +67 -0
  1311. package/dist/runtime/run/graph-runner.d.ts.map +1 -0
  1312. package/dist/runtime/run/graph-runner.js +1755 -0
  1313. package/dist/runtime/run/graph-runner.js.map +1 -0
  1314. package/dist/runtime/run/guidance.d.ts +49 -0
  1315. package/dist/runtime/run/guidance.d.ts.map +1 -0
  1316. package/dist/runtime/run/guidance.js +227 -0
  1317. package/dist/runtime/run/guidance.js.map +1 -0
  1318. package/dist/runtime/run/honesty-ledger.d.ts +21 -0
  1319. package/dist/runtime/run/honesty-ledger.d.ts.map +1 -0
  1320. package/dist/runtime/run/honesty-ledger.js +75 -0
  1321. package/dist/runtime/run/honesty-ledger.js.map +1 -0
  1322. package/dist/runtime/run/iteration-ledger.d.ts +15 -0
  1323. package/dist/runtime/run/iteration-ledger.d.ts.map +1 -0
  1324. package/dist/runtime/run/iteration-ledger.js +91 -0
  1325. package/dist/runtime/run/iteration-ledger.js.map +1 -0
  1326. package/dist/runtime/run/manifest-snapshot.d.ts +27 -0
  1327. package/dist/runtime/run/manifest-snapshot.d.ts.map +1 -0
  1328. package/dist/runtime/run/manifest-snapshot.js +58 -0
  1329. package/dist/runtime/run/manifest-snapshot.js.map +1 -0
  1330. package/dist/runtime/run/oracle-command-pin.d.ts +20 -0
  1331. package/dist/runtime/run/oracle-command-pin.d.ts.map +1 -0
  1332. package/dist/runtime/run/oracle-command-pin.js +94 -0
  1333. package/dist/runtime/run/oracle-command-pin.js.map +1 -0
  1334. package/dist/runtime/run/recovery-binding-verdict.d.ts +40 -0
  1335. package/dist/runtime/run/recovery-binding-verdict.d.ts.map +1 -0
  1336. package/dist/runtime/run/recovery-binding-verdict.js +70 -0
  1337. package/dist/runtime/run/recovery-binding-verdict.js.map +1 -0
  1338. package/dist/runtime/run/recovery-corridor.d.ts +103 -0
  1339. package/dist/runtime/run/recovery-corridor.d.ts.map +1 -0
  1340. package/dist/runtime/run/recovery-corridor.js +178 -0
  1341. package/dist/runtime/run/recovery-corridor.js.map +1 -0
  1342. package/dist/runtime/run/recovery-selection.d.ts +18 -0
  1343. package/dist/runtime/run/recovery-selection.d.ts.map +1 -0
  1344. package/dist/runtime/run/recovery-selection.js +43 -0
  1345. package/dist/runtime/run/recovery-selection.js.map +1 -0
  1346. package/dist/runtime/run/relay-guidance.d.ts +40 -0
  1347. package/dist/runtime/run/relay-guidance.d.ts.map +1 -0
  1348. package/dist/runtime/run/relay-guidance.js +306 -0
  1349. package/dist/runtime/run/relay-guidance.js.map +1 -0
  1350. package/dist/runtime/run/relay-support.d.ts +29 -0
  1351. package/dist/runtime/run/relay-support.d.ts.map +1 -0
  1352. package/dist/runtime/run/relay-support.js +436 -0
  1353. package/dist/runtime/run/relay-support.js.map +1 -0
  1354. package/dist/runtime/run/result-recovery.d.ts +16 -0
  1355. package/dist/runtime/run/result-recovery.d.ts.map +1 -0
  1356. package/dist/runtime/run/result-recovery.js +73 -0
  1357. package/dist/runtime/run/result-recovery.js.map +1 -0
  1358. package/dist/runtime/run/result-writer.d.ts +17 -0
  1359. package/dist/runtime/run/result-writer.d.ts.map +1 -0
  1360. package/dist/runtime/run/result-writer.js +5 -0
  1361. package/dist/runtime/run/result-writer.js.map +1 -0
  1362. package/dist/runtime/run/resume-lock.d.ts +29 -0
  1363. package/dist/runtime/run/resume-lock.d.ts.map +1 -0
  1364. package/dist/runtime/run/resume-lock.js +166 -0
  1365. package/dist/runtime/run/resume-lock.js.map +1 -0
  1366. package/dist/runtime/run/reuse-children.d.ts +24 -0
  1367. package/dist/runtime/run/reuse-children.d.ts.map +1 -0
  1368. package/dist/runtime/run/reuse-children.js +107 -0
  1369. package/dist/runtime/run/reuse-children.js.map +1 -0
  1370. package/dist/runtime/run/run-boundary.d.ts +30 -0
  1371. package/dist/runtime/run/run-boundary.d.ts.map +1 -0
  1372. package/dist/runtime/run/run-boundary.js +110 -0
  1373. package/dist/runtime/run/run-boundary.js.map +1 -0
  1374. package/dist/runtime/run/run-close.d.ts +22 -0
  1375. package/dist/runtime/run/run-close.d.ts.map +1 -0
  1376. package/dist/runtime/run/run-close.js +228 -0
  1377. package/dist/runtime/run/run-close.js.map +1 -0
  1378. package/dist/runtime/run/run-context.d.ts +59 -0
  1379. package/dist/runtime/run/run-context.d.ts.map +1 -0
  1380. package/dist/runtime/run/run-context.js +2 -0
  1381. package/dist/runtime/run/run-context.js.map +1 -0
  1382. package/dist/runtime/run/run-transition.d.ts +43 -0
  1383. package/dist/runtime/run/run-transition.d.ts.map +1 -0
  1384. package/dist/runtime/run/run-transition.js +52 -0
  1385. package/dist/runtime/run/run-transition.js.map +1 -0
  1386. package/dist/runtime/run/run-values.d.ts +80 -0
  1387. package/dist/runtime/run/run-values.d.ts.map +1 -0
  1388. package/dist/runtime/run/run-values.js +85 -0
  1389. package/dist/runtime/run/run-values.js.map +1 -0
  1390. package/dist/runtime/run/slice-corridor.d.ts +27 -0
  1391. package/dist/runtime/run/slice-corridor.d.ts.map +1 -0
  1392. package/dist/runtime/run/slice-corridor.js +99 -0
  1393. package/dist/runtime/run/slice-corridor.js.map +1 -0
  1394. package/dist/runtime/run/trace-evidence.d.ts +34 -0
  1395. package/dist/runtime/run/trace-evidence.d.ts.map +1 -0
  1396. package/dist/runtime/run/trace-evidence.js +148 -0
  1397. package/dist/runtime/run/trace-evidence.js.map +1 -0
  1398. package/dist/runtime/run/until-budget.d.ts +12 -0
  1399. package/dist/runtime/run/until-budget.d.ts.map +1 -0
  1400. package/dist/runtime/run/until-budget.js +102 -0
  1401. package/dist/runtime/run/until-budget.js.map +1 -0
  1402. package/dist/runtime/run/until-corridor.d.ts +32 -0
  1403. package/dist/runtime/run/until-corridor.d.ts.map +1 -0
  1404. package/dist/runtime/run/until-corridor.js +161 -0
  1405. package/dist/runtime/run/until-corridor.js.map +1 -0
  1406. package/dist/runtime/run-files/report-validator.d.ts +3 -0
  1407. package/dist/runtime/run-files/report-validator.d.ts.map +1 -0
  1408. package/dist/runtime/run-files/report-validator.js +29 -0
  1409. package/dist/runtime/run-files/report-validator.js.map +1 -0
  1410. package/dist/runtime/run-files/run-file-store.d.ts +13 -0
  1411. package/dist/runtime/run-files/run-file-store.d.ts.map +1 -0
  1412. package/dist/runtime/run-files/run-file-store.js +42 -0
  1413. package/dist/runtime/run-files/run-file-store.js.map +1 -0
  1414. package/dist/runtime/trace/trace-fields.d.ts +97 -0
  1415. package/dist/runtime/trace/trace-fields.d.ts.map +1 -0
  1416. package/dist/runtime/trace/trace-fields.js +181 -0
  1417. package/dist/runtime/trace/trace-fields.js.map +1 -0
  1418. package/dist/runtime/trace/trace-store.d.ts +20 -0
  1419. package/dist/runtime/trace/trace-store.d.ts.map +1 -0
  1420. package/dist/runtime/trace/trace-store.js +157 -0
  1421. package/dist/runtime/trace/trace-store.js.map +1 -0
  1422. package/dist/schemas/acceptance-criteria.d.ts +94 -0
  1423. package/dist/schemas/acceptance-criteria.d.ts.map +1 -0
  1424. package/dist/schemas/acceptance-criteria.js +42 -0
  1425. package/dist/schemas/acceptance-criteria.js.map +1 -0
  1426. package/dist/schemas/axes.d.ts +45 -0
  1427. package/dist/schemas/axes.d.ts.map +1 -0
  1428. package/dist/schemas/axes.js +79 -0
  1429. package/dist/schemas/axes.js.map +1 -0
  1430. package/dist/schemas/axis-config-requirement.d.ts +20 -0
  1431. package/dist/schemas/axis-config-requirement.d.ts.map +1 -0
  1432. package/dist/schemas/axis-config-requirement.js +24 -0
  1433. package/dist/schemas/axis-config-requirement.js.map +1 -0
  1434. package/dist/schemas/builtin-report-schemas.d.ts +6 -0
  1435. package/dist/schemas/builtin-report-schemas.d.ts.map +1 -0
  1436. package/dist/schemas/builtin-report-schemas.js +155 -0
  1437. package/dist/schemas/builtin-report-schemas.js.map +1 -0
  1438. package/dist/schemas/change-kind.d.ts +75 -0
  1439. package/dist/schemas/change-kind.d.ts.map +1 -0
  1440. package/dist/schemas/change-kind.js +35 -0
  1441. package/dist/schemas/change-kind.js.map +1 -0
  1442. package/dist/schemas/change-packet.d.ts +42 -0
  1443. package/dist/schemas/change-packet.d.ts.map +1 -0
  1444. package/dist/schemas/change-packet.js +26 -0
  1445. package/dist/schemas/change-packet.js.map +1 -0
  1446. package/dist/schemas/check.d.ts +174 -0
  1447. package/dist/schemas/check.d.ts.map +1 -0
  1448. package/dist/schemas/check.js +162 -0
  1449. package/dist/schemas/check.js.map +1 -0
  1450. package/dist/schemas/checkpoint-boundary.d.ts +605 -0
  1451. package/dist/schemas/checkpoint-boundary.d.ts.map +1 -0
  1452. package/dist/schemas/checkpoint-boundary.js +243 -0
  1453. package/dist/schemas/checkpoint-boundary.js.map +1 -0
  1454. package/dist/schemas/compiled-flow.d.ts +1065 -0
  1455. package/dist/schemas/compiled-flow.d.ts.map +1 -0
  1456. package/dist/schemas/compiled-flow.js +331 -0
  1457. package/dist/schemas/compiled-flow.js.map +1 -0
  1458. package/dist/schemas/config.d.ts +905 -0
  1459. package/dist/schemas/config.d.ts.map +1 -0
  1460. package/dist/schemas/config.js +240 -0
  1461. package/dist/schemas/config.js.map +1 -0
  1462. package/dist/schemas/connector.d.ts +216 -0
  1463. package/dist/schemas/connector.d.ts.map +1 -0
  1464. package/dist/schemas/connector.js +150 -0
  1465. package/dist/schemas/connector.js.map +1 -0
  1466. package/dist/schemas/context-request.d.ts +14 -0
  1467. package/dist/schemas/context-request.d.ts.map +1 -0
  1468. package/dist/schemas/context-request.js +33 -0
  1469. package/dist/schemas/context-request.js.map +1 -0
  1470. package/dist/schemas/continuity.d.ts +362 -0
  1471. package/dist/schemas/continuity.d.ts.map +1 -0
  1472. package/dist/schemas/continuity.js +232 -0
  1473. package/dist/schemas/continuity.js.map +1 -0
  1474. package/dist/schemas/custom-flow-descriptor.d.ts +10 -0
  1475. package/dist/schemas/custom-flow-descriptor.d.ts.map +1 -0
  1476. package/dist/schemas/custom-flow-descriptor.js +12 -0
  1477. package/dist/schemas/custom-flow-descriptor.js.map +1 -0
  1478. package/dist/schemas/depth.d.ts +16 -0
  1479. package/dist/schemas/depth.d.ts.map +1 -0
  1480. package/dist/schemas/depth.js +7 -0
  1481. package/dist/schemas/depth.js.map +1 -0
  1482. package/dist/schemas/engine-flags.d.ts +44 -0
  1483. package/dist/schemas/engine-flags.d.ts.map +1 -0
  1484. package/dist/schemas/engine-flags.js +104 -0
  1485. package/dist/schemas/engine-flags.js.map +1 -0
  1486. package/dist/schemas/equipment-discovery.d.ts +8 -0
  1487. package/dist/schemas/equipment-discovery.d.ts.map +1 -0
  1488. package/dist/schemas/equipment-discovery.js +36 -0
  1489. package/dist/schemas/equipment-discovery.js.map +1 -0
  1490. package/dist/schemas/equipment-scope.d.ts +42 -0
  1491. package/dist/schemas/equipment-scope.d.ts.map +1 -0
  1492. package/dist/schemas/equipment-scope.js +84 -0
  1493. package/dist/schemas/equipment-scope.js.map +1 -0
  1494. package/dist/schemas/flow-block-definitions.d.ts +59 -0
  1495. package/dist/schemas/flow-block-definitions.d.ts.map +1 -0
  1496. package/dist/schemas/flow-block-definitions.js +867 -0
  1497. package/dist/schemas/flow-block-definitions.js.map +1 -0
  1498. package/dist/schemas/flow-blocks.d.ts +301 -0
  1499. package/dist/schemas/flow-blocks.d.ts.map +1 -0
  1500. package/dist/schemas/flow-blocks.js +223 -0
  1501. package/dist/schemas/flow-blocks.js.map +1 -0
  1502. package/dist/schemas/flow-schematic-policy.d.ts +6 -0
  1503. package/dist/schemas/flow-schematic-policy.d.ts.map +1 -0
  1504. package/dist/schemas/flow-schematic-policy.js +8 -0
  1505. package/dist/schemas/flow-schematic-policy.js.map +1 -0
  1506. package/dist/schemas/flow-schematic.d.ts +1407 -0
  1507. package/dist/schemas/flow-schematic.d.ts.map +1 -0
  1508. package/dist/schemas/flow-schematic.js +944 -0
  1509. package/dist/schemas/flow-schematic.js.map +1 -0
  1510. package/dist/schemas/guidance-decision.d.ts +728 -0
  1511. package/dist/schemas/guidance-decision.d.ts.map +1 -0
  1512. package/dist/schemas/guidance-decision.js +527 -0
  1513. package/dist/schemas/guidance-decision.js.map +1 -0
  1514. package/dist/schemas/hashing.d.ts +6 -0
  1515. package/dist/schemas/hashing.d.ts.map +1 -0
  1516. package/dist/schemas/hashing.js +27 -0
  1517. package/dist/schemas/hashing.js.map +1 -0
  1518. package/dist/schemas/history.d.ts +1735 -0
  1519. package/dist/schemas/history.d.ts.map +1 -0
  1520. package/dist/schemas/history.js +662 -0
  1521. package/dist/schemas/history.js.map +1 -0
  1522. package/dist/schemas/host.d.ts +16 -0
  1523. package/dist/schemas/host.d.ts.map +1 -0
  1524. package/dist/schemas/host.js +8 -0
  1525. package/dist/schemas/host.js.map +1 -0
  1526. package/dist/schemas/ids.d.ts +18 -0
  1527. package/dist/schemas/ids.d.ts.map +1 -0
  1528. package/dist/schemas/ids.js +17 -0
  1529. package/dist/schemas/ids.js.map +1 -0
  1530. package/dist/schemas/index.d.ts +60 -0
  1531. package/dist/schemas/index.d.ts.map +1 -0
  1532. package/dist/schemas/index.js +60 -0
  1533. package/dist/schemas/index.js.map +1 -0
  1534. package/dist/schemas/json.d.ts +10 -0
  1535. package/dist/schemas/json.d.ts.map +1 -0
  1536. package/dist/schemas/json.js +12 -0
  1537. package/dist/schemas/json.js.map +1 -0
  1538. package/dist/schemas/manifest.d.ts +15 -0
  1539. package/dist/schemas/manifest.d.ts.map +1 -0
  1540. package/dist/schemas/manifest.js +61 -0
  1541. package/dist/schemas/manifest.js.map +1 -0
  1542. package/dist/schemas/memory-input.d.ts +94 -0
  1543. package/dist/schemas/memory-input.d.ts.map +1 -0
  1544. package/dist/schemas/memory-input.js +119 -0
  1545. package/dist/schemas/memory-input.js.map +1 -0
  1546. package/dist/schemas/operator-summary.d.ts +369 -0
  1547. package/dist/schemas/operator-summary.d.ts.map +1 -0
  1548. package/dist/schemas/operator-summary.js +207 -0
  1549. package/dist/schemas/operator-summary.js.map +1 -0
  1550. package/dist/schemas/policy-envelope.d.ts +1655 -0
  1551. package/dist/schemas/policy-envelope.d.ts.map +1 -0
  1552. package/dist/schemas/policy-envelope.js +330 -0
  1553. package/dist/schemas/policy-envelope.js.map +1 -0
  1554. package/dist/schemas/power.d.ts +26 -0
  1555. package/dist/schemas/power.d.ts.map +1 -0
  1556. package/dist/schemas/power.js +38 -0
  1557. package/dist/schemas/power.js.map +1 -0
  1558. package/dist/schemas/process-evidence.d.ts +156 -0
  1559. package/dist/schemas/process-evidence.d.ts.map +1 -0
  1560. package/dist/schemas/process-evidence.js +142 -0
  1561. package/dist/schemas/process-evidence.js.map +1 -0
  1562. package/dist/schemas/process.d.ts +16 -0
  1563. package/dist/schemas/process.d.ts.map +1 -0
  1564. package/dist/schemas/process.js +7 -0
  1565. package/dist/schemas/process.js.map +1 -0
  1566. package/dist/schemas/progress-event.d.ts +1505 -0
  1567. package/dist/schemas/progress-event.d.ts.map +1 -0
  1568. package/dist/schemas/progress-event.js +246 -0
  1569. package/dist/schemas/progress-event.js.map +1 -0
  1570. package/dist/schemas/proof-assessment.d.ts +542 -0
  1571. package/dist/schemas/proof-assessment.d.ts.map +1 -0
  1572. package/dist/schemas/proof-assessment.js +336 -0
  1573. package/dist/schemas/proof-assessment.js.map +1 -0
  1574. package/dist/schemas/recovery-route-kind.d.ts +229 -0
  1575. package/dist/schemas/recovery-route-kind.d.ts.map +1 -0
  1576. package/dist/schemas/recovery-route-kind.js +242 -0
  1577. package/dist/schemas/recovery-route-kind.js.map +1 -0
  1578. package/dist/schemas/ref.d.ts +51 -0
  1579. package/dist/schemas/ref.d.ts.map +1 -0
  1580. package/dist/schemas/ref.js +96 -0
  1581. package/dist/schemas/ref.js.map +1 -0
  1582. package/dist/schemas/report-file-surface.d.ts +44 -0
  1583. package/dist/schemas/report-file-surface.d.ts.map +1 -0
  1584. package/dist/schemas/report-file-surface.js +22 -0
  1585. package/dist/schemas/report-file-surface.js.map +1 -0
  1586. package/dist/schemas/result.d.ts +23 -0
  1587. package/dist/schemas/result.d.ts.map +1 -0
  1588. package/dist/schemas/result.js +55 -0
  1589. package/dist/schemas/result.js.map +1 -0
  1590. package/dist/schemas/role.d.ts +8 -0
  1591. package/dist/schemas/role.d.ts.map +1 -0
  1592. package/dist/schemas/role.js +5 -0
  1593. package/dist/schemas/role.js.map +1 -0
  1594. package/dist/schemas/route-policy.d.ts +5 -0
  1595. package/dist/schemas/route-policy.d.ts.map +1 -0
  1596. package/dist/schemas/route-policy.js +9 -0
  1597. package/dist/schemas/route-policy.js.map +1 -0
  1598. package/dist/schemas/routing-contract-schemas.d.ts +11 -0
  1599. package/dist/schemas/routing-contract-schemas.d.ts.map +1 -0
  1600. package/dist/schemas/routing-contract-schemas.js +72 -0
  1601. package/dist/schemas/routing-contract-schemas.js.map +1 -0
  1602. package/dist/schemas/rubric.d.ts +74 -0
  1603. package/dist/schemas/rubric.d.ts.map +1 -0
  1604. package/dist/schemas/rubric.js +125 -0
  1605. package/dist/schemas/rubric.js.map +1 -0
  1606. package/dist/schemas/run-envelope.d.ts +1333 -0
  1607. package/dist/schemas/run-envelope.d.ts.map +1 -0
  1608. package/dist/schemas/run-envelope.js +578 -0
  1609. package/dist/schemas/run-envelope.js.map +1 -0
  1610. package/dist/schemas/run-status.d.ts +216 -0
  1611. package/dist/schemas/run-status.d.ts.map +1 -0
  1612. package/dist/schemas/run-status.js +146 -0
  1613. package/dist/schemas/run-status.js.map +1 -0
  1614. package/dist/schemas/run.d.ts +2866 -0
  1615. package/dist/schemas/run.d.ts.map +1 -0
  1616. package/dist/schemas/run.js +647 -0
  1617. package/dist/schemas/run.js.map +1 -0
  1618. package/dist/schemas/runtime-evidence.d.ts +152 -0
  1619. package/dist/schemas/runtime-evidence.d.ts.map +1 -0
  1620. package/dist/schemas/runtime-evidence.js +127 -0
  1621. package/dist/schemas/runtime-evidence.js.map +1 -0
  1622. package/dist/schemas/runtime-source.d.ts +55 -0
  1623. package/dist/schemas/runtime-source.d.ts.map +1 -0
  1624. package/dist/schemas/runtime-source.js +40 -0
  1625. package/dist/schemas/runtime-source.js.map +1 -0
  1626. package/dist/schemas/scalars.d.ts +21 -0
  1627. package/dist/schemas/scalars.d.ts.map +1 -0
  1628. package/dist/schemas/scalars.js +51 -0
  1629. package/dist/schemas/scalars.js.map +1 -0
  1630. package/dist/schemas/selection-policy.d.ts +764 -0
  1631. package/dist/schemas/selection-policy.d.ts.map +1 -0
  1632. package/dist/schemas/selection-policy.js +209 -0
  1633. package/dist/schemas/selection-policy.js.map +1 -0
  1634. package/dist/schemas/skill-hook.d.ts +214 -0
  1635. package/dist/schemas/skill-hook.d.ts.map +1 -0
  1636. package/dist/schemas/skill-hook.js +279 -0
  1637. package/dist/schemas/skill-hook.js.map +1 -0
  1638. package/dist/schemas/skill.d.ts +59 -0
  1639. package/dist/schemas/skill.d.ts.map +1 -0
  1640. package/dist/schemas/skill.js +82 -0
  1641. package/dist/schemas/skill.js.map +1 -0
  1642. package/dist/schemas/snapshot.d.ts +108 -0
  1643. package/dist/schemas/snapshot.d.ts.map +1 -0
  1644. package/dist/schemas/snapshot.js +40 -0
  1645. package/dist/schemas/snapshot.js.map +1 -0
  1646. package/dist/schemas/stage.d.ts +85 -0
  1647. package/dist/schemas/stage.d.ts.map +1 -0
  1648. package/dist/schemas/stage.js +58 -0
  1649. package/dist/schemas/stage.js.map +1 -0
  1650. package/dist/schemas/step.d.ts +2455 -0
  1651. package/dist/schemas/step.d.ts.map +1 -0
  1652. package/dist/schemas/step.js +567 -0
  1653. package/dist/schemas/step.js.map +1 -0
  1654. package/dist/schemas/trace-entry.d.ts +2573 -0
  1655. package/dist/schemas/trace-entry.d.ts.map +1 -0
  1656. package/dist/schemas/trace-entry.js +973 -0
  1657. package/dist/schemas/trace-entry.js.map +1 -0
  1658. package/dist/schemas/verification.d.ts +47 -0
  1659. package/dist/schemas/verification.d.ts.map +1 -0
  1660. package/dist/schemas/verification.js +122 -0
  1661. package/dist/schemas/verification.js.map +1 -0
  1662. package/dist/schemas/work-contract-projection.d.ts +473 -0
  1663. package/dist/schemas/work-contract-projection.d.ts.map +1 -0
  1664. package/dist/schemas/work-contract-projection.js +232 -0
  1665. package/dist/schemas/work-contract-projection.js.map +1 -0
  1666. package/dist/selection/connector-planning.d.ts +23 -0
  1667. package/dist/selection/connector-planning.d.ts.map +1 -0
  1668. package/dist/selection/connector-planning.js +31 -0
  1669. package/dist/selection/connector-planning.js.map +1 -0
  1670. package/dist/selection/power-inference.d.ts +20 -0
  1671. package/dist/selection/power-inference.d.ts.map +1 -0
  1672. package/dist/selection/power-inference.js +74 -0
  1673. package/dist/selection/power-inference.js.map +1 -0
  1674. package/dist/selection/power-tiers.d.ts +24 -0
  1675. package/dist/selection/power-tiers.d.ts.map +1 -0
  1676. package/dist/selection/power-tiers.js +115 -0
  1677. package/dist/selection/power-tiers.js.map +1 -0
  1678. package/dist/selection/relay-selection.d.ts +11 -0
  1679. package/dist/selection/relay-selection.d.ts.map +1 -0
  1680. package/dist/selection/relay-selection.js +57 -0
  1681. package/dist/selection/relay-selection.js.map +1 -0
  1682. package/dist/selection/selection-resolver.d.ts +23 -0
  1683. package/dist/selection/selection-resolver.d.ts.map +1 -0
  1684. package/dist/selection/selection-resolver.js +153 -0
  1685. package/dist/selection/selection-resolver.js.map +1 -0
  1686. package/dist/shared/atomic-io.d.ts +11 -0
  1687. package/dist/shared/atomic-io.d.ts.map +1 -0
  1688. package/dist/shared/atomic-io.js +29 -0
  1689. package/dist/shared/atomic-io.js.map +1 -0
  1690. package/dist/shared/checkpoint-auto-resolution.d.ts +17 -0
  1691. package/dist/shared/checkpoint-auto-resolution.d.ts.map +1 -0
  1692. package/dist/shared/checkpoint-auto-resolution.js +72 -0
  1693. package/dist/shared/checkpoint-auto-resolution.js.map +1 -0
  1694. package/dist/shared/checkpoint-boundary.d.ts +15 -0
  1695. package/dist/shared/checkpoint-boundary.d.ts.map +1 -0
  1696. package/dist/shared/checkpoint-boundary.js +125 -0
  1697. package/dist/shared/checkpoint-boundary.js.map +1 -0
  1698. package/dist/shared/config-loader.d.ts +20 -0
  1699. package/dist/shared/config-loader.d.ts.map +1 -0
  1700. package/dist/shared/config-loader.js +140 -0
  1701. package/dist/shared/config-loader.js.map +1 -0
  1702. package/dist/shared/connector-relay.d.ts +39 -0
  1703. package/dist/shared/connector-relay.d.ts.map +1 -0
  1704. package/dist/shared/connector-relay.js +2 -0
  1705. package/dist/shared/connector-relay.js.map +1 -0
  1706. package/dist/shared/control-plane-gitignore.d.ts +10 -0
  1707. package/dist/shared/control-plane-gitignore.d.ts.map +1 -0
  1708. package/dist/shared/control-plane-gitignore.js +46 -0
  1709. package/dist/shared/control-plane-gitignore.js.map +1 -0
  1710. package/dist/shared/control-plane-paths.d.ts +36 -0
  1711. package/dist/shared/control-plane-paths.d.ts.map +1 -0
  1712. package/dist/shared/control-plane-paths.js +71 -0
  1713. package/dist/shared/control-plane-paths.js.map +1 -0
  1714. package/dist/shared/equipment-enforcement.d.ts +11 -0
  1715. package/dist/shared/equipment-enforcement.d.ts.map +1 -0
  1716. package/dist/shared/equipment-enforcement.js +37 -0
  1717. package/dist/shared/equipment-enforcement.js.map +1 -0
  1718. package/dist/shared/fanout-aggregate-report.d.ts +32 -0
  1719. package/dist/shared/fanout-aggregate-report.d.ts.map +1 -0
  1720. package/dist/shared/fanout-aggregate-report.js +73 -0
  1721. package/dist/shared/fanout-aggregate-report.js.map +1 -0
  1722. package/dist/shared/fanout-branch-template.d.ts +4 -0
  1723. package/dist/shared/fanout-branch-template.d.ts.map +1 -0
  1724. package/dist/shared/fanout-branch-template.js +55 -0
  1725. package/dist/shared/fanout-branch-template.js.map +1 -0
  1726. package/dist/shared/git-state-command.d.ts +19 -0
  1727. package/dist/shared/git-state-command.d.ts.map +1 -0
  1728. package/dist/shared/git-state-command.js +52 -0
  1729. package/dist/shared/git-state-command.js.map +1 -0
  1730. package/dist/shared/git-state.d.ts +3 -0
  1731. package/dist/shared/git-state.d.ts.map +1 -0
  1732. package/dist/shared/git-state.js +163 -0
  1733. package/dist/shared/git-state.js.map +1 -0
  1734. package/dist/shared/git-state.ts +175 -0
  1735. package/dist/shared/html/checkpoint-page.d.ts +41 -0
  1736. package/dist/shared/html/checkpoint-page.d.ts.map +1 -0
  1737. package/dist/shared/html/checkpoint-page.js +108 -0
  1738. package/dist/shared/html/checkpoint-page.js.map +1 -0
  1739. package/dist/shared/html/index.d.ts +6 -0
  1740. package/dist/shared/html/index.d.ts.map +1 -0
  1741. package/dist/shared/html/index.js +16 -0
  1742. package/dist/shared/html/index.js.map +1 -0
  1743. package/dist/shared/html/multi-variant.d.ts +56 -0
  1744. package/dist/shared/html/multi-variant.d.ts.map +1 -0
  1745. package/dist/shared/html/multi-variant.js +183 -0
  1746. package/dist/shared/html/multi-variant.js.map +1 -0
  1747. package/dist/shared/html/page.d.ts +5 -0
  1748. package/dist/shared/html/page.d.ts.map +1 -0
  1749. package/dist/shared/html/page.js +42 -0
  1750. package/dist/shared/html/page.js.map +1 -0
  1751. package/dist/shared/html/projector.d.ts +38 -0
  1752. package/dist/shared/html/projector.d.ts.map +1 -0
  1753. package/dist/shared/html/projector.js +7 -0
  1754. package/dist/shared/html/projector.js.map +1 -0
  1755. package/dist/shared/html/react-page.d.ts +10 -0
  1756. package/dist/shared/html/react-page.d.ts.map +1 -0
  1757. package/dist/shared/html/react-page.js +31 -0
  1758. package/dist/shared/html/react-page.js.map +1 -0
  1759. package/dist/shared/html/report-components.d.ts +57 -0
  1760. package/dist/shared/html/report-components.d.ts.map +1 -0
  1761. package/dist/shared/html/report-components.js +69 -0
  1762. package/dist/shared/html/report-components.js.map +1 -0
  1763. package/dist/shared/html/ui/alert.d.ts +10 -0
  1764. package/dist/shared/html/ui/alert.d.ts.map +1 -0
  1765. package/dist/shared/html/ui/alert.js +28 -0
  1766. package/dist/shared/html/ui/alert.js.map +1 -0
  1767. package/dist/shared/html/ui/badge.d.ts +11 -0
  1768. package/dist/shared/html/ui/badge.d.ts.map +1 -0
  1769. package/dist/shared/html/ui/badge.js +32 -0
  1770. package/dist/shared/html/ui/badge.js.map +1 -0
  1771. package/dist/shared/html/ui/button.d.ts +13 -0
  1772. package/dist/shared/html/ui/button.d.ts.map +1 -0
  1773. package/dist/shared/html/ui/button.js +36 -0
  1774. package/dist/shared/html/ui/button.js.map +1 -0
  1775. package/dist/shared/html/ui/card.d.ts +10 -0
  1776. package/dist/shared/html/ui/card.d.ts.map +1 -0
  1777. package/dist/shared/html/ui/card.js +25 -0
  1778. package/dist/shared/html/ui/card.js.map +1 -0
  1779. package/dist/shared/html/ui/checkbox.d.ts +4 -0
  1780. package/dist/shared/html/ui/checkbox.d.ts.map +1 -0
  1781. package/dist/shared/html/ui/checkbox.js +7 -0
  1782. package/dist/shared/html/ui/checkbox.js.map +1 -0
  1783. package/dist/shared/html/ui/collapsible.d.ts +6 -0
  1784. package/dist/shared/html/ui/collapsible.d.ts.map +1 -0
  1785. package/dist/shared/html/ui/collapsible.js +13 -0
  1786. package/dist/shared/html/ui/collapsible.js.map +1 -0
  1787. package/dist/shared/html/ui/css.generated.d.ts +2 -0
  1788. package/dist/shared/html/ui/css.generated.d.ts.map +1 -0
  1789. package/dist/shared/html/ui/css.generated.js +5 -0
  1790. package/dist/shared/html/ui/css.generated.js.map +1 -0
  1791. package/dist/shared/html/ui/field.d.ts +26 -0
  1792. package/dist/shared/html/ui/field.d.ts.map +1 -0
  1793. package/dist/shared/html/ui/field.js +79 -0
  1794. package/dist/shared/html/ui/field.js.map +1 -0
  1795. package/dist/shared/html/ui/index.d.ts +16 -0
  1796. package/dist/shared/html/ui/index.d.ts.map +1 -0
  1797. package/dist/shared/html/ui/index.js +20 -0
  1798. package/dist/shared/html/ui/index.js.map +1 -0
  1799. package/dist/shared/html/ui/input.d.ts +5 -0
  1800. package/dist/shared/html/ui/input.d.ts.map +1 -0
  1801. package/dist/shared/html/ui/input.js +11 -0
  1802. package/dist/shared/html/ui/input.js.map +1 -0
  1803. package/dist/shared/html/ui/kbd.d.ts +5 -0
  1804. package/dist/shared/html/ui/kbd.d.ts.map +1 -0
  1805. package/dist/shared/html/ui/kbd.js +10 -0
  1806. package/dist/shared/html/ui/kbd.js.map +1 -0
  1807. package/dist/shared/html/ui/label.d.ts +4 -0
  1808. package/dist/shared/html/ui/label.d.ts.map +1 -0
  1809. package/dist/shared/html/ui/label.js +9 -0
  1810. package/dist/shared/html/ui/label.js.map +1 -0
  1811. package/dist/shared/html/ui/radio-group.d.ts +5 -0
  1812. package/dist/shared/html/ui/radio-group.d.ts.map +1 -0
  1813. package/dist/shared/html/ui/radio-group.js +10 -0
  1814. package/dist/shared/html/ui/radio-group.js.map +1 -0
  1815. package/dist/shared/html/ui/separator.d.ts +4 -0
  1816. package/dist/shared/html/ui/separator.d.ts.map +1 -0
  1817. package/dist/shared/html/ui/separator.js +11 -0
  1818. package/dist/shared/html/ui/separator.js.map +1 -0
  1819. package/dist/shared/html/ui/table.d.ts +11 -0
  1820. package/dist/shared/html/ui/table.d.ts.map +1 -0
  1821. package/dist/shared/html/ui/table.js +28 -0
  1822. package/dist/shared/html/ui/table.js.map +1 -0
  1823. package/dist/shared/html/ui/textarea.d.ts +4 -0
  1824. package/dist/shared/html/ui/textarea.d.ts.map +1 -0
  1825. package/dist/shared/html/ui/textarea.js +7 -0
  1826. package/dist/shared/html/ui/textarea.js.map +1 -0
  1827. package/dist/shared/html/ui/utils.d.ts +3 -0
  1828. package/dist/shared/html/ui/utils.d.ts.map +1 -0
  1829. package/dist/shared/html/ui/utils.js +11 -0
  1830. package/dist/shared/html/ui/utils.js.map +1 -0
  1831. package/dist/shared/json-extraction.d.ts +2 -0
  1832. package/dist/shared/json-extraction.d.ts.map +1 -0
  1833. package/dist/shared/json-extraction.js +68 -0
  1834. package/dist/shared/json-extraction.js.map +1 -0
  1835. package/dist/shared/manifest-snapshot.d.ts +13 -0
  1836. package/dist/shared/manifest-snapshot.d.ts.map +1 -0
  1837. package/dist/shared/manifest-snapshot.js +48 -0
  1838. package/dist/shared/manifest-snapshot.js.map +1 -0
  1839. package/dist/shared/operator-summary/explore.d.ts +3 -0
  1840. package/dist/shared/operator-summary/explore.d.ts.map +1 -0
  1841. package/dist/shared/operator-summary/explore.js +208 -0
  1842. package/dist/shared/operator-summary/explore.js.map +1 -0
  1843. package/dist/shared/operator-summary/index.d.ts +6 -0
  1844. package/dist/shared/operator-summary/index.d.ts.map +1 -0
  1845. package/dist/shared/operator-summary/index.js +10 -0
  1846. package/dist/shared/operator-summary/index.js.map +1 -0
  1847. package/dist/shared/operator-summary/json.d.ts +10 -0
  1848. package/dist/shared/operator-summary/json.d.ts.map +1 -0
  1849. package/dist/shared/operator-summary/json.js +63 -0
  1850. package/dist/shared/operator-summary/json.js.map +1 -0
  1851. package/dist/shared/operator-summary/projections.d.ts +4 -0
  1852. package/dist/shared/operator-summary/projections.d.ts.map +1 -0
  1853. package/dist/shared/operator-summary/projections.js +452 -0
  1854. package/dist/shared/operator-summary/projections.js.map +1 -0
  1855. package/dist/shared/operator-summary/projector.d.ts +14 -0
  1856. package/dist/shared/operator-summary/projector.d.ts.map +1 -0
  1857. package/dist/shared/operator-summary/projector.js +12 -0
  1858. package/dist/shared/operator-summary/projector.js.map +1 -0
  1859. package/dist/shared/operator-summary/text.d.ts +11 -0
  1860. package/dist/shared/operator-summary/text.d.ts.map +1 -0
  1861. package/dist/shared/operator-summary/text.js +92 -0
  1862. package/dist/shared/operator-summary/text.js.map +1 -0
  1863. package/dist/shared/outcome.d.ts +13 -0
  1864. package/dist/shared/outcome.d.ts.map +1 -0
  1865. package/dist/shared/outcome.js +76 -0
  1866. package/dist/shared/outcome.js.map +1 -0
  1867. package/dist/shared/progress-output.d.ts +12 -0
  1868. package/dist/shared/progress-output.d.ts.map +1 -0
  1869. package/dist/shared/progress-output.js +50 -0
  1870. package/dist/shared/progress-output.js.map +1 -0
  1871. package/dist/shared/proof-assessment.d.ts +7 -0
  1872. package/dist/shared/proof-assessment.d.ts.map +1 -0
  1873. package/dist/shared/proof-assessment.js +67 -0
  1874. package/dist/shared/proof-assessment.js.map +1 -0
  1875. package/dist/shared/proof-plan.d.ts +26 -0
  1876. package/dist/shared/proof-plan.d.ts.map +1 -0
  1877. package/dist/shared/proof-plan.js +164 -0
  1878. package/dist/shared/proof-plan.js.map +1 -0
  1879. package/dist/shared/relay-runtime-types.d.ts +30 -0
  1880. package/dist/shared/relay-runtime-types.d.ts.map +1 -0
  1881. package/dist/shared/relay-runtime-types.js +2 -0
  1882. package/dist/shared/relay-runtime-types.js.map +1 -0
  1883. package/dist/shared/result-path.d.ts +3 -0
  1884. package/dist/shared/result-path.d.ts.map +1 -0
  1885. package/dist/shared/result-path.js +6 -0
  1886. package/dist/shared/result-path.js.map +1 -0
  1887. package/dist/shared/run-artifact-io.d.ts +3 -0
  1888. package/dist/shared/run-artifact-io.d.ts.map +1 -0
  1889. package/dist/shared/run-artifact-io.js +17 -0
  1890. package/dist/shared/run-artifact-io.js.map +1 -0
  1891. package/dist/shared/run-file-paths.d.ts +3 -0
  1892. package/dist/shared/run-file-paths.d.ts.map +1 -0
  1893. package/dist/shared/run-file-paths.js +72 -0
  1894. package/dist/shared/run-file-paths.js.map +1 -0
  1895. package/dist/shared/run-relative-path.d.ts +2 -0
  1896. package/dist/shared/run-relative-path.d.ts.map +1 -0
  1897. package/dist/shared/run-relative-path.js +43 -0
  1898. package/dist/shared/run-relative-path.js.map +1 -0
  1899. package/dist/shared/runtime-source.d.ts +24 -0
  1900. package/dist/shared/runtime-source.d.ts.map +1 -0
  1901. package/dist/shared/runtime-source.js +75 -0
  1902. package/dist/shared/runtime-source.js.map +1 -0
  1903. package/dist/shared/runtime-touched-files.d.ts +12 -0
  1904. package/dist/shared/runtime-touched-files.d.ts.map +1 -0
  1905. package/dist/shared/runtime-touched-files.js +106 -0
  1906. package/dist/shared/runtime-touched-files.js.map +1 -0
  1907. package/dist/shared/skill-loading.d.ts +22 -0
  1908. package/dist/shared/skill-loading.d.ts.map +1 -0
  1909. package/dist/shared/skill-loading.js +75 -0
  1910. package/dist/shared/skill-loading.js.map +1 -0
  1911. package/dist/shared/status-block-renderer.d.ts +16 -0
  1912. package/dist/shared/status-block-renderer.d.ts.map +1 -0
  1913. package/dist/shared/status-block-renderer.js +67 -0
  1914. package/dist/shared/status-block-renderer.js.map +1 -0
  1915. package/dist/shared/user-skill-registry.d.ts +18 -0
  1916. package/dist/shared/user-skill-registry.d.ts.map +1 -0
  1917. package/dist/shared/user-skill-registry.js +130 -0
  1918. package/dist/shared/user-skill-registry.js.map +1 -0
  1919. package/dist/shared/verification-resolver.d.ts +23 -0
  1920. package/dist/shared/verification-resolver.d.ts.map +1 -0
  1921. package/dist/shared/verification-resolver.js +162 -0
  1922. package/dist/shared/verification-resolver.js.map +1 -0
  1923. package/dist/shared/work-contract-projection.d.ts +15 -0
  1924. package/dist/shared/work-contract-projection.d.ts.map +1 -0
  1925. package/dist/shared/work-contract-projection.js +498 -0
  1926. package/dist/shared/work-contract-projection.js.map +1 -0
  1927. package/dist/shared/working-tree-changes.d.ts +18 -0
  1928. package/dist/shared/working-tree-changes.d.ts.map +1 -0
  1929. package/dist/shared/working-tree-changes.js +94 -0
  1930. package/dist/shared/working-tree-changes.js.map +1 -0
  1931. package/dist/shared/write-capable-worker-disclosure.d.ts +3 -0
  1932. package/dist/shared/write-capable-worker-disclosure.d.ts.map +1 -0
  1933. package/dist/shared/write-capable-worker-disclosure.js +6 -0
  1934. package/dist/shared/write-capable-worker-disclosure.js.map +1 -0
  1935. package/dist/shared/zod-to-response-schema.d.ts +4 -0
  1936. package/dist/shared/zod-to-response-schema.d.ts.map +1 -0
  1937. package/dist/shared/zod-to-response-schema.js +88 -0
  1938. package/dist/shared/zod-to-response-schema.js.map +1 -0
  1939. package/dist/skill-hooks/decision-packet.d.ts +10 -0
  1940. package/dist/skill-hooks/decision-packet.d.ts.map +1 -0
  1941. package/dist/skill-hooks/decision-packet.js +42 -0
  1942. package/dist/skill-hooks/decision-packet.js.map +1 -0
  1943. package/dist/skill-hooks/dispatch.d.ts +27 -0
  1944. package/dist/skill-hooks/dispatch.d.ts.map +1 -0
  1945. package/dist/skill-hooks/dispatch.js +167 -0
  1946. package/dist/skill-hooks/dispatch.js.map +1 -0
  1947. package/dist/skill-hooks/injection.d.ts +7 -0
  1948. package/dist/skill-hooks/injection.d.ts.map +1 -0
  1949. package/dist/skill-hooks/injection.js +50 -0
  1950. package/dist/skill-hooks/injection.js.map +1 -0
  1951. package/dist/skill-hooks/policy.d.ts +32 -0
  1952. package/dist/skill-hooks/policy.d.ts.map +1 -0
  1953. package/dist/skill-hooks/policy.js +104 -0
  1954. package/dist/skill-hooks/policy.js.map +1 -0
  1955. package/dist/skill-hooks/surface-sources.d.ts +8 -0
  1956. package/dist/skill-hooks/surface-sources.d.ts.map +1 -0
  1957. package/dist/skill-hooks/surface-sources.js +55 -0
  1958. package/dist/skill-hooks/surface-sources.js.map +1 -0
  1959. package/generated/flows/build/circuit.json +439 -0
  1960. package/generated/flows/build/circuit.work-contract.v0.json +1283 -0
  1961. package/generated/flows/catalog.json +29 -0
  1962. package/generated/flows/converge-proof/circuit.json +145 -0
  1963. package/generated/flows/converge-proof/circuit.work-contract.v0.json +275 -0
  1964. package/generated/flows/cross-tool-build/circuit.json +321 -0
  1965. package/generated/flows/cross-tool-build/circuit.work-contract.v0.json +1157 -0
  1966. package/generated/flows/explainer/circuit.json +610 -0
  1967. package/generated/flows/explainer/circuit.work-contract.v0.json +1552 -0
  1968. package/generated/flows/explore/circuit.json +217 -0
  1969. package/generated/flows/explore/circuit.work-contract.v0.json +717 -0
  1970. package/generated/flows/explore/tournament.json +412 -0
  1971. package/generated/flows/explore/tournament.work-contract.v0.json +983 -0
  1972. package/generated/flows/fix/circuit.json +563 -0
  1973. package/generated/flows/fix/circuit.work-contract.v0.json +2175 -0
  1974. package/generated/flows/fix/low.json +511 -0
  1975. package/generated/flows/fix/low.work-contract.v0.json +1921 -0
  1976. package/generated/flows/fix-until-green/circuit.json +183 -0
  1977. package/generated/flows/fix-until-green/circuit.work-contract.v0.json +438 -0
  1978. package/generated/flows/goal/circuit.json +638 -0
  1979. package/generated/flows/goal/circuit.work-contract.v0.json +2133 -0
  1980. package/generated/flows/prototype/circuit.json +278 -0
  1981. package/generated/flows/prototype/circuit.work-contract.v0.json +690 -0
  1982. package/generated/flows/prototype/tournament.json +505 -0
  1983. package/generated/flows/prototype/tournament.work-contract.v0.json +1122 -0
  1984. package/generated/flows/pursue/circuit.json +298 -0
  1985. package/generated/flows/pursue/circuit.work-contract.v0.json +944 -0
  1986. package/generated/flows/review/circuit.json +142 -0
  1987. package/generated/flows/review/circuit.work-contract.v0.json +392 -0
  1988. package/generated/flows/runtime-proof/circuit.json +91 -0
  1989. package/generated/flows/runtime-proof/circuit.work-contract.v0.json +183 -0
  1990. package/generated/flows/sweep/circuit.json +239 -0
  1991. package/generated/flows/sweep/circuit.work-contract.v0.json +590 -0
  1992. package/package.json +102 -0
  1993. package/plugins/version.json +3 -0
@@ -0,0 +1,373 @@
1
+ // Flow-shape composition (experimental, default-OFF): the eval predicates.
2
+ //
3
+ // These compute the locked rubric axes from the pre-registration
4
+ // (docs/ideas/flow-composition-preregistration.md):
5
+ // - VALID — run the composed spec through the SAME fail-closed path the
6
+ // engine runs (assemble → compile → catalog gate) and bind a
7
+ // primary result. Validity is the engine's verdict, never the
8
+ // harness's: this module only reports what the real gates do.
9
+ // - NOVEL — the (block, executionKind) sequence is not any built-in's.
10
+ // - SENSIBLE — contract closure, intent closure, no orphan, goal-reaching.
11
+ //
12
+ // Pure analysis over the assembled schematic; no model spend. Used by the Phase
13
+ // 0 make-or-break test and the Phase 1 breadth harness alike.
14
+ import { assembleFlowSchematic } from '../assemble-flow-schematic.js';
15
+ import { compileSchematicToCompiledFlow } from '../compile-schematic-to-flow.js';
16
+ import { findCloseBuilder, resolveCloseReadPaths } from '../registries/close-writers/registry.js';
17
+ import { findComposeBuilder, resolveComposeReadPaths, } from '../registries/compose-writers/registry.js';
18
+ import { findVerificationWriter, resolveVerificationReadPaths, } from '../registries/verification-writers/registry.js';
19
+ import { collectSchematicCatalogIssues } from '../schematic-catalog-check.js';
20
+ import { blockIntent } from './intent.js';
21
+ function asString(value) {
22
+ return value;
23
+ }
24
+ // A step's output is a READABLE contract — something a downstream step can read
25
+ // as typed input — only when the step writes a report_path or a result_path.
26
+ // This is the engine's own truth: the compiler's read-path resolution binds a
27
+ // reader to a producer's report_path/result_path. A checkpoint that writes only
28
+ // its request/response paths produces a routing decision, not a readable
29
+ // contract; a checkpoint that ALSO writes a report_path (the shipping build
30
+ // flow's frame-step does) produces a readable contract like any other step. So
31
+ // the predicate keys on the WRITE, never on execution.kind.
32
+ export function outputIsReadableContract(writes) {
33
+ if (writes === undefined)
34
+ return false;
35
+ return writes.report_path !== undefined || writes.result_path !== undefined;
36
+ }
37
+ export function blockSequence(schematic) {
38
+ return schematic.items.map((item) => ({
39
+ block: asString(item.block),
40
+ executionKind: item.execution.kind,
41
+ }));
42
+ }
43
+ function sequenceKey(sequence) {
44
+ return sequence.map((step) => `${step.block}:${step.executionKind}`).join(' > ');
45
+ }
46
+ function extractPrimaryResult(compiled) {
47
+ const flow = compiled.kind === 'single' ? compiled.flow : [...compiled.flows.values()][0];
48
+ const primary = flow?.runtime_surface?.primary_result;
49
+ if (primary === undefined)
50
+ return undefined;
51
+ return { schema: asString(primary.schema_name) };
52
+ }
53
+ // Run the real gates. VALID iff: assembly + compile both succeed, the catalog
54
+ // gate returns zero issues, and the compiled flow binds a primary result.
55
+ export function evaluateValidity(spec) {
56
+ let schematic;
57
+ try {
58
+ schematic = assembleFlowSchematic(spec);
59
+ }
60
+ catch (error) {
61
+ return {
62
+ valid: false,
63
+ catalogIssueCount: -1,
64
+ catalogIssues: [],
65
+ compiles: false,
66
+ boundPrimaryResult: false,
67
+ error: `assemble: ${errorMessage(error)}`,
68
+ };
69
+ }
70
+ const catalogIssues = collectSchematicCatalogIssues(schematic).map((issue) => issue.message);
71
+ let primary;
72
+ let compiles = true;
73
+ let compileError;
74
+ try {
75
+ primary = extractPrimaryResult(compileSchematicToCompiledFlow(schematic));
76
+ }
77
+ catch (error) {
78
+ compiles = false;
79
+ compileError = `compile: ${errorMessage(error)}`;
80
+ }
81
+ const valid = compiles && catalogIssues.length === 0 && primary !== undefined;
82
+ return {
83
+ valid,
84
+ catalogIssueCount: catalogIssues.length,
85
+ catalogIssues,
86
+ compiles,
87
+ boundPrimaryResult: primary !== undefined,
88
+ ...(primary === undefined ? {} : { primaryResultSchema: primary.schema }),
89
+ ...(compileError === undefined ? {} : { error: compileError }),
90
+ schematic,
91
+ };
92
+ }
93
+ // Present a compiled flow as the minimal runtime-index shape the read-path
94
+ // resolvers consume. A compiled step already carries `reads: string[]` and
95
+ // `writes.report: { path, schema }` — exactly what reportPathForSchemaInRuntimeFlow
96
+ // and the compose/close resolvers read — so this is an identity on the fields that
97
+ // matter. Keeping it here (a flows/ module) avoids importing the runtime/ adapter
98
+ // chain (fromCompiledFlow + buildRuntimePackageIndex), which would invert the
99
+ // engine boundary (runtime depends on flows, never the reverse). The FIDELITY test
100
+ // in composition-runnability.test.ts pins this against the engine's real
101
+ // CompiledFlow -> RuntimePackageIndex path so the shortcut cannot silently drift.
102
+ function runtimeIndexShape(flow) {
103
+ return {
104
+ id: flow.id,
105
+ version: flow.version,
106
+ stages: [],
107
+ steps: flow.steps,
108
+ };
109
+ }
110
+ function reportSchemaOf(step) {
111
+ const report = step.writes.report;
112
+ if (typeof report !== 'object' || report === null)
113
+ return undefined;
114
+ return report;
115
+ }
116
+ // RUNNABLE — would the composed flow survive its compose/close writers, or abort
117
+ // the instant one runs? evaluateValidity proves a spec is STRUCTURALLY sound
118
+ // (assemble + compile + catalog + a bound primary result), but a compose or close
119
+ // builder also declares REQUIRED upstream reads by family schema, and the runtime
120
+ // aborts the step the moment a required read has no producer (the writer-coupling
121
+ // wall). This runs the SAME resolvers the runtime uses — resolveComposeReadPaths /
122
+ // resolveCloseReadPaths — against the compiled flow, offline, and reports every
123
+ // step that would throw. Closing the false-negative the floor was blind to.
124
+ //
125
+ // SCOPE: compose and close writers declare their reads as static `reads`
126
+ // descriptors, so they are inspectable without invocation. EVERY source-coupled
127
+ // VERIFICATION writer now does too — each writer whose loadCommands sources its
128
+ // command list from an upstream report (fix.verification reads fix.brief@v1;
129
+ // build.verification reads build.plan@v1; prototype.verification reads
130
+ // prototype.plan@v1 + artifact; pursuit.verification reads pursuit.contract@v1;
131
+ // prototype.variant-verification reads the variant aggregate + provider evidence)
132
+ // declares that source as a static `reads` descriptor, so all of them are resolved
133
+ // here. That closes the blind spot a composed verification step hit when its source
134
+ // went unwired (the live composed-arm abort), for every family the composer can
135
+ // select, not just fix/build. A verification writer with NO source coupling
136
+ // (explainer.verification — its commands are intrinsic) declares no `reads` and is
137
+ // correctly skipped: there is nothing to resolve. The
138
+ // verification-writer-source-coverage test locks that pairing so a future writer
139
+ // cannot reintroduce the silent-skip gap.
140
+ export function evaluateRunnability(spec) {
141
+ let schematic;
142
+ try {
143
+ schematic = assembleFlowSchematic(spec);
144
+ }
145
+ catch (error) {
146
+ return {
147
+ runnable: false,
148
+ aborts: [],
149
+ checkedSteps: 0,
150
+ error: `assemble: ${errorMessage(error)}`,
151
+ };
152
+ }
153
+ let compiled;
154
+ try {
155
+ compiled = compileSchematicToCompiledFlow(schematic);
156
+ }
157
+ catch (error) {
158
+ return {
159
+ runnable: false,
160
+ aborts: [],
161
+ checkedSteps: 0,
162
+ error: `compile: ${errorMessage(error)}`,
163
+ };
164
+ }
165
+ const flows = compiled.kind === 'single' ? [compiled.flow] : [...compiled.flows.values()];
166
+ const aborts = [];
167
+ let checkedSteps = 0;
168
+ for (const compiledFlow of flows) {
169
+ const flow = runtimeIndexShape(compiledFlow);
170
+ for (const step of flow.steps) {
171
+ const report = reportSchemaOf(step);
172
+ if (report === undefined)
173
+ continue;
174
+ const composeBuilder = findComposeBuilder(report.schema);
175
+ const closeBuilder = findCloseBuilder(report.schema);
176
+ const verificationBuilder = findVerificationWriter(report.schema);
177
+ // Relay writers are not in any of these registries. A verification writer
178
+ // that declares no `reads` (its imperative source coupling not modeled) is
179
+ // likewise skipped — there is nothing to resolve. Skip — not abort.
180
+ const verificationDeclaresReads = verificationBuilder !== undefined && verificationBuilder.reads !== undefined;
181
+ if (composeBuilder === undefined &&
182
+ closeBuilder === undefined &&
183
+ !verificationDeclaresReads) {
184
+ continue;
185
+ }
186
+ checkedSteps += 1;
187
+ try {
188
+ if (composeBuilder !== undefined) {
189
+ resolveComposeReadPaths(composeBuilder, flow, step);
190
+ }
191
+ else if (closeBuilder !== undefined) {
192
+ resolveCloseReadPaths(closeBuilder, flow, step);
193
+ }
194
+ else if (verificationBuilder !== undefined) {
195
+ resolveVerificationReadPaths(verificationBuilder, flow, step);
196
+ }
197
+ }
198
+ catch (error) {
199
+ aborts.push({ stepId: step.id, schema: report.schema, reason: errorMessage(error) });
200
+ }
201
+ }
202
+ }
203
+ return { runnable: aborts.length === 0, aborts, checkedSteps };
204
+ }
205
+ function multiset(sequence) {
206
+ const counts = new Map();
207
+ for (const step of sequence) {
208
+ const key = `${step.block}:${step.executionKind}`;
209
+ counts.set(key, (counts.get(key) ?? 0) + 1);
210
+ }
211
+ return counts;
212
+ }
213
+ function jaccard(a, b) {
214
+ const keys = new Set([...a.keys(), ...b.keys()]);
215
+ let intersection = 0;
216
+ let union = 0;
217
+ for (const key of keys) {
218
+ const av = a.get(key) ?? 0;
219
+ const bv = b.get(key) ?? 0;
220
+ intersection += Math.min(av, bv);
221
+ union += Math.max(av, bv);
222
+ }
223
+ return union === 0 ? 0 : intersection / union;
224
+ }
225
+ // NOVEL iff the composed (block, executionKind) sequence equals no built-in's.
226
+ export function evaluateNovelty(schematic, definitions) {
227
+ const sequence = blockSequence(schematic);
228
+ const key = sequenceKey(sequence);
229
+ const composedMultiset = multiset(sequence);
230
+ let matches;
231
+ let closest;
232
+ for (const definition of definitions) {
233
+ if (definition.id === asString(schematic.id))
234
+ continue;
235
+ const builtinSequence = blockSequence(definition.schematic);
236
+ if (sequenceKey(builtinSequence) === key)
237
+ matches = definition.id;
238
+ const score = jaccard(composedMultiset, multiset(builtinSequence));
239
+ if (closest === undefined || score > closest.jaccard) {
240
+ closest = { flowId: definition.id, jaccard: score };
241
+ }
242
+ }
243
+ return {
244
+ novel: matches === undefined,
245
+ sequence: key,
246
+ ...(matches === undefined ? {} : { matches }),
247
+ ...(closest === undefined ? {} : { closest }),
248
+ };
249
+ }
250
+ // Read the route graph of an assembled schematic. A route target is a graph
251
+ // edge unless it is a terminal ('@complete', '@stop', '@handoff', ...). An edge
252
+ // to a step at index <= the producer's is a back-edge (loop); a step with two or
253
+ // more distinct forward edges is a branch point. The signature folds the block
254
+ // sequence together with the loops and branches so topology-distinct flows are
255
+ // distinguishable.
256
+ export function evaluateTopology(schematic) {
257
+ const items = schematic.items;
258
+ const indexById = new Map();
259
+ items.forEach((item, i) => indexById.set(asString(item.id), i));
260
+ const blockByIndex = items.map((item) => asString(item.block));
261
+ const backEdges = [];
262
+ const branchPoints = [];
263
+ items.forEach((item, i) => {
264
+ const forwardTargets = new Set();
265
+ for (const [route, target] of Object.entries(item.routes)) {
266
+ const t = asString(target);
267
+ if (t.startsWith('@'))
268
+ continue; // terminal sink, not a graph edge
269
+ const j = indexById.get(t);
270
+ if (j === undefined)
271
+ continue; // unresolved id — the compiler gate owns this
272
+ if (j <= i)
273
+ backEdges.push({ from: asString(item.id), to: t, route });
274
+ else
275
+ forwardTargets.add(j);
276
+ }
277
+ if (forwardTargets.size >= 2) {
278
+ branchPoints.push({ step: asString(item.id), forwardTargets: forwardTargets.size });
279
+ }
280
+ });
281
+ const blockOf = (id) => blockByIndex[indexById.get(id) ?? -1] ?? id;
282
+ const seqSig = items.map((item) => `${asString(item.block)}:${item.execution.kind}`).join('>');
283
+ const loopSig = backEdges
284
+ .map((edge) => `${blockOf(edge.from)}-${edge.route}->${blockOf(edge.to)}`)
285
+ .sort()
286
+ .join(',');
287
+ const branchSig = branchPoints
288
+ .map((branch) => `${blockOf(branch.step)}*${branch.forwardTargets}`)
289
+ .sort()
290
+ .join(',');
291
+ const signature = `seq:[${seqSig}]|loops:[${loopSig}]|branches:[${branchSig}]`;
292
+ return {
293
+ stepCount: items.length,
294
+ backEdges,
295
+ branchPoints,
296
+ hasLoop: backEdges.length > 0,
297
+ hasBranch: branchPoints.length > 0,
298
+ signature,
299
+ };
300
+ }
301
+ // SENSIBLE iff all four sub-checks hold over the assembled schematic.
302
+ export function evaluateSensibility(schematic, options) {
303
+ const failures = [];
304
+ const initialContracts = new Set(schematic.initial_contracts.map(asString));
305
+ // Contract closure: every input actual is produced by an earlier step or is
306
+ // an initial contract.
307
+ const producedSoFar = new Set();
308
+ let contractClosure = true;
309
+ for (const item of schematic.items) {
310
+ for (const value of Object.values(item.input)) {
311
+ const contract = asString(value);
312
+ if (!producedSoFar.has(contract) && !initialContracts.has(contract)) {
313
+ contractClosure = false;
314
+ failures.push(`contract closure: step '${asString(item.id)}' reads '${contract}' with no upstream producer or initial contract`);
315
+ }
316
+ }
317
+ producedSoFar.add(asString(item.output));
318
+ }
319
+ // Intent closure: every block's semantic preconditions are established by an
320
+ // upstream block's postconditions (or hold initially).
321
+ const established = new Set();
322
+ let intentClosure = true;
323
+ for (const item of schematic.items) {
324
+ const intent = blockIntent(item.block);
325
+ if (intent === undefined) {
326
+ intentClosure = false;
327
+ failures.push(`intent closure: block '${asString(item.block)}' has no declared intent`);
328
+ continue;
329
+ }
330
+ for (const pre of intent.precondition) {
331
+ if (!established.has(pre)) {
332
+ intentClosure = false;
333
+ failures.push(`intent closure: step '${asString(item.id)}' (${asString(item.block)}) needs '${pre}' which no upstream block establishes`);
334
+ }
335
+ }
336
+ for (const post of intent.postcondition)
337
+ established.add(post);
338
+ }
339
+ // No orphan: every step's output is consumed downstream, except a terminal
340
+ // close step's result.
341
+ const consumed = new Set();
342
+ for (const item of schematic.items) {
343
+ for (const value of Object.values(item.input))
344
+ consumed.add(asString(value));
345
+ }
346
+ let noOrphan = true;
347
+ schematic.items.forEach((item, index) => {
348
+ const output = asString(item.output);
349
+ const isLast = index === schematic.items.length - 1;
350
+ const reachesComplete = Object.values(item.routes).some((target) => asString(target) === '@complete');
351
+ // Only a readable output can be consumed as a typed contract downstream, so
352
+ // only a readable output can be an orphan. A step that writes no readable
353
+ // contract — e.g. a checkpoint that writes only its request/response paths,
354
+ // whose decision the engine consumes structurally by picking a route —
355
+ // produces nothing to orphan. A checkpoint that ALSO writes a report_path
356
+ // (build's frame-step does) IS readable and must be consumed or terminal.
357
+ // Key on the readable write, not the execution kind.
358
+ const readable = outputIsReadableContract(item.writes);
359
+ if (readable && !consumed.has(output) && !(isLast || reachesComplete)) {
360
+ noOrphan = false;
361
+ failures.push(`no orphan: step '${asString(item.id)}' output '${output}' is never consumed and is not a terminal`);
362
+ }
363
+ });
364
+ const goalReaching = options.boundPrimaryResult;
365
+ if (!goalReaching)
366
+ failures.push('goal-reaching: no bound primary_result');
367
+ const sensible = contractClosure && intentClosure && noOrphan && goalReaching;
368
+ return { sensible, contractClosure, intentClosure, noOrphan, goalReaching, failures };
369
+ }
370
+ function errorMessage(error) {
371
+ return error instanceof Error ? error.message : String(error);
372
+ }
373
+ //# sourceMappingURL=evaluate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate.js","sourceRoot":"","sources":["../../../src/flows/composition/evaluate.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,EAAE;AACF,iEAAiE;AACjE,oDAAoD;AACpD,6EAA6E;AAC7E,4EAA4E;AAC5E,6EAA6E;AAC7E,6EAA6E;AAC7E,4EAA4E;AAC5E,6EAA6E;AAC7E,EAAE;AACF,gFAAgF;AAChF,8DAA8D;AAK9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EACL,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EACL,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAoB,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5D,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,KAA0B,CAAC;AACpC,CAAC;AAED,gFAAgF;AAChF,6EAA6E;AAC7E,8EAA8E;AAC9E,gFAAgF;AAChF,yEAAyE;AACzE,4EAA4E;AAC5E,+EAA+E;AAC/E,4DAA4D;AAC5D,MAAM,UAAU,wBAAwB,CACtC,MAMa;IAEb,IAAI,MAAM,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACvC,OAAO,MAAM,CAAC,WAAW,KAAK,SAAS,IAAI,MAAM,CAAC,WAAW,KAAK,SAAS,CAAC;AAC9E,CAAC;AAQD,MAAM,UAAU,aAAa,CAAC,SAAwB;IACpD,OAAO,SAAS,CAAC,KAA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,IAAI,aAAa,IAAI,QAAQ,IAAI,YAAY,CAAC;IAC9E,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,aAAa,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;AACxF,CAAC;AAED,SAAS,YAAY,CAAC,KAAc;IAClC,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChE,CAAC"}
@@ -0,0 +1,8 @@
1
+ export { composeFlow, keyFor, RESEARCH_THEN_BUILD, GOAL_THEN_FIX, GOAL_CLARIFY_THEN_FIX, FANOUT_PARALLEL_BUILD, BUILD_LINEAR_FULL, type CompositionRole, type CompositionRoleSet, type CompositionWall, type ComposeOutcome, type ComposedSelection, type ConvergeUntilSpec, type FanoutBranchRole, type RelayRole, } from './composer.js';
2
+ export { deriveActualMenu, entryIsRegisteredFor, type MenuEntry, type ExecutionKind, } from './actual-menu.js';
3
+ export { evaluateValidity, evaluateRunnability, evaluateNovelty, evaluateSensibility, evaluateTopology, blockSequence, outputIsReadableContract, type ValidityVerdict, type RunnabilityVerdict, type RunnabilityAbort, type NoveltyVerdict, type SensibilityVerdict, type TopologyVerdict, type TopologyBackEdge, type TopologyBranch, type SequenceStep, } from './evaluate.js';
4
+ export { BLOCK_INTENT, blockIntent, type BlockIntent, type IntentState } from './intent.js';
5
+ export { proposeFlow, type ProposeOptions, type ProposeOutcome, type ProposeRound, type ProposeStage, } from './propose.js';
6
+ export { PROPOSER_PROMPT, REPAIR_GUIDANCE } from './propose-prompts.js';
7
+ export { EQUIPMENT_PROFILES, EQUIPMENT_PROFILE_IDS, EquipmentProfileId, isEquipmentProfileId, profileToScope, renderEquipmentProfileMenu, } from './equipment-profiles.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/flows/composition/index.ts"],"names":[],"mappings":"AASA,OAAO,EACL,WAAW,EACX,MAAM,EACN,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,SAAS,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,wBAAwB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAC5F,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,16 @@
1
+ // Flow-shape composition (experimental, default-OFF).
2
+ //
3
+ // Public surface of the composer. Importing this module is inert: nothing here
4
+ // runs unless a caller invokes composeFlow. The stable task-aware assembler and
5
+ // the eight built-ins do not import it, so their compiled output is unaffected
6
+ // (proven by the equivalence + drift tests). Integration behind the experimental
7
+ // flag wires it into the assembler; until then it is reachable only from the
8
+ // eval harness and tests.
9
+ export { composeFlow, keyFor, RESEARCH_THEN_BUILD, GOAL_THEN_FIX, GOAL_CLARIFY_THEN_FIX, FANOUT_PARALLEL_BUILD, BUILD_LINEAR_FULL, } from './composer.js';
10
+ export { deriveActualMenu, entryIsRegisteredFor, } from './actual-menu.js';
11
+ export { evaluateValidity, evaluateRunnability, evaluateNovelty, evaluateSensibility, evaluateTopology, blockSequence, outputIsReadableContract, } from './evaluate.js';
12
+ export { BLOCK_INTENT, blockIntent } from './intent.js';
13
+ export { proposeFlow, } from './propose.js';
14
+ export { PROPOSER_PROMPT, REPAIR_GUIDANCE } from './propose-prompts.js';
15
+ export { EQUIPMENT_PROFILES, EQUIPMENT_PROFILE_IDS, EquipmentProfileId, isEquipmentProfileId, profileToScope, renderEquipmentProfileMenu, } from './equipment-profiles.js';
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/flows/composition/index.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,iFAAiF;AACjF,6EAA6E;AAC7E,0BAA0B;AAE1B,OAAO,EACL,WAAW,EACX,MAAM,EACN,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,GASlB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,gBAAgB,EAChB,oBAAoB,GAGrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,wBAAwB,GAUzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,WAAW,EAAsC,MAAM,aAAa,CAAC;AAC5F,OAAO,EACL,WAAW,GAKZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { FlowBlockId } from '../../schemas/flow-blocks.js';
2
+ export type IntentState = 'task-framed' | 'context-gathered' | 'diagnosed' | 'plan-formed' | 'change-made' | 'change-verified' | 'change-reviewed' | 'decision-made' | 'result-emitted';
3
+ export interface BlockIntent {
4
+ readonly role: string;
5
+ readonly precondition: readonly IntentState[];
6
+ readonly postcondition: readonly IntentState[];
7
+ }
8
+ export declare const BLOCK_INTENT: Partial<Record<FlowBlockId, BlockIntent>>;
9
+ export declare function blockIntent(blockId: FlowBlockId): BlockIntent | undefined;
10
+ //# sourceMappingURL=intent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../src/flows/composition/intent.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAKhE,MAAM,MAAM,WAAW,GACnB,aAAa,GACb,kBAAkB,GAClB,WAAW,GACX,aAAa,GACb,aAAa,GACb,iBAAiB,GACjB,iBAAiB,GACjB,eAAe,GACf,gBAAgB,CAAC;AAErB,MAAM,WAAW,WAAW;IAE1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAGtB,QAAQ,CAAC,YAAY,EAAE,SAAS,WAAW,EAAE,CAAC;IAE9C,QAAQ,CAAC,aAAa,EAAE,SAAS,WAAW,EAAE,CAAC;CAChD;AAMD,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,CAoGlE,CAAC;AAEF,wBAAgB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,GAAG,SAAS,CAEzE"}
@@ -0,0 +1,125 @@
1
+ // Flow-shape composition (experimental, default-OFF): per-block INTENT.
2
+ //
3
+ // The block catalog (FLOW_BLOCK_DEFINITIONS) describes each block's CONTRACT
4
+ // surface — the typed inputs it reads and the output it produces. That is
5
+ // enough for the fail-closed gates to prove a flow is wire-valid, but it is not
6
+ // enough to prove the flow MAKES SENSE: contracts can close while the intents
7
+ // behind them do not belong in that order (e.g. a review before any change
8
+ // exists). This module adds the missing layer — a small, additive,
9
+ // catalog-independent map of each block's semantic PRE/POST-conditions, stated
10
+ // as state tokens rather than contracts. It is read only by the experimental
11
+ // composer + its sensibility checker; the eight built-ins and the block catalog
12
+ // are untouched, so nothing here can change a shipped flow.
13
+ //
14
+ // The tokens are a deliberately tiny controlled vocabulary describing the
15
+ // research-then-build family the Phase 0 milestone targets. Phase 1 broadens
16
+ // the vocabulary as it broadens block coverage.
17
+ // Phase 0 enrichment: the blocks the research-then-build milestone composes,
18
+ // plus the close-adjacent blocks needed to terminate a flow. Each entry is
19
+ // additive metadata; none of it is consulted by the stable assembler or the
20
+ // gates.
21
+ export const BLOCK_INTENT = {
22
+ frame: {
23
+ role: 'Capture the task boundary as a brief',
24
+ precondition: [],
25
+ postcondition: ['task-framed'],
26
+ },
27
+ 'review-intake': {
28
+ role: 'Capture the review scope as a brief',
29
+ precondition: [],
30
+ postcondition: ['task-framed'],
31
+ },
32
+ clarify: {
33
+ // The frame analog for an ambiguous ask: clarify reads the raw operator
34
+ // intake (catalog input task.intake@v1 — no prior brief) and turns it into a
35
+ // precise task, so its precondition is empty and it establishes the same
36
+ // 'task-framed' state `frame` and `goal` do. A flow that opens with clarify
37
+ // (a vague bug report) instead of frame therefore still closes its intent.
38
+ role: 'Clarify an ambiguous request into a precise task',
39
+ precondition: [],
40
+ postcondition: ['task-framed'],
41
+ },
42
+ 'gather-context': {
43
+ role: 'Collect the code and context the task touches',
44
+ precondition: ['task-framed'],
45
+ postcondition: ['context-gathered'],
46
+ },
47
+ diagnose: {
48
+ role: 'Find the root cause / analyze the problem',
49
+ precondition: ['task-framed'],
50
+ postcondition: ['diagnosed'],
51
+ },
52
+ plan: {
53
+ role: 'Form a strategy before acting',
54
+ precondition: ['task-framed'],
55
+ postcondition: ['plan-formed'],
56
+ },
57
+ act: {
58
+ role: 'Make the implementation change',
59
+ precondition: ['task-framed'],
60
+ postcondition: ['change-made'],
61
+ },
62
+ 'run-verification': {
63
+ // Precondition is 'task-framed', NOT 'change-made': the catalog uses
64
+ // run-verification both AFTER a change (fix/build verify steps) and BEFORE
65
+ // one (build-baseline captures a pre-change snapshot; a gather-then-verify
66
+ // flow checks the existing suite). 'change-made' would be a false universal.
67
+ // The post-change ordering, where it applies, is carried by the CONTRACT
68
+ // layer instead: a verification that means to check a change reads
69
+ // change.evidence, which only an upstream act produces.
70
+ role: 'Run verification — of a change just made, or of the existing state',
71
+ precondition: ['task-framed'],
72
+ postcondition: ['change-verified'],
73
+ },
74
+ review: {
75
+ // Precondition is 'task-framed', NOT 'change-made': the built-in `review`
76
+ // flow audits pre-existing code (frame -> review -> close) with no in-flow
77
+ // change at all. Requiring 'change-made' would reject that real pattern.
78
+ // When a review means to audit a change, its CONTRACT (reads change.evidence
79
+ // + verification.result) ties it to the upstream act, not its intent.
80
+ role: 'Independently audit a change, or the existing code',
81
+ precondition: ['task-framed'],
82
+ postcondition: ['change-reviewed'],
83
+ },
84
+ 'human-decision': {
85
+ role: 'Pause for an operator go/no-go',
86
+ precondition: ['task-framed'],
87
+ postcondition: ['decision-made'],
88
+ },
89
+ goal: {
90
+ // The sub-run analog of `frame`: instead of a brief, it captures the task as
91
+ // a goal CONTRACT a child flow can be delegated against. It establishes the
92
+ // same 'task-framed' state `frame` does, so a downstream close/verify/review
93
+ // precondition is satisfied whether the flow opened with a brief or a goal.
94
+ role: 'Capture the task as a goal contract for delegation',
95
+ precondition: [],
96
+ postcondition: ['task-framed'],
97
+ },
98
+ 'goal-child-run': {
99
+ // Delegates the whole task to a child flow and is admitted back only through
100
+ // the child's result verdict. It needs the goal framed (the contract the
101
+ // delegation rides on) but establishes no UNIVERSAL downstream state: the
102
+ // child may fix (change made + verified), build, explore (no change), or
103
+ // review, so claiming any one post-state would be a false universal — the same
104
+ // reasoning that keeps run-verification/review preconditions minimal. What the
105
+ // child produced is carried by the CONTRACT layer (its result_path), which the
106
+ // terminal close consumes, not by an intent token.
107
+ role: 'Delegate the task to a child flow and admit its verdict',
108
+ precondition: ['task-framed'],
109
+ postcondition: [],
110
+ },
111
+ 'close-with-evidence': {
112
+ role: 'Compose the terminal result with evidence',
113
+ precondition: ['task-framed'],
114
+ postcondition: ['result-emitted'],
115
+ },
116
+ handoff: {
117
+ role: 'Persist a handoff for a later session',
118
+ precondition: ['task-framed'],
119
+ postcondition: ['result-emitted'],
120
+ },
121
+ };
122
+ export function blockIntent(blockId) {
123
+ return BLOCK_INTENT[blockId];
124
+ }
125
+ //# sourceMappingURL=intent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intent.js","sourceRoot":"","sources":["../../../src/flows/composition/intent.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,EAAE;AACF,6EAA6E;AAC7E,0EAA0E;AAC1E,gFAAgF;AAChF,8EAA8E;AAC9E,2EAA2E;AAC3E,mEAAmE;AACnE,+EAA+E;AAC/E,6EAA6E;AAC7E,gFAAgF;AAChF,4DAA4D;AAC5D,EAAE;AACF,0EAA0E;AAC1E,6EAA6E;AAC7E,gDAAgD;AA4BhD,6EAA6E;AAC7E,2EAA2E;AAC3E,4EAA4E;AAC5E,SAAS;AACT,MAAM,CAAC,MAAM,YAAY,GAA8C;IACrE,KAAK,EAAE;QACL,IAAI,EAAE,sCAAsC;QAC5C,YAAY,EAAE,EAAE;QAChB,aAAa,EAAE,CAAC,aAAa,CAAC;KAC/B;IACD,eAAe,EAAE;QACf,IAAI,EAAE,qCAAqC;QAC3C,YAAY,EAAE,EAAE;QAChB,aAAa,EAAE,CAAC,aAAa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,CAAC,eAAe,CAAC;KACjC;IACD,IAAI,EAAE;QACJ,6EAA6E;QAC7E,4EAA4E;QAC5E,6EAA6E;QAC7E,4EAA4E;QAC5E,IAAI,EAAE,oDAAoD;QAC1D,YAAY,EAAE,EAAE;QAChB,aAAa,EAAE,CAAC,aAAa,CAAC;KAC/B;IACD,gBAAgB,EAAE;QAChB,6EAA6E;QAC7E,yEAAyE;QACzE,0EAA0E;QAC1E,yEAAyE;QACzE,+EAA+E;QAC/E,+EAA+E;QAC/E,+EAA+E;QAC/E,mDAAmD;QACnD,IAAI,EAAE,yDAAyD;QAC/D,YAAY,EAAE,CAAC,aAAa,CAAC;QAC7B,aAAa,EAAE,EAAE;KAClB;IACD,qBAAqB,EAAE;QACrB,IAAI,EAAE,2CAA2C;QACjD,YAAY,EAAE,CAAC,aAAa,CAAC;QAC7B,aAAa,EAAE,CAAC,gBAAgB,CAAC;KAClC;IACD,OAAO,EAAE;QACP,IAAI,EAAE,uCAAuC;QAC7C,YAAY,EAAE,CAAC,aAAa,CAAC;QAC7B,aAAa,EAAE,CAAC,gBAAgB,CAAC;KAClC;CACF,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,OAAoB;IAC9C,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const PROPOSER_PROMPT = "# Flow proposer \u2014 turn a task into a flow shape\n\nYou are designing a **developer workflow** for one specific task. A workflow is an\nordered list of **steps**. Each step runs one **block** (a unit of work) in one\n**execution kind**. The engine runs your steps in order, threading each step's\noutput to later steps, and closes with a result.\n\nYour job: read the TASK, then emit a JSON **role set** \u2014 the ordered list of steps\nthat best fits this task. Pick the shape the task actually needs. Do not pad.\n\n## The block menu (this is the whole vocabulary \u2014 you may only use these)\n\nEach entry is `block / executionKind` and what it is for. Stages run in this order:\n**frame \u2192 analyze \u2192 plan \u2192 act \u2192 verify \u2192 review \u2192 close**. A step's `stage` must\nbe one of these and steps must be in stage order (a stage may repeat or be skipped,\nbut never go backwards).\n\n**frame (open the flow \u2014 pick exactly one opener):**\n- `frame / compose` \u2014 state the task and success criteria (the standard opener).\n- `frame / checkpoint` \u2014 same, but pause for an operator OK before proceeding (use when the work is expensive or risky to start).\n- `review-intake / compose` \u2014 opener for an **audit-only** task (no code change).\n- `goal / compose` \u2014 opener for a **supervisor** task that will delegate to a whole child flow.\n\n**analyze (understand before acting):**\n- `gather-context / relay` (relayRole: `researcher`) \u2014 a worker collects the relevant code/context.\n- `diagnose / relay` (relayRole: `researcher`) \u2014 a worker roots-causes the problem.\n- `diagnose / compose` \u2014 model-only analysis (use when no worker delegation is needed, e.g. a research/decision task).\n\n**plan (decide the approach \u2014 optional):**\n- `plan / compose` \u2014 write the approach/strategy before acting.\n\n**act (do the work \u2014 pick what fits):**\n- `act / relay` (relayRole: `implementer`) \u2014 a worker makes the change (the standard \"do it\" step).\n- `act / fanout` \u2014 run **2+ child flows in parallel** as competing candidates, then keep the survivors. Requires `fanoutBranches: [{branchId, flowId, goalText}, ...]` with \u22652 branches. Use for \"compare N approaches / generate variants.\"\n- `goal-child-run / sub-run` \u2014 run **one entire child flow** as this step. Requires `flowId` (one of `fix|build|review|explore|pursue`) and `goalText`. Use when a sub-task is itself a whole flow (supervisor/delegation).\n\n**verify (prove it works):**\n- `run-verification / verification` \u2014 run the checks/tests. Add `loopBackTo: \"act\"` to **retry the change** when verification fails (a bounded recovery loop). Use the loop when failure is likely and worth re-attempting.\n\n**review (independent second look \u2014 optional):**\n- `review / relay` (relayRole: `reviewer`) \u2014 a different worker reviews the change before close.\n\n**close (terminate \u2014 pick exactly one, mark it `terminal: true`):**\n- `close-with-evidence / compose` \u2014 close with a result + evidence (the standard close for most flows).\n- `goal-close / compose` \u2014 close for a `goal`-opened supervisor flow.\n\n## The four shapes you can build\n\n1. **Linear** \u2014 frame \u2192 analyze \u2192 act \u2192 verify \u2192 close. The default. Most tasks are this.\n2. **Loop** \u2014 a linear flow whose verify step has `loopBackTo: \"act\"` so a failed verification retries the change. Use when verification is likely to fail and retrying helps.\n3. **Fanout** \u2014 an `act / fanout` step running 2+ competing child flows in parallel. Use for \"compare/try N approaches.\"\n4. **Sub-run** \u2014 a `goal-child-run / sub-run` step running a whole child flow. Use when a sub-task is itself a full flow (delegation/supervision).\n\n## House patterns (lean toward these)\n\n- Default to the linear spine; only add steps the task needs. A 5\u20136 step linear flow is normal; a 2-step flow is almost always too thin.\n- frame/plan/close \u2192 `compose`; analyze/act \u2192 `relay` (researcher then implementer); verify \u2192 `verification`; review \u2192 `relay` reviewer.\n- Always end at a `close` step marked `terminal: true`.\n- Reach for loop / fanout / sub-run ONLY when the task shape calls for it. Picking the right shape matters more than using a fancy one.\n\n## Equipment (optional \u2014 scope each worker step's tools)\n\nBy default every step's worker gets the full tool surface. You may give a worker\nstep (analyze / act / verify) a tighter scope with an `equipment` field, so the\nstep is steered toward the tools its job needs. The scope is offered to the worker\nas guidance, not a hard limit. Pick ONE profile per step from this closed list, or\nomit `equipment` to keep the full surface:\n\n- `read-only` \u2014 read, search, and list files; no edits or commands. For steps that investigate or gather context.\n- `editor` \u2014 read, search, and edit or write files; no shell commands. For steps that change code or docs.\n- `tester` \u2014 read, search, and run commands like tests and builds; no file edits. For steps that verify.\n- `full` \u2014 the full tool surface (the default): read, edit, and run commands. For steps that need everything.\n\nFit the profile to the step: `read-only` for `gather-context`/`diagnose`, `editor`\nfor `act`, `tester` for `run-verification`. Leave it off when a step truly needs\neverything.\n\n## Output format\n\nEmit ONLY this JSON (no prose, no markdown fence), filling in the roles:\n\n```\n{\n \"id\": \"kebab-case-id\",\n \"title\": \"Short title\",\n \"purpose\": \"One sentence: what this flow does for the task.\",\n \"roles\": [\n { \"stage\": \"frame\", \"block\": \"frame\", \"executionKind\": \"compose\" },\n { \"stage\": \"analyze\", \"block\": \"gather-context\", \"executionKind\": \"relay\", \"relayRole\": \"researcher\", \"equipment\": \"read-only\" },\n { \"stage\": \"act\", \"block\": \"act\", \"executionKind\": \"relay\", \"relayRole\": \"implementer\", \"equipment\": \"editor\" },\n { \"stage\": \"verify\", \"block\": \"run-verification\", \"executionKind\": \"verification\", \"equipment\": \"tester\" },\n { \"stage\": \"close\", \"block\": \"close-with-evidence\", \"executionKind\": \"compose\", \"terminal\": true }\n ]\n}\n```\n\nPer-role fields: `stage`, `block`, `executionKind` always; add `relayRole` for relay\nsteps; `loopBackTo` to make a verify step retry; `flowId`+`goalText` for a sub-run;\n`fanoutBranches` for a fanout; `terminal: true` on the close step; `equipment`\n(read-only | editor | tester | full) to scope a worker step's tools.\n\n## Common mistakes to avoid\n\n- Use ONLY the exact block ids and execution kinds from the menu above. The close\n block is `close-with-evidence`, not `close`. `run-verification` runs as\n `verification`, not `relay`. Every `stage` must be one of: frame, analyze, plan,\n act, verify, review, close.\n\nOutput ONLY the JSON object for the TASK below. No explanation.\n";
2
+ export declare const REPAIR_GUIDANCE = "# Repairing a rejected flow\n\nA verifier checked the flow you proposed and REJECTED it. The cause is specific:\nit might be a step whose required input no earlier step produces, OR a step that\nuses a name outside the allowed vocabulary (a wrong stage, block id, or execution\nkind). Read the verifier's exact error, match it to a rule below, and change only\nwhat the error names. Revise your role set so it passes.\n\nYou will be given: the original task, the flow you proposed, and the verifier's\nexact error(s). Read the error and apply the matching rule below.\n\n## Error \u2192 fix\n\n- **\"expected exactly one report writer for schema 'X.brief@v1'\" or \"'X.intake@v1'\", found 0**\n A step you chose is tied to a specific family (\"X\") and needs that family's\n opening report, which your flow does not produce. Usually the culprit is an\n optional step. Fixes, in order of preference:\n 1. Remove the step that triggers it. `plan` and model-only `diagnose / compose`\n analyze steps are OPTIONAL \u2014 drop them for a leaner flow.\n 2. If you truly need that step, open the flow with the matching opener.\n\n- **\"no input set satisfiable ... needs one of [flow.brief@v1, diagnosis.result@v1] OR [flow.brief@v1, plan.strategy@v1]\"** (on an `act` step)\n Your `act` step has nothing to act on. Put a `diagnose` (relay, researcher)\n step OR a `plan` (compose) step BEFORE the `act` step, so the implementer has a\n diagnosis or a plan to work from.\n\n- **\"no input set satisfiable ... needs one of [goal.contract@v1]\"** (on a `goal-child-run` step)\n A sub-run step requires the supervisor opener. Use `goal / compose` as your\n `frame` step whenever you use one or more `goal-child-run` sub-run steps.\n\n- **\"run-verification ... requires reading 'prototype.variant-aggregate@v1'\"** (after a fanout)\n After an `act / fanout` step, a separate `run-verification` step is tied to the\n fanout's internals and will not bind. For a fanout flow, do NOT add a\n `run-verification` step \u2014 go from the `act / fanout` step to a `review` step\n (relay, reviewer) and then `close`. The fanout's branches verify themselves.\n\n- **\"Invalid option: expected one of ...\" (naming the stage names)**\n A step's `stage` is not one of the seven allowed stages. Set every step's `stage`\n to one of, and keep them in this order: frame, analyze, plan, act, verify,\n review, close.\n\n- **\"... unknown block id\"**\n A step's `block` is not in the menu. Use only these exact block ids: frame,\n review-intake, goal, gather-context, diagnose, plan, act, run-verification,\n review, close-with-evidence, goal-close, goal-child-run. Do not invent a block \u2014\n the close block is `close-with-evidence`, not `close`.\n\n- **\"equipment profile 'X' is not in the allowed set [...]\"**\n A step's `equipment` names a profile that does not exist. Use exactly one of:\n `read-only`, `editor`, `tester`, `full` \u2014 or remove the `equipment` field to\n leave that step at the full tool surface.\n\n- **\"no registered actual for <block>/<kind> ...\"**\n The block is real but paired with the wrong execution kind. The fixed kinds are:\n frame \u2192 compose or checkpoint; plan \u2192 compose; gather-context, act, and review \u2192\n relay; diagnose \u2192 relay or compose; run-verification \u2192 verification (NOT relay);\n close-with-evidence and goal-close \u2192 compose; goal-child-run \u2192 sub-run; a parallel\n act \u2192 fanout. Set this step's `executionKind` to the one its block supports.\n\n## General principles\n\n- A runnable flow keeps its steps in ONE coherent family wherever possible. The\n cleanest runnable shapes are: frame \u2192 (gather-context) \u2192 diagnose \u2192 act \u2192\n run-verification \u2192 close, optionally with `loopBackTo: \"act\"` on verify.\n- Leaner is safer. If a step is optional and triggers an error, remove it.\n- Always end at a `close` step marked `terminal: true`.\n\nOutput ONLY the revised JSON role set (same format as before). No prose.\n";
3
+ //# sourceMappingURL=propose-prompts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propose-prompts.d.ts","sourceRoot":"","sources":["../../../src/flows/composition/propose-prompts.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,eAAe,42NA6G3B,CAAC;AAEF,eAAO,MAAM,eAAe,+8HAoE3B,CAAC"}