@deksden-com/dd-flow-cli 0.9.0-beta.13 → 0.9.0-beta.134

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 (204) hide show
  1. package/CHANGELOG.md +687 -0
  2. package/README.md +101 -1
  3. package/dist/build-info.json +10 -10
  4. package/dist/cli/argument-values.js +38 -0
  5. package/dist/cli/command-inputs.js +306 -0
  6. package/dist/cli/help.js +88 -12
  7. package/dist/cli/hook-ingress.js +78 -0
  8. package/dist/cli/input-preparation.js +116 -0
  9. package/dist/cli/native-hook-ingress.js +80 -0
  10. package/dist/cli/run-cli.js +1465 -450
  11. package/dist/cli/runtime-maintenance-diagnostics.js +46 -0
  12. package/dist/cli/runtime-maintenance-ingress.js +52 -0
  13. package/dist/cli/runtime-process.js +153 -0
  14. package/dist/cli.js +17 -2
  15. package/dist/domain/stage-catalog.js +1 -1
  16. package/dist/harness-runtime/DD-ZCODE.md +99 -0
  17. package/dist/harness-runtime/bin/dd-agy.mjs +56 -0
  18. package/dist/harness-runtime/bin/dd-codex.mjs +27 -0
  19. package/dist/harness-runtime/bin/dd-droid.mjs +34 -0
  20. package/dist/harness-runtime/bin/dd-grok.mjs +40 -0
  21. package/dist/harness-runtime/bin/dd-opencode.mjs +22 -0
  22. package/dist/harness-runtime/bin/dd-zcode.mjs +87 -0
  23. package/dist/harness-runtime/lib/adapter-timeouts.d.mts +5 -0
  24. package/dist/harness-runtime/lib/adapter-timeouts.mjs +34 -0
  25. package/dist/harness-runtime/lib/agy-hooks.d.mts +1 -0
  26. package/dist/harness-runtime/lib/agy-hooks.mjs +9 -0
  27. package/dist/harness-runtime/lib/codex-capacity-policy.d.mts +10 -0
  28. package/dist/harness-runtime/lib/codex-capacity-policy.mjs +89 -0
  29. package/dist/harness-runtime/lib/daemon-observation.d.mts +2 -0
  30. package/dist/harness-runtime/lib/daemon-observation.mjs +163 -0
  31. package/dist/harness-runtime/lib/daemon-operations.mjs +370 -0
  32. package/dist/harness-runtime/lib/dd-agy-daemon.d.mts +6 -0
  33. package/dist/harness-runtime/lib/dd-agy-daemon.mjs +693 -0
  34. package/dist/harness-runtime/lib/dd-agy.mjs +59 -0
  35. package/dist/harness-runtime/lib/dd-codex-daemon.d.mts +1 -0
  36. package/dist/harness-runtime/lib/dd-codex-daemon.mjs +190 -0
  37. package/dist/harness-runtime/lib/dd-codex.d.mts +1 -0
  38. package/dist/harness-runtime/lib/dd-codex.mjs +805 -0
  39. package/dist/harness-runtime/lib/dd-droid-daemon.mjs +128 -0
  40. package/dist/harness-runtime/lib/dd-droid.mjs +561 -0
  41. package/dist/harness-runtime/lib/dd-grok-daemon.mjs +490 -0
  42. package/dist/harness-runtime/lib/dd-grok.mjs +177 -0
  43. package/dist/harness-runtime/lib/dd-opencode-daemon.mjs +255 -0
  44. package/dist/harness-runtime/lib/dd-opencode.mjs +128 -0
  45. package/dist/harness-runtime/lib/dd-zcode-daemon.mjs +703 -0
  46. package/dist/harness-runtime/lib/dd-zcode.mjs +1128 -0
  47. package/dist/harness-runtime/lib/delegation-instructions.d.mts +13 -0
  48. package/dist/harness-runtime/lib/delegation-instructions.mjs +144 -0
  49. package/dist/harness-runtime/lib/dispatch-fence.mjs +14 -0
  50. package/dist/harness-runtime/lib/driver-recovery.mjs +139 -0
  51. package/dist/harness-runtime/lib/droid-observation.mjs +66 -0
  52. package/dist/harness-runtime/lib/lease-renewal.d.mts +8 -0
  53. package/dist/harness-runtime/lib/lease-renewal.mjs +36 -0
  54. package/dist/harness-runtime/lib/lifecycle-command.d.mts +20 -0
  55. package/dist/harness-runtime/lib/lifecycle-command.mjs +272 -0
  56. package/dist/harness-runtime/lib/lifecycle-contract.d.mts +10 -0
  57. package/dist/harness-runtime/lib/lifecycle-contract.mjs +19 -0
  58. package/dist/harness-runtime/lib/managed-daemon.d.mts +12 -0
  59. package/dist/harness-runtime/lib/managed-daemon.mjs +619 -0
  60. package/dist/harness-runtime/lib/model-observations.mjs +101 -0
  61. package/dist/harness-runtime/lib/native-children.d.mts +14 -0
  62. package/dist/harness-runtime/lib/native-children.mjs +94 -0
  63. package/dist/harness-runtime/lib/native-hook-command.d.mts +7 -0
  64. package/dist/harness-runtime/lib/native-hook-command.mjs +251 -0
  65. package/dist/harness-runtime/lib/native-streams.mjs +45 -0
  66. package/dist/harness-runtime/lib/observation-clock.d.mts +18 -0
  67. package/dist/harness-runtime/lib/observation-clock.mjs +92 -0
  68. package/dist/harness-runtime/lib/operation-context.mjs +5 -0
  69. package/dist/harness-runtime/lib/operation-errors.d.mts +14 -0
  70. package/dist/harness-runtime/lib/operation-errors.mjs +116 -0
  71. package/dist/harness-runtime/lib/operation-progress.d.mts +7 -0
  72. package/dist/harness-runtime/lib/operation-progress.mjs +112 -0
  73. package/dist/harness-runtime/lib/process-json.d.mts +5 -0
  74. package/dist/harness-runtime/lib/process-json.mjs +201 -0
  75. package/dist/harness-runtime/lib/process-snapshot.mjs +10 -0
  76. package/dist/harness-runtime/lib/runner-events.mjs +200 -0
  77. package/dist/harness-runtime/lib/runner-lock.mjs +42 -0
  78. package/dist/harness-runtime/lib/session-settlement.mjs +30 -0
  79. package/dist/harness-runtime/lib/setup-progress.d.mts +9 -0
  80. package/dist/harness-runtime/lib/setup-progress.mjs +51 -0
  81. package/dist/harness-runtime/lib/tool-observations.d.mts +21 -0
  82. package/dist/harness-runtime/lib/tool-observations.mjs +228 -0
  83. package/dist/harness-runtime/lib/zcode-usage.mjs +55 -0
  84. package/dist/protocol/local-files.js +18 -9
  85. package/dist/runtime/context.js +8 -4
  86. package/dist/schemas/agent-profile.schema.json +1 -1
  87. package/dist/schemas/code-review-result.schema.json +1 -1
  88. package/dist/schemas/code-verification.schema.json +7 -5
  89. package/dist/schemas/code-work-batch.schema.json +2 -2
  90. package/dist/schemas/flow-run.schema.json +2 -0
  91. package/dist/schemas/plan-review-decision.schema.json +3 -3
  92. package/dist/schemas/plan-review-result.schema.json +2 -2
  93. package/dist/schemas/run-control-receipt.schema.json +118 -0
  94. package/dist/schemas/run-control-request.schema.json +36 -0
  95. package/dist/schemas/vnext-protocol-plan.schema.json +2 -2
  96. package/dist/services/branch-context.js +3 -3
  97. package/dist/services/canon.js +11 -8
  98. package/dist/services/check-runner-evidence.js +121 -0
  99. package/dist/services/cleanup.js +133 -40
  100. package/dist/services/cli-operation-classifier.js +22 -24
  101. package/dist/services/code-checks.js +851 -109
  102. package/dist/services/codex-capacity.js +367 -0
  103. package/dist/services/codex-hook-delivery.js +32 -0
  104. package/dist/services/command-context.js +80 -0
  105. package/dist/services/compatibility-preflight.js +13 -3
  106. package/dist/services/config.js +11 -8
  107. package/dist/services/continuation-outcome.js +20 -0
  108. package/dist/services/controller-fanout.js +136 -0
  109. package/dist/services/dashboard.js +135 -56
  110. package/dist/services/engines.js +245 -119
  111. package/dist/services/eval-snapshots.js +1146 -105
  112. package/dist/services/execution-policy.js +181 -0
  113. package/dist/services/external-work-launch.js +230 -0
  114. package/dist/services/harness-adapter.js +329 -36
  115. package/dist/services/harness-config.js +2 -0
  116. package/dist/services/hooks.js +753 -325
  117. package/dist/services/lanes.js +78 -65
  118. package/dist/services/lifecycle-command.js +1 -288
  119. package/dist/services/lifecycle-contract.js +1 -0
  120. package/dist/services/lifecycle-invocations.js +1828 -0
  121. package/dist/services/managed-daemon-binding.js +38 -0
  122. package/dist/services/managed-lease-monitor.js +133 -0
  123. package/dist/services/managed-processes.js +409 -51
  124. package/dist/services/merge-queue.js +228 -149
  125. package/dist/services/merge-server.js +163 -35
  126. package/dist/services/migrations.js +37 -16
  127. package/dist/services/native-daemon-history.js +49 -0
  128. package/dist/services/native-session-control.js +39 -0
  129. package/dist/services/plan-runtime.js +26 -11
  130. package/dist/services/plans.js +28 -25
  131. package/dist/services/projects.js +20 -15
  132. package/dist/services/prompts.js +28 -17
  133. package/dist/services/protocols.js +163 -87
  134. package/dist/services/recovery-observation-budget.js +121 -0
  135. package/dist/services/recovery-snapshot-database.js +145 -0
  136. package/dist/services/repair-intents.js +42 -0
  137. package/dist/services/review-copy.js +157 -0
  138. package/dist/services/review-deferral.js +23 -0
  139. package/dist/services/run-control-receipt.js +56 -0
  140. package/dist/services/run-control-worker.js +411 -0
  141. package/dist/services/run-control.js +985 -0
  142. package/dist/services/run-controller-adapter.js +399 -0
  143. package/dist/services/run-controller-capture.js +179 -0
  144. package/dist/services/run-controller-process.js +187 -0
  145. package/dist/services/run-controller-recovery.js +289 -0
  146. package/dist/services/run-controller-state.js +97 -0
  147. package/dist/services/run-controller.js +1035 -0
  148. package/dist/services/run-engine-bindings.js +1 -1
  149. package/dist/services/run-fork.js +147 -0
  150. package/dist/services/run-observations.js +152 -0
  151. package/dist/services/run-projection.js +22 -64
  152. package/dist/services/run-recovery-guard.js +75 -0
  153. package/dist/services/run-recovery-runtime.js +112 -0
  154. package/dist/services/run-recovery.js +349 -0
  155. package/dist/services/runs.js +558 -217
  156. package/dist/services/runtime-budget.js +430 -0
  157. package/dist/services/runtime-command.js +43 -0
  158. package/dist/services/runtime-scope-capture.js +52 -0
  159. package/dist/services/runtime-scope-control.js +468 -0
  160. package/dist/services/runtime-scope-resume.js +599 -0
  161. package/dist/services/runtime-scope-stop.js +180 -0
  162. package/dist/services/runtime-scope-worker.js +287 -0
  163. package/dist/services/runtime-service.js +96 -0
  164. package/dist/services/schema-validation.js +10 -8
  165. package/dist/services/scope-writer-cleanup.js +27 -0
  166. package/dist/services/sessions.js +35 -69
  167. package/dist/services/stage-blocker.js +17 -7
  168. package/dist/services/stage-context.js +185 -19
  169. package/dist/services/stage-lifecycle.js +98 -107
  170. package/dist/services/stage-pause.js +89 -75
  171. package/dist/services/stage-report-renderer.js +158 -6
  172. package/dist/services/stage-work-graph.js +35 -0
  173. package/dist/services/tooling.js +32 -23
  174. package/dist/services/usage.js +49 -101
  175. package/dist/services/verification-matrix.js +374 -0
  176. package/dist/services/vnext-code-review.js +222 -87
  177. package/dist/services/vnext-code.js +324 -251
  178. package/dist/services/vnext-contracts.js +10 -1
  179. package/dist/services/vnext-execution-profile.js +79 -4
  180. package/dist/services/vnext-fanout.js +182 -17
  181. package/dist/services/vnext-merge.js +335 -113
  182. package/dist/services/vnext-plan-review.js +276 -126
  183. package/dist/services/vnext-plan.js +227 -102
  184. package/dist/services/vnext-protocolize.js +335 -82
  185. package/dist/services/vnext-specify.js +119 -81
  186. package/dist/services/work-registry.js +1083 -194
  187. package/dist/services/workspace-bootstrap.js +87 -0
  188. package/dist/services/workspace-files.js +85 -0
  189. package/dist/services/worktrees.js +98 -44
  190. package/dist/shared/entity-references.js +8 -0
  191. package/dist/shared/errors.js +17 -0
  192. package/dist/storage/agent-output.js +26 -0
  193. package/dist/storage/database.js +785 -37
  194. package/dist/storage/foreign-key-transaction.js +39 -0
  195. package/dist/storage/immutable-input.js +45 -0
  196. package/dist/storage/import-guard.js +102 -0
  197. package/dist/storage/native-cleanup.js +52 -0
  198. package/dist/storage/paths.js +17 -4
  199. package/dist/storage/projection-lock.js +73 -0
  200. package/dist/storage/work-references.js +23 -0
  201. package/dist/storage/writer-contract.js +77 -0
  202. package/dist/storage/writer-migration.js +85 -0
  203. package/package.json +30 -13
  204. package/tools/repair-paused-run-status.mjs +84 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,691 @@
