smol-symphony 0.3.0 → 0.3.2

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 (773) hide show
  1. package/dist/bin/symphony.js.map +1 -0
  2. package/dist/core/actions/context.js.map +1 -0
  3. package/dist/core/actions/parse.js.map +1 -0
  4. package/dist/core/actions/plan.js.map +1 -0
  5. package/dist/core/actions/predicates.js.map +1 -0
  6. package/dist/core/actions/run-fold.js.map +1 -0
  7. package/dist/core/actions/template.js.map +1 -0
  8. package/dist/core/cli/args.js.map +1 -0
  9. package/dist/core/coerce.js.map +1 -0
  10. package/dist/core/credential/account-id.js.map +1 -0
  11. package/dist/core/credential/adapter-config.js.map +1 -0
  12. package/dist/core/credential/availability.js.map +1 -0
  13. package/dist/core/credential/extract.js.map +1 -0
  14. package/dist/core/credential/fake-creds.js.map +1 -0
  15. package/dist/core/credential/identity.js.map +1 -0
  16. package/dist/core/credential/shape.js.map +1 -0
  17. package/dist/core/credential/strings.js.map +1 -0
  18. package/dist/core/doctor/checks.js.map +1 -0
  19. package/dist/core/git/result.js.map +1 -0
  20. package/dist/core/http/decisions.js.map +1 -0
  21. package/dist/core/http/render.js.map +1 -0
  22. package/dist/core/http/routes.js.map +1 -0
  23. package/dist/core/http/views.js.map +1 -0
  24. package/dist/core/image/managed-image.js.map +1 -0
  25. package/dist/core/issue/file.js.map +1 -0
  26. package/dist/core/issue/parse.js.map +1 -0
  27. package/dist/core/mcp/dispatch.js.map +1 -0
  28. package/dist/core/mcp/post-move.js.map +1 -0
  29. package/dist/core/mcp/protocol.js.map +1 -0
  30. package/dist/core/mcp/url.js.map +1 -0
  31. package/dist/core/path.js.map +1 -0
  32. package/dist/core/reconcile/image-decide.js.map +1 -0
  33. package/dist/core/reconcile/ledger.js.map +1 -0
  34. package/dist/core/reconcile/pr-classify.js.map +1 -0
  35. package/dist/core/reconcile/pr-decide.js.map +1 -0
  36. package/dist/core/reconcile/pr-loop.js.map +1 -0
  37. package/dist/core/reconcile/pr-notes.js.map +1 -0
  38. package/dist/core/reconcile/vm-decide.js.map +1 -0
  39. package/dist/core/reconcile/vm-reap.js.map +1 -0
  40. package/dist/core/reconcile/workspace-decide.js.map +1 -0
  41. package/dist/core/runlog/summary.js.map +1 -0
  42. package/dist/core/runner/dispatch-config.js.map +1 -0
  43. package/dist/core/runner/injection.js.map +1 -0
  44. package/dist/core/runner/mise.js.map +1 -0
  45. package/dist/core/runner/prompt.js.map +1 -0
  46. package/dist/core/runner/turn.js.map +1 -0
  47. package/dist/core/runner/vm-plan.js.map +1 -0
  48. package/dist/core/schedule/admission.js.map +1 -0
  49. package/dist/core/schedule/circuit-breaker.js.map +1 -0
  50. package/dist/core/schedule/eligibility.js.map +1 -0
  51. package/dist/core/schedule/reconcile-issue.js.map +1 -0
  52. package/dist/core/schedule/retry.js.map +1 -0
  53. package/dist/core/schedule/sleep-cycle.js.map +1 -0
  54. package/dist/core/schedule/slots.js.map +1 -0
  55. package/dist/core/schedule/tick.js.map +1 -0
  56. package/dist/core/schedule/token-fold.js.map +1 -0
  57. package/dist/core/state-resolve.js.map +1 -0
  58. package/dist/core/vm-guards.js.map +1 -0
  59. package/dist/core/workflow/derive.js.map +1 -0
  60. package/dist/core/workflow/parse.js.map +1 -0
  61. package/dist/core/workflow/prompt-probe.js.map +1 -0
  62. package/dist/core/workflow/validate.js.map +1 -0
  63. package/dist/core/workspace-key.js.map +1 -0
  64. package/dist/shell/actions-runner.js.map +1 -0
  65. package/dist/shell/adapter/adapter-registry.js.map +1 -0
  66. package/dist/shell/adapter/clock-random.js.map +1 -0
  67. package/dist/shell/adapter/gondolin-dispatch-helpers.js.map +1 -0
  68. package/dist/shell/adapter/gondolin-dispatch.js.map +1 -0
  69. package/dist/shell/adapter/gondolin-image-converter.js.map +1 -0
  70. package/dist/shell/adapter/gondolin-image-fetch.js.map +1 -0
  71. package/dist/shell/adapter/launcher-asset.js.map +1 -0
  72. package/dist/shell/adapter/mise-config-asset.js.map +1 -0
  73. package/dist/shell/adapter/workflow-loader.js.map +1 -0
  74. package/dist/shell/cli/doctor.js.map +1 -0
  75. package/dist/shell/effect-interpreter-families.js.map +1 -0
  76. package/dist/shell/effect-interpreter.js.map +1 -0
  77. package/dist/shell/interp/acp-frame.js.map +1 -0
  78. package/dist/shell/interp/acp-ws-conn.js.map +1 -0
  79. package/dist/shell/interp/acp-ws-frames.js.map +1 -0
  80. package/dist/shell/interp/acp-ws.js.map +1 -0
  81. package/dist/shell/interp/acp.js.map +1 -0
  82. package/dist/shell/interp/credential-defaults.js.map +1 -0
  83. package/dist/shell/interp/credential-hooks.js.map +1 -0
  84. package/dist/shell/interp/credential-registry.js.map +1 -0
  85. package/dist/shell/interp/credential.js.map +1 -0
  86. package/dist/shell/interp/gh.js.map +1 -0
  87. package/dist/shell/interp/git.js.map +1 -0
  88. package/dist/shell/interp/log.js.map +1 -0
  89. package/dist/shell/interp/process.js.map +1 -0
  90. package/dist/shell/interp/runlog.js.map +1 -0
  91. package/dist/shell/interp/timer.js.map +1 -0
  92. package/dist/shell/interp/tracker-disk.js.map +1 -0
  93. package/dist/shell/interp/tracker-parse.js.map +1 -0
  94. package/dist/shell/interp/tracker-scan.js.map +1 -0
  95. package/dist/shell/interp/tracker-write.js.map +1 -0
  96. package/dist/shell/interp/tracker.js.map +1 -0
  97. package/dist/shell/interp/tty.js.map +1 -0
  98. package/dist/shell/interp/vm.js.map +1 -0
  99. package/dist/shell/interp/workspace.js.map +1 -0
  100. package/dist/shell/main-acp.js.map +1 -0
  101. package/dist/shell/main-adapters.js.map +1 -0
  102. package/dist/shell/main-credential.js.map +1 -0
  103. package/dist/shell/main-doctor.js.map +1 -0
  104. package/dist/shell/main-entry.js.map +1 -0
  105. package/dist/shell/main-http-csrf.js.map +1 -0
  106. package/dist/shell/main-http-handler.js.map +1 -0
  107. package/dist/shell/main-http-mcp.js.map +1 -0
  108. package/dist/shell/main-http-views.js.map +1 -0
  109. package/dist/shell/main-http.js.map +1 -0
  110. package/dist/shell/main-loops.js.map +1 -0
  111. package/dist/shell/main-mcp.js.map +1 -0
  112. package/dist/shell/main-orchestrator.js.map +1 -0
  113. package/dist/shell/main-preflight.js.map +1 -0
  114. package/dist/shell/main-reconcilers-helpers.js.map +1 -0
  115. package/dist/shell/main-reconcilers-pr.js.map +1 -0
  116. package/dist/shell/main-reconcilers.js.map +1 -0
  117. package/dist/shell/main-runner.js.map +1 -0
  118. package/dist/shell/main-scaffold.js.map +1 -0
  119. package/dist/shell/main-shutdown.js.map +1 -0
  120. package/dist/shell/main-startup.js.map +1 -0
  121. package/dist/shell/main-substrates.js.map +1 -0
  122. package/dist/shell/main.js.map +1 -0
  123. package/dist/shell/orchestrator-feedback.js.map +1 -0
  124. package/dist/shell/orchestrator-image.js.map +1 -0
  125. package/dist/shell/orchestrator-loop.js.map +1 -0
  126. package/dist/shell/orchestrator-reconcile.js.map +1 -0
  127. package/dist/shell/reconciler-loop.js.map +1 -0
  128. package/dist/shell/runner-loop-turn.js.map +1 -0
  129. package/dist/shell/runner-loop.js.map +1 -0
  130. package/dist/shell/server/http.js.map +1 -0
  131. package/dist/shell/server/mcp-runtime-effects.js.map +1 -0
  132. package/dist/shell/server/mcp-runtime.js.map +1 -0
  133. package/dist/shell/workspace-key.js.map +1 -0
  134. package/dist/types/acp.js.map +1 -0
  135. package/dist/types/actions/plan.js.map +1 -0
  136. package/dist/types/actions/predicates.js.map +1 -0
  137. package/dist/types/actions/run-fold.js.map +1 -0
  138. package/dist/types/actions.js.map +1 -0
  139. package/dist/types/adapter/clock-random.js.map +1 -0
  140. package/dist/types/adapter/gondolin-image-converter.js.map +1 -0
  141. package/dist/types/adapter/gondolin-image-fetch.js.map +1 -0
  142. package/dist/types/adapter/workflow-loader.js.map +1 -0
  143. package/dist/types/cli/args.js.map +1 -0
  144. package/dist/types/config.js.map +1 -0
  145. package/dist/types/credential-interp.js.map +1 -0
  146. package/dist/types/credentials.js.map +1 -0
  147. package/dist/types/doctor.js.map +1 -0
  148. package/dist/types/domain.js.map +1 -0
  149. package/dist/types/effect.js.map +1 -0
  150. package/dist/types/errors.js.map +1 -0
  151. package/dist/types/http/decisions.js.map +1 -0
  152. package/dist/types/http/render.js.map +1 -0
  153. package/dist/types/http/views.js.map +1 -0
  154. package/dist/types/http.js.map +1 -0
  155. package/dist/types/image/managed-image.js.map +1 -0
  156. package/dist/types/interp/effect-interpreter.js.map +1 -0
  157. package/dist/types/interp/tracker.js.map +1 -0
  158. package/dist/types/issue/file.js.map +1 -0
  159. package/dist/types/issue/parse.js.map +1 -0
  160. package/dist/types/main-acp.js.map +1 -0
  161. package/dist/types/main-adapters.js.map +1 -0
  162. package/dist/types/main-credential.js.map +1 -0
  163. package/dist/types/main-doctor.js.map +1 -0
  164. package/dist/types/main-http-handler.js.map +1 -0
  165. package/dist/types/main-http.js.map +1 -0
  166. package/dist/types/main-loops.js.map +1 -0
  167. package/dist/types/main-mcp.js.map +1 -0
  168. package/dist/types/main-orchestrator.js.map +1 -0
  169. package/dist/types/main-reconcilers.js.map +1 -0
  170. package/dist/types/main-runner.js.map +1 -0
  171. package/dist/types/main-startup.js.map +1 -0
  172. package/dist/types/main-substrates.js.map +1 -0
  173. package/dist/types/mcp/dispatch.js.map +1 -0
  174. package/dist/types/mcp/post-move.js.map +1 -0
  175. package/dist/types/mcp.js.map +1 -0
  176. package/dist/types/ports.js.map +1 -0
  177. package/dist/types/reconcile/image-decide.js.map +1 -0
  178. package/dist/types/reconcile/ledger.js.map +1 -0
  179. package/dist/types/reconcile/pr-loop.js.map +1 -0
  180. package/dist/types/reconcile/vm-reap.js.map +1 -0
  181. package/dist/types/reconcile/workspace-decide.js.map +1 -0
  182. package/dist/types/reconcile.js.map +1 -0
  183. package/dist/types/runlog.js.map +1 -0
  184. package/dist/types/runner/actions-runner.js.map +1 -0
  185. package/dist/types/runner/gondolin-dispatch.js.map +1 -0
  186. package/dist/types/runner/injection.js.map +1 -0
  187. package/dist/types/runner/runner-loop.js.map +1 -0
  188. package/dist/types/runner/turn.js.map +1 -0
  189. package/dist/types/runner/vm-plan.js.map +1 -0
  190. package/dist/types/runtime.js.map +1 -0
  191. package/dist/types/schedule/admission.js.map +1 -0
  192. package/dist/types/schedule/circuit-breaker.js.map +1 -0
  193. package/dist/types/schedule/eligibility.js.map +1 -0
  194. package/dist/types/schedule/orchestrator-loop.js.map +1 -0
  195. package/dist/types/schedule/sleep-cycle.js.map +1 -0
  196. package/dist/types/schedule/slots.js.map +1 -0
  197. package/dist/types/schedule/tick.js.map +1 -0
  198. package/dist/types/server/mcp-runtime.js.map +1 -0
  199. package/dist/types/workflow/parse.js.map +1 -0
  200. package/package.json +3 -3
  201. package/scripts/postinstall.mjs +24 -1
  202. package/dist/src/bin/symphony.js.map +0 -1
  203. package/dist/src/core/actions/context.js.map +0 -1
  204. package/dist/src/core/actions/parse.js.map +0 -1
  205. package/dist/src/core/actions/plan.js.map +0 -1
  206. package/dist/src/core/actions/predicates.js.map +0 -1
  207. package/dist/src/core/actions/run-fold.js.map +0 -1
  208. package/dist/src/core/actions/template.js.map +0 -1
  209. package/dist/src/core/cli/args.js.map +0 -1
  210. package/dist/src/core/coerce.js.map +0 -1
  211. package/dist/src/core/credential/account-id.js.map +0 -1
  212. package/dist/src/core/credential/adapter-config.js.map +0 -1
  213. package/dist/src/core/credential/availability.js.map +0 -1
  214. package/dist/src/core/credential/extract.js.map +0 -1
  215. package/dist/src/core/credential/fake-creds.js.map +0 -1
  216. package/dist/src/core/credential/identity.js.map +0 -1
  217. package/dist/src/core/credential/shape.js.map +0 -1
  218. package/dist/src/core/credential/strings.js.map +0 -1
  219. package/dist/src/core/doctor/checks.js.map +0 -1
  220. package/dist/src/core/git/result.js.map +0 -1
  221. package/dist/src/core/http/decisions.js.map +0 -1
  222. package/dist/src/core/http/render.js.map +0 -1
  223. package/dist/src/core/http/routes.js.map +0 -1
  224. package/dist/src/core/http/views.js.map +0 -1
  225. package/dist/src/core/image/managed-image.js.map +0 -1
  226. package/dist/src/core/issue/file.js.map +0 -1
  227. package/dist/src/core/issue/parse.js.map +0 -1
  228. package/dist/src/core/mcp/dispatch.js.map +0 -1
  229. package/dist/src/core/mcp/post-move.js.map +0 -1
  230. package/dist/src/core/mcp/protocol.js.map +0 -1
  231. package/dist/src/core/mcp/url.js.map +0 -1
  232. package/dist/src/core/path.js.map +0 -1
  233. package/dist/src/core/reconcile/image-decide.js.map +0 -1
  234. package/dist/src/core/reconcile/ledger.js.map +0 -1
  235. package/dist/src/core/reconcile/pr-classify.js.map +0 -1
  236. package/dist/src/core/reconcile/pr-decide.js.map +0 -1
  237. package/dist/src/core/reconcile/pr-loop.js.map +0 -1
  238. package/dist/src/core/reconcile/pr-notes.js.map +0 -1
  239. package/dist/src/core/reconcile/vm-decide.js.map +0 -1
  240. package/dist/src/core/reconcile/vm-reap.js.map +0 -1
  241. package/dist/src/core/reconcile/workspace-decide.js.map +0 -1
  242. package/dist/src/core/runlog/summary.js.map +0 -1
  243. package/dist/src/core/runner/dispatch-config.js.map +0 -1
  244. package/dist/src/core/runner/injection.js.map +0 -1
  245. package/dist/src/core/runner/mise.js.map +0 -1
  246. package/dist/src/core/runner/prompt.js.map +0 -1
  247. package/dist/src/core/runner/turn.js.map +0 -1
  248. package/dist/src/core/runner/vm-plan.js.map +0 -1
  249. package/dist/src/core/schedule/admission.js.map +0 -1
  250. package/dist/src/core/schedule/circuit-breaker.js.map +0 -1
  251. package/dist/src/core/schedule/eligibility.js.map +0 -1
  252. package/dist/src/core/schedule/reconcile-issue.js.map +0 -1
  253. package/dist/src/core/schedule/retry.js.map +0 -1
  254. package/dist/src/core/schedule/sleep-cycle.js.map +0 -1
  255. package/dist/src/core/schedule/slots.js.map +0 -1
  256. package/dist/src/core/schedule/tick.js.map +0 -1
  257. package/dist/src/core/schedule/token-fold.js.map +0 -1
  258. package/dist/src/core/state-resolve.js.map +0 -1
  259. package/dist/src/core/vm-guards.js.map +0 -1
  260. package/dist/src/core/workflow/derive.js.map +0 -1
  261. package/dist/src/core/workflow/parse.js.map +0 -1
  262. package/dist/src/core/workflow/prompt-probe.js.map +0 -1
  263. package/dist/src/core/workflow/validate.js.map +0 -1
  264. package/dist/src/core/workspace-key.js.map +0 -1
  265. package/dist/src/shell/actions-runner.js.map +0 -1
  266. package/dist/src/shell/adapter/adapter-registry.js.map +0 -1
  267. package/dist/src/shell/adapter/clock-random.js.map +0 -1
  268. package/dist/src/shell/adapter/gondolin-dispatch-helpers.js.map +0 -1
  269. package/dist/src/shell/adapter/gondolin-dispatch.js.map +0 -1
  270. package/dist/src/shell/adapter/gondolin-image-converter.js.map +0 -1
  271. package/dist/src/shell/adapter/gondolin-image-fetch.js.map +0 -1
  272. package/dist/src/shell/adapter/launcher-asset.js.map +0 -1
  273. package/dist/src/shell/adapter/mise-config-asset.js.map +0 -1
  274. package/dist/src/shell/adapter/workflow-loader.js.map +0 -1
  275. package/dist/src/shell/cli/doctor.js.map +0 -1
  276. package/dist/src/shell/effect-interpreter-families.js.map +0 -1
  277. package/dist/src/shell/effect-interpreter.js.map +0 -1
  278. package/dist/src/shell/interp/acp-frame.js.map +0 -1
  279. package/dist/src/shell/interp/acp-ws-conn.js.map +0 -1
  280. package/dist/src/shell/interp/acp-ws-frames.js.map +0 -1
  281. package/dist/src/shell/interp/acp-ws.js.map +0 -1
  282. package/dist/src/shell/interp/acp.js.map +0 -1
  283. package/dist/src/shell/interp/credential-defaults.js.map +0 -1
  284. package/dist/src/shell/interp/credential-hooks.js.map +0 -1
  285. package/dist/src/shell/interp/credential-registry.js.map +0 -1
  286. package/dist/src/shell/interp/credential.js.map +0 -1
  287. package/dist/src/shell/interp/gh.js.map +0 -1
  288. package/dist/src/shell/interp/git.js.map +0 -1
  289. package/dist/src/shell/interp/log.js.map +0 -1
  290. package/dist/src/shell/interp/process.js.map +0 -1
  291. package/dist/src/shell/interp/runlog.js.map +0 -1
  292. package/dist/src/shell/interp/timer.js.map +0 -1
  293. package/dist/src/shell/interp/tracker-disk.js.map +0 -1
  294. package/dist/src/shell/interp/tracker-parse.js.map +0 -1
  295. package/dist/src/shell/interp/tracker-scan.js.map +0 -1
  296. package/dist/src/shell/interp/tracker-write.js.map +0 -1
  297. package/dist/src/shell/interp/tracker.js.map +0 -1
  298. package/dist/src/shell/interp/tty.js.map +0 -1
  299. package/dist/src/shell/interp/vm.js.map +0 -1
  300. package/dist/src/shell/interp/workspace.js.map +0 -1
  301. package/dist/src/shell/main-acp.js.map +0 -1
  302. package/dist/src/shell/main-adapters.js.map +0 -1
  303. package/dist/src/shell/main-credential.js.map +0 -1
  304. package/dist/src/shell/main-doctor.js.map +0 -1
  305. package/dist/src/shell/main-entry.js.map +0 -1
  306. package/dist/src/shell/main-http-csrf.js.map +0 -1
  307. package/dist/src/shell/main-http-handler.js.map +0 -1
  308. package/dist/src/shell/main-http-mcp.js.map +0 -1
  309. package/dist/src/shell/main-http-views.js.map +0 -1
  310. package/dist/src/shell/main-http.js.map +0 -1
  311. package/dist/src/shell/main-loops.js.map +0 -1
  312. package/dist/src/shell/main-mcp.js.map +0 -1
  313. package/dist/src/shell/main-orchestrator.js.map +0 -1
  314. package/dist/src/shell/main-preflight.js.map +0 -1
  315. package/dist/src/shell/main-reconcilers-helpers.js.map +0 -1
  316. package/dist/src/shell/main-reconcilers-pr.js.map +0 -1
  317. package/dist/src/shell/main-reconcilers.js.map +0 -1
  318. package/dist/src/shell/main-runner.js.map +0 -1
  319. package/dist/src/shell/main-scaffold.js.map +0 -1
  320. package/dist/src/shell/main-shutdown.js.map +0 -1
  321. package/dist/src/shell/main-startup.js.map +0 -1
  322. package/dist/src/shell/main-substrates.js.map +0 -1
  323. package/dist/src/shell/main.js.map +0 -1
  324. package/dist/src/shell/orchestrator-feedback.js.map +0 -1
  325. package/dist/src/shell/orchestrator-image.js.map +0 -1
  326. package/dist/src/shell/orchestrator-loop.js.map +0 -1
  327. package/dist/src/shell/orchestrator-reconcile.js.map +0 -1
  328. package/dist/src/shell/reconciler-loop.js.map +0 -1
  329. package/dist/src/shell/runner-loop-turn.js.map +0 -1
  330. package/dist/src/shell/runner-loop.js.map +0 -1
  331. package/dist/src/shell/server/http.js.map +0 -1
  332. package/dist/src/shell/server/mcp-runtime-effects.js.map +0 -1
  333. package/dist/src/shell/server/mcp-runtime.js.map +0 -1
  334. package/dist/src/shell/workspace-key.js.map +0 -1
  335. package/dist/src/types/acp.js.map +0 -1
  336. package/dist/src/types/actions/plan.js.map +0 -1
  337. package/dist/src/types/actions/predicates.js.map +0 -1
  338. package/dist/src/types/actions/run-fold.js.map +0 -1
  339. package/dist/src/types/actions.js.map +0 -1
  340. package/dist/src/types/adapter/clock-random.js.map +0 -1
  341. package/dist/src/types/adapter/gondolin-image-converter.js.map +0 -1
  342. package/dist/src/types/adapter/gondolin-image-fetch.js.map +0 -1
  343. package/dist/src/types/adapter/workflow-loader.js.map +0 -1
  344. package/dist/src/types/cli/args.js.map +0 -1
  345. package/dist/src/types/config.js.map +0 -1
  346. package/dist/src/types/credential-interp.js.map +0 -1
  347. package/dist/src/types/credentials.js.map +0 -1
  348. package/dist/src/types/doctor.js.map +0 -1
  349. package/dist/src/types/domain.js.map +0 -1
  350. package/dist/src/types/effect.js.map +0 -1
  351. package/dist/src/types/errors.js.map +0 -1
  352. package/dist/src/types/http/decisions.js.map +0 -1
  353. package/dist/src/types/http/render.js.map +0 -1
  354. package/dist/src/types/http/views.js.map +0 -1
  355. package/dist/src/types/http.js.map +0 -1
  356. package/dist/src/types/image/managed-image.js.map +0 -1
  357. package/dist/src/types/interp/effect-interpreter.js.map +0 -1
  358. package/dist/src/types/interp/tracker.js.map +0 -1
  359. package/dist/src/types/issue/file.js.map +0 -1
  360. package/dist/src/types/issue/parse.js.map +0 -1
  361. package/dist/src/types/main-acp.js.map +0 -1
  362. package/dist/src/types/main-adapters.js.map +0 -1
  363. package/dist/src/types/main-credential.js.map +0 -1
  364. package/dist/src/types/main-doctor.js.map +0 -1
  365. package/dist/src/types/main-http-handler.js.map +0 -1
  366. package/dist/src/types/main-http.js.map +0 -1
  367. package/dist/src/types/main-loops.js.map +0 -1
  368. package/dist/src/types/main-mcp.js.map +0 -1
  369. package/dist/src/types/main-orchestrator.js.map +0 -1
  370. package/dist/src/types/main-reconcilers.js.map +0 -1
  371. package/dist/src/types/main-runner.js.map +0 -1
  372. package/dist/src/types/main-startup.js.map +0 -1
  373. package/dist/src/types/main-substrates.js.map +0 -1
  374. package/dist/src/types/mcp/dispatch.js.map +0 -1
  375. package/dist/src/types/mcp/post-move.js.map +0 -1
  376. package/dist/src/types/mcp.js.map +0 -1
  377. package/dist/src/types/ports.js.map +0 -1
  378. package/dist/src/types/reconcile/image-decide.js.map +0 -1
  379. package/dist/src/types/reconcile/ledger.js.map +0 -1
  380. package/dist/src/types/reconcile/pr-loop.js.map +0 -1
  381. package/dist/src/types/reconcile/vm-reap.js.map +0 -1
  382. package/dist/src/types/reconcile/workspace-decide.js.map +0 -1
  383. package/dist/src/types/reconcile.js.map +0 -1
  384. package/dist/src/types/runlog.js.map +0 -1
  385. package/dist/src/types/runner/actions-runner.js.map +0 -1
  386. package/dist/src/types/runner/gondolin-dispatch.js.map +0 -1
  387. package/dist/src/types/runner/injection.js.map +0 -1
  388. package/dist/src/types/runner/runner-loop.js.map +0 -1
  389. package/dist/src/types/runner/turn.js.map +0 -1
  390. package/dist/src/types/runner/vm-plan.js.map +0 -1
  391. package/dist/src/types/runtime.js.map +0 -1
  392. package/dist/src/types/schedule/admission.js.map +0 -1
  393. package/dist/src/types/schedule/circuit-breaker.js.map +0 -1
  394. package/dist/src/types/schedule/eligibility.js.map +0 -1
  395. package/dist/src/types/schedule/orchestrator-loop.js.map +0 -1
  396. package/dist/src/types/schedule/sleep-cycle.js.map +0 -1
  397. package/dist/src/types/schedule/slots.js.map +0 -1
  398. package/dist/src/types/schedule/tick.js.map +0 -1
  399. package/dist/src/types/server/mcp-runtime.js.map +0 -1
  400. package/dist/src/types/workflow/parse.js.map +0 -1
  401. package/dist/tests/core/account-id.test.js +0 -35
  402. package/dist/tests/core/account-id.test.js.map +0 -1
  403. package/dist/tests/core/actions-parse.test.js +0 -176
  404. package/dist/tests/core/actions-parse.test.js.map +0 -1
  405. package/dist/tests/core/adapter-config.test.js +0 -133
  406. package/dist/tests/core/adapter-config.test.js.map +0 -1
  407. package/dist/tests/core/admission.test.js +0 -215
  408. package/dist/tests/core/admission.test.js.map +0 -1
  409. package/dist/tests/core/args.test.js +0 -132
  410. package/dist/tests/core/args.test.js.map +0 -1
  411. package/dist/tests/core/availability.test.js +0 -62
  412. package/dist/tests/core/availability.test.js.map +0 -1
  413. package/dist/tests/core/checks.test.js +0 -395
  414. package/dist/tests/core/checks.test.js.map +0 -1
  415. package/dist/tests/core/circuit-breaker.test.js +0 -172
  416. package/dist/tests/core/circuit-breaker.test.js.map +0 -1
  417. package/dist/tests/core/coerce.test.js +0 -87
  418. package/dist/tests/core/coerce.test.js.map +0 -1
  419. package/dist/tests/core/context.test.js +0 -228
  420. package/dist/tests/core/context.test.js.map +0 -1
  421. package/dist/tests/core/decisions.test.js +0 -310
  422. package/dist/tests/core/decisions.test.js.map +0 -1
  423. package/dist/tests/core/derive.test.js +0 -205
  424. package/dist/tests/core/derive.test.js.map +0 -1
  425. package/dist/tests/core/dispatch-config.test.js +0 -164
  426. package/dist/tests/core/dispatch-config.test.js.map +0 -1
  427. package/dist/tests/core/dispatch.test.js +0 -302
  428. package/dist/tests/core/dispatch.test.js.map +0 -1
  429. package/dist/tests/core/eligibility.test.js +0 -163
  430. package/dist/tests/core/eligibility.test.js.map +0 -1
  431. package/dist/tests/core/extract.test.js +0 -139
  432. package/dist/tests/core/extract.test.js.map +0 -1
  433. package/dist/tests/core/fake-creds.test.js +0 -134
  434. package/dist/tests/core/fake-creds.test.js.map +0 -1
  435. package/dist/tests/core/file.test.js +0 -197
  436. package/dist/tests/core/file.test.js.map +0 -1
  437. package/dist/tests/core/git-result.test.js +0 -113
  438. package/dist/tests/core/git-result.test.js.map +0 -1
  439. package/dist/tests/core/identity.test.js +0 -180
  440. package/dist/tests/core/identity.test.js.map +0 -1
  441. package/dist/tests/core/image-decide.test.js +0 -59
  442. package/dist/tests/core/image-decide.test.js.map +0 -1
  443. package/dist/tests/core/injection.test.js +0 -163
  444. package/dist/tests/core/injection.test.js.map +0 -1
  445. package/dist/tests/core/ledger.test.js +0 -218
  446. package/dist/tests/core/ledger.test.js.map +0 -1
  447. package/dist/tests/core/managed-image.test.js +0 -68
  448. package/dist/tests/core/managed-image.test.js.map +0 -1
  449. package/dist/tests/core/mise.test.js +0 -138
  450. package/dist/tests/core/mise.test.js.map +0 -1
  451. package/dist/tests/core/parse.test.js +0 -174
  452. package/dist/tests/core/parse.test.js.map +0 -1
  453. package/dist/tests/core/path.test.js +0 -50
  454. package/dist/tests/core/path.test.js.map +0 -1
  455. package/dist/tests/core/plan.test.js +0 -218
  456. package/dist/tests/core/plan.test.js.map +0 -1
  457. package/dist/tests/core/post-move.test.js +0 -162
  458. package/dist/tests/core/post-move.test.js.map +0 -1
  459. package/dist/tests/core/pr-classify.test.js +0 -117
  460. package/dist/tests/core/pr-classify.test.js.map +0 -1
  461. package/dist/tests/core/pr-decide.test.js +0 -298
  462. package/dist/tests/core/pr-decide.test.js.map +0 -1
  463. package/dist/tests/core/pr-loop.test.js +0 -301
  464. package/dist/tests/core/pr-loop.test.js.map +0 -1
  465. package/dist/tests/core/pr-notes.test.js +0 -165
  466. package/dist/tests/core/pr-notes.test.js.map +0 -1
  467. package/dist/tests/core/predicates.test.js +0 -154
  468. package/dist/tests/core/predicates.test.js.map +0 -1
  469. package/dist/tests/core/prompt.test.js +0 -189
  470. package/dist/tests/core/prompt.test.js.map +0 -1
  471. package/dist/tests/core/protocol.test.js +0 -195
  472. package/dist/tests/core/protocol.test.js.map +0 -1
  473. package/dist/tests/core/reconcile-issue.test.js +0 -116
  474. package/dist/tests/core/reconcile-issue.test.js.map +0 -1
  475. package/dist/tests/core/render.test.js +0 -549
  476. package/dist/tests/core/render.test.js.map +0 -1
  477. package/dist/tests/core/retry.test.js +0 -186
  478. package/dist/tests/core/retry.test.js.map +0 -1
  479. package/dist/tests/core/routes.test.js +0 -247
  480. package/dist/tests/core/routes.test.js.map +0 -1
  481. package/dist/tests/core/run-fold.test.js +0 -299
  482. package/dist/tests/core/run-fold.test.js.map +0 -1
  483. package/dist/tests/core/shape.test.js +0 -185
  484. package/dist/tests/core/shape.test.js.map +0 -1
  485. package/dist/tests/core/sleep-cycle.test.js +0 -150
  486. package/dist/tests/core/sleep-cycle.test.js.map +0 -1
  487. package/dist/tests/core/slots.test.js +0 -201
  488. package/dist/tests/core/slots.test.js.map +0 -1
  489. package/dist/tests/core/state-resolve.test.js +0 -80
  490. package/dist/tests/core/state-resolve.test.js.map +0 -1
  491. package/dist/tests/core/summary.test.js +0 -200
  492. package/dist/tests/core/summary.test.js.map +0 -1
  493. package/dist/tests/core/template.test.js +0 -116
  494. package/dist/tests/core/template.test.js.map +0 -1
  495. package/dist/tests/core/tick.test.js +0 -558
  496. package/dist/tests/core/tick.test.js.map +0 -1
  497. package/dist/tests/core/token-fold.test.js +0 -176
  498. package/dist/tests/core/token-fold.test.js.map +0 -1
  499. package/dist/tests/core/turn.test.js +0 -388
  500. package/dist/tests/core/turn.test.js.map +0 -1
  501. package/dist/tests/core/url.test.js +0 -118
  502. package/dist/tests/core/url.test.js.map +0 -1
  503. package/dist/tests/core/validate.test.js +0 -247
  504. package/dist/tests/core/validate.test.js.map +0 -1
  505. package/dist/tests/core/views.test.js +0 -252
  506. package/dist/tests/core/views.test.js.map +0 -1
  507. package/dist/tests/core/vm-decide.test.js +0 -110
  508. package/dist/tests/core/vm-decide.test.js.map +0 -1
  509. package/dist/tests/core/vm-guards.test.js +0 -153
  510. package/dist/tests/core/vm-guards.test.js.map +0 -1
  511. package/dist/tests/core/vm-plan.test.js +0 -332
  512. package/dist/tests/core/vm-plan.test.js.map +0 -1
  513. package/dist/tests/core/vm-reap.test.js +0 -196
  514. package/dist/tests/core/vm-reap.test.js.map +0 -1
  515. package/dist/tests/core/workflow-parse.test.js +0 -493
  516. package/dist/tests/core/workflow-parse.test.js.map +0 -1
  517. package/dist/tests/core/workspace-decide.test.js +0 -236
  518. package/dist/tests/core/workspace-decide.test.js.map +0 -1
  519. package/dist/tests/helpers/fixtures.js +0 -167
  520. package/dist/tests/helpers/fixtures.js.map +0 -1
  521. package/dist/tests/shell/acp-substrate.test.js +0 -101
  522. package/dist/tests/shell/acp-substrate.test.js.map +0 -1
  523. package/dist/tests/shell/actions-runner-push.test.js +0 -203
  524. package/dist/tests/shell/actions-runner-push.test.js.map +0 -1
  525. package/dist/tests/shell/credential-hooks.test.js +0 -36
  526. package/dist/tests/shell/credential-hooks.test.js.map +0 -1
  527. package/dist/tests/shell/credential-registry.test.js +0 -165
  528. package/dist/tests/shell/credential-registry.test.js.map +0 -1
  529. package/dist/tests/shell/credential-substrate.test.js +0 -179
  530. package/dist/tests/shell/credential-substrate.test.js.map +0 -1
  531. package/dist/tests/shell/dockerfile-mise-pin.test.js +0 -51
  532. package/dist/tests/shell/dockerfile-mise-pin.test.js.map +0 -1
  533. package/dist/tests/shell/doctor.test.js +0 -101
  534. package/dist/tests/shell/doctor.test.js.map +0 -1
  535. package/dist/tests/shell/effect-vm-create.test.js +0 -52
  536. package/dist/tests/shell/effect-vm-create.test.js.map +0 -1
  537. package/dist/tests/shell/gh-port.test.js +0 -63
  538. package/dist/tests/shell/gh-port.test.js.map +0 -1
  539. package/dist/tests/shell/gondolin-dispatch-guard.test.js +0 -144
  540. package/dist/tests/shell/gondolin-dispatch-guard.test.js.map +0 -1
  541. package/dist/tests/shell/gondolin-dispatch-shquote.test.js +0 -168
  542. package/dist/tests/shell/gondolin-dispatch-shquote.test.js.map +0 -1
  543. package/dist/tests/shell/gondolin-image-converter.test.js +0 -208
  544. package/dist/tests/shell/gondolin-image-converter.test.js.map +0 -1
  545. package/dist/tests/shell/gondolin-image-fetch.test.js +0 -93
  546. package/dist/tests/shell/gondolin-image-fetch.test.js.map +0 -1
  547. package/dist/tests/shell/http-handler.test.js +0 -608
  548. package/dist/tests/shell/http-handler.test.js.map +0 -1
  549. package/dist/tests/shell/http-server.test.js +0 -53
  550. package/dist/tests/shell/http-server.test.js.map +0 -1
  551. package/dist/tests/shell/mcp-runtime.test.js +0 -366
  552. package/dist/tests/shell/mcp-runtime.test.js.map +0 -1
  553. package/dist/tests/shell/mise-config-asset.test.js +0 -87
  554. package/dist/tests/shell/mise-config-asset.test.js.map +0 -1
  555. package/dist/tests/shell/orchestrator-loop.test.js +0 -583
  556. package/dist/tests/shell/orchestrator-loop.test.js.map +0 -1
  557. package/dist/tests/shell/reconciler-passes.test.js +0 -314
  558. package/dist/tests/shell/reconciler-passes.test.js.map +0 -1
  559. package/dist/tests/shell/runner-loop-turn.test.js +0 -97
  560. package/dist/tests/shell/runner-loop-turn.test.js.map +0 -1
  561. package/dist/tests/shell/runner-slice.test.js +0 -536
  562. package/dist/tests/shell/runner-slice.test.js.map +0 -1
  563. package/dist/tests/shell/scaffold.test.js +0 -65
  564. package/dist/tests/shell/scaffold.test.js.map +0 -1
  565. package/dist/tests/shell/tick-config.test.js +0 -83
  566. package/dist/tests/shell/tick-config.test.js.map +0 -1
  567. package/dist/tests/shell/tracker-parse-dates.test.js +0 -44
  568. package/dist/tests/shell/tracker-parse-dates.test.js.map +0 -1
  569. package/dist/tests/shell/tracker-write-issue.test.js +0 -154
  570. package/dist/tests/shell/tracker-write-issue.test.js.map +0 -1
  571. package/dist/tests/shell/workflow-prompt-split.test.js +0 -208
  572. package/dist/tests/shell/workflow-prompt-split.test.js.map +0 -1
  573. package/dist/tests/shell/workspace-live-config.test.js +0 -140
  574. package/dist/tests/shell/workspace-live-config.test.js.map +0 -1
  575. /package/dist/{src/bin → bin}/symphony.js +0 -0
  576. /package/dist/{src/core → core}/actions/context.js +0 -0
  577. /package/dist/{src/core → core}/actions/parse.js +0 -0
  578. /package/dist/{src/core → core}/actions/plan.js +0 -0
  579. /package/dist/{src/core → core}/actions/predicates.js +0 -0
  580. /package/dist/{src/core → core}/actions/run-fold.js +0 -0
  581. /package/dist/{src/core → core}/actions/template.js +0 -0
  582. /package/dist/{src/core → core}/cli/args.js +0 -0
  583. /package/dist/{src/core → core}/coerce.js +0 -0
  584. /package/dist/{src/core → core}/credential/account-id.js +0 -0
  585. /package/dist/{src/core → core}/credential/adapter-config.js +0 -0
  586. /package/dist/{src/core → core}/credential/availability.js +0 -0
  587. /package/dist/{src/core → core}/credential/extract.js +0 -0
  588. /package/dist/{src/core → core}/credential/fake-creds.js +0 -0
  589. /package/dist/{src/core → core}/credential/identity.js +0 -0
  590. /package/dist/{src/core → core}/credential/shape.js +0 -0
  591. /package/dist/{src/core → core}/credential/strings.js +0 -0
  592. /package/dist/{src/core → core}/doctor/checks.js +0 -0
  593. /package/dist/{src/core → core}/git/result.js +0 -0
  594. /package/dist/{src/core → core}/http/decisions.js +0 -0
  595. /package/dist/{src/core → core}/http/render.js +0 -0
  596. /package/dist/{src/core → core}/http/routes.js +0 -0
  597. /package/dist/{src/core → core}/http/views.js +0 -0
  598. /package/dist/{src/core → core}/image/managed-image.js +0 -0
  599. /package/dist/{src/core → core}/issue/file.js +0 -0
  600. /package/dist/{src/core → core}/issue/parse.js +0 -0
  601. /package/dist/{src/core → core}/mcp/dispatch.js +0 -0
  602. /package/dist/{src/core → core}/mcp/post-move.js +0 -0
  603. /package/dist/{src/core → core}/mcp/protocol.js +0 -0
  604. /package/dist/{src/core → core}/mcp/url.js +0 -0
  605. /package/dist/{src/core → core}/path.js +0 -0
  606. /package/dist/{src/core → core}/reconcile/image-decide.js +0 -0
  607. /package/dist/{src/core → core}/reconcile/ledger.js +0 -0
  608. /package/dist/{src/core → core}/reconcile/pr-classify.js +0 -0
  609. /package/dist/{src/core → core}/reconcile/pr-decide.js +0 -0
  610. /package/dist/{src/core → core}/reconcile/pr-loop.js +0 -0
  611. /package/dist/{src/core → core}/reconcile/pr-notes.js +0 -0
  612. /package/dist/{src/core → core}/reconcile/vm-decide.js +0 -0
  613. /package/dist/{src/core → core}/reconcile/vm-reap.js +0 -0
  614. /package/dist/{src/core → core}/reconcile/workspace-decide.js +0 -0
  615. /package/dist/{src/core → core}/runlog/summary.js +0 -0
  616. /package/dist/{src/core → core}/runner/dispatch-config.js +0 -0
  617. /package/dist/{src/core → core}/runner/injection.js +0 -0
  618. /package/dist/{src/core → core}/runner/mise.js +0 -0
  619. /package/dist/{src/core → core}/runner/prompt.js +0 -0
  620. /package/dist/{src/core → core}/runner/turn.js +0 -0
  621. /package/dist/{src/core → core}/runner/vm-plan.js +0 -0
  622. /package/dist/{src/core → core}/schedule/admission.js +0 -0
  623. /package/dist/{src/core → core}/schedule/circuit-breaker.js +0 -0
  624. /package/dist/{src/core → core}/schedule/eligibility.js +0 -0
  625. /package/dist/{src/core → core}/schedule/reconcile-issue.js +0 -0
  626. /package/dist/{src/core → core}/schedule/retry.js +0 -0
  627. /package/dist/{src/core → core}/schedule/sleep-cycle.js +0 -0
  628. /package/dist/{src/core → core}/schedule/slots.js +0 -0
  629. /package/dist/{src/core → core}/schedule/tick.js +0 -0
  630. /package/dist/{src/core → core}/schedule/token-fold.js +0 -0
  631. /package/dist/{src/core → core}/state-resolve.js +0 -0
  632. /package/dist/{src/core → core}/vm-guards.js +0 -0
  633. /package/dist/{src/core → core}/workflow/derive.js +0 -0
  634. /package/dist/{src/core → core}/workflow/parse.js +0 -0
  635. /package/dist/{src/core → core}/workflow/prompt-probe.js +0 -0
  636. /package/dist/{src/core → core}/workflow/validate.js +0 -0
  637. /package/dist/{src/core → core}/workspace-key.js +0 -0
  638. /package/dist/{src/shell → shell}/actions-runner.js +0 -0
  639. /package/dist/{src/shell → shell}/adapter/adapter-registry.js +0 -0
  640. /package/dist/{src/shell → shell}/adapter/clock-random.js +0 -0
  641. /package/dist/{src/shell → shell}/adapter/gondolin-dispatch-helpers.js +0 -0
  642. /package/dist/{src/shell → shell}/adapter/gondolin-dispatch.js +0 -0
  643. /package/dist/{src/shell → shell}/adapter/gondolin-image-converter.js +0 -0
  644. /package/dist/{src/shell → shell}/adapter/gondolin-image-fetch.js +0 -0
  645. /package/dist/{src/shell → shell}/adapter/launcher-asset.js +0 -0
  646. /package/dist/{src/shell → shell}/adapter/mise-config-asset.js +0 -0
  647. /package/dist/{src/shell → shell}/adapter/workflow-loader.js +0 -0
  648. /package/dist/{src/shell → shell}/cli/doctor.js +0 -0
  649. /package/dist/{src/shell → shell}/effect-interpreter-families.js +0 -0
  650. /package/dist/{src/shell → shell}/effect-interpreter.js +0 -0
  651. /package/dist/{src/shell → shell}/interp/acp-frame.js +0 -0
  652. /package/dist/{src/shell → shell}/interp/acp-ws-conn.js +0 -0
  653. /package/dist/{src/shell → shell}/interp/acp-ws-frames.js +0 -0
  654. /package/dist/{src/shell → shell}/interp/acp-ws.js +0 -0
  655. /package/dist/{src/shell → shell}/interp/acp.js +0 -0
  656. /package/dist/{src/shell → shell}/interp/credential-defaults.js +0 -0
  657. /package/dist/{src/shell → shell}/interp/credential-hooks.js +0 -0
  658. /package/dist/{src/shell → shell}/interp/credential-registry.js +0 -0
  659. /package/dist/{src/shell → shell}/interp/credential.js +0 -0
  660. /package/dist/{src/shell → shell}/interp/gh.js +0 -0
  661. /package/dist/{src/shell → shell}/interp/git.js +0 -0
  662. /package/dist/{src/shell → shell}/interp/log.js +0 -0
  663. /package/dist/{src/shell → shell}/interp/process.js +0 -0
  664. /package/dist/{src/shell → shell}/interp/runlog.js +0 -0
  665. /package/dist/{src/shell → shell}/interp/timer.js +0 -0
  666. /package/dist/{src/shell → shell}/interp/tracker-disk.js +0 -0
  667. /package/dist/{src/shell → shell}/interp/tracker-parse.js +0 -0
  668. /package/dist/{src/shell → shell}/interp/tracker-scan.js +0 -0
  669. /package/dist/{src/shell → shell}/interp/tracker-write.js +0 -0
  670. /package/dist/{src/shell → shell}/interp/tracker.js +0 -0
  671. /package/dist/{src/shell → shell}/interp/tty.js +0 -0
  672. /package/dist/{src/shell → shell}/interp/vm.js +0 -0
  673. /package/dist/{src/shell → shell}/interp/workspace.js +0 -0
  674. /package/dist/{src/shell → shell}/main-acp.js +0 -0
  675. /package/dist/{src/shell → shell}/main-adapters.js +0 -0
  676. /package/dist/{src/shell → shell}/main-credential.js +0 -0
  677. /package/dist/{src/shell → shell}/main-doctor.js +0 -0
  678. /package/dist/{src/shell → shell}/main-entry.js +0 -0
  679. /package/dist/{src/shell → shell}/main-http-csrf.js +0 -0
  680. /package/dist/{src/shell → shell}/main-http-handler.js +0 -0
  681. /package/dist/{src/shell → shell}/main-http-mcp.js +0 -0
  682. /package/dist/{src/shell → shell}/main-http-views.js +0 -0
  683. /package/dist/{src/shell → shell}/main-http.js +0 -0
  684. /package/dist/{src/shell → shell}/main-loops.js +0 -0
  685. /package/dist/{src/shell → shell}/main-mcp.js +0 -0
  686. /package/dist/{src/shell → shell}/main-orchestrator.js +0 -0
  687. /package/dist/{src/shell → shell}/main-preflight.js +0 -0
  688. /package/dist/{src/shell → shell}/main-reconcilers-helpers.js +0 -0
  689. /package/dist/{src/shell → shell}/main-reconcilers-pr.js +0 -0
  690. /package/dist/{src/shell → shell}/main-reconcilers.js +0 -0
  691. /package/dist/{src/shell → shell}/main-runner.js +0 -0
  692. /package/dist/{src/shell → shell}/main-scaffold.js +0 -0
  693. /package/dist/{src/shell → shell}/main-shutdown.js +0 -0
  694. /package/dist/{src/shell → shell}/main-startup.js +0 -0
  695. /package/dist/{src/shell → shell}/main-substrates.js +0 -0
  696. /package/dist/{src/shell → shell}/main.js +0 -0
  697. /package/dist/{src/shell → shell}/orchestrator-feedback.js +0 -0
  698. /package/dist/{src/shell → shell}/orchestrator-image.js +0 -0
  699. /package/dist/{src/shell → shell}/orchestrator-loop.js +0 -0
  700. /package/dist/{src/shell → shell}/orchestrator-reconcile.js +0 -0
  701. /package/dist/{src/shell → shell}/reconciler-loop.js +0 -0
  702. /package/dist/{src/shell → shell}/runner-loop-turn.js +0 -0
  703. /package/dist/{src/shell → shell}/runner-loop.js +0 -0
  704. /package/dist/{src/shell → shell}/server/http.js +0 -0
  705. /package/dist/{src/shell → shell}/server/mcp-runtime-effects.js +0 -0
  706. /package/dist/{src/shell → shell}/server/mcp-runtime.js +0 -0
  707. /package/dist/{src/shell → shell}/workspace-key.js +0 -0
  708. /package/dist/{src/types → types}/acp.js +0 -0
  709. /package/dist/{src/types → types}/actions/plan.js +0 -0
  710. /package/dist/{src/types → types}/actions/predicates.js +0 -0
  711. /package/dist/{src/types → types}/actions/run-fold.js +0 -0
  712. /package/dist/{src/types → types}/actions.js +0 -0
  713. /package/dist/{src/types → types}/adapter/clock-random.js +0 -0
  714. /package/dist/{src/types → types}/adapter/gondolin-image-converter.js +0 -0
  715. /package/dist/{src/types → types}/adapter/gondolin-image-fetch.js +0 -0
  716. /package/dist/{src/types → types}/adapter/workflow-loader.js +0 -0
  717. /package/dist/{src/types → types}/cli/args.js +0 -0
  718. /package/dist/{src/types → types}/config.js +0 -0
  719. /package/dist/{src/types → types}/credential-interp.js +0 -0
  720. /package/dist/{src/types → types}/credentials.js +0 -0
  721. /package/dist/{src/types → types}/doctor.js +0 -0
  722. /package/dist/{src/types → types}/domain.js +0 -0
  723. /package/dist/{src/types → types}/effect.js +0 -0
  724. /package/dist/{src/types → types}/errors.js +0 -0
  725. /package/dist/{src/types → types}/http/decisions.js +0 -0
  726. /package/dist/{src/types → types}/http/render.js +0 -0
  727. /package/dist/{src/types → types}/http/views.js +0 -0
  728. /package/dist/{src/types → types}/http.js +0 -0
  729. /package/dist/{src/types → types}/image/managed-image.js +0 -0
  730. /package/dist/{src/types → types}/interp/effect-interpreter.js +0 -0
  731. /package/dist/{src/types → types}/interp/tracker.js +0 -0
  732. /package/dist/{src/types → types}/issue/file.js +0 -0
  733. /package/dist/{src/types → types}/issue/parse.js +0 -0
  734. /package/dist/{src/types → types}/main-acp.js +0 -0
  735. /package/dist/{src/types → types}/main-adapters.js +0 -0
  736. /package/dist/{src/types → types}/main-credential.js +0 -0
  737. /package/dist/{src/types → types}/main-doctor.js +0 -0
  738. /package/dist/{src/types → types}/main-http-handler.js +0 -0
  739. /package/dist/{src/types → types}/main-http.js +0 -0
  740. /package/dist/{src/types → types}/main-loops.js +0 -0
  741. /package/dist/{src/types → types}/main-mcp.js +0 -0
  742. /package/dist/{src/types → types}/main-orchestrator.js +0 -0
  743. /package/dist/{src/types → types}/main-reconcilers.js +0 -0
  744. /package/dist/{src/types → types}/main-runner.js +0 -0
  745. /package/dist/{src/types → types}/main-startup.js +0 -0
  746. /package/dist/{src/types → types}/main-substrates.js +0 -0
  747. /package/dist/{src/types → types}/mcp/dispatch.js +0 -0
  748. /package/dist/{src/types → types}/mcp/post-move.js +0 -0
  749. /package/dist/{src/types → types}/mcp.js +0 -0
  750. /package/dist/{src/types → types}/ports.js +0 -0
  751. /package/dist/{src/types → types}/reconcile/image-decide.js +0 -0
  752. /package/dist/{src/types → types}/reconcile/ledger.js +0 -0
  753. /package/dist/{src/types → types}/reconcile/pr-loop.js +0 -0
  754. /package/dist/{src/types → types}/reconcile/vm-reap.js +0 -0
  755. /package/dist/{src/types → types}/reconcile/workspace-decide.js +0 -0
  756. /package/dist/{src/types → types}/reconcile.js +0 -0
  757. /package/dist/{src/types → types}/runlog.js +0 -0
  758. /package/dist/{src/types → types}/runner/actions-runner.js +0 -0
  759. /package/dist/{src/types → types}/runner/gondolin-dispatch.js +0 -0
  760. /package/dist/{src/types → types}/runner/injection.js +0 -0
  761. /package/dist/{src/types → types}/runner/runner-loop.js +0 -0
  762. /package/dist/{src/types → types}/runner/turn.js +0 -0
  763. /package/dist/{src/types → types}/runner/vm-plan.js +0 -0
  764. /package/dist/{src/types → types}/runtime.js +0 -0
  765. /package/dist/{src/types → types}/schedule/admission.js +0 -0
  766. /package/dist/{src/types → types}/schedule/circuit-breaker.js +0 -0
  767. /package/dist/{src/types → types}/schedule/eligibility.js +0 -0
  768. /package/dist/{src/types → types}/schedule/orchestrator-loop.js +0 -0
  769. /package/dist/{src/types → types}/schedule/sleep-cycle.js +0 -0
  770. /package/dist/{src/types → types}/schedule/slots.js +0 -0
  771. /package/dist/{src/types → types}/schedule/tick.js +0 -0
  772. /package/dist/{src/types → types}/server/mcp-runtime.js +0 -0
  773. /package/dist/{src/types → types}/workflow/parse.js +0 -0
