@deksden-com/dd-flow-cli 0.6.0 → 0.8.0-beta.135
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.
- package/CHANGELOG.md +636 -0
- package/README.md +13 -1
- package/dist/build-info.json +10 -10
- package/dist/cli/help.js +108 -18
- package/dist/cli/run-cli.js +626 -49
- package/dist/domain/flow-contract.js +11 -0
- package/dist/domain/stage-catalog.js +22 -0
- package/dist/runtime/context.js +8 -2
- package/dist/schemas/code-review-decision.schema.json +26 -0
- package/dist/schemas/code-review-result.schema.json +14 -0
- package/dist/schemas/code-stage-report.schema.json +7 -2
- package/dist/schemas/code-verification.schema.json +14 -0
- package/dist/schemas/code-work-batch.schema.json +24 -0
- package/dist/schemas/code-work-result.schema.json +16 -0
- package/dist/schemas/engine-manifest.schema.json +22 -0
- package/dist/schemas/flow-contract.schema.json +6 -3
- package/dist/schemas/flow-run.schema.json +16 -122
- package/dist/schemas/mb-upgrade-migration-report.schema.json +3 -1
- package/dist/schemas/merge-stage-report-legacy-0.4.2.schema.json +24 -0
- package/dist/schemas/plan-aspect-map.schema.json +22 -0
- package/dist/schemas/plan-review-decision.schema.json +14 -0
- package/dist/schemas/plan-review-result.schema.json +42 -0
- package/dist/schemas/protocol-plan.schema.json +15 -182
- package/dist/schemas/run-engine-binding.schema.json +37 -0
- package/dist/schemas/stage-finish-input.schema.json +16 -2
- package/dist/schemas/stage-prompt.schema.json +4 -4
- package/dist/schemas/stage-report.schema.json +8 -7
- package/dist/schemas/vnext-protocol-plan.schema.json +37 -0
- package/dist/schemas/vnext-protocolize-result.schema.json +29 -0
- package/dist/schemas/vnext-specify.schema.json +45 -0
- package/dist/services/branch-context.js +1 -1
- package/dist/services/canon.js +15 -1
- package/dist/services/cleanup.js +8 -8
- package/dist/services/cli-operation-classifier.js +60 -8
- package/dist/services/code-checks.js +244 -0
- package/dist/services/compatibility-preflight.js +1 -1
- package/dist/services/config.js +7 -1
- package/dist/services/dashboard.js +14 -14
- package/dist/services/engines.js +408 -30
- package/dist/services/eval-snapshots.js +404 -0
- package/dist/services/hooks.js +775 -23
- package/dist/services/ids.js +16 -6
- package/dist/services/lanes.js +1 -5
- package/dist/services/merge-queue.js +53 -5
- package/dist/services/merge-worker.js +5 -6
- package/dist/services/migrations.js +307 -44
- package/dist/services/plan-runtime.js +5 -5
- package/dist/services/plans.js +5 -3
- package/dist/services/projects.js +4 -4
- package/dist/services/prompts.js +1 -1
- package/dist/services/protocols.js +31 -10
- package/dist/services/run-engine-bindings.js +157 -0
- package/dist/services/run-projection.js +49 -13
- package/dist/services/runs.js +525 -58
- package/dist/services/schema-validation.js +116 -2
- package/dist/services/sessions.js +51 -12
- package/dist/services/stage-blocker.js +57 -0
- package/dist/services/stage-context.js +90 -0
- package/dist/services/stage-lifecycle.js +288 -77
- package/dist/services/stage-pause.js +175 -0
- package/dist/services/stage-report-renderer.js +65 -0
- package/dist/services/status.js +8 -3
- package/dist/services/usage.js +526 -18
- package/dist/services/vnext-code-review.js +308 -0
- package/dist/services/vnext-code.js +616 -0
- package/dist/services/vnext-contracts.js +1 -0
- package/dist/services/vnext-execution-profile.js +27 -0
- package/dist/services/vnext-fanout.js +79 -0
- package/dist/services/vnext-plan-review.js +499 -0
- package/dist/services/vnext-plan.js +576 -0
- package/dist/services/vnext-protocolize.js +542 -0
- package/dist/services/vnext-specify.js +595 -0
- package/dist/services/vnext-workspace-policy.js +87 -0
- package/dist/services/work-registry.js +499 -0
- package/dist/services/worktrees.js +58 -37
- package/dist/storage/database.js +292 -42
- package/dist/storage/paths.js +47 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,641 @@
|
|
|
1
1
|
# @deksden-com/dd-flow-cli
|
|
2
2
|
|
|
3
|
+
## 0.8.0-beta.135
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Derive a CODE repair Work's additional write scope from exact existing
|
|
8
|
+
project files named by its retained failed-check receipt, with path-escape
|
|
9
|
+
and dependency-directory guards.
|
|
10
|
+
- Keep eval snapshot rebasing out of restored workspaces and installed tools,
|
|
11
|
+
so valid JSON-with-comments project files cannot break a later stage entry.
|
|
12
|
+
|
|
13
|
+
## 0.8.0-beta.134
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Pair the engine with the PLAN/PLAN-REVIEW prompt correction that makes every
|
|
18
|
+
linked acceptance scenario explicitly owned for update or explicitly
|
|
19
|
+
classified as unaffected before CODE opens.
|
|
20
|
+
|
|
21
|
+
## 0.8.0-beta.133
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Reject a PLAN that assigns a project aggregate gate to one scoped CODE Work;
|
|
26
|
+
aggregate gates now run at the CODE/readiness fan-in, where failure can
|
|
27
|
+
create a correctly scoped repair Work.
|
|
28
|
+
- Preserve the distinction between a worker that explicitly failed its Work
|
|
29
|
+
and a worker that omitted its lifecycle finish in eval runner evidence.
|
|
30
|
+
|
|
31
|
+
## 0.8.0-beta.132
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Preserve the one-to-one relationship between PLAN-declared CODE checks and
|
|
36
|
+
their execution receipts, even when checks intentionally share a command.
|
|
37
|
+
- Reject a CODE-REVIEW decision that rejects or defers a material P0/P1
|
|
38
|
+
finding before repair Work is created, so the initial repair packet is
|
|
39
|
+
complete and cannot leave the stage in a non-progressing state.
|
|
40
|
+
|
|
41
|
+
## 0.8.0-beta.131
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- Explain that a CODE Work receives shared end-to-end acceptance context but
|
|
46
|
+
owns only its declared contribution, write scope and checks. This prevents a
|
|
47
|
+
correctly scoped worker from failing merely because a dependent UI or
|
|
48
|
+
documentation surface belongs to another Work.
|
|
49
|
+
|
|
50
|
+
## 0.8.0-beta.128
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Render an executable, one-command heredoc template for every agent-owned
|
|
55
|
+
HITL pause and preserve that template through Codex, ZCode, Grok, OpenCode
|
|
56
|
+
and Antigravity hook parsing.
|
|
57
|
+
|
|
58
|
+
## 0.8.0-beta.127
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Keep PROTOCOLIZE stage attachment independent from coordinator Session reuse,
|
|
63
|
+
expose the measured worker capacity in the PLAN packet, and report an
|
|
64
|
+
explicit zero-capacity infrastructure outcome for PLAN-REVIEW.
|
|
65
|
+
|
|
66
|
+
## 0.8.0-beta.122
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- Preserve a portable Git bundle in each new eval snapshot and restore it
|
|
71
|
+
before the checkpoint tree, so later stages retain their branch and can
|
|
72
|
+
create managed worktrees.
|
|
73
|
+
|
|
74
|
+
## 0.8.0-beta.121
|
|
75
|
+
|
|
76
|
+
### Patch Changes
|
|
77
|
+
|
|
78
|
+
- Keep CODE implementation in fresh Work sessions so the coordinator preserves
|
|
79
|
+
graph, evidence and final-gate context across a sequential delivery graph.
|
|
80
|
+
|
|
81
|
+
## 0.8.0-beta.119
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Keep the accepted `@check/...` declaration when creating a CODE repair Work
|
|
86
|
+
from a failed receipt. Receipts retain the expanded command as evidence, but
|
|
87
|
+
the repair packet is validated and executed through the original alias.
|
|
88
|
+
|
|
89
|
+
## 0.8.0-beta.118
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- Keep PLAN-time document baselines immutable while validating CODE handoff, so
|
|
94
|
+
a required durable-documentation Work cannot invalidate its own generated
|
|
95
|
+
CODE batch.
|
|
96
|
+
- Emit full Work ids in generated lifecycle commands and align the CODE
|
|
97
|
+
verification example with the installed `code-verification@2` schema.
|
|
98
|
+
|
|
99
|
+
## 0.8.0-beta.116
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- Register the CODE stage before workspace readiness so a failed bootstrap is
|
|
104
|
+
a recoverable, timed stage attempt rather than an unfinishable lifecycle.
|
|
105
|
+
|
|
106
|
+
## 0.8.0-beta.115
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- Materialize both partially filled PLAN artifacts at stage start and report
|
|
111
|
+
which fields are already owned by the CLI.
|
|
112
|
+
- Prepopulate the aspect-map catalog identifiers without making semantic
|
|
113
|
+
applicability decisions for the planner.
|
|
114
|
+
- Return exact artifact paths and schema-validation commands in the PLAN
|
|
115
|
+
packet while preserving `plan.json` as the sole semantic plan.
|
|
116
|
+
|
|
117
|
+
## 0.8.0-beta.111
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Make a future CODE check an explicit, provider-owned `@check/...` alias
|
|
122
|
+
with an exact definition; reject unordered, raw or unmaterialized checks.
|
|
123
|
+
- Run PLAN-declared available readiness checks after bootstrap, preserve their
|
|
124
|
+
receipts, and distinguish project policy gates from planner-selected CODE
|
|
125
|
+
checks.
|
|
126
|
+
- Carry the stricter verification contract through PLAN and CODE worker
|
|
127
|
+
packets without asking the CLI to judge test relevance or cost.
|
|
128
|
+
|
|
129
|
+
## 0.8.0-beta.110
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- Make PLAN own verification selection through a single check catalogue;
|
|
134
|
+
validate only references, provider ordering and guarded commands.
|
|
135
|
+
- Preserve review evidence in Work results instead of mutating aspect maps,
|
|
136
|
+
reuse one RUN capacity measurement, and support HITL-backed effective
|
|
137
|
+
obligation amendments.
|
|
138
|
+
- Never rewrite Bash heredocs in lifecycle hooks.
|
|
139
|
+
|
|
140
|
+
## 0.8.0-beta.109
|
|
141
|
+
|
|
142
|
+
### Patch Changes
|
|
143
|
+
|
|
144
|
+
- Keep the SQLite vNext RUN projection free of legacy `current_stage`, attempt,
|
|
145
|
+
worker and coverage mirrors; derive stage guidance from canonical stage runs.
|
|
146
|
+
|
|
147
|
+
## 0.8.0-beta.108
|
|
148
|
+
|
|
149
|
+
### Patch Changes
|
|
150
|
+
|
|
151
|
+
- Align vNext runtime identity, Work/Session state, filesystem materialization,
|
|
152
|
+
stage reports, review findings and check receipts with SPC-009.
|
|
153
|
+
- Add a single stage catalog, safe RUN path resolver, overlapping write-scope
|
|
154
|
+
scheduling guard and structured eval snapshot rebasing.
|
|
155
|
+
- Remove automatic Work `try-001` materialization and the separate `work.json`
|
|
156
|
+
projection; explicit retries archive under `attempts/ATT-NNN`.
|
|
157
|
+
|
|
158
|
+
## 0.8.0-beta.103
|
|
159
|
+
|
|
160
|
+
### Patch Changes
|
|
161
|
+
|
|
162
|
+
- Isolate local CODE check processes by checkout and pass the scope through deterministic bootstrap and gate commands.
|
|
163
|
+
- Make CODE worker instructions distinguish repairable project check failures from evidenced external blockers.
|
|
164
|
+
|
|
165
|
+
## 0.8.0-beta.102
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- Permit the stdin pipe required by `stage resume` while retaining the strict
|
|
170
|
+
standalone-command guard for stage and Work starts.
|
|
171
|
+
|
|
172
|
+
## 0.8.0-beta.101
|
|
173
|
+
|
|
174
|
+
### Patch Changes
|
|
175
|
+
|
|
176
|
+
- abef4b2: Reject ambiguous compound lifecycle starts, preserve trusted coordinator
|
|
177
|
+
ownership, enforce hard Work dependencies during review dispatch, and expose
|
|
178
|
+
complete reviewer, timing, evidence, Session and Agent observability.
|
|
179
|
+
|
|
180
|
+
## 0.8.0-beta.100
|
|
181
|
+
|
|
182
|
+
### Patch Changes
|
|
183
|
+
|
|
184
|
+
- 430e49f: Preserve project check aliases until execution, add recoverable external stage
|
|
185
|
+
blockers, deduplicate physical-session usage, and improve session and review
|
|
186
|
+
routing projections.
|
|
187
|
+
- 06e58ab: Stream machine-readable progress for long lifecycle commands, make CODE and
|
|
188
|
+
CODE-REVIEW retries idempotent, preserve terminal timestamps, and tighten
|
|
189
|
+
candidate usage/session projections.
|
|
190
|
+
- Reject a completed CODE verification that cites evidence missing from the RUN or
|
|
191
|
+
its workspace, and refresh protocol summaries at deterministic CODE boundaries.
|
|
192
|
+
|
|
193
|
+
## 0.8.0-beta.99
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- Validate draft 2020-12 stage contracts with the matching JSON Schema engine
|
|
198
|
+
and surface schema-registry compilation failures as actionable engine errors.
|
|
199
|
+
- Namespace CODE-REVIEW findings by reviewer group and require every assigned
|
|
200
|
+
aspect exactly once before accepting reviewer evidence.
|
|
201
|
+
- Keep active RUN projections free of resolved pause/blocker records, preserve
|
|
202
|
+
their history in the timeline, and normalize quoted RUN ids from hooks.
|
|
203
|
+
- Validate CODE completion evidence before running the aggregate project gate.
|
|
204
|
+
|
|
205
|
+
## 0.8.0-beta.93
|
|
206
|
+
|
|
207
|
+
### Patch Changes
|
|
208
|
+
|
|
209
|
+
- Republish the beta.92 CODE packet validation fix as the matched engine for
|
|
210
|
+
the corrected flow-pack compatibility declaration.
|
|
211
|
+
|
|
212
|
+
## 0.8.0-beta.92
|
|
213
|
+
|
|
214
|
+
### Patch Changes
|
|
215
|
+
|
|
216
|
+
- Treat each PLAN `verification.checks` entry as an executable command only.
|
|
217
|
+
With a project check profile, PLAN now accepts only declared aliases or exact
|
|
218
|
+
declared commands, and rejects semantic assertions before it can create a
|
|
219
|
+
CODE Work packet. Semantic proof stays in `expected_evidence`.
|
|
220
|
+
|
|
221
|
+
## 0.8.0-beta.91
|
|
222
|
+
|
|
223
|
+
### Patch Changes
|
|
224
|
+
|
|
225
|
+
- Remove obsolete `session_coverage` and `usage_coverage` projections from
|
|
226
|
+
vNext RUN state, leaving factual Session and usage data to the stat commands.
|
|
227
|
+
|
|
228
|
+
## 0.8.0-beta.90
|
|
229
|
+
|
|
230
|
+
### Patch Changes
|
|
231
|
+
|
|
232
|
+
- Snapshot one project-owned execution profile into each vNext RUN and keep
|
|
233
|
+
checkout routing separate from handoff, review and bootstrap policy.
|
|
234
|
+
- Move deterministic workspace bootstrap to CODE, report its heartbeat, and
|
|
235
|
+
end successful CODE at the truthful terminal verdict `code_completed`.
|
|
236
|
+
- Use readable `WRK-*` Work identifiers and replace synthetic coverage claims
|
|
237
|
+
in vNext stage reports with factual post-settlement statistics commands.
|
|
238
|
+
|
|
239
|
+
## 0.8.0-beta.89
|
|
240
|
+
|
|
241
|
+
### Patch Changes
|
|
242
|
+
|
|
243
|
+
- Keep active CODE workers alive until the harness reports a terminal state.
|
|
244
|
+
- Stream long check progress and validate project-owned check aliases before
|
|
245
|
+
CODE Work registration.
|
|
246
|
+
- Scope Session, token, tool-call and timing evidence to the selected stage or
|
|
247
|
+
segment and keep only the latest check receipt as current evidence.
|
|
248
|
+
|
|
249
|
+
## 0.8.0-beta.88
|
|
250
|
+
|
|
251
|
+
### Patch Changes
|
|
252
|
+
|
|
253
|
+
- Preserve accepted requirements, semantic responsibility, selected project
|
|
254
|
+
context, write scope and verification when PLAN projects CODE Work.
|
|
255
|
+
- Execute CODE as the registered Work graph under the RUN root orchestrator,
|
|
256
|
+
with focused checks at Work completion and a deterministic aggregate gate at
|
|
257
|
+
stage completion.
|
|
258
|
+
- Keep failed aggregate gates open and create an explicit repair Work from the
|
|
259
|
+
failed receipt plus the original Work context.
|
|
260
|
+
|
|
261
|
+
## 0.8.0-beta.87
|
|
262
|
+
|
|
263
|
+
### Patch Changes
|
|
264
|
+
|
|
265
|
+
- Remove the obsolete vNext fixture handoff fallback so PROTOCOLIZE starts
|
|
266
|
+
only from the accepted SPECIFY context.
|
|
267
|
+
- Prove that review-off uses the same validated final PLAN-to-CODE closure as
|
|
268
|
+
an enabled review.
|
|
269
|
+
|
|
270
|
+
## 0.8.0-beta.86
|
|
271
|
+
|
|
272
|
+
### Patch Changes
|
|
273
|
+
|
|
274
|
+
- Make SPECIFY JSON the accepted semantic source, preserve all R/AC
|
|
275
|
+
obligations through PROTOCOLIZE and PLAN, and derive the CODE work batch
|
|
276
|
+
only after shared deterministic validation.
|
|
277
|
+
- Reject stale PLAN/CODE handoffs and publish accepted semantic artifacts and
|
|
278
|
+
deterministic reports atomically.
|
|
279
|
+
- Resolve Codex transcripts inside the selected `CODEX_HOME`; tests now use
|
|
280
|
+
isolated homes instead of scanning a developer's session history.
|
|
281
|
+
|
|
282
|
+
## 0.8.0-beta.81
|
|
283
|
+
|
|
284
|
+
### Patch Changes
|
|
285
|
+
|
|
286
|
+
- Reject an accepted PLAN-REVIEW correction unless it regenerates the proposed
|
|
287
|
+
CODE batch and records that artifact in the correction receipt. This keeps
|
|
288
|
+
CODE work paths and verification aligned with the revised plan.
|
|
289
|
+
|
|
290
|
+
## 0.8.0-beta.80
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- Make failed eval snapshots read-only: an accidental worktree value for
|
|
295
|
+
`--project-root` no longer registers a second project in the dedicated
|
|
296
|
+
runtime before failing.
|
|
297
|
+
|
|
298
|
+
## 0.8.0-beta.79
|
|
299
|
+
|
|
300
|
+
### Patch Changes
|
|
301
|
+
|
|
302
|
+
- Use the single vNext workspace policy for the frozen SPECIFY →
|
|
303
|
+
PROTOCOLIZE handoff. This prevents the generic runtime default from
|
|
304
|
+
contradicting `project-workspace.json`.
|
|
305
|
+
- Remove the obsolete `execution.stage_handoff` runtime setting so it cannot
|
|
306
|
+
be mistaken for a second vNext authority.
|
|
307
|
+
|
|
308
|
+
## 0.8.0-beta.78
|
|
309
|
+
|
|
310
|
+
### Patch Changes
|
|
311
|
+
|
|
312
|
+
- Treat a complete PLAN-REVIEW reviewer result with `blocked` as actionable
|
|
313
|
+
evidence, requiring a classified in-place correction, rather than a terminal
|
|
314
|
+
stage failure. Missing, malformed, or unfinished reviewer evidence still
|
|
315
|
+
blocks the stage.
|
|
316
|
+
- Keep the PROTOCOLIZE PSET test fixture consistent with the fail-closed
|
|
317
|
+
acceptance-coverage contract.
|
|
318
|
+
|
|
319
|
+
## 0.8.0-beta.77
|
|
320
|
+
|
|
321
|
+
### Patch Changes
|
|
322
|
+
|
|
323
|
+
- Make PROTOCOLIZE fail closed unless `acceptance_coverage` owns every
|
|
324
|
+
`AC-*` criterion in the accepted SPECIFY handoff exactly once.
|
|
325
|
+
|
|
326
|
+
## 0.8.0-beta.76
|
|
327
|
+
|
|
328
|
+
### Patch Changes
|
|
329
|
+
|
|
330
|
+
- Make the PROTOCOLIZE workspace receipt a fail-closed gate for PLAN,
|
|
331
|
+
PLAN-REVIEW and CODE, and include the verified write workspace in every
|
|
332
|
+
generated worker packet.
|
|
333
|
+
- Require disposable capacity probes and completed review workers to release
|
|
334
|
+
their harness slots before productive work continues.
|
|
335
|
+
|
|
336
|
+
## 0.8.0-beta.75
|
|
337
|
+
|
|
338
|
+
### Patch Changes
|
|
339
|
+
|
|
340
|
+
- Render every vNext lifecycle command with the bound `DD_FLOW_HOME`, so a
|
|
341
|
+
worker can finish or hand off a stage from any shell environment.
|
|
342
|
+
|
|
343
|
+
## 0.8.0-beta.74
|
|
344
|
+
|
|
345
|
+
### Patch Changes
|
|
346
|
+
|
|
347
|
+
- Measure fresh-subagent capacity at PLAN-REVIEW dispatch rather than reusing a
|
|
348
|
+
stale PLAN observation; PLAN now groups review aspects semantically only.
|
|
349
|
+
|
|
350
|
+
## 0.8.0-beta.73
|
|
351
|
+
|
|
352
|
+
### Patch Changes
|
|
353
|
+
|
|
354
|
+
- Require self-contained CODE work batches at PLAN finish.
|
|
355
|
+
|
|
356
|
+
## 0.8.0-beta.72
|
|
357
|
+
|
|
358
|
+
### Patch Changes
|
|
359
|
+
|
|
360
|
+
- Align the validated flow contract with the vNext route: a run-scoped feature
|
|
361
|
+
worktree is provisioned at PROTOCOLIZE start, before durable protocol files
|
|
362
|
+
are materialized.
|
|
363
|
+
|
|
364
|
+
## 0.8.0-beta.71
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- Keep the worktree route strict while allowing Desktop harnesses whose task
|
|
369
|
+
cwd cannot be dynamically changed: stage packets use absolute workspace
|
|
370
|
+
targets and hook cwd remains audit evidence rather than a false blocker.
|
|
371
|
+
|
|
372
|
+
## 0.8.0-beta.70
|
|
373
|
+
|
|
374
|
+
### Patch Changes
|
|
375
|
+
|
|
376
|
+
- Provision the configured feature worktree and its bootstrap deterministically
|
|
377
|
+
at vNext PROTOCOLIZE start. PROTOCOLIZE finish now only validates the frozen
|
|
378
|
+
route and materializes durable documents there; PLAN and later writing stages
|
|
379
|
+
reject a session started outside the recorded workspace.
|
|
380
|
+
|
|
381
|
+
## 0.8.0-beta.58
|
|
382
|
+
|
|
383
|
+
### Patch Changes
|
|
384
|
+
|
|
385
|
+
- Bind a portable fixture's synthetic root Work to the first real stage
|
|
386
|
+
session before starting its child PLAN Work, so a focused PLAN run retains
|
|
387
|
+
the normal parent-session invariant without importing old sessions.
|
|
388
|
+
|
|
389
|
+
## 0.8.0-beta.57
|
|
390
|
+
|
|
391
|
+
### Patch Changes
|
|
392
|
+
|
|
393
|
+
- Preserve the final newline of `git diff --binary` in exported portable
|
|
394
|
+
fixtures so their project overlays can be imported by `git apply`.
|
|
395
|
+
|
|
396
|
+
## 0.8.0-beta.56
|
|
397
|
+
|
|
398
|
+
### Patch Changes
|
|
399
|
+
|
|
400
|
+
- Report PROTOCOLIZE as the next legal stage after finished SPECIFY; PLAN is
|
|
401
|
+
now guided only after the PROTOCOLIZE stage is complete.
|
|
402
|
+
|
|
403
|
+
## 0.8.0-beta.55
|
|
404
|
+
|
|
405
|
+
### Patch Changes
|
|
406
|
+
|
|
407
|
+
- Keep a finished SPECIFY stage isolated until its returned PROTOCOLIZE start
|
|
408
|
+
command is explicitly invoked; completion now records the hash of the actual
|
|
409
|
+
stored document and exposes acceptance/check checks in the stage report.
|
|
410
|
+
|
|
411
|
+
## 0.8.0-beta.54
|
|
412
|
+
|
|
413
|
+
### Patch Changes
|
|
414
|
+
|
|
415
|
+
- Restore the accepted fixture's PLAN-REVIEW setting alongside its runtime
|
|
416
|
+
variables so isolated targets retain the configured flow behavior.
|
|
417
|
+
|
|
418
|
+
## 0.8.0-beta.53
|
|
419
|
+
|
|
420
|
+
### Patch Changes
|
|
421
|
+
|
|
422
|
+
- Mark engine-exported stage fixtures as accepted, matching the strict
|
|
423
|
+
controller import gate.
|
|
424
|
+
|
|
425
|
+
## 0.8.0-beta.52
|
|
426
|
+
|
|
427
|
+
### Patch Changes
|
|
428
|
+
|
|
429
|
+
- Add an operator-only portable stage-fixture export/import boundary for
|
|
430
|
+
stage-isolated evaluations. It restores accepted predecessor artifacts and
|
|
431
|
+
RUN variables into a fresh runtime, never old Sessions, Works, usage or
|
|
432
|
+
machine paths.
|
|
433
|
+
|
|
434
|
+
## 0.8.0-beta.51
|
|
435
|
+
|
|
436
|
+
### Patch Changes
|
|
437
|
+
|
|
438
|
+
- Put the measured per-wave fresh-subagent capacity into the PLAN response,
|
|
439
|
+
rendered prompt and Work context. PLAN now explicitly minimizes review waves
|
|
440
|
+
before reviewer count while preserving real semantic boundaries.
|
|
441
|
+
|
|
442
|
+
## 0.8.0-beta.49
|
|
443
|
+
|
|
444
|
+
### Patch Changes
|
|
445
|
+
|
|
446
|
+
- Prefix generated vNext inter-stage start commands with the selected
|
|
447
|
+
`DD_FLOW_HOME`, so their PreToolUse hook binds the same isolated RUN.
|
|
448
|
+
- Allow a bounded capacity observation to replace an earlier observation when
|
|
449
|
+
the harness completes its probe window with a different factual count.
|
|
450
|
+
|
|
451
|
+
## 0.8.0-beta.48
|
|
452
|
+
|
|
453
|
+
### Patch Changes
|
|
454
|
+
|
|
455
|
+
- Publish the coordinated engine snapshot for the vNext HITL flow-pack beta.48.
|
|
456
|
+
|
|
457
|
+
## 0.8.0-beta.47
|
|
458
|
+
|
|
459
|
+
### Patch Changes
|
|
460
|
+
|
|
461
|
+
- Make user interaction an in-stage pause/resume lifecycle: preserve the same
|
|
462
|
+
Work, stage and attempt, store raw question/answer intake, and require a
|
|
463
|
+
trusted resume hook event.
|
|
464
|
+
- Remove vNext `waiting_for_user` finish outcomes and fictitious
|
|
465
|
+
PROTOCOLIZE-to-SPECIFY answer routes. Generated prompts now return exact
|
|
466
|
+
pause/resume commands, including an isolated `DD_FLOW_HOME` where needed.
|
|
467
|
+
|
|
468
|
+
## 0.8.0-beta.45
|
|
469
|
+
|
|
470
|
+
### Patch Changes
|
|
471
|
+
|
|
472
|
+
- Capture the immutable PLAN-REVIEW decision receipt only after a finish
|
|
473
|
+
payload passes the mechanical gate, so rejected attempts remain retryable.
|
|
474
|
+
|
|
475
|
+
## 0.8.0-beta.44
|
|
476
|
+
|
|
477
|
+
### Patch Changes
|
|
478
|
+
|
|
479
|
+
- Record RUN capacity before PLAN and expose one consistent `run capacity
|
|
480
|
+
record` command with the bounded 15-probe contract.
|
|
481
|
+
- Preserve the proposed CODE batch through PLAN-REVIEW, validate it before
|
|
482
|
+
PLAN acceptance, and keep the temporary reviewer dispatch file ephemeral.
|
|
483
|
+
- Keep per-Session stage state accurate, preserve immutable PLAN-REVIEW decision
|
|
484
|
+
payloads, and materialize reviewer findings into the aspect map.
|
|
485
|
+
- Render a useful deterministic PLAN-REVIEW Markdown/HTML report and require
|
|
486
|
+
stable finding ids for mechanical decision coverage.
|
|
487
|
+
|
|
488
|
+
## 0.8.0-beta.43
|
|
489
|
+
|
|
490
|
+
### Patch Changes
|
|
491
|
+
|
|
492
|
+
- Attribute transcript usage by the linked Work/Session id; Codex child
|
|
493
|
+
transcripts expose the child id in `session_meta.id` while the provider id
|
|
494
|
+
can remain the parent thread id.
|
|
495
|
+
- Include initial/final PLAN revisions and checksums, correction paths and
|
|
496
|
+
`semantic_re_review` in the deterministic PLAN-REVIEW report.
|
|
497
|
+
|
|
498
|
+
## 0.8.0-beta.42
|
|
499
|
+
|
|
500
|
+
### Patch Changes
|
|
501
|
+
|
|
502
|
+
- Make PLAN-REVIEW a single semantic review wave: reviewer `needs_changes` is
|
|
503
|
+
evidence, while the orchestrator applies accepted fixes in the same Work and
|
|
504
|
+
finishes once with an explicit correction receipt.
|
|
505
|
+
- Remove automatic review retries and validate only mechanical correction
|
|
506
|
+
coherence; semantic re-review remains `not_run_by_policy`.
|
|
507
|
+
|
|
508
|
+
## 0.8.0-beta.41
|
|
509
|
+
|
|
510
|
+
### Patch Changes
|
|
511
|
+
|
|
512
|
+
- Make capacity probing an explicit leaf-session measurement: probes wait 60
|
|
513
|
+
seconds, return `AGENT-NN`, use a 180-second total deadline, and count only
|
|
514
|
+
exact-token completions.
|
|
515
|
+
|
|
516
|
+
## 0.8.0-beta.40
|
|
517
|
+
|
|
518
|
+
### Patch Changes
|
|
519
|
+
|
|
520
|
+
- Include the isolated `DD_FLOW_HOME` prefix in generated worker completion
|
|
521
|
+
and failure commands, matching the worker-start command in a fresh Desktop
|
|
522
|
+
session.
|
|
523
|
+
|
|
524
|
+
## 0.8.0-beta.39
|
|
525
|
+
|
|
526
|
+
### Patch Changes
|
|
527
|
+
|
|
528
|
+
- Replace partial PLAN-review retries with a new complete review attempt after
|
|
529
|
+
any PLAN revision. The completed attempt is archived by the common stage
|
|
530
|
+
state machine; stale evidence cannot be reused.
|
|
531
|
+
- Return the isolated runtime prefix in reviewer worker-start commands, so a
|
|
532
|
+
fresh Desktop worker reaches the same RUN without manual environment setup.
|
|
533
|
+
|
|
534
|
+
## 0.8.0-beta.38
|
|
535
|
+
|
|
536
|
+
### Patch Changes
|
|
537
|
+
|
|
538
|
+
- Treat fresh-session capacity as one bounded harness observation rather than
|
|
539
|
+
fifteen registered probe Works. `plan-review capacity record` stores the
|
|
540
|
+
observed slot count once for the RUN and lets reviewer dispatch proceed.
|
|
541
|
+
|
|
542
|
+
## 0.8.0-beta.33
|
|
543
|
+
|
|
544
|
+
### Patch Changes
|
|
545
|
+
|
|
546
|
+
- Replace beta-only Agent Turn, launch-token and adapter-binding mechanics with
|
|
547
|
+
hook-observed Work/Session links; add RUN variables, fresh-review capacity
|
|
548
|
+
probes and transcript-source usage recomputation.
|
|
549
|
+
|
|
550
|
+
## 0.8.0-beta.32
|
|
551
|
+
|
|
552
|
+
### Patch Changes
|
|
553
|
+
|
|
554
|
+
- Split independent PLAN review into a first-class `plan-review` stage with an
|
|
555
|
+
atomic CODE opening gate and RUN-scoped review policy.
|
|
556
|
+
|
|
557
|
+
## 0.8.0-beta.31
|
|
558
|
+
|
|
559
|
+
### Patch Changes
|
|
560
|
+
|
|
561
|
+
- Let PLAN dispatch a new review attempt only for groups whose latest completed verdict is `needs_changes`; PLAN acceptance uses the latest attempt for each group.
|
|
562
|
+
|
|
563
|
+
## 0.8.0-beta.30
|
|
564
|
+
|
|
565
|
+
### Patch Changes
|
|
566
|
+
|
|
567
|
+
- Include the explicit project root in every generated worker start command, so a Desktop worker launched outside the target checkout can be observed and claimed by its Codex hook.
|
|
568
|
+
|
|
569
|
+
## 0.8.0-beta.29
|
|
570
|
+
|
|
571
|
+
### Patch Changes
|
|
572
|
+
|
|
573
|
+
- Give each Work a one-time launch token, claim the exact matching PreToolUse
|
|
574
|
+
event, and let the trusted Desktop harness bind a returned child-task
|
|
575
|
+
identity before a parallel worker starts.
|
|
576
|
+
|
|
577
|
+
## 0.8.0-beta.28
|
|
578
|
+
|
|
579
|
+
### Patch Changes
|
|
580
|
+
|
|
581
|
+
- Keep vNext RUNs live across same-session stage handoffs, dispatch grouped
|
|
582
|
+
PLAN reviews as real Work/Agent Turns before PLAN acceptance, and preserve
|
|
583
|
+
portable RUN references in semantic artifacts and worker packets.
|
|
584
|
+
|
|
585
|
+
## 0.8.0-beta.27
|
|
586
|
+
|
|
587
|
+
### Patch Changes
|
|
588
|
+
|
|
589
|
+
- Materialize grouped PLAN aspect routes as prerequisite Work, normalize RUN
|
|
590
|
+
source provenance, and report PLAN guidance and artifacts without external
|
|
591
|
+
filesystem-relative paths.
|
|
592
|
+
|
|
593
|
+
## 0.8.0-beta.26
|
|
594
|
+
|
|
595
|
+
### Patch Changes
|
|
596
|
+
|
|
597
|
+
- Keep PreToolUse hook rewriting scoped to one `dd-flow` invocation; compound
|
|
598
|
+
shell commands are recorded but never mutated.
|
|
599
|
+
|
|
600
|
+
## 0.8.0-beta.25
|
|
601
|
+
|
|
602
|
+
### Patch Changes
|
|
603
|
+
|
|
604
|
+
- Route a Desktop PreToolUse event to an explicitly prefixed isolated
|
|
605
|
+
`DD_FLOW_HOME`, so beta evals keep trusted session binding without touching
|
|
606
|
+
the shared runtime database.
|
|
607
|
+
|
|
608
|
+
## 0.8.0-beta.24
|
|
609
|
+
|
|
610
|
+
### Patch Changes
|
|
611
|
+
|
|
612
|
+
- Unify vNext Work/Turn authority, bind PLAN/CODE to trusted hook sessions,
|
|
613
|
+
enforce strict SPECIFY-to-PLAN traceability, and emit portable Work/usage
|
|
614
|
+
evidence with deterministic stage reports.
|
|
615
|
+
|
|
616
|
+
## 0.8.0-beta.13
|
|
617
|
+
|
|
618
|
+
### Patch Changes
|
|
619
|
+
|
|
620
|
+
- Automatically apply safe, additive internal SQLite schema updates whenever a
|
|
621
|
+
write-capable engine command opens an existing runtime database. This keeps
|
|
622
|
+
hook-event binding compatible across beta engine upgrades without treating it
|
|
623
|
+
as a Memory Bank data migration.
|
|
624
|
+
|
|
625
|
+
## 0.8.0-beta.12
|
|
626
|
+
|
|
627
|
+
### Patch Changes
|
|
628
|
+
|
|
629
|
+
- Bind vNext SPECIFY bootstrap to a one-time, fresh PreToolUse event using a
|
|
630
|
+
canonical invocation fingerprint when Codex Desktop ignores hook
|
|
631
|
+
`updatedInput` rewrites.
|
|
632
|
+
|
|
633
|
+
## 0.7.0
|
|
634
|
+
|
|
635
|
+
### Minor Changes
|
|
636
|
+
|
|
637
|
+
- Add target-driven engine routing, explicit storage migration safety, immutable RUN engine bindings, engine schema registry validation, and self-contained plan execution guidance.
|
|
638
|
+
|
|
3
639
|
## 0.6.0
|
|
4
640
|
|
|
5
641
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -355,9 +355,21 @@ Codex integration is explicit and auditable. Managed Codex homes and hooks are l
|
|
|
355
355
|
```bash
|
|
356
356
|
dd-flow codex home plan --project-root "$PROJECT_ROOT" --json
|
|
357
357
|
dd-flow codex hooks status --project-root "$PROJECT_ROOT" --target isolated --json
|
|
358
|
-
dd-flow codex hook handle --event Stop --
|
|
358
|
+
dd-flow codex hook handle --event Stop --json
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
+
Installed Codex hooks intentionally omit `--project-root`: Codex supplies the
|
|
362
|
+
session `cwd` in the hook JSON on stdin, and the handler resolves the registered
|
|
363
|
+
project from that path. The option remains available as a manual override. If
|
|
364
|
+
the CLI is upgraded, reinstall the hook in each active `CODEX_HOME`, verify it
|
|
365
|
+
with `dd-flow codex hooks status`, and start a new Codex session.
|
|
366
|
+
|
|
367
|
+
The installed hook writes invocation markers, forwarded stderr, and the final
|
|
368
|
+
exit code to `${DD_FLOW_HOME:-$HOME/.dd-flow}/logs/codex-hook.log`. An absent
|
|
369
|
+
start marker means Codex did not invoke the hook; a start marker without a
|
|
370
|
+
successful finish marker identifies a hook launch or handler failure.
|
|
371
|
+
`--project-root` belongs to installer/status commands, not the stored handler.
|
|
372
|
+
|
|
361
373
|
## Verification
|
|
362
374
|
|
|
363
375
|
Local verification for this repository:
|
package/dist/build-info.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"cli_package": "@deksden-com/dd-flow-cli",
|
|
3
|
-
"cli_version": "0.
|
|
4
|
-
"cli_commit": "
|
|
5
|
-
"built_at": "2026-08-
|
|
3
|
+
"cli_version": "0.8.0-beta.135",
|
|
4
|
+
"cli_commit": "05b606d42418d944364abb013ce02f3e78149916",
|
|
5
|
+
"built_at": "2026-08-30T15:27:46.996Z",
|
|
6
6
|
"built_with_canon": {
|
|
7
|
-
"version":
|
|
8
|
-
"commit":
|
|
9
|
-
"flow_contract":
|
|
10
|
-
"repo_root":
|
|
11
|
-
"memorybank_root":
|
|
12
|
-
"flow_root":
|
|
13
|
-
"layout":
|
|
7
|
+
"version": null,
|
|
8
|
+
"commit": null,
|
|
9
|
+
"flow_contract": null,
|
|
10
|
+
"repo_root": null,
|
|
11
|
+
"memorybank_root": null,
|
|
12
|
+
"flow_root": null,
|
|
13
|
+
"layout": null
|
|
14
14
|
}
|
|
15
15
|
}
|