yf176 commited on
Commit
608ea3e
·
1 Parent(s): ea2c230

docs: record dependency execution verification

Browse files
Files changed (1) hide show
  1. docs/V8.0_IMPLEMENTATION_PLAN.md +10 -0
docs/V8.0_IMPLEMENTATION_PLAN.md CHANGED
@@ -162,11 +162,20 @@ Primary modules: `agents/coordinator.py`, `core/agent_router.py`,
162
  Keep R01 open until the coordinator creates and persists one plan per run.
163
  - [ ] R02 Activate ready agents in parallel and publish each completion once.
164
  Evaluate overlapping scope at joins; a BTC run never waits for ETF options.
 
 
 
 
165
  - [ ] R03 Resolve inputs from published dependency artifacts and the ACL.
166
  Capture optional inputs at activation; do not race-read mutable upstream files.
167
  - [ ] R04 Propagate typed partial/unavailable results without treating missing
168
  outputs as success. Record failed agents and the blocked dependents by name;
169
  allow unrelated ready work to finish under the same fixed plan.
 
 
 
 
 
170
  - [ ] R05 Remove next-role authority from agent prompts, response mentions,
171
  cycle guards, and deterministic branch helpers on governed quant execution.
172
  EventRouter assigns evidence only and cannot expand scope or activate agents.
@@ -343,3 +352,4 @@ actual migrated runtime or live verification.
343
  | A05a | `4f0c027` | `tests/test_asset_analysis_collection.py` plus asset, decision, product, and complete typed-contract regressions: only registered published specialized outputs are accepted; missing and published-unavailable results remain distinct; producer/run/session identity, duplicate rejection, explicit gaps, stable source references, and consumer-scope filtering are enforced. | Passed; 200 tests, 1 symlink test skipped because directory symlink creation is unavailable on this Windows host | Runtime publication/injection remains A05/R03 and agent migration. The collection adds no analysis of its own. |
344
  | A06a | `c690519` | `tests/test_baseline_selector.py` plus artifact, legacy YOLO-context, and scoped-writer regressions: latest eligible completion, failed-run fallback, cross-session/current/support-run exclusion, unsupported schema, invalid inventory, new-ticker reporting, and immutable selection were exercised. | Passed; 70 tests, 1 symlink test skipped because directory symlink creation is unavailable on this Windows host | The selector is intentionally dormant until typed V8 run records are persisted; existing V7 date-named baseline behavior is unchanged during migration. A06/R01/R08 remain open. |
345
  | R01a | `65b535c` | `tests/test_active_routing.py` and `tests/test_quant_contracts.py`: general-only, SPY specialized, BTC without options, mixed general/specialized, visualization, and portfolio-monitor plans; normalized scope, fixed analyst symbols, overlap-aware dependencies, full 19-agent accounting, invalid scope, and immutability. | Passed; 24 focused tests. The expanded routing run had 35 passes and the documented pre-existing QuantStrategist empty-state-patch failure. | Builder is not yet invoked or persisted by the coordinator; R01 and runtime migration remain open. No LLM routing behavior changed. |
 
 
162
  Keep R01 open until the coordinator creates and persists one plan per run.
163
  - [ ] R02 Activate ready agents in parallel and publish each completion once.
164
  Evaluate overlapping scope at joins; a BTC run never waits for ETF options.
165
+ - [x] R02a Implement one-shot asynchronous activation from a frozen plan.
166
+ Start all ready agents concurrently, wait on overlap-applicable dependencies,
167
+ and reject duplicate or activation-mismatched publication identities. Keep
168
+ R02 open until migrated agent execution publishes through this executor.
169
  - [ ] R03 Resolve inputs from published dependency artifacts and the ACL.
170
  Capture optional inputs at activation; do not race-read mutable upstream files.
171
  - [ ] R04 Propagate typed partial/unavailable results without treating missing
172
  outputs as success. Record failed agents and the blocked dependents by name;
173
  allow unrelated ready work to finish under the same fixed plan.
174
+ - [x] R04a Derive completed, failed, and blocked records in the dependency
175
+ executor. Treat published COMPLETE, PARTIAL, and UNAVAILABLE artifacts as
176
+ completed executions; block failed dependents transitively while allowing
177
+ unrelated running and ready agents to finish. Keep R04 open until persisted
178
+ V8 run records and the product UI consume these states.
179
  - [ ] R05 Remove next-role authority from agent prompts, response mentions,
180
  cycle guards, and deterministic branch helpers on governed quant execution.
181
  EventRouter assigns evidence only and cannot expand scope or activate agents.
 
352
  | A05a | `4f0c027` | `tests/test_asset_analysis_collection.py` plus asset, decision, product, and complete typed-contract regressions: only registered published specialized outputs are accepted; missing and published-unavailable results remain distinct; producer/run/session identity, duplicate rejection, explicit gaps, stable source references, and consumer-scope filtering are enforced. | Passed; 200 tests, 1 symlink test skipped because directory symlink creation is unavailable on this Windows host | Runtime publication/injection remains A05/R03 and agent migration. The collection adds no analysis of its own. |
353
  | A06a | `c690519` | `tests/test_baseline_selector.py` plus artifact, legacy YOLO-context, and scoped-writer regressions: latest eligible completion, failed-run fallback, cross-session/current/support-run exclusion, unsupported schema, invalid inventory, new-ticker reporting, and immutable selection were exercised. | Passed; 70 tests, 1 symlink test skipped because directory symlink creation is unavailable on this Windows host | The selector is intentionally dormant until typed V8 run records are persisted; existing V7 date-named baseline behavior is unchanged during migration. A06/R01/R08 remain open. |
354
  | R01a | `65b535c` | `tests/test_active_routing.py` and `tests/test_quant_contracts.py`: general-only, SPY specialized, BTC without options, mixed general/specialized, visualization, and portfolio-monitor plans; normalized scope, fixed analyst symbols, overlap-aware dependencies, full 19-agent accounting, invalid scope, and immutability. | Passed; 24 focused tests. The expanded routing run had 35 passes and the documented pre-existing QuantStrategist empty-state-patch failure. | Builder is not yet invoked or persisted by the coordinator; R01 and runtime migration remain open. No LLM routing behavior changed. |
355
+ | R02a, R04a | `ea2c230` | `tests/test_dependency_executor.py`, `tests/test_active_routing.py`, and `tests/test_quant_contracts.py`: concurrent ready branches, applicable join ordering, one activation per agent, typed UNAVAILABLE dependency completion, exception propagation, unrelated-root completion, transitive blocked state, and publication identity rejection. | Passed; 29 focused tests | Controlled runners only. Real agent execution, typed input resolution/publication, run-record persistence, cost/state coordination, and UI consumption remain R02-R04/R06/R08/M01-M19. |