yf176 commited on
Commit
c62ba70
·
1 Parent(s): ce77b0b

docs: record typed VizAgent verification

Browse files
Files changed (1) hide show
  1. docs/V8.0_IMPLEMENTATION_PLAN.md +9 -0
docs/V8.0_IMPLEMENTATION_PLAN.md CHANGED
@@ -370,6 +370,14 @@ and an explicit missing-input case. Keep existing reasoning duties intact.
370
  invoke this entry point with live configured-LLM verification.
371
  - [ ] M18 VizAgent: use typed chart sources, persist real PNG bytes through
372
  the allowed interface, and record chart sources; remain outside normal YOLO.
 
 
 
 
 
 
 
 
373
  - [ ] M19 PortfolioMonitor: use typed open-position/quote inputs, preserve
374
  threshold checks and provenance, and publish alerts without closing positions.
375
 
@@ -506,3 +514,4 @@ actual migrated runtime or live verification.
506
  | M15a | `c4fb7d7` | `tests/test_riskanalyst_typed.py`, `tests/test_decision_contracts.py`, the real structured-completion boundary with a controlled text response, frozen backtest/context resolution, exact backtest-result citation, scope-filtered paper-position input, deterministic portfolio-heat validation, untested-signal rejection, immutable publication, completed all-rejected output, portfolio-only analysis, and deterministic empty/unavailable behavior. The applicable migrated typed regression set was included. | Passed; 23 final focused tests; 308 broader tests passed with 1 Windows symlink test skipped before the final portfolio-only case was added. | No live LLM request or coordinator activation. The typed input uses normalized portfolio fractions; the later runtime adapter must convert existing percentage-point session state explicitly. Product-path execution remains M15/R02/R03/R06 work. |
507
  | M16a | `d2cca76` | `tests/test_quantstrategist_typed.py`, `tests/test_decision_contracts.py`, the real structured-completion boundary with a controlled text response, frozen risk/context resolution, complete four-member cited voting, runtime-owned weight application, deterministic aggregation, exact risk validation, complete signal and proposal-lifecycle accounting, genuine all-rejected no-trade, proposal output, immutable publication, and deterministic unavailable strategy. The applicable migrated and existing committee regression set was included. | Passed; 22 final focused tests. Expanded run collected 338 tests with 1 expected Windows symlink skip before the final lifecycle-negative case was added. | No live LLM request or coordinator activation. The agent records weights used but does not mutate or persist trusted performance state; that consistency belongs to I06. Product-path execution remains M16/R02/R03/R06 work. |
508
  | M17a | `d99c6fd` | `tests/test_publisher_typed.py`, `tests/test_product_contracts.py`, the real structured-completion boundary with controlled output, frozen strategy/context resolution, exact proposal rendering, genuine no-trade versus watch classification, unavailable-strategy labeling, pending-state validation, required current-strategy citation, immutable publication, and token accounting. The applicable migrated quant regression set was included. | Passed; 15 focused tests; 333 broader tests passed with 1 expected Windows symlink skip. | No live LLM request, coordinator activation, or Slack delivery. The typed artifact contains the final Slack body, but the legacy product path remains active until Phase 5 integration. Product-path execution remains M17/R02/R03/R06/I01 work. |
 
 
370
  invoke this entry point with live configured-LLM verification.
371
  - [ ] M18 VizAgent: use typed chart sources, persist real PNG bytes through
372
  the allowed interface, and record chart sources; remain outside normal YOLO.
373
+ - [x] M18a Add typed execution to the existing VizAgent class. Resolve only
374
+ explicitly selected, published JSON sources through the visualization ACL;
375
+ render OHLCV, indicator, executed-backtest, risk, and monitored-position
376
+ fields without Markdown parsing; publish atomic PNG bytes with manifest-bound
377
+ references; use the LLM only for a structured caption after deterministic
378
+ rendering; and publish explicit unavailable chart errors when required typed
379
+ fields are absent. Keep M18 open until the on-demand product coordinator and
380
+ UI invoke this entry point with a configured LLM and deployed renderer.
381
  - [ ] M19 PortfolioMonitor: use typed open-position/quote inputs, preserve
382
  threshold checks and provenance, and publish alerts without closing positions.
383
 
 
514
  | M15a | `c4fb7d7` | `tests/test_riskanalyst_typed.py`, `tests/test_decision_contracts.py`, the real structured-completion boundary with a controlled text response, frozen backtest/context resolution, exact backtest-result citation, scope-filtered paper-position input, deterministic portfolio-heat validation, untested-signal rejection, immutable publication, completed all-rejected output, portfolio-only analysis, and deterministic empty/unavailable behavior. The applicable migrated typed regression set was included. | Passed; 23 final focused tests; 308 broader tests passed with 1 Windows symlink test skipped before the final portfolio-only case was added. | No live LLM request or coordinator activation. The typed input uses normalized portfolio fractions; the later runtime adapter must convert existing percentage-point session state explicitly. Product-path execution remains M15/R02/R03/R06 work. |
515
  | M16a | `d2cca76` | `tests/test_quantstrategist_typed.py`, `tests/test_decision_contracts.py`, the real structured-completion boundary with a controlled text response, frozen risk/context resolution, complete four-member cited voting, runtime-owned weight application, deterministic aggregation, exact risk validation, complete signal and proposal-lifecycle accounting, genuine all-rejected no-trade, proposal output, immutable publication, and deterministic unavailable strategy. The applicable migrated and existing committee regression set was included. | Passed; 22 final focused tests. Expanded run collected 338 tests with 1 expected Windows symlink skip before the final lifecycle-negative case was added. | No live LLM request or coordinator activation. The agent records weights used but does not mutate or persist trusted performance state; that consistency belongs to I06. Product-path execution remains M16/R02/R03/R06 work. |
516
  | M17a | `d99c6fd` | `tests/test_publisher_typed.py`, `tests/test_product_contracts.py`, the real structured-completion boundary with controlled output, frozen strategy/context resolution, exact proposal rendering, genuine no-trade versus watch classification, unavailable-strategy labeling, pending-state validation, required current-strategy citation, immutable publication, and token accounting. The applicable migrated quant regression set was included. | Passed; 15 focused tests; 333 broader tests passed with 1 expected Windows symlink skip. | No live LLM request, coordinator activation, or Slack delivery. The typed artifact contains the final Slack body, but the legacy product path remains active until Phase 5 integration. Product-path execution remains M17/R02/R03/R06/I01 work. |
517
+ | M18a | `ce77b0b` | `tests/test_vizagent_typed.py`, scoped-writer, artifact-publisher, product-contract, and ACL parity tests: a declared matplotlib renderer produced a real PNG from typed OHLCV; LLM caption usage was recorded; image identity was bound to the visualization manifest and exact source artifact; unavailable executed-backtest metrics produced no chart; binary writes were atomic, ACL-scoped, and immutable. The applicable migrated quant regression set was included. | Passed; 2 real-renderer tests; 47 focused support tests with 1 expected Windows symlink skip; 336 broader tests with 1 expected skip. | The configured test runtime required the project's already-declared matplotlib dependency to be installed temporarily. No coordinator/UI activation or live LLM request. VizAgent remains outside normal YOLO; product integration remains M18/I01/R03/R06 work. |