@@ -1,118 +0,0 @@
1
- // Pure unit tests for src/core/mcp/url.ts — no mocks (every export is pure).
2
- import { test } from 'node:test';
3
- import assert from 'node:assert/strict';
4
- import { MCP_SYNTHETIC_HOST, MCP_GUEST_PORT, MCP_GUEST_BASE_URL, ACP_WS_PATH, ACP_WS_GUEST_URL, mcpIssuePath, buildUrl, useSyntheticGuestHost, guestMcpUrl, guestAcpWsUrl, acpWsUrlFromExplicit, buildMcpTcpHostEntry, canonicalStateName, } from '../../src/core/mcp/url.js';
5
- // ── constants ──────────────────────────────────────────────────────────────
6
- test('synthetic control-plane constants compose into the guest URLs', () => {
7
- assert.equal(MCP_SYNTHETIC_HOST, 'symphony-mcp');
8
- assert.equal(MCP_GUEST_PORT, 7001);
9
- assert.equal(ACP_WS_PATH, '/acp');
10
- assert.equal(MCP_GUEST_BASE_URL, 'http://symphony-mcp:7001');
11
- assert.equal(ACP_WS_GUEST_URL, 'ws://symphony-mcp:7001/acp');
12
- });
13
- // ── mcpIssuePath ─────────────────────────────────────────────────────────────
14
- test('mcpIssuePath builds the per-issue suffix and url-encodes the identifier', () => {
15
- assert.equal(mcpIssuePath('issue-7'), '/api/v1/issues/issue-7/mcp');
16
- // Encoding: slashes / spaces in the identifier must be escaped.
17
- assert.equal(mcpIssuePath('a/b c'), '/api/v1/issues/a%2Fb%20c/mcp');
18
- });
19
- // ── buildUrl: base-resolution precedence ─────────────────────────────────────
20
- test('buildUrl: baseOverride wins over explicit_host_url and host:port', () => {
21
- const url = buildUrl('i1', { host: '127.0.0.1', explicit_host_url: 'https://explicit.example' }, 8787, 'http://symphony-mcp:7001');
22
- assert.equal(url, 'http://symphony-mcp:7001/api/v1/issues/i1/mcp');
23
- });
24
- test('buildUrl: explicit_host_url wins over host:port when no override', () => {
25
- const url = buildUrl('i2', { host: '127.0.0.1', explicit_host_url: 'https://explicit.example' }, 8787);
26
- assert.equal(url, 'https://explicit.example/api/v1/issues/i2/mcp');
27
- });
28
- test('buildUrl: falls back to host:effectivePort when no override / no explicit url', () => {
29
- const url = buildUrl('i3', { host: '127.0.0.1', explicit_host_url: null }, 8787);
30
- assert.equal(url, 'http://127.0.0.1:8787/api/v1/issues/i3/mcp');
31
- });
32
- test('buildUrl: returns null when no override, no explicit url, and port unbound', () => {
33
- const url = buildUrl('i4', { host: '127.0.0.1', explicit_host_url: null }, null);
34
- assert.equal(url, null);
35
- });
36
- test('buildUrl: trims trailing slashes off the override and explicit url', () => {
37
- assert.equal(buildUrl('i5', { host: 'h', explicit_host_url: null }, 1, 'http://base///'), 'http://base/api/v1/issues/i5/mcp');
38
- assert.equal(buildUrl('i6', { host: 'h', explicit_host_url: 'https://x.test//' }, 1), 'https://x.test/api/v1/issues/i6/mcp');
39
- });
40
- // ── useSyntheticGuestHost ────────────────────────────────────────────────────
41
- test('useSyntheticGuestHost: true only when no explicit url AND port bound', () => {
42
- assert.equal(useSyntheticGuestHost({ explicit_host_url: null }, 8787), true);
43
- // explicit url → direct reachability, no tunnel
44
- assert.equal(useSyntheticGuestHost({ explicit_host_url: 'https://x' }, 8787), false);
45
- // port unbound → no live tunnel target
46
- assert.equal(useSyntheticGuestHost({ explicit_host_url: null }, null), false);
47
- assert.equal(useSyntheticGuestHost({ explicit_host_url: 'https://x' }, null), false);
48
- });
49
- // ── guestMcpUrl: composition of the decision + builder ───────────────────────
50
- test('guestMcpUrl: tunnelled (no explicit url, port bound) → synthetic base', () => {
51
- const url = guestMcpUrl('i7', { host: '127.0.0.1', explicit_host_url: null }, 8787);
52
- assert.equal(url, 'http://symphony-mcp:7001/api/v1/issues/i7/mcp');
53
- });
54
- test('guestMcpUrl: explicit url → direct (no synthetic base)', () => {
55
- const url = guestMcpUrl('i8', { host: '127.0.0.1', explicit_host_url: 'https://direct.test' }, 8787);
56
- assert.equal(url, 'https://direct.test/api/v1/issues/i8/mcp');
57
- });
58
- test('guestMcpUrl: no explicit url and port unbound → null', () => {
59
- const url = guestMcpUrl('i9', { host: '127.0.0.1', explicit_host_url: null }, null);
60
- assert.equal(url, null);
61
- });
62
- // ── acpWsUrlFromExplicit ─────────────────────────────────────────────────────
63
- test('acpWsUrlFromExplicit: http → ws, https → wss, points at /acp', () => {
64
- assert.equal(acpWsUrlFromExplicit('http://host.test:8787'), 'ws://host.test:8787/acp');
65
- assert.equal(acpWsUrlFromExplicit('https://host.test:443'), 'wss://host.test/acp');
66
- // path on the explicit url is discarded — only host carries over.
67
- assert.equal(acpWsUrlFromExplicit('https://host.test/some/path'), 'wss://host.test/acp');
68
- });
69
- test('acpWsUrlFromExplicit: unparseable url → null', () => {
70
- assert.equal(acpWsUrlFromExplicit('not a url'), null);
71
- assert.equal(acpWsUrlFromExplicit(''), null);
72
- });
73
- // ── guestAcpWsUrl ────────────────────────────────────────────────────────────
74
- test('guestAcpWsUrl: no explicit url → fixed synthetic tunnel URL', () => {
75
- assert.equal(guestAcpWsUrl({ explicit_host_url: null }), ACP_WS_GUEST_URL);
76
- });
77
- test('guestAcpWsUrl: explicit url → derived ws(s) url (or null when unparseable)', () => {
78
- assert.equal(guestAcpWsUrl({ explicit_host_url: 'http://direct.test:9000' }), 'ws://direct.test:9000/acp');
79
- assert.equal(guestAcpWsUrl({ explicit_host_url: 'https://direct.test' }), 'wss://direct.test/acp');
80
- assert.equal(guestAcpWsUrl({ explicit_host_url: 'garbage' }), null);
81
- });
82
- // ── buildMcpTcpHostEntry ─────────────────────────────────────────────────────
83
- test('buildMcpTcpHostEntry: synthetic host:port keyed to the real host:port', () => {
84
- assert.deepEqual(buildMcpTcpHostEntry('127.0.0.1', 8787), {
85
- 'symphony-mcp:7001': '127.0.0.1:8787',
86
- });
87
- });
88
- // ── canonicalStateName ───────────────────────────────────────────────────────
89
- const STATES = {
90
- Todo: { role: 'holding' },
91
- Doing: { role: 'active' },
92
- Review: { role: 'active' },
93
- Done: { role: 'terminal' },
94
- };
95
- test('canonicalStateName: exact declared name returns as-is', () => {
96
- assert.equal(canonicalStateName(STATES, 'Doing'), 'Doing');
97
- assert.equal(canonicalStateName(STATES, 'Done'), 'Done');
98
- });
99
- test('canonicalStateName: case-insensitive match returns declared casing', () => {
100
- assert.equal(canonicalStateName(STATES, 'doing'), 'Doing');
101
- assert.equal(canonicalStateName(STATES, 'REVIEW'), 'Review');
102
- assert.equal(canonicalStateName(STATES, 'tODO'), 'Todo');
103
- });
104
- test('canonicalStateName: no match returns null', () => {
105
- assert.equal(canonicalStateName(STATES, 'Parking'), null);
106
- assert.equal(canonicalStateName(STATES, ''), null);
107
- });
108
- test('canonicalStateName: exact match preferred over a differently-cased twin', () => {
109
- // When both an exact and a lowercase twin exist, the hasOwnProperty short-circuit
110
- // returns the exact key first.
111
- const twin = {
112
- review: { role: 'active' },
113
- Review: { role: 'terminal' },
114
- };
115
- assert.equal(canonicalStateName(twin, 'Review'), 'Review');
116
- assert.equal(canonicalStateName(twin, 'review'), 'review');
117
- });
118
- //# sourceMappingURL=url.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"url.test.js","sourceRoot":"","sources":["../../../tests/core/url.test.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,qBAAqB,EACrB,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,2BAA2B,CAAC;AAGnC,8EAA8E;AAE9E,IAAI,CAAC,+DAA+D,EAAE,GAAG,EAAE;IACzE,MAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;IACjD,M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,CAAC,EAAE,QAAQ,CAAC,CAAC;IAC3D,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;AAC7D,CAAC,CAAC,CAAC"}
@@ -1,247 +0,0 @@
1
- // Pure unit tests for src/core/workflow/validate.ts. The function under test is
2
- // total + deterministic (data -> reason|null), so no mocks/fakes are needed —
3
- // we just hand-build ServiceConfig fixtures and assert the returned reason.
4
- import { test } from 'node:test';
5
- import assert from 'node:assert/strict';
6
- import { validateDispatch, validateStates, validateConcurrencyCaps, } from '../../src/core/workflow/validate.js';
7
- import { makeServiceConfig } from '../helpers/fixtures.js';
8
- // --- fixtures ---------------------------------------------------------------
9
- function state(role, extra = {}) {
10
- return { role, ...extra };
11
- }
12
- /** A minimal-but-valid set of states: one of each required role. */
13
- function validStates() {
14
- return {
15
- Todo: state('holding'),
16
- Doing: state('active', { allowed_transitions: ['Done', 'Todo'] }),
17
- Done: state('terminal'),
18
- };
19
- }
20
- /** A ServiceConfig that passes validateDispatch; tests mutate clones of it. */
21
- function validConfig() {
22
- return makeServiceConfig({
23
- workflow_path: '/tmp/WORKFLOW.md',
24
- workflow_dir: '/tmp',
25
- tracker: { root: '/tmp/tracker' },
26
- workspace: { root: '/tmp/ws', github_repo: null },
27
- logs: { root: '/tmp/logs' },
28
- agent: { max_concurrent_agents: 4, max_turns: 50, host_memory_reserve_mib: 2048 },
29
- acp: { heartbeat_interval_ms: 1000, heartbeat_timeout_ms: 1000 },
30
- gondolin: { image: null, cpus: 2, mem_mib: 2048, guest_agent_path: '/opt/agent.mjs' },
31
- server: { port: null },
32
- mcp: { host: 'symphony-mcp' },
33
- states: validStates(),
34
- });
35
- }
36
- // --- validateDispatch: happy path + top-level guards ------------------------
37
- test('validateDispatch returns null for a well-formed config', () => {
38
- assert.equal(validateDispatch(validConfig()), null);
39
- });
40
- test('validateDispatch rejects a non-local tracker kind', () => {
41
- const cfg = validConfig();
42
- cfg.tracker.kind = 'github';
43
- assert.equal(validateDispatch(cfg), 'unsupported_tracker_kind: github');
44
- });
45
- test('validateDispatch reports <missing> for an empty tracker kind', () => {
46
- const cfg = validConfig();
47
- cfg.tracker.kind = '';
48
- assert.equal(validateDispatch(cfg), 'unsupported_tracker_kind: <missing>');
49
- });
50
- test('validateDispatch requires tracker.root for a local tracker', () => {
51
- const cfg = validConfig();
52
- cfg.tracker.root = null;
53
- assert.equal(validateDispatch(cfg), 'tracker.root must be set for local tracker');
54
- });
55
- test('validateDispatch rejects an unknown workflow-default adapter', () => {
56
- const cfg = validConfig();
57
- cfg.acp.adapter = 'gemini';
58
- const reason = validateDispatch(cfg);
59
- assert.match(reason ?? '', /acp\.adapter "gemini" is not a known profile/);
60
- assert.match(reason ?? '', /use one of: claude, codex/);
61
- });
62
- test('validateDispatch accepts every known workflow-default adapter', () => {
63
- for (const adapter of ['claude', 'codex']) {
64
- const cfg = validConfig();
65
- cfg.acp.adapter = adapter;
66
- assert.equal(validateDispatch(cfg), null, `adapter ${adapter} should pass`);
67
- }
68
- });
69
- // --- validateDispatch: order — states error precedes adapter error ----------
70
- test('validateDispatch surfaces a state-machine error before the adapter check', () => {
71
- const cfg = validConfig();
72
- cfg.acp.adapter = 'gemini'; // also invalid, but states should fail first
73
- cfg.states = { OnlyHolding: state('holding') };
74
- assert.equal(validateDispatch(cfg), 'states: at least one state must have role: active');
75
- });
76
- // --- validateStates: role presence ------------------------------------------
77
- test('validateStates requires at least one declared state', () => {
78
- assert.equal(validateStates({}), 'states: at least one state must be declared');
79
- });
80
- test('validateStates requires an active state', () => {
81
- assert.equal(validateStates({ Todo: state('holding'), Done: state('terminal') }), 'states: at least one state must have role: active');
82
- });
83
- test('validateStates requires a terminal state', () => {
84
- assert.equal(validateStates({ Todo: state('holding'), Doing: state('active') }), 'states: at least one state must have role: terminal');
85
- });
86
- test('validateStates requires a holding state', () => {
87
- assert.equal(validateStates({ Doing: state('active'), Done: state('terminal') }), 'states: at least one state must have role: holding');
88
- });
89
- // --- validateStates: case-insensitive uniqueness ----------------------------
90
- test('validateStates rejects case-insensitive duplicate names', () => {
91
- const reason = validateStates({
92
- Todo: state('holding'),
93
- Doing: state('active'),
94
- Done: state('terminal'),
95
- DONE: state('terminal'),
96
- });
97
- assert.match(reason ?? '', /duplicate state name \(case-insensitive\): "Done" and "DONE"/);
98
- });
99
- // --- validateStates: allowed_transitions cross-ref --------------------------
100
- test('validateStates rejects an allowed_transitions target that is not declared', () => {
101
- const states = validStates();
102
- states['Doing'] = state('active', { allowed_transitions: ['Nowhere'] });
103
- assert.equal(validateStates(states), 'state "Doing": allowed_transitions references undeclared state "Nowhere"');
104
- });
105
- test('validateStates resolves allowed_transitions case-insensitively', () => {
106
- const states = validStates();
107
- states['Doing'] = state('active', { allowed_transitions: ['done', 'TODO'] });
108
- assert.equal(validateStates(states), null);
109
- });
110
- test('validateStates allows null allowed_transitions (any reachable)', () => {
111
- const states = validStates();
112
- states['Doing'] = state('active', { allowed_transitions: null });
113
- assert.equal(validateStates(states), null);
114
- });
115
- // --- validateStates: action on_error.then.route_to cross-ref (issue 235) -----
116
- test('validateStates rejects an action on_error.then.route_to target that is not declared', () => {
117
- const states = validStates();
118
- states['Done'] = state('terminal', {
119
- actions: [
120
- { kind: 'push_branch', remote: 'origin', ref: '$branch', on_error: { then: { route_to: 'Nowhere' } } },
121
- ],
122
- });
123
- assert.equal(validateStates(states), 'state "Done": actions[0] on_error.then.route_to references undeclared state "Nowhere"');
124
- });
125
- test('validateStates accepts an action on_error.then.route_to naming a declared state (case-insensitive)', () => {
126
- const states = validStates();
127
- states['Done'] = state('terminal', {
128
- actions: [
129
- { kind: 'push_branch', remote: 'origin', ref: '$branch', on_error: { then: { route_to: 'todo' } } },
130
- ],
131
- });
132
- assert.equal(validateStates(states), null);
133
- });
134
- test('validateStates ignores actions with no route (then: abort / no on_error)', () => {
135
- const states = validStates();
136
- states['Done'] = state('terminal', {
137
- actions: [
138
- { kind: 'push_branch', remote: 'origin', ref: '$branch' },
139
- { kind: 'push_branch', remote: 'origin', ref: '$branch', on_error: { then: 'abort' } },
140
- ],
141
- });
142
- assert.equal(validateStates(states), null);
143
- });
144
- // --- validateStates: per-state adapter override -----------------------------
145
- test('validateStates rejects an unknown per-state adapter override', () => {
146
- const states = validStates();
147
- states['Doing'] = state('active', { adapter: 'mystery' });
148
- const reason = validateStates(states);
149
- assert.match(reason ?? '', /state "Doing": adapter "mystery" is not a known profile/);
150
- });
151
- test('validateStates accepts a known per-state adapter override', () => {
152
- const states = validStates();
153
- states['Doing'] = state('active', { adapter: 'codex', allowed_transitions: ['Done'] });
154
- assert.equal(validateStates(states), null);
155
- });
156
- // --- validateStates: pr autopilot routing -----------------------------------
157
- test('validateStates rejects pr: on a non-terminal state', () => {
158
- const states = validStates();
159
- states['Doing'] = state('active', { pr: { auto_merge: 'squash' } });
160
- assert.equal(validateStates(states), 'state "Doing": pr: is only valid on a terminal state (got role: active)');
161
- });
162
- test('validateStates rejects pr.on_conflict.route_to to an undeclared state', () => {
163
- const states = validStates();
164
- states['Done'] = state('terminal', { pr: { auto_merge: 'squash', on_conflict: { route_to: 'Limbo' } } });
165
- assert.equal(validateStates(states), 'state "Done": pr.on_conflict.route_to references undeclared state "Limbo"');
166
- });
167
- test('validateStates accepts pr.on_conflict.route_to to a declared state', () => {
168
- const states = validStates();
169
- states['Done'] = state('terminal', { pr: { auto_merge: 'squash', on_conflict: { route_to: 'Todo' } } });
170
- assert.equal(validateStates(states), null);
171
- });
172
- test('validateStates rejects more than one merge state', () => {
173
- const states = {
174
- Todo: state('holding'),
175
- Doing: state('active'),
176
- MergeA: state('terminal', { pr: { auto_merge: 'squash' } }),
177
- MergeB: state('terminal', { pr: { auto_merge: 'merge' } }),
178
- };
179
- assert.equal(validateStates(states), 'states: at most one terminal state may declare pr.auto_merge (found 2)');
180
- });
181
- test('validateStates rejects more than one close state', () => {
182
- const states = {
183
- Todo: state('holding'),
184
- Doing: state('active'),
185
- CloseA: state('terminal', { pr: { close: true } }),
186
- CloseB: state('terminal', { pr: { close: true } }),
187
- };
188
- assert.equal(validateStates(states), 'states: at most one terminal state may declare pr.close (found 2)');
189
- });
190
- // --- validateStates: recurring-spawn trigger --------------------------------
191
- const SPAWN = { on_idle: true, after_terminal: 0, title: 'Reflection {{ stamp }}', body: null, max_in_flight: 1 };
192
- test('validateStates rejects spawn: on a non-active state', () => {
193
- const states = validStates();
194
- states['Done'] = state('terminal', { spawn: { ...SPAWN } });
195
- assert.equal(validateStates(states), 'state "Done": spawn: is only valid on an active state (got role: terminal)');
196
- });
197
- test('validateStates accepts a well-formed spawn: block', () => {
198
- const states = validStates();
199
- states['Doing'] = state('active', {
200
- allowed_transitions: ['Done'],
201
- spawn: { ...SPAWN, after_terminal: 3 },
202
- });
203
- assert.equal(validateStates(states), null);
204
- });
205
- test('validateStates rejects more than one spawning state', () => {
206
- const states = {
207
- Todo: state('holding'),
208
- DoingA: state('active', { spawn: { ...SPAWN } }),
209
- DoingB: state('active', { spawn: { ...SPAWN } }),
210
- Done: state('terminal'),
211
- };
212
- assert.equal(validateStates(states), 'states: at most one active state may declare spawn (found 2)');
213
- });
214
- // --- validateConcurrencyCaps ------------------------------------------------
215
- test('validateConcurrencyCaps returns null when the ceiling is unknown', () => {
216
- const states = { Doing: state('active', { max_concurrent: 100 }) };
217
- assert.equal(validateConcurrencyCaps(states, undefined), null);
218
- });
219
- test('validateConcurrencyCaps returns null when the cap sum is within budget', () => {
220
- const states = {
221
- A: state('active', { max_concurrent: 2 }),
222
- B: state('active', { max_concurrent: 1 }),
223
- };
224
- assert.equal(validateConcurrencyCaps(states, 4), null);
225
- });
226
- test('validateConcurrencyCaps rejects a cap sum above the global ceiling', () => {
227
- const states = {
228
- A: state('active', { max_concurrent: 3 }),
229
- B: state('active', { max_concurrent: 3 }),
230
- };
231
- assert.equal(validateConcurrencyCaps(states, 4), 'sum of per-state max_concurrent caps (6) exceeds agent.max_concurrent_agents (4)');
232
- });
233
- test('validateConcurrencyCaps ignores states without an explicit cap', () => {
234
- const states = {
235
- A: state('active', { max_concurrent: 4 }),
236
- B: state('active'), // no per-state cap — does not count toward the sum
237
- };
238
- assert.equal(validateConcurrencyCaps(states, 4), null);
239
- });
240
- // --- validateDispatch threads the concurrency check -------------------------
241
- test('validateDispatch surfaces a concurrency-cap overflow', () => {
242
- const cfg = validConfig();
243
- cfg.agent.max_concurrent_agents = 2;
244
- cfg.states['Doing'] = state('active', { max_concurrent: 3, allowed_transitions: ['Done'] });
245
- assert.equal(validateDispatch(cfg), 'sum of per-state max_concurrent caps (3) exceeds agent.max_concurrent_agents (2)');
246
- });
247
- //# sourceMappingURL=validate.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.test.js","sourceRoot":"","sources":["../../../tests/core/validate.test.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,8EAA8E;AAC9E,4EAA4E;AAE5E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,uBAAuB,GACxB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,+EAA+E;AAE/E,SAAS,KAAK,CAAC,IAAyB,EAAE,QAA8B,EAAE;IACxE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED,oEAAoE;AACpE,SAAS,WAAW;IAClB,OAAO;QACL,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;QACtB,KAAK,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,mBAAmB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;QACjE,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC;KACxB,CAAC;AACJ,CAAC;AAED,+EAA+E;AAC/E,SAAS,WAAW;IAClB,OAAO,iBAAiB,CAAC;QACvB,aAAa,EAA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