@deksden-com/dd-flow-cli 0.9.0-beta.14 → 0.9.0-beta.141

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 (493) hide show
  1. package/CHANGELOG.md +740 -0
  2. package/README.md +143 -1
  3. package/dist/build-info.json +8 -8
  4. package/dist/cli/argument-values.js +38 -0
  5. package/dist/cli/command-inputs.js +376 -0
  6. package/dist/cli/command-metadata.js +197 -0
  7. package/dist/cli/command-option-descriptions.js +191 -0
  8. package/dist/cli/completion-cli.js +70 -0
  9. package/dist/cli/completion.js +57 -0
  10. package/dist/cli/error-output.js +52 -0
  11. package/dist/cli/executor-onboarding.js +76 -0
  12. package/dist/cli/flows.js +29 -0
  13. package/dist/cli/harnesses.js +84 -0
  14. package/dist/cli/help.js +328 -18
  15. package/dist/cli/hook-ingress.js +78 -0
  16. package/dist/cli/input-preparation.js +165 -0
  17. package/dist/cli/memory-flow-admission.js +44 -0
  18. package/dist/cli/memory-init-invocation.js +78 -0
  19. package/dist/cli/memory-init.js +240 -0
  20. package/dist/cli/memory-storage-admission.js +53 -0
  21. package/dist/cli/models.js +39 -0
  22. package/dist/cli/native-hook-ingress.js +80 -0
  23. package/dist/cli/operator-profiles.js +61 -0
  24. package/dist/cli/output-options.js +35 -0
  25. package/dist/cli/response-file.js +71 -0
  26. package/dist/cli/run-cli.js +1689 -545
  27. package/dist/cli/runtime-maintenance-diagnostics.js +46 -0
  28. package/dist/cli/runtime-maintenance-ingress.js +52 -0
  29. package/dist/cli/runtime-process.js +153 -0
  30. package/dist/cli/setup.js +149 -0
  31. package/dist/cli.js +71 -2
  32. package/dist/domain/stage-catalog.js +1 -1
  33. package/dist/domain/stage-handler-identities.js +20 -0
  34. package/dist/harness-runtime/DD-ZCODE.md +112 -0
  35. package/dist/harness-runtime/OPENCODE-LICENSE.txt +24 -0
  36. package/dist/harness-runtime/bin/dd-agy.mjs +56 -0
  37. package/dist/harness-runtime/bin/dd-codex.mjs +27 -0
  38. package/dist/harness-runtime/bin/dd-droid.mjs +34 -0
  39. package/dist/harness-runtime/bin/dd-grok.mjs +40 -0
  40. package/dist/harness-runtime/bin/dd-opencode.mjs +22 -0
  41. package/dist/harness-runtime/bin/dd-zcode.mjs +87 -0
  42. package/dist/harness-runtime/lib/adapter-timeouts.d.mts +5 -0
  43. package/dist/harness-runtime/lib/adapter-timeouts.mjs +34 -0
  44. package/dist/harness-runtime/lib/agy-hooks.d.mts +1 -0
  45. package/dist/harness-runtime/lib/agy-hooks.mjs +9 -0
  46. package/dist/harness-runtime/lib/daemon-observation.d.mts +2 -0
  47. package/dist/harness-runtime/lib/daemon-observation.mjs +163 -0
  48. package/dist/harness-runtime/lib/daemon-operations.d.mts +1 -0
  49. package/dist/harness-runtime/lib/daemon-operations.mjs +371 -0
  50. package/dist/harness-runtime/lib/dd-agy-daemon.d.mts +6 -0
  51. package/dist/harness-runtime/lib/dd-agy-daemon.mjs +728 -0
  52. package/dist/harness-runtime/lib/dd-agy.mjs +70 -0
  53. package/dist/harness-runtime/lib/dd-codex-daemon.d.mts +1 -0
  54. package/dist/harness-runtime/lib/dd-codex-daemon.mjs +196 -0
  55. package/dist/harness-runtime/lib/dd-codex.d.mts +1 -0
  56. package/dist/harness-runtime/lib/dd-codex.mjs +817 -0
  57. package/dist/harness-runtime/lib/dd-droid-daemon.mjs +140 -0
  58. package/dist/harness-runtime/lib/dd-droid.mjs +584 -0
  59. package/dist/harness-runtime/lib/dd-grok-daemon.mjs +498 -0
  60. package/dist/harness-runtime/lib/dd-grok.mjs +177 -0
  61. package/dist/harness-runtime/lib/dd-opencode-daemon.mjs +557 -0
  62. package/dist/harness-runtime/lib/dd-opencode.mjs +363 -0
  63. package/dist/harness-runtime/lib/dd-zcode-daemon.mjs +751 -0
  64. package/dist/harness-runtime/lib/dd-zcode.mjs +1145 -0
  65. package/dist/harness-runtime/lib/delegation-instructions.d.mts +14 -0
  66. package/dist/harness-runtime/lib/delegation-instructions.mjs +157 -0
  67. package/dist/harness-runtime/lib/dispatch-fence.mjs +14 -0
  68. package/dist/harness-runtime/lib/driver-recovery.mjs +139 -0
  69. package/dist/harness-runtime/lib/droid-observation.mjs +66 -0
  70. package/dist/harness-runtime/lib/lease-renewal.d.mts +8 -0
  71. package/dist/harness-runtime/lib/lease-renewal.mjs +37 -0
  72. package/dist/harness-runtime/lib/lifecycle-command.d.mts +20 -0
  73. package/dist/harness-runtime/lib/lifecycle-command.mjs +273 -0
  74. package/dist/harness-runtime/lib/lifecycle-contract.d.mts +10 -0
  75. package/dist/harness-runtime/lib/lifecycle-contract.mjs +19 -0
  76. package/dist/harness-runtime/lib/managed-daemon.d.mts +16 -0
  77. package/dist/harness-runtime/lib/managed-daemon.mjs +683 -0
  78. package/dist/harness-runtime/lib/managed-flow-env.mjs +15 -0
  79. package/dist/harness-runtime/lib/model-observations.mjs +101 -0
  80. package/dist/harness-runtime/lib/native-children.d.mts +16 -0
  81. package/dist/harness-runtime/lib/native-children.mjs +113 -0
  82. package/dist/harness-runtime/lib/native-hook-command.d.mts +7 -0
  83. package/dist/harness-runtime/lib/native-hook-command.mjs +251 -0
  84. package/dist/harness-runtime/lib/native-request-proof.d.mts +2 -0
  85. package/dist/harness-runtime/lib/native-request-proof.mjs +65 -0
  86. package/dist/harness-runtime/lib/native-streams.mjs +45 -0
  87. package/dist/harness-runtime/lib/observation-clock.d.mts +18 -0
  88. package/dist/harness-runtime/lib/observation-clock.mjs +92 -0
  89. package/dist/harness-runtime/lib/opencode-plugin.mjs +85 -0
  90. package/dist/harness-runtime/lib/operation-context.mjs +5 -0
  91. package/dist/harness-runtime/lib/operation-errors.d.mts +16 -0
  92. package/dist/harness-runtime/lib/operation-errors.mjs +127 -0
  93. package/dist/harness-runtime/lib/operation-progress.d.mts +7 -0
  94. package/dist/harness-runtime/lib/operation-progress.mjs +114 -0
  95. package/dist/harness-runtime/lib/process-json.d.mts +5 -0
  96. package/dist/harness-runtime/lib/process-json.mjs +201 -0
  97. package/dist/harness-runtime/lib/process-snapshot.mjs +10 -0
  98. package/dist/harness-runtime/lib/provider-overload-policy.d.mts +13 -0
  99. package/dist/harness-runtime/lib/provider-overload-policy.mjs +138 -0
  100. package/dist/harness-runtime/lib/runner-events.mjs +200 -0
  101. package/dist/harness-runtime/lib/runner-lock.mjs +42 -0
  102. package/dist/harness-runtime/lib/session-settlement.mjs +30 -0
  103. package/dist/harness-runtime/lib/setup-progress.d.mts +9 -0
  104. package/dist/harness-runtime/lib/setup-progress.mjs +51 -0
  105. package/dist/harness-runtime/lib/tool-observations.d.mts +21 -0
  106. package/dist/harness-runtime/lib/tool-observations.mjs +228 -0
  107. package/dist/harness-runtime/lib/zcode-usage.mjs +55 -0
  108. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-1y4a697q.js +81 -0
  109. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-2ny4vxct.js +92 -0
  110. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-6mptkzbc.js +0 -0
  111. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-7x67cf1q.js +52 -0
  112. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-9rqn6x4v.js +16 -0
  113. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-9vdz0zwn.js +1661 -0
  114. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ecs5ftka.js +1466 -0
  115. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-frbwqjmf.js +145 -0
  116. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-gne7h7mq.js +50 -0
  117. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-gx9wnkzr.js +105 -0
  118. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-m2eywc8w.js +0 -0
  119. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-nwcpakzx.js +12 -0
  120. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-q4g3afnw.js +623 -0
  121. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-qav6mfdz.js +0 -0
  122. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-sxt88q69.js +12 -0
  123. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-t1xa31vm.js +39 -0
  124. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ve4aws36.js +103 -0
  125. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vmytr4q8.js +4 -0
  126. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vt9jbch8.js +36 -0
  127. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vyas3vgt.js +0 -0
  128. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-wjyeq25y.js +30 -0
  129. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-xgnj2w4v.js +20 -0
  130. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-y2etg5bs.js +9 -0
  131. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ydhz1zrh.js +238 -0
  132. package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-z6qdwcsf.js +62 -0
  133. package/dist/harness-runtime/vendor/opencode-client/contract.d.ts +1 -0
  134. package/dist/harness-runtime/vendor/opencode-client/contract.js +12 -0
  135. package/dist/harness-runtime/vendor/opencode-client/effect/api/api.d.ts +2806 -0
  136. package/dist/harness-runtime/vendor/opencode-client/effect/api/api.js +0 -0
  137. package/dist/harness-runtime/vendor/opencode-client/effect/api.d.ts +4 -0
  138. package/dist/harness-runtime/vendor/opencode-client/effect/api.js +0 -0
  139. package/dist/harness-runtime/vendor/opencode-client/effect/client.d.ts +2530 -0
  140. package/dist/harness-runtime/vendor/opencode-client/effect/client.js +15 -0
  141. package/dist/harness-runtime/vendor/opencode-client/effect/generated/client-error.d.ts +7 -0
  142. package/dist/harness-runtime/vendor/opencode-client/effect/generated/client-error.js +6 -0
  143. package/dist/harness-runtime/vendor/opencode-client/effect/generated/client.d.ts +2529 -0
  144. package/dist/harness-runtime/vendor/opencode-client/effect/generated/client.js +8 -0
  145. package/dist/harness-runtime/vendor/opencode-client/effect/generated/index.d.ts +2 -0
  146. package/dist/harness-runtime/vendor/opencode-client/effect/generated/index.js +12 -0
  147. package/dist/harness-runtime/vendor/opencode-client/effect/index.d.ts +35 -0
  148. package/dist/harness-runtime/vendor/opencode-client/effect/index.js +75 -0
  149. package/dist/harness-runtime/vendor/opencode-client/effect/rpc.d.ts +20 -0
  150. package/dist/harness-runtime/vendor/opencode-client/effect/rpc.js +11 -0
  151. package/dist/harness-runtime/vendor/opencode-client/effect/service.d.ts +90 -0
  152. package/dist/harness-runtime/vendor/opencode-client/effect/service.js +187 -0
  153. package/dist/harness-runtime/vendor/opencode-client/package.json +84 -0
  154. package/dist/harness-runtime/vendor/opencode-client/promise/api.d.ts +21 -0
  155. package/dist/harness-runtime/vendor/opencode-client/promise/api.js +0 -0
  156. package/dist/harness-runtime/vendor/opencode-client/promise/client.d.ts +252 -0
  157. package/dist/harness-runtime/vendor/opencode-client/promise/client.js +14 -0
  158. package/dist/harness-runtime/vendor/opencode-client/promise/generated/client-error.d.ts +8 -0
  159. package/dist/harness-runtime/vendor/opencode-client/promise/generated/client-error.js +6 -0
  160. package/dist/harness-runtime/vendor/opencode-client/promise/generated/client.d.ts +259 -0
  161. package/dist/harness-runtime/vendor/opencode-client/promise/generated/client.js +7 -0
  162. package/dist/harness-runtime/vendor/opencode-client/promise/generated/index.d.ts +3 -0
  163. package/dist/harness-runtime/vendor/opencode-client/promise/generated/index.js +79 -0
  164. package/dist/harness-runtime/vendor/opencode-client/promise/generated/types.d.ts +8932 -0
  165. package/dist/harness-runtime/vendor/opencode-client/promise/generated/types.js +70 -0
  166. package/dist/harness-runtime/vendor/opencode-client/promise/index.d.ts +6 -0
  167. package/dist/harness-runtime/vendor/opencode-client/promise/index.js +83 -0
  168. package/dist/harness-runtime/vendor/opencode-client/promise/rpc.d.ts +32 -0
  169. package/dist/harness-runtime/vendor/opencode-client/promise/rpc.js +7 -0
  170. package/dist/harness-runtime/vendor/opencode-client/promise/service.d.ts +24 -0
  171. package/dist/harness-runtime/vendor/opencode-client/promise/service.js +187 -0
  172. package/dist/harness-runtime/vendor/opencode-client/pty-handoff.d.ts +12 -0
  173. package/dist/harness-runtime/vendor/opencode-client/pty-handoff.js +14 -0
  174. package/dist/harness-runtime/vendor/opencode-client/rpc-runtime.d.ts +20 -0
  175. package/dist/harness-runtime/vendor/opencode-client/rpc-runtime.js +14 -0
  176. package/dist/harness-runtime/vendor/opencode-client/service-contender.d.ts +37 -0
  177. package/dist/harness-runtime/vendor/opencode-client/service-contender.js +10 -0
  178. package/dist/harness-runtime/vendor/opencode-client/service-probe.d.ts +70 -0
  179. package/dist/harness-runtime/vendor/opencode-client/service-probe.js +16 -0
  180. package/dist/harness-runtime/vendor/opencode-client/service-timing.d.ts +12 -0
  181. package/dist/harness-runtime/vendor/opencode-client/service-timing.js +10 -0
  182. package/dist/harness-runtime/vendor/opencode-client/service-version.d.ts +2 -0
  183. package/dist/harness-runtime/vendor/opencode-client/service-version.js +6 -0
  184. package/dist/harness-runtime/vendor/opencode-client/service.d.ts +52 -0
  185. package/dist/harness-runtime/vendor/opencode-client/service.js +1 -0
  186. package/dist/harness-runtime/vendor/opencode-client/shared-events.d.ts +11 -0
  187. package/dist/harness-runtime/vendor/opencode-client/shared-events.js +8 -0
  188. package/dist/harness-runtime/vendor/opencode-client/solid/connection.d.ts +37 -0
  189. package/dist/harness-runtime/vendor/opencode-client/solid/connection.js +10 -0
  190. package/dist/harness-runtime/vendor/opencode-client/solid/data.d.ts +211 -0
  191. package/dist/harness-runtime/vendor/opencode-client/solid/data.js +18 -0
  192. package/dist/harness-runtime/vendor/opencode-client/solid/index.d.ts +3 -0
  193. package/dist/harness-runtime/vendor/opencode-client/solid/index.js +32 -0
  194. package/dist/harness-runtime/vendor/opencode-client/solid/pty.d.ts +22 -0
  195. package/dist/harness-runtime/vendor/opencode-client/solid/pty.js +8 -0
  196. package/dist/harness-runtime/vendor/opencode-plugin.mjs +3 -0
  197. package/dist/protocol/local-files.js +18 -9
  198. package/dist/runtime/context.js +8 -4
  199. package/dist/schemas/agent-profile.schema.json +1 -1
  200. package/dist/schemas/code-review-result.schema.json +1 -1
  201. package/dist/schemas/code-verification.schema.json +7 -5
  202. package/dist/schemas/code-work-batch.schema.json +2 -2
  203. package/dist/schemas/discovery-result.schema.json +184 -0
  204. package/dist/schemas/execution-bundle.schema.json +205 -0
  205. package/dist/schemas/execution-settings.schema.json +162 -0
  206. package/dist/schemas/flow-descriptor.schema.json +54 -0
  207. package/dist/schemas/flow-run.schema.json +28 -0
  208. package/dist/schemas/harness-catalog.schema.json +80 -0
  209. package/dist/schemas/mb-init-compose-result.schema.json +457 -0
  210. package/dist/schemas/mb-init-discover-result.schema.json +500 -0
  211. package/dist/schemas/mb-init-finish-result.schema.json +422 -0
  212. package/dist/schemas/mb-init-preflight-result.schema.json +367 -0
  213. package/dist/schemas/mb-init-review-result.schema.json +396 -0
  214. package/dist/schemas/mb-init-verify-result.schema.json +391 -0
  215. package/dist/schemas/memory-bootstrap-receipt-v2.schema.json +67 -0
  216. package/dist/schemas/memory-bootstrap-receipt.schema.json +354 -0
  217. package/dist/schemas/memory-composition-work-result.schema.json +38 -0
  218. package/dist/schemas/memory-repair-work-result.schema.json +49 -0
  219. package/dist/schemas/memory-review-correction-plan.schema.json +30 -0
  220. package/dist/schemas/memory-review-work-result.schema.json +43 -0
  221. package/dist/schemas/model-catalog.schema.json +153 -0
  222. package/dist/schemas/plan-review-decision.schema.json +3 -3
  223. package/dist/schemas/plan-review-result.schema.json +2 -2
  224. package/dist/schemas/profile-settings.schema.json +122 -0
  225. package/dist/schemas/release-manifest.schema.json +291 -0
  226. package/dist/schemas/run-control-receipt.schema.json +118 -0
  227. package/dist/schemas/run-control-request.schema.json +36 -0
  228. package/dist/schemas/run-engine-binding.schema.json +1 -1
  229. package/dist/schemas/vnext-protocol-plan.schema.json +2 -2
  230. package/dist/services/branch-context.js +3 -3
  231. package/dist/services/canon.js +11 -8
  232. package/dist/services/check-runner-evidence.js +250 -0
  233. package/dist/services/cleanup.js +133 -40
  234. package/dist/services/cli-operation-classifier.js +25 -62
  235. package/dist/services/cli-upgrade-allowlist.js +27 -0
  236. package/dist/services/code-checks.js +1168 -107
  237. package/dist/services/codex-hook-delivery.js +32 -0
  238. package/dist/services/command-context.js +80 -0
  239. package/dist/services/compatibility-preflight.js +13 -3
  240. package/dist/services/config.js +11 -8
  241. package/dist/services/continuation-outcome.js +20 -0
  242. package/dist/services/controller-child-capacity.js +13 -0
  243. package/dist/services/controller-child-observer.js +115 -0
  244. package/dist/services/controller-execution.js +88 -0
  245. package/dist/services/controller-fanout.js +202 -0
  246. package/dist/services/dashboard.js +143 -58
  247. package/dist/services/descriptor-coordinator-session.js +35 -0
  248. package/dist/services/descriptor-root-work.js +53 -0
  249. package/dist/services/descriptor-run-settlement.js +105 -0
  250. package/dist/services/descriptor-run-start.js +449 -0
  251. package/dist/services/descriptor-stage-coordinator.js +197 -0
  252. package/dist/services/descriptor-stage-settlement.js +222 -0
  253. package/dist/services/descriptor-stage-start.js +139 -0
  254. package/dist/services/discovery/agy-discovery.js +2 -0
  255. package/dist/services/discovery/codex-discovery.js +2 -0
  256. package/dist/services/discovery/droid-discovery.js +2 -0
  257. package/dist/services/discovery/grok-discovery.js +2 -0
  258. package/dist/services/discovery/opencode-discovery.js +2 -0
  259. package/dist/services/discovery/static.js +31 -0
  260. package/dist/services/discovery/zcode-discovery.js +2 -0
  261. package/dist/services/engines.js +294 -153
  262. package/dist/services/eval-snapshots.js +1215 -116
  263. package/dist/services/execution-bundles.js +263 -0
  264. package/dist/services/execution-policy.js +185 -0
  265. package/dist/services/executor-onboarding.js +56 -0
  266. package/dist/services/external-work-launch.js +308 -0
  267. package/dist/services/flow-catalog.js +21 -0
  268. package/dist/services/flow-descriptors.js +82 -0
  269. package/dist/services/frozen-engine.js +250 -0
  270. package/dist/services/generic-execution.js +164 -0
  271. package/dist/services/harness-adapter.js +355 -36
  272. package/dist/services/harness-config.js +2 -0
  273. package/dist/services/harness-discovery.js +29 -0
  274. package/dist/services/harness-doctor.js +75 -0
  275. package/dist/services/harness-probe-effects.js +51 -0
  276. package/dist/services/harness-version-probe.js +100 -0
  277. package/dist/services/hooks.js +771 -325
  278. package/dist/services/hybrid-contracts.js +483 -0
  279. package/dist/services/ids.js +29 -1
  280. package/dist/services/installation-lock.js +95 -0
  281. package/dist/services/installed-flow-source.js +183 -0
  282. package/dist/services/lanes.js +78 -65
  283. package/dist/services/lifecycle-command.js +1 -288
  284. package/dist/services/lifecycle-contract.js +1 -0
  285. package/dist/services/lifecycle-invocations.js +2007 -0
  286. package/dist/services/managed-daemon-binding.js +38 -0
  287. package/dist/services/managed-lease-monitor.js +133 -0
  288. package/dist/services/managed-processes.js +475 -55
  289. package/dist/services/memory-accepted-composition.js +77 -0
  290. package/dist/services/memory-baseline-preservation.js +65 -0
  291. package/dist/services/memory-completed-correction-wave.js +320 -0
  292. package/dist/services/memory-compose-handler.js +258 -0
  293. package/dist/services/memory-composition-acceptance.js +199 -0
  294. package/dist/services/memory-composition-graph.js +134 -0
  295. package/dist/services/memory-composition-registration.js +146 -0
  296. package/dist/services/memory-composition-work-custody.js +151 -0
  297. package/dist/services/memory-composition-work-results.js +96 -0
  298. package/dist/services/memory-corrected-review-acceptance.js +129 -0
  299. package/dist/services/memory-corrected-review-batch.js +30 -0
  300. package/dist/services/memory-corrected-review-findings.js +106 -0
  301. package/dist/services/memory-corrected-review-inputs.js +210 -0
  302. package/dist/services/memory-corrected-review-projection.js +78 -0
  303. package/dist/services/memory-corrected-review-receipt.js +170 -0
  304. package/dist/services/memory-corrected-review-registration.js +191 -0
  305. package/dist/services/memory-correction-check-receipt.js +219 -0
  306. package/dist/services/memory-correction-input-owner.js +6 -0
  307. package/dist/services/memory-discover-handler.js +104 -0
  308. package/dist/services/memory-finish-evidence.js +435 -0
  309. package/dist/services/memory-finish-handler.js +215 -0
  310. package/dist/services/memory-finish-integration.js +280 -0
  311. package/dist/services/memory-finish-readiness.js +122 -0
  312. package/dist/services/memory-git-integration.js +151 -0
  313. package/dist/services/memory-historical-corrected-review.js +206 -0
  314. package/dist/services/memory-historical-original-review.js +130 -0
  315. package/dist/services/memory-historical-repair-registration.js +99 -0
  316. package/dist/services/memory-historical-second-review.js +128 -0
  317. package/dist/services/memory-init-bootstrap-readiness.js +210 -0
  318. package/dist/services/memory-init-contexts.js +89 -0
  319. package/dist/services/memory-init-controller-start.js +84 -0
  320. package/dist/services/memory-init-engine-release.js +223 -0
  321. package/dist/services/memory-init-git-policy.js +136 -0
  322. package/dist/services/memory-init-lint-capability.js +185 -0
  323. package/dist/services/memory-init-native-capacity.js +296 -0
  324. package/dist/services/memory-init-preflight.js +330 -0
  325. package/dist/services/memory-init-project-bootstrap.js +599 -0
  326. package/dist/services/memory-init-request-candidate.js +157 -0
  327. package/dist/services/memory-init-request-input.js +66 -0
  328. package/dist/services/memory-init-resource-storage.js +125 -0
  329. package/dist/services/memory-init-run-allocation.js +81 -0
  330. package/dist/services/memory-init-run-bundle.js +98 -0
  331. package/dist/services/memory-init-start.js +181 -0
  332. package/dist/services/memory-init-startup-custody.js +80 -0
  333. package/dist/services/memory-init-startup-input.js +240 -0
  334. package/dist/services/memory-init-storage.js +81 -0
  335. package/dist/services/memory-init-stores.js +359 -0
  336. package/dist/services/memory-init-worktrunk-capability.js +178 -0
  337. package/dist/services/memory-layer-publication.js +611 -0
  338. package/dist/services/memory-layer.js +156 -0
  339. package/dist/services/memory-lint-config.js +85 -0
  340. package/dist/services/memory-native-review-copy.js +165 -0
  341. package/dist/services/memory-normal-flow-entry.js +75 -0
  342. package/dist/services/memory-ordinary-defaults.js +112 -0
  343. package/dist/services/memory-preflight-bootstrap-custody.js +115 -0
  344. package/dist/services/memory-preflight-handler.js +259 -0
  345. package/dist/services/memory-repair-current-view.js +299 -0
  346. package/dist/services/memory-repair-document-delta.js +451 -0
  347. package/dist/services/memory-repair-history.js +491 -0
  348. package/dist/services/memory-repair-physical-binding.js +312 -0
  349. package/dist/services/memory-repair-publication-files.js +152 -0
  350. package/dist/services/memory-repair-publication-intent.js +27 -0
  351. package/dist/services/memory-repair-publication-plan.js +160 -0
  352. package/dist/services/memory-repair-publication-source.js +225 -0
  353. package/dist/services/memory-repair-publication.js +794 -0
  354. package/dist/services/memory-repair-registration.js +239 -0
  355. package/dist/services/memory-repair-work-baseline.js +413 -0
  356. package/dist/services/memory-repair-work-completion.js +97 -0
  357. package/dist/services/memory-repair-work-custody.js +73 -0
  358. package/dist/services/memory-repair-work-results.js +89 -0
  359. package/dist/services/memory-repair-workspace.js +252 -0
  360. package/dist/services/memory-repair-writer-copy.js +735 -0
  361. package/dist/services/memory-result-binding.js +173 -0
  362. package/dist/services/memory-retained-review-authority.js +129 -0
  363. package/dist/services/memory-retained-review-results.js +70 -0
  364. package/dist/services/memory-retained-second-baseline.js +102 -0
  365. package/dist/services/memory-retained-second-repairs.js +156 -0
  366. package/dist/services/memory-review-acceptance.js +214 -0
  367. package/dist/services/memory-review-correction-plan.js +171 -0
  368. package/dist/services/memory-review-handler.js +585 -0
  369. package/dist/services/memory-review-inputs.js +200 -0
  370. package/dist/services/memory-review-receipt.js +180 -0
  371. package/dist/services/memory-review-registration.js +108 -0
  372. package/dist/services/memory-review-work-custody.js +124 -0
  373. package/dist/services/memory-review-work-input.js +72 -0
  374. package/dist/services/memory-review-work-results.js +73 -0
  375. package/dist/services/memory-second-corrected-review-inputs.js +165 -0
  376. package/dist/services/memory-second-correction-plan.js +76 -0
  377. package/dist/services/memory-second-repair-baseline.js +91 -0
  378. package/dist/services/memory-second-repair-launch.js +614 -0
  379. package/dist/services/memory-second-repair-registration.js +88 -0
  380. package/dist/services/memory-second-repair-source.js +187 -0
  381. package/dist/services/memory-second-review-acceptance.js +115 -0
  382. package/dist/services/memory-source-observations.js +117 -0
  383. package/dist/services/memory-stage-dispatch.js +28 -0
  384. package/dist/services/memory-stage-results.js +199 -0
  385. package/dist/services/memory-verification-acceptance.js +135 -0
  386. package/dist/services/memory-verification-checks.js +252 -0
  387. package/dist/services/memory-verification-receipt.js +159 -0
  388. package/dist/services/memory-verify-handler.js +135 -0
  389. package/dist/services/memory-work-result-preparation.js +63 -0
  390. package/dist/services/merge-queue.js +228 -149
  391. package/dist/services/merge-server.js +161 -35
  392. package/dist/services/migrations.js +37 -16
  393. package/dist/services/model-catalog.js +109 -0
  394. package/dist/services/model-discovery.js +46 -0
  395. package/dist/services/native-daemon-history.js +49 -0
  396. package/dist/services/native-session-control.js +39 -0
  397. package/dist/services/operator-profiles.js +236 -0
  398. package/dist/services/plan-runtime.js +26 -11
  399. package/dist/services/plans.js +28 -25
  400. package/dist/services/projects.js +37 -17
  401. package/dist/services/prompts.js +28 -17
  402. package/dist/services/protocols.js +163 -87
  403. package/dist/services/provider-capacity.js +385 -0
  404. package/dist/services/recovery-observation-budget.js +121 -0
  405. package/dist/services/recovery-snapshot-database.js +560 -0
  406. package/dist/services/release-archive-producer.js +52 -0
  407. package/dist/services/release-archive.js +143 -0
  408. package/dist/services/release-cache.js +142 -0
  409. package/dist/services/release-compatibility.js +18 -0
  410. package/dist/services/release-download.js +67 -0
  411. package/dist/services/release-envelope.js +104 -0
  412. package/dist/services/release-manifest.js +45 -0
  413. package/dist/services/release-payload.js +114 -0
  414. package/dist/services/release-producer.js +63 -0
  415. package/dist/services/release-provenance.js +160 -0
  416. package/dist/services/release-registry.js +66 -0
  417. package/dist/services/release-source.js +194 -0
  418. package/dist/services/repair-intents.js +42 -0
  419. package/dist/services/review-copy.js +165 -0
  420. package/dist/services/review-deferral.js +23 -0
  421. package/dist/services/run-control-receipt.js +56 -0
  422. package/dist/services/run-control-worker.js +411 -0
  423. package/dist/services/run-control.js +1056 -0
  424. package/dist/services/run-controller-adapter.js +399 -0
  425. package/dist/services/run-controller-capture.js +186 -0
  426. package/dist/services/run-controller-process.js +208 -0
  427. package/dist/services/run-controller-recovery.js +289 -0
  428. package/dist/services/run-controller-state.js +97 -0
  429. package/dist/services/run-controller.js +1205 -0
  430. package/dist/services/run-engine-bindings.js +1 -1
  431. package/dist/services/run-fork.js +147 -0
  432. package/dist/services/run-health.js +149 -0
  433. package/dist/services/run-observations.js +152 -0
  434. package/dist/services/run-projection.js +22 -64
  435. package/dist/services/run-recovery-guard.js +77 -0
  436. package/dist/services/run-recovery-runtime.js +112 -0
  437. package/dist/services/run-recovery.js +489 -0
  438. package/dist/services/run-start-custody.js +177 -0
  439. package/dist/services/runs.js +1019 -247
  440. package/dist/services/runtime-budget.js +430 -0
  441. package/dist/services/runtime-command.js +43 -0
  442. package/dist/services/runtime-scope-capture.js +52 -0
  443. package/dist/services/runtime-scope-control.js +468 -0
  444. package/dist/services/runtime-scope-resume.js +599 -0
  445. package/dist/services/runtime-scope-stop.js +210 -0
  446. package/dist/services/runtime-scope-worker.js +287 -0
  447. package/dist/services/runtime-service.js +96 -0
  448. package/dist/services/schema-validation.js +10 -8
  449. package/dist/services/scope-writer-cleanup.js +27 -0
  450. package/dist/services/sessions.js +35 -69
  451. package/dist/services/setup.js +377 -0
  452. package/dist/services/stage-blocker.js +17 -7
  453. package/dist/services/stage-context.js +193 -19
  454. package/dist/services/stage-handlers.js +74 -0
  455. package/dist/services/stage-lifecycle.js +152 -116
  456. package/dist/services/stage-pause.js +89 -75
  457. package/dist/services/stage-report-renderer.js +234 -6
  458. package/dist/services/stage-work-graph.js +52 -0
  459. package/dist/services/tooling.js +41 -30
  460. package/dist/services/usage.js +49 -101
  461. package/dist/services/verification-matrix.js +375 -0
  462. package/dist/services/vnext-code-review.js +223 -88
  463. package/dist/services/vnext-code.js +327 -226
  464. package/dist/services/vnext-contracts.js +10 -1
  465. package/dist/services/vnext-execution-profile.js +80 -5
  466. package/dist/services/vnext-fanout.js +311 -19
  467. package/dist/services/vnext-merge.js +332 -111
  468. package/dist/services/vnext-plan-review.js +279 -127
  469. package/dist/services/vnext-plan.js +228 -104
  470. package/dist/services/vnext-protocolize.js +531 -95
  471. package/dist/services/vnext-specify.js +119 -81
  472. package/dist/services/vnext-workspace-policy.js +7 -2
  473. package/dist/services/work-registry.js +1627 -199
  474. package/dist/services/workspace-bootstrap.js +52 -15
  475. package/dist/services/workspace-files.js +85 -0
  476. package/dist/services/worktrees.js +105 -48
  477. package/dist/shared/entity-references.js +8 -0
  478. package/dist/shared/errors.js +27 -0
  479. package/dist/storage/agent-output.js +26 -0
  480. package/dist/storage/database.js +891 -39
  481. package/dist/storage/foreign-key-transaction.js +39 -0
  482. package/dist/storage/immutable-input.js +45 -0
  483. package/dist/storage/import-guard.js +102 -0
  484. package/dist/storage/native-cleanup.js +52 -0
  485. package/dist/storage/paths.js +17 -4
  486. package/dist/storage/projection-lock.js +73 -0
  487. package/dist/storage/work-references.js +23 -0
  488. package/dist/storage/writer-contract.js +89 -0
  489. package/dist/storage/writer-migration.js +85 -0
  490. package/package.json +43 -13
  491. package/tools/create-canon-release.mjs +33 -0
  492. package/tools/produce-hybrid-release.mjs +41 -0
  493. package/tools/repair-paused-run-status.mjs +84 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,744 @@
