Commit 48715df
V48 Gate 3 (specification-implementation): propagate synthesis mode to the SDIVF phases so deposit runs deposit agents (F20)
A /deposit run ("SynthesizeAssetPacks (deposit mode)") was executing the READ-lens agents — ReadFitsFindingSynthesisReadComprehensionAgent (read-comprehension step), ReadFitsFindingSynthesisAssetPackSynthesisAgent — and ending with "Pipeline yielded no admissible options; falling back to bounded deposit synthesis." The agent pills are each agent's real config.name, so the read agents genuinely ran (it was not just mislabeled telemetry).
Cause: factorySDIVFExecutorPipeline composes the phases with `sequential`, which runs preprocess and each phase on ISOLATED sibling child executions (execution.child('seq-N')). factoryPreprocess stored the resolved mode on its own child (seq-0); the phases run on seq-1/seq-2 and resolve the mode via synthesizeAssetPacksModeFromExecution, which only walks ANCESTORS — never sideways to seq-0. So every phase resolved null -> 'read', took the read branch, and resolved the init-registered read agents. The agents registry is already shared up the tree (the read implementation agent is registered by the phase and resolves), so the only gap was the mode.
Fix (index.ts): the factorySynthesizeAssetPacksPipeline wrapper now resolves the mode and stores it on the shared outer execution (the parent of all seq-N phase children) before running the SDIVF executor, so every phase resolves it via the upward walk. Once the phases see 'deposit', their mode-conditional registrations (setup comprehension override, deposit Discovery agents, deposit Implementation/Validation) take effect on the shared registry and the deposit-lens agents run — which also makes the telemetry verbiage deposit-correct at the root. Read mode unchanged (default was already read).
Added a mode-propagation regression test (reproduces sibling isolation; shared-parent storage resolves on the phase children). Spec records the shared-execution requirement; QA ledger records F20. asset-pack tsc 0; asset-pack suite 210 tests green; spec checker green. Needs a live deposit run to confirm end-to-end.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 4d8134a commit 48715df
4 files changed
Lines changed: 71 additions & 4 deletions
File tree
- packages/pipelines/asset-pack/src
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
205 | 212 | | |
206 | 213 | | |
207 | 214 | | |
| |||
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
452 | 463 | | |
453 | 464 | | |
454 | 465 | | |
| |||
0 commit comments