yf176 commited on
Commit ·
62e628e
1
Parent(s): e1c1f66
docs: record typed DataFetcher verification
Browse files
docs/V8.0_IMPLEMENTATION_PLAN.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
| 2 |
|
| 3 |
Status: implementation started; routing/ACL declarations, all 19 concrete agent
|
| 4 |
schemas, and shared structured I/O primitives are verified locally. Agent binding,
|
| 5 |
-
runtime migration, and deployment remain pending.
|
|
|
|
| 6 |
Source of truth: [polyhedraV8.0.md](polyhedraV8.0.md).
|
| 7 |
Inherited behavior: V7.1 replay and evidence ledger, V7.0 session-delta YOLO,
|
| 8 |
and the existing quant agents and Finley output.
|
|
@@ -221,6 +222,12 @@ and an explicit missing-input case. Keep existing reasoning duties intact.
|
|
| 221 |
|
| 222 |
- [ ] M01 DataFetcher: retain fetch/fallback/normalization and computed
|
| 223 |
indicators; persist component quality and actual timestamps through its ACL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
- [ ] M02 OptionsFlowWatcher: preserve normalized contracts and bounded sampling;
|
| 225 |
distinguish market context, candidates, and evidenced unusual flow. Retain
|
| 226 |
missing versus zero values and record unsupported flow capabilities.
|
|
@@ -377,3 +384,4 @@ actual migrated runtime or live verification.
|
|
| 377 |
| R08a | `3d027e0` | `tests/test_quant_run_record.py` plus routing, dependency, baseline, and full typed-contract regressions: terminal status is derived from agent records; frozen plan/session/run identity, baseline mode, input snapshot paths, and artifact inventory are validated; failed runs with no fabricated artifacts remain persistable; writes are atomic and immutable; malformed and legacy replay records remain untouched. | Passed; 265 tests, 1 Windows symlink test skipped | Records are terminal-only and not yet emitted by the coordinator or consumed by the UI. Running lifecycle persistence and full R08 remain open. |
|
| 378 |
| R03a | `3753865` | `tests/test_published_inputs.py` plus scoped writer, artifact publisher, I/O registry, and complete typed-contract regressions: publication identities are retained; required, optional, and baseline JSON are frozen separately; producer envelope schemas and reference/content identity are validated; unpublished and ACL-forbidden files are rejected; later optional publication does not mutate an earlier snapshot. | Passed; 270 tests, 1 Windows symlink test skipped | The executor and concrete agent migrations do not yet invoke this resolver. Agent-specific ticker projection and input-model construction remain R03/M01-M19 rather than a generic JSON transform. |
|
| 379 |
| R03b | `487287b` | `tests/test_dependency_executor.py` plus routing, run-record, and complete typed-contract regressions: each ready batch captures completed dependency records before scheduling; sibling runners cannot mutate another activation's snapshot; legacy controlled runners remain compatible; capture failure is attributed to the agent and blocks only its dependents. | Passed; 272 tests, 1 Windows symlink test skipped | The coordinator does not yet provide `PublishedInputResolver` or concrete input construction to this hook. Product runtime integration remains R03/R02/M01-M19. |
|
|
|
|
|
|
| 2 |
|
| 3 |
Status: implementation started; routing/ACL declarations, all 19 concrete agent
|
| 4 |
schemas, and shared structured I/O primitives are verified locally. Agent binding,
|
| 5 |
+
runtime migration, and deployment remain pending. DataFetcher now has a verified
|
| 6 |
+
typed execution entry point, but the product coordinator does not invoke it yet.
|
| 7 |
Source of truth: [polyhedraV8.0.md](polyhedraV8.0.md).
|
| 8 |
Inherited behavior: V7.1 replay and evidence ledger, V7.0 session-delta YOLO,
|
| 9 |
and the existing quant agents and Finley output.
|
|
|
|
| 222 |
|
| 223 |
- [ ] M01 DataFetcher: retain fetch/fallback/normalization and computed
|
| 224 |
indicators; persist component quality and actual timestamps through its ACL.
|
| 225 |
+
- [x] M01a Add typed execution to the existing DataFetcher class. Reuse the
|
| 226 |
+
configured Finnhub and yfinance fallback path without provider-side V8 writes;
|
| 227 |
+
normalize raw values, preserve actual OHLCV source provenance, publish one
|
| 228 |
+
immutable typed artifact per ticker plus the manifest, and represent provider
|
| 229 |
+
loss as typed availability. Keep M01 open until coordinator integration proves
|
| 230 |
+
this entry point is the active product path.
|
| 231 |
- [ ] M02 OptionsFlowWatcher: preserve normalized contracts and bounded sampling;
|
| 232 |
distinguish market context, candidates, and evidenced unusual flow. Retain
|
| 233 |
missing versus zero values and record unsupported flow capabilities.
|
|
|
|
| 384 |
| R08a | `3d027e0` | `tests/test_quant_run_record.py` plus routing, dependency, baseline, and full typed-contract regressions: terminal status is derived from agent records; frozen plan/session/run identity, baseline mode, input snapshot paths, and artifact inventory are validated; failed runs with no fabricated artifacts remain persistable; writes are atomic and immutable; malformed and legacy replay records remain untouched. | Passed; 265 tests, 1 Windows symlink test skipped | Records are terminal-only and not yet emitted by the coordinator or consumed by the UI. Running lifecycle persistence and full R08 remain open. |
|
| 385 |
| R03a | `3753865` | `tests/test_published_inputs.py` plus scoped writer, artifact publisher, I/O registry, and complete typed-contract regressions: publication identities are retained; required, optional, and baseline JSON are frozen separately; producer envelope schemas and reference/content identity are validated; unpublished and ACL-forbidden files are rejected; later optional publication does not mutate an earlier snapshot. | Passed; 270 tests, 1 Windows symlink test skipped | The executor and concrete agent migrations do not yet invoke this resolver. Agent-specific ticker projection and input-model construction remain R03/M01-M19 rather than a generic JSON transform. |
|
| 386 |
| R03b | `487287b` | `tests/test_dependency_executor.py` plus routing, run-record, and complete typed-contract regressions: each ready batch captures completed dependency records before scheduling; sibling runners cannot mutate another activation's snapshot; legacy controlled runners remain compatible; capture failure is attributed to the agent and blocks only its dependents. | Passed; 272 tests, 1 Windows symlink test skipped | The coordinator does not yet provide `PublishedInputResolver` or concrete input construction to this hook. Product runtime integration remains R03/R02/M01-M19. |
|
| 387 |
+
| M01a | `70f220c`, `e1c1f66` | `tests/test_market_data_normalizer.py`, `tests/test_datafetcher_typed.py`, existing Finnhub tests, artifact publication/input resolution, and the full typed-contract regression set: the existing primary/fallback fetch returns without legacy writes for V8; actual OHLCV source is retained; invalid/missing values remain excluded, null, or explicitly unavailable; typed inputs, per-ticker JSON/Markdown, and the manifest publish through the ACL. | Passed; 284 tests, 1 Windows symlink test skipped | Controlled providers only; no live credentials or calls. The legacy handler remains active and the coordinator does not yet invoke `execute_typed`, so M01 and product readiness remain open. |
|