1
1
  # @deksden-com/dd-flow-cli
2
2
 
3
+ ## 0.9.0-beta.134
4
+
5
+ ### Patch Changes
6
+
7
+ - 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.
8
+ - 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.
9
+ - 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.
10
+ - 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.
11
+ - 539de25: Capture bounded observation journals without requiring global runtime silence.
12
+ Retain RUN-scoped productive authority, immutable payload checksums and recovery
13
+ materials. Finalize stop-after captures as candidates after native settlement.
14
+ - 9ca6bb3: Use scoped native progress and inactivity windows instead of productive-work
15
+ lifetime limits. Preserve observation uncertainty and exact operation fences
16
+ across quiet probes and observer replacement; bound utility output and cleanup.
17
+ Separate native-work and control waits across all six bundled adapters, keep
18
+ serving services exempt from output silence, and stop MERGE on confirmed lease
19
+ loss. New runtime contracts are operation-progress@1, operation-errors@2 and
20
+ native-operation-wait@1.
21
+ - 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.
22
+ - 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.
23
+
24
+ ## 0.9.0-beta.133
25
+
26
+ ### Patch Changes
27
+
28
+ - Use the exact retained committed lease for admission and capacity waits,
29
+ rather than an expired daemon-state snapshot.
30
+ - Validate direct check runner evidence contracts before PLAN/Work admission.
31
+ - beta.132 is retained as a superseded local candidate; review found the stale
32
+ admission horizon before release or scored E2E.
33
+
34
+ ## 0.9.0-beta.132
35
+
36
+ ### Patch Changes
37
+
38
+ - Preserve structured CLI failure receipts when valid setup-phase diagnostics
39
+ precede the error envelope; reject malformed/error-bearing phase records.
40
+ - beta.131 remains an unaccepted immutable local candidate; its full gate
41
+ exposed this parsing defect before engine promotion.
42
+
43
+ ## 0.9.0-beta.131
44
+
45
+ ### Patch Changes
46
+
47
+ - Bound maintenance to verified lease authority, reconcile settled unknown
48
+ heartbeat acknowledgements without replay, and separate resource/RUN effects.
49
+ - Keep scope-free maintenance cold imports narrow; finish observes its own
50
+ settlement window after the preceding flight.
51
+ - Retain bound structured test outcomes and progress with profile@7, preserving
52
+ profile@6 compatibility. Route tooling/unknown failures away from product repair.
53
+
54
+ ## 0.9.0-beta.130
55
+
56
+ ### Patch Changes
57
+
58
+ - Bind AGY startup observation to its actual daemon configuration, preserve
59
+ explicit OpenCode observation windows and retain the last confirmed setup phase.
60
+ - beta.129 remained an unaccepted local candidate; its failed native gate is
61
+ retained separately rather than reissued under a different artifact digest.
62
+
63
+ ## 0.9.0-beta.129
64
+
65
+ ### Patch Changes
66
+
67
+ - Observe setup phases across engine admission and all native daemon startups;
68
+ retain operation-bound progress and distinguish silence from observation loss.
69
+ - Run engine health/bind/fork probes and managed tooling asynchronously outside
70
+ storage writers, preserving dependency failures, cancellation and owned cleanup.
71
+ - Stream ZCode binary identity and preserve startup progress through EVAL control.
72
+
73
+ ## 0.9.0-beta.128
74
+
75
+ ### Patch Changes
76
+
77
+ - Separate cold maintenance CLI imports from storage inactivity. Start the short
78
+ sliding storage window only after request-bound readiness, retaining the finite
79
+ ownership horizon and unknown-write recovery. Diagnose startup versus storage
80
+ expiry and preserve exact registration operation identity.
81
+
82
+ ## 0.9.0-beta.127
83
+
84
+ ### Patch Changes
85
+
86
+ - Scope boundary consistency to productive RUN authority and retain accepted Work results across snapshot relocation without requiring unchanged provider service files.
87
+ - Reject conflicting retained native operation inputs before transport dispatch, preserving the same conflict classification across all harness observers.
88
+ - 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.
89
+
90
+ ## 0.9.0-beta.126
91
+
92
+ ### Patch Changes
93
+
94
+ - Separate existing controller renewal from productive launch admission, allowing terminal RUNs to finish sealed boundary capture and native settlement.
95
+ - Make terminal stop retain durable cleanup without changing subject outcomes or reopening productive recovery; expose scoped read-only finalization diagnostics.
96
+ - Verify final snapshot identity and physical retirement before full-cycle fixture teardown.
97
+
98
+ ## 0.9.0-beta.124
99
+
100
+ ### Patch Changes
101
+
102
+ - Stop only two confirmed continuation overload refusals within the inclusive two-minute window, preserving native refusal times and exact owner admission across recovery.
103
+
104
+ Retain final PLAN check obligations, completion markers and native output bytes in verification evidence; require canonical fixes for duplicated CODE P0/P1 findings.
105
+
106
+ Join native daemon cleanup before durable stop acknowledgement and reconcile already-closed provider bridges without replay.
107
+
108
+ ## 0.9.0-beta.123
109
+
110
+ ### Patch Changes
111
+
112
+ - Continue confirmed Codex overloads in the retained Session with bounded backoff, exact owner admission and no concurrent productive Turns.
113
+ - Retain content-addressed verification evidence and reviewer input baselines across publication, relocation and review waves.
114
+ - Preserve canonical native model/tool observations and AGY child transcript evidence without rewriting historical results.
115
+
116
+ ## 0.9.0-beta.122
117
+
118
+ ### Patch Changes
119
+
120
+ - 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.
121
+ - Recognize one unambiguous lifecycle command through the shared Bash grammar instead of rejecting all shell composition; retain scoped authority, execution-directory and foreground checks.
122
+ - 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.
123
+ - Admit the tested ZCode ACP 0.52 bridge and retain explicitly configured native storage routes across daemon lifecycle calls.
124
+
125
+ ## 0.9.0-beta.120
126
+
127
+ ### Patch Changes
128
+
129
+ - 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.
130
+ - Distinguish hard provider quota from short rate limiting and ambiguous 429 responses across AGY, ZCode, and OpenCode.
131
+
132
+ ## 0.9.0-beta.119
133
+
134
+ ### Patch Changes
135
+
136
+ - 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.
137
+
138
+ ## 0.9.0-beta.118
139
+
140
+ ### Patch Changes
141
+
142
+ - 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.
143
+
144
+ ## 0.9.0-beta.117
145
+
146
+ ### Patch Changes
147
+
148
+ - Preserve Grok child model facts, replay owned Codex tool events, and let CODE collect aggregate-check evidence before semantic acceptance.
149
+
150
+ ## 0.9.0-beta.116
151
+
152
+ ### Patch Changes
153
+
154
+ - 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.
155
+
156
+ ## 0.9.0-beta.115
157
+
158
+ ### Patch Changes
159
+
160
+ - 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.
161
+
162
+ ## 0.9.0-beta.114
163
+
164
+ ### Patch Changes
165
+
166
+ - Route controlled `merge apply` and `merge repair` hooks to the MERGE request's integration workspace, preserving native cwd validation across AGY, OpenCode, and Droid.
167
+
168
+ ## 0.9.0-beta.113
169
+
170
+ ### Patch Changes
171
+
172
+ - Allow sibling read-only reviewers to start concurrently when one updates the shared RUN projection; retain Work, generation, dependency, and immutable review-input checks.
173
+
174
+ ## 0.9.0-beta.112
175
+
176
+ ### Patch Changes
177
+
178
+ - 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.
179
+
180
+ ## 0.9.0-beta.111
181
+
182
+ ### Patch Changes
183
+
184
+ - 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.
185
+
186
+ ## 0.9.0-beta.110
187
+
188
+ ### Patch Changes
189
+
190
+ - 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.
191
+
192
+ ## 0.9.0-beta.109
193
+
194
+ ### Patch Changes
195
+
196
+ - 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.
197
+
198
+ ## 0.9.0-beta.108
199
+
200
+ ### Patch Changes
201
+
202
+ - 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.
203
+
204
+ ## 0.9.0-beta.107
205
+
206
+ ### Patch Changes
207
+
208
+ - 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.
209
+
210
+ ## 0.9.0-beta.106
211
+
212
+ ### Patch Changes
213
+
214
+ - 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.
215
+
216
+ ## 0.9.0-beta.105
217
+
218
+ ### Patch Changes
219
+
220
+ - 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.
221
+
222
+ ## 0.9.0-beta.96
223
+
224
+ ### Patch Changes
225
+
226
+ - 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.
227
+
228
+ ## 0.9.0-beta.95
229
+
230
+ ### Patch Changes
231
+
232
+ - 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.
233
+
234
+ ## 0.9.0-beta.94
235
+
236
+ ### Patch Changes
237
+
238
+ - Admit public ZCode lifecycle commands through their native receipt without exposing runtime-owned invocation IDs.
239
+
240
+ ## 0.9.0-beta.93
241
+
242
+ ### Patch Changes
243
+
244
+ - Move native ZCode request usage accounting into dd-zcode, preserve causal native errors, and distinguish bridge contract support from exact-tuple runtime qualification.
245
+
246
+ ## 0.9.0-beta.92
247
+
248
+ ### Patch Changes
249
+
250
+ - 03fea2a: Accept the behaviorally qualified ZCode 0.16.9 and zcode-acp 0.43.2 harness overlay tuple in the managed runtime gate.
251
+
252
+ ## 0.9.0-beta.91
253
+
254
+ ### Patch Changes
255
+
256
+ - 8650f0f: Unify managed lifecycle command syntax, preserve terminal preparation errors,
257
+ bound unchanged retries, and retain causal controller failures through MERGE.
258
+
259
+ ## 0.9.0-beta.90
260
+
261
+ ### Patch Changes
262
+
263
+ - 18e2627: Require settled fan-out stages to complete their semantic decision and invoke
264
+ the authoritative finish command before assuming a repair exists. Report the
265
+ controller action that failed to make progress, and hand off repair Work only
266
+ after an actual lifecycle response registers it.
267
+ - 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.
268
+
269
+ ## 0.9.0-beta.89
270
+
271
+ ### Minor Changes
272
+
273
+ - 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.
274
+
275
+ ## 0.9.0-beta.88
276
+
277
+ ### Patch Changes
278
+
279
+ - 5f3806c: Keep managed HITL answer paths inside retained runtime authority, preserve early
280
+ native CLI failures, and fail controllers conclusively when an answer turn does
281
+ not resume its assigned pause.
282
+
283
+ ## 0.9.0-beta.87
284
+
285
+ ### Patch Changes
286
+
287
+ - a49655a: Use separate files for model-authored lifecycle payloads and preserve native
288
+ shell-composition diagnostics instead of reporting a missing hook receipt.
289
+
290
+ ## 0.9.0-beta.86
291
+
292
+ ### Patch Changes
293
+
294
+ - 8abe471: Settle invalid managed lifecycle arguments atomically before dispatch and return one safe corrected command.
295
+
296
+ ## 0.9.0-beta.85
297
+
298
+ ### Patch Changes
299
+
300
+ - fe8f493: Restore runtime-owned response publication options before dispatching a managed lifecycle command, and update the controller fixture to validate the public command contract.
301
+
302
+ ## 0.9.0-beta.84
303
+
304
+ ### Patch Changes
305
+
306
+ - 644d181: Keep RUN identity, project paths, context files, response destinations and
307
+ integrity hashes inside retained lifecycle authority instead of asking agents
308
+ to copy them. Restore those inputs deterministically when the observed command
309
+ executes, including MERGE apply and repair commands.
310
+
311
+ ## 0.9.0-beta.83
312
+
313
+ ### Patch Changes
314
+
315
+ - bf69c56: Accept shell-escaped lifecycle path aliases deterministically and render model-facing aliases with stable quoting.
316
+
317
+ ## 0.9.0-beta.82
318
+
319
+ ### Patch Changes
320
+
321
+ - Keep release registry readback running through delayed npm propagation while still failing authorization errors immediately.
322
+
323
+ ## 0.9.0-beta.81
324
+
325
+ ### Patch Changes
326
+
327
+ - 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.
328
+
329
+ ## 0.9.0-beta.75
330
+
331
+ ### Patch Changes
332
+
333
+ - Use adapter-owned native delegation instructions for Codex and the other
334
+ supported harnesses, preserving independent child Work ownership and clearer
335
+ native-session diagnostics across fan-out and recovery.
336
+
337
+ ## 0.9.0-beta.64
338
+
339
+ ### Patch Changes
340
+
341
+ - Reserve SQLite writes explicitly, retain trusted lifecycle outcomes across harnesses,
342
+ continuously fence failed managed runs, and recover committed Work start packets and
343
+ replies without repeating effects. Revalidate stage inputs before acceptance and keep
344
+ the causal failure when adapter, publication or cleanup also fails. Writer contract 2
345
+ requires fresh campaign and resource homes; historical contract-1 stores are not
346
+ implicitly upgraded. Recovery-generation Work starts keep separate immutable packets
347
+ per WorkSession, preserving the interrupted attempt's evidence.
348
+
349
+ ## 0.9.0-beta.63
350
+
351
+ ### Patch Changes
352
+
353
+ - Accept the qualified retained-subagent ZCode bridge and settle a control only
354
+ when a durable startup rejection proves that it created no native resources.
355
+
356
+ ## 0.9.0-beta.62
357
+
358
+ ### Patch Changes
359
+
360
+ - Verify a controlled native Session with a fresh inspection after cancellation before treating its tree as settled.
361
+
362
+ ## 0.9.0-beta.61
363
+
364
+ ### Patch Changes
365
+
366
+ - Keep the scope reconciliation contract test type-safe.
367
+
368
+ ## 0.9.0-beta.60
369
+
370
+ ### Patch Changes
371
+
372
+ - Document and verify explicit reconciliation of a drained runtime scope without automatic observer respawn.
373
+
374
+ ## 0.9.0-beta.59
375
+
376
+ ### Patch Changes
377
+
378
+ - Keep bundled ZCode close-contract fixtures aligned with retained native topology checks.
379
+
380
+ ## 0.9.0-beta.58
381
+
382
+ ### Patch Changes
383
+
384
+ - Keep local task artifacts outside the release lint scope.
385
+
386
+ ## 0.9.0-beta.57
387
+
388
+ ### Patch Changes
389
+
390
+ - Bound recovery observation, expose safe external reconciliation, and require
391
+ complete non-resident ZCode session-tree evidence before a stopped run settles.
392
+
393
+ ## 0.9.0-beta.56
394
+
395
+ ### Patch Changes
396
+
397
+ - 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.
398
+
399
+ ## 0.9.0-beta.55
400
+
401
+ ### Patch Changes
402
+
403
+ - 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.
404
+
405
+ ## 0.9.0-beta.54
406
+
407
+ ### Patch Changes
408
+
409
+ - 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.
410
+
411
+ ## 0.9.0-beta.53
412
+
413
+ ### Patch Changes
414
+
415
+ - 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.
416
+
417
+ ## 0.9.0-beta.52
418
+
419
+ ### Patch Changes
420
+
421
+ - 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.
422
+
423
+ ## 0.9.0-beta.51
424
+
425
+ ### Patch Changes
426
+
427
+ - Settle a check receipt when its confirmed process identity has exited, even if an older registration has no parent-owner PID.
428
+
429
+ ## 0.9.0-beta.50
430
+
431
+ ### Patch Changes
432
+
433
+ - 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.
434
+ - 422413d: Reuse completed check evidence consistently across CODE, CODE-REVIEW and MERGE,
435
+ with validated inputs, artifacts, retry handling and concurrent execution guards.
436
+
437
+ ## 0.9.0-beta.49
438
+
439
+ ### Patch Changes
440
+
441
+ - Treat a completed CODE gate command that returns `code_gate_failed` as terminal
442
+ recovery evidence, so the coordinator creates the returned repair Work instead
443
+ of waiting indefinitely or duplicating the aggregate gate.
444
+
445
+ ## 0.9.0-beta.48
446
+
447
+ ### Patch Changes
448
+
449
+ - Recheck a controller lease after a transient runtime-registry write failure before
450
+ dispatching more work, while retaining the hard stop for an explicit lease loss.
451
+
452
+ ## 0.9.0-beta.47
453
+
454
+ ### Patch Changes
455
+
456
+ - Initialize the managed Codex hook home for external worker sessions so their
457
+ first `work start` receives a trusted session binding.
458
+
459
+ ## 0.9.0-beta.44
460
+
461
+ ### Patch Changes
462
+
463
+ - Allow a managed native session prompt to run for two hours before the outer
464
+ adapter watchdog cancels it, while retaining the existing short timeout for
465
+ non-productive adapter calls.
466
+
467
+ ## 0.9.0-beta.43
468
+
469
+ ### Patch Changes
470
+
471
+ - 78e3eaf: Keep Codex prompt and inspection receipts compact by returning historical turn
472
+ identities and statuses without duplicating their item transcripts. Preserve the
473
+ current result, final answer, native history reference, descendants and observed
474
+ profile so long-running sessions remain within the bounded adapter reply limit.
475
+
476
+ ## 0.9.0-beta.42
477
+
478
+ ### Patch Changes
479
+
480
+ - 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.
481
+
482
+ ## 0.9.0-beta.41
483
+
484
+ ### Patch Changes
485
+
486
+ - 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.
487
+
488
+ ## 0.9.0-beta.40
489
+
490
+ ### Patch Changes
491
+
492
+ - 2b4b714: Admit ordinary managed HITL answers through their exact generation-bound native
493
+ prompt, preserving pause, Session, raw-answer and prompt integrity. Keep accepted
494
+ answer intent separate from physical delivery so stop drains native operations
495
+ and recovery can deliver an unanswered pause without replaying completed work.
496
+ - c5eeb6f: Capture owned Codex home configuration and evidence without copying shared host
497
+ history or ephemeral helper links. Reuse the provisioned shared-entry contract
498
+ and retain strict rejection of unrelated external recovery artifact links.
499
+
500
+ ## 0.9.0-beta.39
501
+
502
+ ### Patch Changes
503
+
504
+ - 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.
505
+
506
+ 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.
507
+
508
+ Discover native Codex children from spawn receipts and release terminal failed provider turns only after a fresh settled-tree observation.
509
+
510
+ ## 0.9.0-beta.38
511
+
512
+ ### Patch Changes
513
+
514
+ - 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.
515
+
516
+ ## 0.9.0-beta.37
517
+
518
+ ### Patch Changes
519
+
520
+ - 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.
521
+
522
+ ## 0.9.0-beta.36
523
+
524
+ ### Patch Changes
525
+
526
+ - 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.
527
+
528
+ ## 0.9.0-beta.35
529
+
530
+ ### Patch Changes
531
+
532
+ - Wait for npm registry propagation and verify the annotated tag created by Changesets before completing a guarded release.
533
+ - Keep AGY native outcomes separate from settlement, invalidate old child settlement on new activity, and reserve productive operations before persistence across adapters.
534
+ - Retain process-local native Stop observation in no-flow technical probes without installing project hooks or forwarding flow mutations.
535
+ - 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.
536
+ - 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.
537
+
538
+ ## 0.9.0-beta.34
539
+
540
+ ### Patch Changes
541
+
542
+ - Create and verify the immutable annotated Git tag as part of the guarded release publication.
543
+
544
+ ## 0.9.0-beta.33
545
+
546
+ ### Patch Changes
547
+
548
+ - Add the guarded `release:publish` entrypoint that validates local npm auth,
549
+ checks the quality gate, verifies the published build metadata, and refreshes
550
+ the installed runtime before a release is considered complete.
551
+
552
+ ## 0.9.0-beta.32
553
+
554
+ ### Patch Changes
555
+
556
+ - 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.
557
+
558
+ ## 0.9.0-beta.31
559
+
560
+ ### Patch Changes
561
+
562
+ - Treat an authoritative fully-idle Antigravity root Stop as settlement evidence
563
+ for otherwise unobserved native children, while preserving their distinct
564
+ `settled_by_root` status rather than claiming individual completion.
565
+
566
+ ## 0.9.0-beta.30
567
+
568
+ ### Patch Changes
569
+
570
+ - Bound Antigravity prompt liveness from the most recent native activity and preserve clean recovery settlement after an expired prompt.
571
+
572
+ ## 0.9.0-beta.29
573
+
574
+ ### Patch Changes
575
+
576
+ - Recover completed stage boundaries without reopening accepted Work, and reject
577
+ stale coordinator identities and retired recovery generations.
578
+
579
+ Scope Antigravity terminal results and retained accounting to the current
580
+ conversation progress; preserve OpenCode and ACP provider errors for the actual
581
+ prompt. Keep configured adapter journals and bundled hook-denial behavior intact.
582
+
583
+ ## 0.9.0-beta.28
584
+
585
+ ### Patch Changes
586
+
587
+ - 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.
588
+
589
+ ## 0.9.0-beta.27
590
+
591
+ ### Patch Changes
592
+
593
+ - Resume retained native sessions from their active coordinator WorkSession, preserving the root launch record and rejecting lifecycle receipts from retired daemons.
594
+ - Propagate Antigravity lifecycle hooks to direct native children while preserving workspace hooks, and settle confirmed Codex system-error turns without losing provider failure evidence.
595
+
596
+ ## 0.9.0-beta.26
597
+
598
+ ### Patch Changes
599
+
600
+ - 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.
601
+
602
+ ## 0.9.0-beta.25
603
+
604
+ ### Patch Changes
605
+
606
+ - Publish the final serial CLI test isolation together with the current bundled harness fixes.
607
+
608
+ ## 0.9.0-beta.24
609
+
610
+ ### Patch Changes
611
+
612
+ - Retain supplemental files written to the check evidence directory in normal and recovered receipts. Keep required artifacts as minimum obligations and exclude symlinks.
613
+
614
+ 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.
615
+
616
+ - Run CLI tests in isolated, serial file processes so process-global test state cannot leak between suites.
617
+
618
+ ## 0.9.0-beta.23
619
+
620
+ ### Minor Changes
621
+
622
+ - bcfd8cb: Ship the six managed provider adapters with the CLI runtime, including their
623
+ daemon primitives and public adapter entrypoints. Add frozen mixed-execution
624
+ policy resolution and durable explicit external Work launch without changing a
625
+ same-profile external request into native delegation.
626
+
627
+ ## 0.9.0-beta.22
628
+
629
+ ### Patch Changes
630
+
631
+ - Reject conflicting or ambiguous lifecycle receipts before any harness can
632
+ mutate a Session binding. Restore a Work-start receipt when its binding
633
+ fails, so the same verified invocation remains safely retryable.
634
+
635
+ ## 0.9.0-beta.21
636
+
637
+ ### Patch Changes
638
+
639
+ - 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.
640
+
641
+ ## 0.9.0-beta.20
642
+
643
+ ### Patch Changes
644
+
645
+ - 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.
646
+
647
+ ## 0.9.0-beta.19
648
+
649
+ ### Patch Changes
650
+
651
+ - 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.
652
+
653
+ ## 0.9.0-beta.18
654
+
655
+ ### Patch Changes
656
+
657
+ - 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.
658
+
659
+ ## 0.9.0-beta.17
660
+
661
+ ### Patch Changes
662
+
663
+ - 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.
664
+
665
+ Snapshot SQLite consistently with VACUUM INTO and exclude local environment secrets, dependencies and caches from project/workspace snapshots.
666
+
667
+ 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.
668
+
669
+ ## 0.9.0-beta.16
670
+
671
+ ### Patch Changes
672
+
673
+ - Make repair verification causal and retryable, preserve attempt-qualified
674
+ evidence, expose RUN continuation from persisted lifecycle state, and keep
675
+ native child ownership bound to the physical harness session.
676
+
677
+ ## 0.9.0-beta.15
678
+
679
+ ### Patch Changes
680
+
681
+ - 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.
682
+
683
+ ## 0.9.0-beta.14
684
+
685
+ ### Patch Changes
686
+
687
+ - Audit runtime recovery: distinguish process owners from children, retain live check resources, await failed check startup cleanup, share managed workspace bootstrap between CODE/MERGE, correct assigned repair examples, and reject publication without canonical build provenance.
688
+
3
689
  ## 0.9.0-beta.13
4
690
 
5
691
  ### Patch Changes
@@ -858,6 +1544,7 @@ record` command with the bounded 15-probe contract.
858
1544
  - 16f68a3: Add router-native engine snapshot commands and routed project-command dispatch.
859
1545
 
860
1546
  Also include the runtime/dashboard compatibility wave needed by the current Memory Bank canon:
1547
+
861
1548
  - target-based dashboard `open`/`refresh` commands and related-command help;
862
1549
  - persisted FIFO lane waiters and merge wait-acquire specialization;
863
1550
  - `migration plan/report/verify` evidence helpers for controlled `mb-upgrade` runtime migrations;