1
1
  # @deksden-com/dd-flow-cli
2
2
 
3
+ ## 0.9.0-beta.141
4
+
5
+ ### Patch Changes
6
+
7
+ - 49dbfa3: Retain precise check and startup failures, validate bound browser inactivity proof,
8
+ and observe test progress without losing diagnostics or rollback guarantees.
9
+
10
+ ## 0.9.0-beta.140
11
+
12
+ - Compare observable birth after EPERM so a foreign reused PID is not mistaken for the retained owner; unknown identity remains conservative.
13
+
14
+ - Separate pre-reboot physical retirement of controllers and waiting probes from their retained logical outcome.
15
+
16
+ - Preserve legacy resource writer contracts during terminal retirement and recognize retained resource aliases without changing their historical bytes.
17
+ - Retire structurally validated registries predating writer contracts without installing a new schema or fence definition.
18
+
19
+ ### Patch Changes
20
+
21
+ - Retire validated pre-reboot legacy daemon processes without claiming native Session success or signalling reused PIDs.
22
+
23
+ ## 0.9.0-beta.139
24
+
25
+ ### Patch Changes
26
+
27
+ - Route each Stage from current RUN workspace authority, preserve known native
28
+ terminal outcomes independently of diagnostic reads, and retain exact owned
29
+ OpenCode hook identity failures. Fence automatic cleanup from active owners,
30
+ persist retirement observation budgets and causal errors, validate resource
31
+ homes before writes, and preserve maintenance effect/cleanup boundaries.
32
+ Use progress-observed fixture transport without losing native CLI exit codes.
33
+ - dafdb20: Use a shared bounded provider-overload episode: two same-Session continuations,
34
+ 5/15-second backoff with jitter, and explicit provider-unavailable exhaustion.
35
+ Normalize native capacity failures across adapters, retain restart-safe retry
36
+ budgets, and close child episodes only after confirmed successful native Turns.
37
+
38
+ ## 0.9.0-beta.138
39
+
40
+ - Retain causal native check failures and permit fenced source repair in the same Session. Reject malformed repair proofs and preserve physical execution blockers during reconciliation.
41
+
42
+ ## 0.9.0-beta.137
43
+
44
+ - Preserve shared reasoning/mode options in OpenCode v2 and support non-generative doctor before daemon startup.
45
+
46
+ ### Patch Changes
47
+
48
+ - e65a615: Retain scoped native child failures through read-only ZCode observation and durable dispatch fences. Bind failure provenance to current Work/Session/controller identities. Publish materialized PROTOCOLIZE evidence separately from authored input, and replay completed stages without revalidating an archived worktree or regressing later stages.
49
+
50
+ ## 0.9.0-beta.136
51
+
52
+ ### Patch Changes
53
+
54
+ - 8c75ca6: Reconcile retained RUN health using physical ownership and controller settlement without dispatch or lease takeover. Persist target-stage pauses, preserve unknown historical timing, and leave future pending stages untouched after a failure.
55
+
56
+ ## 0.9.0-beta.135
57
+
58
+ ### Patch Changes
59
+
60
+ - Migrate dd-opencode to the pinned OpenCode v2 client/plugin API, owned private servers and durable inbox/outcome reconciliation. Bind native lifecycle hooks, sliding shell progress and shared overload continuation; hoist engine dependency snapshots without duplicating shared graphs. Legacy v1 runtime states remain available only through the archived engine.
61
+
62
+ ## 0.9.0-beta.134
63
+
64
+ ### Patch Changes
65
+
66
+ - 7dae2f0: Freeze explicitly accepted RUN operational decisions and deliver the same verified policy/context to Stage and Work. Preserve their authority across recovery, require new acceptance for imported experiments, and retain native aborted-check reasons.
67
+ - Deliver plan 082 Work authority, native failure evidence and Judge diagnostic repairs; admit the exact CP226 ZCode bridge after root, concurrent-child, same-child continuation and clean shutdown probes.
68
+ - 46b7dbc: Persist stage usage through the shared completion service, including vNext SPECIFY and PROTOCOLIZE. Completed stage records now retain scoped token measurements for console readers; missing measurements remain unavailable.
69
+ - 430a7df: Prepare writable parent directories before handing agents HITL, Work result and CODE blocker input paths. Preserve existing payloads and reject unavailable destinations without publishing unusable instructions.
70
+ - 539de25: Capture bounded observation journals without requiring global runtime silence.
71
+ Retain RUN-scoped productive authority, immutable payload checksums and recovery
72
+ materials. Finalize stop-after captures as candidates after native settlement.
73
+ - 9ca6bb3: Use scoped native progress and inactivity windows instead of productive-work
74
+ lifetime limits. Preserve observation uncertainty and exact operation fences
75
+ across quiet probes and observer replacement; bound utility output and cleanup.
76
+ Separate native-work and control waits across all six bundled adapters, keep
77
+ serving services exempt from output silence, and stop MERGE on confirmed lease
78
+ loss. New runtime contracts are operation-progress@1, operation-errors@2 and
79
+ native-operation-wait@1.
80
+ - 0a8923a: Separate existing controller lease renewal from new launch admission so terminal RUNs can finish boundary capture and native settlement. Make terminal stop retain durable cleanup evidence without reopening productive recovery, and expose exact-owner finalization diagnostics. Full-cycle regressions now check sealed final capture and physical retirement before fixture cleanup.
81
+ - 6b2c491: Preserve unavailable ZCode cache and reasoning counters as null instead of inventing measured zeros. Mixed histories keep optional totals unknown while retaining confirmed input, output, and total tokens.
82
+
83
+ ## 0.9.0-beta.133
84
+
85
+ ### Patch Changes
86
+
87
+ - Use the exact retained committed lease for admission and capacity waits,
88
+ rather than an expired daemon-state snapshot.
89
+ - Validate direct check runner evidence contracts before PLAN/Work admission.
90
+ - beta.132 is retained as a superseded local candidate; review found the stale
91
+ admission horizon before release or scored E2E.
92
+
93
+ ## 0.9.0-beta.132
94
+
95
+ ### Patch Changes
96
+
97
+ - Preserve structured CLI failure receipts when valid setup-phase diagnostics
98
+ precede the error envelope; reject malformed/error-bearing phase records.
99
+ - beta.131 remains an unaccepted immutable local candidate; its full gate
100
+ exposed this parsing defect before engine promotion.
101
+
102
+ ## 0.9.0-beta.131
103
+
104
+ ### Patch Changes
105
+
106
+ - Bound maintenance to verified lease authority, reconcile settled unknown
107
+ heartbeat acknowledgements without replay, and separate resource/RUN effects.
108
+ - Keep scope-free maintenance cold imports narrow; finish observes its own
109
+ settlement window after the preceding flight.
110
+ - Retain bound structured test outcomes and progress with profile@7, preserving
111
+ profile@6 compatibility. Route tooling/unknown failures away from product repair.
112
+
113
+ ## 0.9.0-beta.130
114
+
115
+ ### Patch Changes
116
+
117
+ - Bind AGY startup observation to its actual daemon configuration, preserve
118
+ explicit OpenCode observation windows and retain the last confirmed setup phase.
119
+ - beta.129 remained an unaccepted local candidate; its failed native gate is
120
+ retained separately rather than reissued under a different artifact digest.
121
+
122
+ ## 0.9.0-beta.129
123
+
124
+ ### Patch Changes
125
+
126
+ - Observe setup phases across engine admission and all native daemon startups;
127
+ retain operation-bound progress and distinguish silence from observation loss.
128
+ - Run engine health/bind/fork probes and managed tooling asynchronously outside
129
+ storage writers, preserving dependency failures, cancellation and owned cleanup.
130
+ - Stream ZCode binary identity and preserve startup progress through EVAL control.
131
+
132
+ ## 0.9.0-beta.128
133
+
134
+ ### Patch Changes
135
+
136
+ - Separate cold maintenance CLI imports from storage inactivity. Start the short
137
+ sliding storage window only after request-bound readiness, retaining the finite
138
+ ownership horizon and unknown-write recovery. Diagnose startup versus storage
139
+ expiry and preserve exact registration operation identity.
140
+
141
+ ## 0.9.0-beta.127
142
+
143
+ ### Patch Changes
144
+
145
+ - Scope boundary consistency to productive RUN authority and retain accepted Work results across snapshot relocation without requiring unchanged provider service files.
146
+ - Reject conflicting retained native operation inputs before transport dispatch, preserving the same conflict classification across all harness observers.
147
+ - Distinguish recoverable pre-shutdown refusal from durable unclean shutdown in full-cycle fixtures. Verify clean settlement or retained blocker custody before teardown, with native operation-inspection and cancel-tree parameter parity.
148
+
149
+ ## 0.9.0-beta.126
150
+
151
+ ### Patch Changes
152
+
153
+ - Separate existing controller renewal from productive launch admission, allowing terminal RUNs to finish sealed boundary capture and native settlement.
154
+ - Make terminal stop retain durable cleanup without changing subject outcomes or reopening productive recovery; expose scoped read-only finalization diagnostics.
155
+ - Verify final snapshot identity and physical retirement before full-cycle fixture teardown.
156
+
157
+ ## 0.9.0-beta.124
158
+
159
+ ### Patch Changes
160
+
161
+ - Stop only two confirmed continuation overload refusals within the inclusive two-minute window, preserving native refusal times and exact owner admission across recovery.
162
+
163
+ Retain final PLAN check obligations, completion markers and native output bytes in verification evidence; require canonical fixes for duplicated CODE P0/P1 findings.
164
+
165
+ Join native daemon cleanup before durable stop acknowledgement and reconcile already-closed provider bridges without replay.
166
+
167
+ ## 0.9.0-beta.123
168
+
169
+ ### Patch Changes
170
+
171
+ - Continue confirmed Codex overloads in the retained Session with bounded backoff, exact owner admission and no concurrent productive Turns.
172
+ - Retain content-addressed verification evidence and reviewer input baselines across publication, relocation and review waves.
173
+ - Preserve canonical native model/tool observations and AGY child transcript evidence without rewriting historical results.
174
+
175
+ ## 0.9.0-beta.122
176
+
177
+ ### Patch Changes
178
+
179
+ - Generate a deterministic RUN-local verification matrix from accepted requirements, PLAN and exact check receipts; publish retained input/output packets and show their paths in shared Stage/Work instructions.
180
+ - Recognize one unambiguous lifecycle command through the shared Bash grammar instead of rejecting all shell composition; retain scoped authority, execution-directory and foreground checks.
181
+ - Share native hook deadlines through subprocess and SQLite admission, retain bounded phase diagnostics and the first ZCode failure, and prepare Stage archive/Git work outside the writer.
182
+ - Admit the tested ZCode ACP 0.52 bridge and retain explicitly configured native storage routes across daemon lifecycle calls.
183
+
184
+ ## 0.9.0-beta.120
185
+
186
+ ### Patch Changes
187
+
188
+ - Continue only confirmed, effect-free Codex `serverOverloaded` Turns in the same Session with bounded backoff and retained owner, budget, HITL, Work, MERGE, and recovery admission. Preserve exact native child Turn evidence and fail closed when effects are unknown.
189
+ - Distinguish hard provider quota from short rate limiting and ambiguous 429 responses across AGY, ZCode, and OpenCode.
190
+
191
+ ## 0.9.0-beta.119
192
+
193
+ ### Patch Changes
194
+
195
+ - Give Grok's native ACP startup a bounded 60-second initialize window and a 120-second daemon-ready window. ZCode keeps its 30-second initialize bound.
196
+
197
+ ## 0.9.0-beta.118
198
+
199
+ ### Patch Changes
200
+
201
+ - Admit the tested ZCode bridge fix for managed turns that remain active after a frozen event watermark, and allow 30 seconds for Antigravity's version check during doctor and daemon startup.
202
+
203
+ ## 0.9.0-beta.117
204
+
205
+ ### Patch Changes
206
+
207
+ - Preserve Grok child model facts, replay owned Codex tool events, and let CODE collect aggregate-check evidence before semantic acceptance.
208
+
209
+ ## 0.9.0-beta.116
210
+
211
+ ### Patch Changes
212
+
213
+ - Reject ZCode managed lifecycle commands launched as background Bash before execution, and give all harnesses one foreground lifecycle instruction so their native admission receipts remain observable.
214
+
215
+ ## 0.9.0-beta.115
216
+
217
+ ### Patch Changes
218
+
219
+ - Freeze the reviewed source check profile for MERGE after verifying that it only adds aliases to the integration baseline; keep existing check policy immutable and verify the post-apply profile against that frozen source.
220
+
221
+ ## 0.9.0-beta.114
222
+
223
+ ### Patch Changes
224
+
225
+ - Route controlled `merge apply` and `merge repair` hooks to the MERGE request's integration workspace, preserving native cwd validation across AGY, OpenCode, and Droid.
226
+
227
+ ## 0.9.0-beta.113
228
+
229
+ ### Patch Changes
230
+
231
+ - Allow sibling read-only reviewers to start concurrently when one updates the shared RUN projection; retain Work, generation, dependency, and immutable review-input checks.
232
+
233
+ ## 0.9.0-beta.112
234
+
235
+ ### Patch Changes
236
+
237
+ - Give ZCode native Session creation a bounded end-to-end budget and admit the matching tested bridge commit, reject bare long-running service scripts as checks, run managed checks with the engine's Node architecture, and serialize concurrent Work checks within one RUN. Classify Git's expected EPIPE on a gitless check-ignore probe without hiding other Git failures.
238
+
239
+ ## 0.9.0-beta.111
240
+
241
+ ### Patch Changes
242
+
243
+ - Settle retired Grok child Sessions from their retained terminal native TaskOutput when session/info omits status; keep explicit activity, new attempts and outcome conflicts blocking settlement.
244
+
245
+ ## 0.9.0-beta.110
246
+
247
+ ### Patch Changes
248
+
249
+ - Pass retained runtime ownership to the ZCode ACP provider so managed Turns do not accept an inferred idle result as native completion. Reject an empty review set while PLAN-REVIEW is explicitly standard/deep, before publishing PLAN, and explain that mode in the shared PLAN prompt.
250
+
251
+ ## 0.9.0-beta.109
252
+
253
+ ### Patch Changes
254
+
255
+ - Start managed daemons from their confirmed registration without a redundant blocking heartbeat. Keep periodic ownership checks and reject productive work when renewal cannot be confirmed. Recognize a failed daemon start as settled only when the native journal proves no Session was created and the exact daemon/provider processes have terminated with released leases. Accept an identical Work start packet already published by a concurrent starter while retaining conflict detection for changed bindings or bytes.
256
+
257
+ ## 0.9.0-beta.108
258
+
259
+ ### Patch Changes
260
+
261
+ - Route native tool hooks through the prepared hook store and skip storage entirely for unrelated tools. Give ZCode daemon readiness a bounded 30-second window and clean up the exact registered provider process if any managed daemon fails to start, preserving the primary startup error.
262
+
263
+ ## 0.9.0-beta.107
264
+
265
+ ### Patch Changes
266
+
267
+ - Give a corrective successor only for proven no-effect PROTOCOLIZE, PLAN, PLAN-REVIEW, and Work input errors, including invalid corrected PLAN schemas and missing evidence references; keep broken runtime artifacts fatal. Tell PLAN reviewers the exact workspace-relative PLAN path. Apply ZCode's profile as one unarmed configuration phase and verify the final native profile before productive work, so transient native mode notifications cannot masquerade as drift.
268
+
269
+ ## 0.9.0-beta.106
270
+
271
+ ### Patch Changes
272
+
273
+ - Keep all Stage and Work lifecycle commands attached to their shell process until final output arrives, including HITL resume and standalone launch prompts. Resolve a model-facing command's hidden RUN from its issued authority when checking Antigravity workspace routing. Reserve the SQLite writer before reading and publishing the RUN projection so concurrent reviewer completions cannot invalidate it.
274
+
275
+ ## 0.9.0-beta.105
276
+
277
+ ### Patch Changes
278
+
279
+ - Unify managed lifecycle correction and Stage/Work instructions across harnesses; enforce phase-specific workspace ownership; keep accepted Stage, Work, HITL, protocol, and RUN publications recoverable while moving filesystem and process work outside SQLite writer transactions. Retain exact native and physical-owner evidence through controller capture and snapshot restore.
280
+
281
+ ## 0.9.0-beta.96
282
+
283
+ ### Patch Changes
284
+
285
+ - 4769ad6: Settle early lifecycle rejections against their native calls, reconcile retained provider capacity before continuing, and preserve causal outcomes across AGY, Grok, Droid, OpenCode, Codex, and ZCode adapters.
286
+
287
+ ## 0.9.0-beta.95
288
+
289
+ ### Patch Changes
290
+
291
+ - Qualify the exact ZCode 0.16.9 / zcode-acp 0.46.7 contract @2 tuple after live public-command receipts, and reject inferred or failed native completion evidence.
292
+
293
+ ## 0.9.0-beta.94
294
+
295
+ ### Patch Changes
296
+
297
+ - Admit public ZCode lifecycle commands through their native receipt without exposing runtime-owned invocation IDs.
298
+
299
+ ## 0.9.0-beta.93
300
+
301
+ ### Patch Changes
302
+
303
+ - Move native ZCode request usage accounting into dd-zcode, preserve causal native errors, and distinguish bridge contract support from exact-tuple runtime qualification.
304
+
305
+ ## 0.9.0-beta.92
306
+
307
+ ### Patch Changes
308
+
309
+ - 03fea2a: Accept the behaviorally qualified ZCode 0.16.9 and zcode-acp 0.43.2 harness overlay tuple in the managed runtime gate.
310
+
311
+ ## 0.9.0-beta.91
312
+
313
+ ### Patch Changes
314
+
315
+ - 8650f0f: Unify managed lifecycle command syntax, preserve terminal preparation errors,
316
+ bound unchanged retries, and retain causal controller failures through MERGE.
317
+
318
+ ## 0.9.0-beta.90
319
+
320
+ ### Patch Changes
321
+
322
+ - 18e2627: Require settled fan-out stages to complete their semantic decision and invoke
323
+ the authoritative finish command before assuming a repair exists. Report the
324
+ controller action that failed to make progress, and hand off repair Work only
325
+ after an actual lifecycle response registers it.
326
+ - 954c676: Publish the exact CI-tested tarball through a credential-isolated release job, with deterministic test shards, package smoke, trusted candidate receipts, and safe lost-reply recovery.
327
+
328
+ ## 0.9.0-beta.89
329
+
330
+ ### Minor Changes
331
+
332
+ - Register aggregate CODE and CODE-REVIEW repairs atomically from all failed receipts, with stable replay identity and stage/attempt/cycle membership. Resolve declared contextual file paths independently of lifecycle authority, retain exact native command rejection causes, and emit shell-safe commands with explicit JSON recovery inputs. Keep historical Work out of current dispatch and block ambiguous legacy fanout execution.
333
+
334
+ ## 0.9.0-beta.88
335
+
336
+ ### Patch Changes
337
+
338
+ - 5f3806c: Keep managed HITL answer paths inside retained runtime authority, preserve early
339
+ native CLI failures, and fail controllers conclusively when an answer turn does
340
+ not resume its assigned pause.
341
+
342
+ ## 0.9.0-beta.87
343
+
344
+ ### Patch Changes
345
+
346
+ - a49655a: Use separate files for model-authored lifecycle payloads and preserve native
347
+ shell-composition diagnostics instead of reporting a missing hook receipt.
348
+
349
+ ## 0.9.0-beta.86
350
+
351
+ ### Patch Changes
352
+
353
+ - 8abe471: Settle invalid managed lifecycle arguments atomically before dispatch and return one safe corrected command.
354
+
355
+ ## 0.9.0-beta.85
356
+
357
+ ### Patch Changes
358
+
359
+ - fe8f493: Restore runtime-owned response publication options before dispatching a managed lifecycle command, and update the controller fixture to validate the public command contract.
360
+
361
+ ## 0.9.0-beta.84
362
+
363
+ ### Patch Changes
364
+
365
+ - 644d181: Keep RUN identity, project paths, context files, response destinations and
366
+ integrity hashes inside retained lifecycle authority instead of asking agents
367
+ to copy them. Restore those inputs deterministically when the observed command
368
+ executes, including MERGE apply and repair commands.
369
+
370
+ ## 0.9.0-beta.83
371
+
372
+ ### Patch Changes
373
+
374
+ - bf69c56: Accept shell-escaped lifecycle path aliases deterministically and render model-facing aliases with stable quoting.
375
+
376
+ ## 0.9.0-beta.82
377
+
378
+ ### Patch Changes
379
+
380
+ - Keep release registry readback running through delayed npm propagation while still failing authorization errors immediately.
381
+
382
+ ## 0.9.0-beta.81
383
+
384
+ ### Patch Changes
385
+
386
+ - a48e3de: Canonicalize short and full RUN/Work references across native hook receipts, lifecycle admission, Work settlement, and HITL pause/resume. Keep model-facing commands short while preserving scoped ownership checks and report precise receipt mismatch reasons.
387
+
388
+ ## 0.9.0-beta.75
389
+
390
+ ### Patch Changes
391
+
392
+ - Use adapter-owned native delegation instructions for Codex and the other
393
+ supported harnesses, preserving independent child Work ownership and clearer
394
+ native-session diagnostics across fan-out and recovery.
395
+
396
+ ## 0.9.0-beta.64
397
+
398
+ ### Patch Changes
399
+
400
+ - Reserve SQLite writes explicitly, retain trusted lifecycle outcomes across harnesses,
401
+ continuously fence failed managed runs, and recover committed Work start packets and
402
+ replies without repeating effects. Revalidate stage inputs before acceptance and keep
403
+ the causal failure when adapter, publication or cleanup also fails. Writer contract 2
404
+ requires fresh campaign and resource homes; historical contract-1 stores are not
405
+ implicitly upgraded. Recovery-generation Work starts keep separate immutable packets
406
+ per WorkSession, preserving the interrupted attempt's evidence.
407
+
408
+ ## 0.9.0-beta.63
409
+
410
+ ### Patch Changes
411
+
412
+ - Accept the qualified retained-subagent ZCode bridge and settle a control only
413
+ when a durable startup rejection proves that it created no native resources.
414
+
415
+ ## 0.9.0-beta.62
416
+
417
+ ### Patch Changes
418
+
419
+ - Verify a controlled native Session with a fresh inspection after cancellation before treating its tree as settled.
420
+
421
+ ## 0.9.0-beta.61
422
+
423
+ ### Patch Changes
424
+
425
+ - Keep the scope reconciliation contract test type-safe.
426
+
427
+ ## 0.9.0-beta.60
428
+
429
+ ### Patch Changes
430
+
431
+ - Document and verify explicit reconciliation of a drained runtime scope without automatic observer respawn.
432
+
433
+ ## 0.9.0-beta.59
434
+
435
+ ### Patch Changes
436
+
437
+ - Keep bundled ZCode close-contract fixtures aligned with retained native topology checks.
438
+
439
+ ## 0.9.0-beta.58
440
+
441
+ ### Patch Changes
442
+
443
+ - Keep local task artifacts outside the release lint scope.
444
+
445
+ ## 0.9.0-beta.57
446
+
447
+ ### Patch Changes
448
+
449
+ - Bound recovery observation, expose safe external reconciliation, and require
450
+ complete non-resident ZCode session-tree evidence before a stopped run settles.
451
+
452
+ ## 0.9.0-beta.56
453
+
454
+ ### Patch Changes
455
+
456
+ - Keep RUN database and runtime status aligned with pause, stop, controller failures and trusted recovery. Preserve real Stage pauses and terminal results, reject late revival under a recovery fence, roll back status changes after persistence failures, and provide an explicit backed-up legacy status repair tool.
457
+
458
+ ## 0.9.0-beta.55
459
+
460
+ ### Patch Changes
461
+
462
+ - Require autonomous check evidence, preflight commands in their actual workspace, bind final retry arguments, and settle ZCode cancellation through verified native residency. Retain closed sessions without implicit resume and store growing transcripts in reusable content-addressed chunks.
463
+
464
+ ## 0.9.0-beta.54
465
+
466
+ ### Patch Changes
467
+
468
+ - Preserve current lifecycle command input, atomically settle retry authority, select current resume commands, and stop ZCode productive admission immediately on fatal identity errors. Reject ambiguous result inputs and keep diagnostic commands read-only.
469
+
470
+ ## 0.9.0-beta.53
471
+
472
+ ### Patch Changes
473
+
474
+ - Admit managed ZCode lifecycle commands through durable invocation receipts, with exact native identity, bounded waits, retained outcomes and explicit validated retries. Preserve recovery generations, cooperative settlement, immutable recovery evidence and scoped snapshots. Keep Grok native hook responses and stable parent identity, and qualify the installed ZCode native event contract without requiring child hooks. Use Node 26 for the guarded release workflow.
475
+
476
+ ## 0.9.0-beta.52
477
+
478
+ ### Patch Changes
479
+
480
+ - Distinguish released workspace leases from physical processes during stage-boundary capture, RUN settlement and runtime-scope stop/drain. Preserve active-lease, child-process, physical-identity and exact registration checks instead of waiting forever for a PID on a logical gate.
481
+
482
+ ## 0.9.0-beta.51
483
+
484
+ ### Patch Changes
485
+
486
+ - Settle a check receipt when its confirmed process identity has exited, even if an older registration has no parent-owner PID.
487
+
488
+ ## 0.9.0-beta.50
489
+
490
+ ### Patch Changes
491
+
492
+ - 422413d: Keep PLAN, PLAN-REVIEW, CODE and CODE-REVIEW settlement atomic across Work, Session and RUN state, including successor Work registration. Recover accepted CODE stage completion without repeating checks. Enforce coordinator ownership on repeated CODE start and exact reviewer coverage while preserving protocol-local aspect scopes.
493
+ - 422413d: Reuse completed check evidence consistently across CODE, CODE-REVIEW and MERGE,
494
+ with validated inputs, artifacts, retry handling and concurrent execution guards.
495
+
496
+ ## 0.9.0-beta.49
497
+
498
+ ### Patch Changes
499
+
500
+ - Treat a completed CODE gate command that returns `code_gate_failed` as terminal
501
+ recovery evidence, so the coordinator creates the returned repair Work instead
502
+ of waiting indefinitely or duplicating the aggregate gate.
503
+
504
+ ## 0.9.0-beta.48
505
+
506
+ ### Patch Changes
507
+
508
+ - Recheck a controller lease after a transient runtime-registry write failure before
509
+ dispatching more work, while retaining the hard stop for an explicit lease loss.
510
+
511
+ ## 0.9.0-beta.47
512
+
513
+ ### Patch Changes
514
+
515
+ - Initialize the managed Codex hook home for external worker sessions so their
516
+ first `work start` receives a trusted session binding.
517
+
518
+ ## 0.9.0-beta.44
519
+
520
+ ### Patch Changes
521
+
522
+ - Allow a managed native session prompt to run for two hours before the outer
523
+ adapter watchdog cancels it, while retaining the existing short timeout for
524
+ non-productive adapter calls.
525
+
526
+ ## 0.9.0-beta.43
527
+
528
+ ### Patch Changes
529
+
530
+ - 78e3eaf: Keep Codex prompt and inspection receipts compact by returning historical turn
531
+ identities and statuses without duplicating their item transcripts. Preserve the
532
+ current result, final answer, native history reference, descendants and observed
533
+ profile so long-running sessions remain within the bounded adapter reply limit.
534
+
535
+ ## 0.9.0-beta.42
536
+
537
+ ### Patch Changes
538
+
539
+ - 3e1f87f: Reuse an already accepted RUN pause or stop when draining its EVAL scope, preserving the exact control identity and options without weakening stop or replaying work.
540
+
541
+ ## 0.9.0-beta.41
542
+
543
+ ### Patch Changes
544
+
545
+ - c30ae89: Run generated Codex hooks with the explicitly selected CLI, or the isolated runtime shim before global installations. Preserve hook input and fail without a global fallback when the selected CLI is unavailable.
546
+
547
+ ## 0.9.0-beta.40
548
+
549
+ ### Patch Changes
550
+
551
+ - 2b4b714: Admit ordinary managed HITL answers through their exact generation-bound native
552
+ prompt, preserving pause, Session, raw-answer and prompt integrity. Keep accepted
553
+ answer intent separate from physical delivery so stop drains native operations
554
+ and recovery can deliver an unanswered pause without replaying completed work.
555
+ - c5eeb6f: Capture owned Codex home configuration and evidence without copying shared host
556
+ history or ephemeral helper links. Reuse the provisioned shared-entry contract
557
+ and retain strict rejection of unrelated external recovery artifact links.
558
+
559
+ ## 0.9.0-beta.39
560
+
561
+ ### Patch Changes
562
+
563
+ - 803d2d0: Own managed Stage/Work execution, immutable boundary captures, mixed-profile handoffs and operator pause/stop/resume in the shared CLI runtime. Fence productive admission durably, reconcile exact native/process generations, preserve interrupted and unknown outcomes, and resume retained sessions without replaying completed work.
564
+
565
+ Control experiment-wide Subject, Judge and probe ownership through one retained resource registry, with detached control/recovery workers and explicit physical drain and release evidence. Require guarded shared-store migration and current runtime bindings; remove dependence on eval-owned productive adapters.
566
+
567
+ Discover native Codex children from spawn receipts and release terminal failed provider turns only after a fresh settled-tree observation.
568
+
569
+ ## 0.9.0-beta.38
570
+
571
+ ### Patch Changes
572
+
573
+ - 44e3c80: Allow control operations to recheck failed provider cleanup after a leaderless process group exits naturally. Coalesce concurrent finalization retries, preserve the original exit and process lease, and keep live or unproven groups blocked without sending them signals.
574
+
575
+ ## 0.9.0-beta.37
576
+
577
+ ### Patch Changes
578
+
579
+ - Wait for Antigravity provider-exit finalization before acknowledging clean shutdown or replacing the provider, preserving interrupted outcomes and cleanup failures. Treat signal-terminated process leaders as exited when checking remaining group ownership, and release completed initialization timers.
580
+
581
+ ## 0.9.0-beta.36
582
+
583
+ ### Patch Changes
584
+
585
+ - Scope retained Antigravity tree liveness to its verified daemon shutdown before same-session recovery, preserving native outcomes and immutable prior receipts. New native tool or step activity still blocks overlapping prompt admission.
586
+
587
+ ## 0.9.0-beta.35
588
+
589
+ ### Patch Changes
590
+
591
+ - Wait for npm registry propagation and verify the annotated tag created by Changesets before completing a guarded release.
592
+ - Keep AGY native outcomes separate from settlement, invalidate old child settlement on new activity, and reserve productive operations before persistence across adapters.
593
+ - Retain process-local native Stop observation in no-flow technical probes without installing project hooks or forwarding flow mutations.
594
+ - Publish Work receipts after the authoritative SQL commit with resumable publication intents; preserve conflicting bytes, resume partial retries, and retain non-restorable diagnostic snapshots when receipts disagree.
595
+ - Freeze the release source/canon tuple, reconcile uncertain publication, verify the isolated and exact global consumer, and retain phase receipts without creating another version on retry.
596
+
597
+ ## 0.9.0-beta.34
598
+
599
+ ### Patch Changes
600
+
601
+ - Create and verify the immutable annotated Git tag as part of the guarded release publication.
602
+
603
+ ## 0.9.0-beta.33
604
+
605
+ ### Patch Changes
606
+
607
+ - Add the guarded `release:publish` entrypoint that validates local npm auth,
608
+ checks the quality gate, verifies the published build metadata, and refreshes
609
+ the installed runtime before a release is considered complete.
610
+
611
+ ## 0.9.0-beta.32
612
+
613
+ ### Patch Changes
614
+
615
+ - Reject reviewer results without per-aspect evidence when the Work is finished, and distinguish missing evidence from an aspect-coverage mismatch in legacy stage validation.
616
+
617
+ ## 0.9.0-beta.31
618
+
619
+ ### Patch Changes
620
+
621
+ - Treat an authoritative fully-idle Antigravity root Stop as settlement evidence
622
+ for otherwise unobserved native children, while preserving their distinct
623
+ `settled_by_root` status rather than claiming individual completion.
624
+
625
+ ## 0.9.0-beta.30
626
+
627
+ ### Patch Changes
628
+
629
+ - Bound Antigravity prompt liveness from the most recent native activity and preserve clean recovery settlement after an expired prompt.
630
+
631
+ ## 0.9.0-beta.29
632
+
633
+ ### Patch Changes
634
+
635
+ - Recover completed stage boundaries without reopening accepted Work, and reject
636
+ stale coordinator identities and retired recovery generations.
637
+
638
+ Scope Antigravity terminal results and retained accounting to the current
639
+ conversation progress; preserve OpenCode and ACP provider errors for the actual
640
+ prompt. Keep configured adapter journals and bundled hook-denial behavior intact.
641
+
642
+ ## 0.9.0-beta.28
643
+
644
+ ### Patch Changes
645
+
646
+ - Accept an authoritative terminal Antigravity root result when the provider omits a root Stop hook, while retaining fail-closed behavior for an observed non-idle tree.
647
+
648
+ ## 0.9.0-beta.27
649
+
650
+ ### Patch Changes
651
+
652
+ - Resume retained native sessions from their active coordinator WorkSession, preserving the root launch record and rejecting lifecycle receipts from retired daemons.
653
+ - Propagate Antigravity lifecycle hooks to direct native children while preserving workspace hooks, and settle confirmed Codex system-error turns without losing provider failure evidence.
654
+
655
+ ## 0.9.0-beta.26
656
+
657
+ ### Patch Changes
658
+
659
+ - Reject interactive terminal input for Work and Stage result submission before routing or lifecycle dispatch. Require a pipe, input redirection, or result file so long JSON cannot be truncated by terminal input limits while progress appears to run indefinitely.
660
+
661
+ ## 0.9.0-beta.25
662
+
663
+ ### Patch Changes
664
+
665
+ - Publish the final serial CLI test isolation together with the current bundled harness fixes.
666
+
667
+ ## 0.9.0-beta.24
668
+
669
+ ### Patch Changes
670
+
671
+ - Retain supplemental files written to the check evidence directory in normal and recovered receipts. Keep required artifacts as minimum obligations and exclude symlinks.
672
+
673
+ Carry the verified cancellation guards, child settlement and process identity recovery fixes into the bundled harness adapters. Preserve native terminal events when an older Codex turn-page response arrives later.
674
+
675
+ - Run CLI tests in isolated, serial file processes so process-global test state cannot leak between suites.
676
+
677
+ ## 0.9.0-beta.23
678
+
679
+ ### Minor Changes
680
+
681
+ - bcfd8cb: Ship the six managed provider adapters with the CLI runtime, including their
682
+ daemon primitives and public adapter entrypoints. Add frozen mixed-execution
683
+ policy resolution and durable explicit external Work launch without changing a
684
+ same-profile external request into native delegation.
685
+
686
+ ## 0.9.0-beta.22
687
+
688
+ ### Patch Changes
689
+
690
+ - Reject conflicting or ambiguous lifecycle receipts before any harness can
691
+ mutate a Session binding. Restore a Work-start receipt when its binding
692
+ fails, so the same verified invocation remains safely retryable.
693
+
694
+ ## 0.9.0-beta.21
695
+
696
+ ### Patch Changes
697
+
698
+ - Validate every selected engine artifact and execute its pinned snapshot even when its version matches the router. Retain a new recovery interruption before root acknowledgement.
699
+
700
+ ## 0.9.0-beta.20
701
+
702
+ ### Patch Changes
703
+
704
+ - Verify recovery payloads and workspace drift before resuming, preserve staged Git changes, publish snapshots through a temporary directory, and allow explicit recovery restoration into fresh targets. Fence RUN mutations and late asynchronous Work completion while recovery is active.
705
+
706
+ ## 0.9.0-beta.19
707
+
708
+ ### Patch Changes
709
+
710
+ - Require a fresh trusted hook receipt from the physical Work owner before terminal stage or Work lifecycle commands can mutate a vNext RUN. Record terminal native-child observations at their originating Stage so unbound delegation is retained as a diagnostic instead of contaminating a later fan-out wave.
711
+
712
+ ## 0.9.0-beta.18
713
+
714
+ ### Patch Changes
715
+
716
+ - Add Factory Droid harness routing, native lifecycle receipts and physical Session usage ingestion. Preserve child identity and reject conflicting hook replays or inclusive Droid usage to prevent incorrect Work binding and double counting.
717
+
718
+ ## 0.9.0-beta.17
719
+
720
+ ### Patch Changes
721
+
722
+ - 0dd4da3: Verify current-attempt gate retries, deduplicate equivalent checks across gate references, retain archive locations across interrupted and repeated repairs, and align MERGE environment recovery guidance with source repair.
723
+
724
+ Snapshot SQLite consistently with VACUUM INTO and exclude local environment secrets, dependencies and caches from project/workspace snapshots.
725
+
726
+ Reconcile native child failures only against unique registered Work/Session attempts, retain non-restorable incomplete snapshots for failed evals, and expose unexpected merge-lane release failures for safe retry.
727
+
728
+ ## 0.9.0-beta.16
729
+
730
+ ### Patch Changes
731
+
732
+ - Make repair verification causal and retryable, preserve attempt-qualified
733
+ evidence, expose RUN continuation from persisted lifecycle state, and keep
734
+ native child ownership bound to the physical harness session.
735
+
736
+ ## 0.9.0-beta.15
737
+
738
+ ### Patch Changes
739
+
740
+ - Add owned temporary HTTP service supervision with allocated ports and readiness receipts. Prevent duplicate workspace bootstrap processes, retain resources when process ownership is uncertain, and share safe stop behavior between explicit stops and orphan reconciliation.
741
+
3
742
  ## 0.9.0-beta.14
4
743
 
5
744
  ### Patch Changes
@@ -864,6 +1603,7 @@ record` command with the bounded 15-probe contract.
864
1603
  - 16f68a3: Add router-native engine snapshot commands and routed project-command dispatch.
865
1604
 
866
1605
  Also include the runtime/dashboard compatibility wave needed by the current Memory Bank canon:
1606
+
867
1607
  - target-based dashboard `open`/`refresh` commands and related-command help;
868
1608
  - persisted FIFO lane waiters and merge wait-acquire specialization;
869
1609
  - `migration plan/report/verify` evidence helpers for controlled `mb-upgrade` runtime migrations;