flowchart TD %% Generated view of manifest.json. Solid edges: implementation; dotted: release only. subgraph E1["E1: Immediate correctness and runtime containment"] C01["C01: Correct native terminal valuation"] C02["C02: Reject malformed native data and preserve milliseconds"] C03["C03: Close the existing TypeScript fee-funding hole"] C04["C04: Make partial runtime initialization recoverable"] C06["C06: Contain legacy research/paper interference without a second runtime"] end subgraph E2["E2: Canonical Rust financial engine"] F01["F01: Define the minimal financial contract and economic fixtures"] F02["F02: Implement one owner-aware financial ledger"] F04["F04: Enforce cash reservations and portfolio risk centrally"] F05["F05: Unify matching and order lifecycle on the ledger"] F06["F06: Implement deterministic replay once, with linear historical traversal"] F07["F07: Expose bounded Rust step sessions through existing NAPI workers"] F08["F08: Publish canonical metrics and versioned result projections"] F09["F09: Return compact canonical replay projections"] end subgraph E3["E3: Point-in-time datasets and features"] D01["D01: Introduce availability-aware dataset v2"] D02["D02: Connect supported intraday storage to research datasets"] D04["D04: Provide prefix-safe shared feature calculation (conditional)"] end subgraph E4["E4: TypeScript strategies and durable paper integration"] S01["S01: Run deterministic TypeScript decisions on Rust sessions"] S02["S02: Adapt one SMA strategy for the first canonical path"] S03["S03: Adapt durable paper transactions to Rust financial reducers"] S04["S04: Establish a verified paper feed and operator safety gate"] S05["S05: Add a small composable multi-signal regime example"] S06["S06: Retire duplicate simulator paths after cutover proof"] end subgraph E5["E5: Existing web backtest vertical slice"] W01["W01: Make existing run controls and selection truthful"] W02["W02: Expose result provenance and legacy correctness limitations"] W03["W03: Separate save, submit and repeat-safe run creation"] W04["W04: Verify the first research vertical slice in a browser"] end subgraph E6["E6: Research product, provenance and validation"] R01["R01: Persist immutable strategy versions and parameter schemas"] R02["R02: Deliver strategy catalog and version-aware backtest setup"] R03["R03: Add projects, hypotheses and evidence-linked findings APIs"] R04["R04: Deliver research workspace and save-findings flow"] R05["R05: Freeze complete provenance and cut over durable canonical runs"] R06["R06: Create immutable experiments and bounded sweep expansion"] R07["R07: Deliver sweep configuration and comparable-result views"] R08["R08: Add bounded chronological and reset-segment validation"] R09["R09: Expose validation, cost and regime evidence in the workbench"] R10["R10: Protect retained research evidence and artifact integrity"] R11["R11: Select and reuse frozen datasets in the workbench"] R12["R12: Reproduce an original run separately from rerunning current settings"] end subgraph E7["E7: Measured research throughput"] P01["P01: Measure existing research paths before extending the benchmark"] P03["P03: Reuse validated datasets within bounded native workers (conditional)"] P04["P04: Schedule deterministic batches across a bounded worker pool"] P05["P05: Separate result summaries from paged detail payloads (conditional)"] P06["P06: Conditionally add a minimal Rust-executed strategy plan (conditional)"] P07["P07: Profile representative canonical replay workloads"] P08["P08: Reduce measured TypeScript strategy decision overhead (owner deferred)"] end subgraph E8["E8: Authorized, isolated AI research"] A01["A01: Add research-only principals and durable job budgets"] A02["A02: Isolate untrusted TypeScript strategy builds and decisions"] A03["A03: Implement an evidence-linked AI research workflow client"] A04["A04: Add human-reviewed promotion to paper deployment"] end subgraph E9["E9: Migration and operational safeguards"] O01["O01: Serialize additive schema migrations safely"] O02["O02: Expose truthful research and paper readiness diagnostics (conditional)"] end C04 --> C06 ADR002 --> F01 ADR003 --> F01 ADR004 --> F01 F01 --> F02 ADR002 --> F02 F02 --> F04 ADR002 --> F04 ADR003 --> F04 F04 --> F05 ADR003 --> F05 F06 -. release only .-> F05 F05 --> F06 D01 --> F06 P01 --> F06 ADR003 --> F06 F06 --> F07 C02 --> F07 ADR004 --> F07 F06 --> F08 F09 --> F08 ADR002 --> F08 ADR003 --> F08 F07 --> F09 ADR002 --> F09 ADR003 --> F09 ADR004 --> F09 ADR003 --> D01 D01 --> D02 S01 --> D04 P01 --> D04 F07 --> S01 ADR004 --> S01 ADR005 --> S01 S01 --> S02 S01 --> S03 C06 --> S03 ADR005 --> S03 S02 --> S04 S03 --> S04 S02 --> S05 F08 --> S05 R08 -. release only .-> S05 S03 --> S06 S04 --> S06 R05 --> S06 W01 --> W02 O01 --> W03 W01 --> W04 W02 --> W04 W03 --> W04 C06 --> W04 O01 --> R01 ADR006 --> R01 R01 --> R02 W03 --> R02 ADR006 --> R02 W04 -. release only .-> R02 R01 --> R03 R10 --> R03 ADR006 --> R03 R03 --> R04 W02 --> R04 ADR006 --> R04 W04 -. release only .-> R04 F08 --> R05 S02 --> R05 R01 --> R05 R10 --> R05 D01 --> R05 W03 --> R05 C06 --> R05 ADR006 --> R05 %% R06 component consumes accepted R05 retained-input slice 618fb9e; full R05 stays partial. R01 --> R06 R10 --> R06 F08 --> R06 S02 --> R06 D01 --> R06 W03 --> R06 C06 --> R06 R12 --> R06 ADR006 --> R06 R06 --> R07 ADR006 --> R07 W04 -. release only .-> R07 R06 --> R08 ADR006 --> R08 R07 -. accepted functional component 46a4f13 .-> R09 R08 --> R09 ADR006 --> R09 S05 -. Regime comparison is enabled .-> R09 R01 --> R10 ADR006 --> R10 D01 --> R11 O01 --> R11 ADR003 --> R11 ADR006 --> R11 W04 -. release only .-> R11 %% R12 also requires R05's accepted retained-input component (618fb9e), not full cutover. R01 --> R12 R10 --> R12 F08 --> R12 S02 --> R12 D01 --> R12 W03 --> R12 C06 --> R12 W04 --> R12 ADR006 --> R12 F07 --> P03 P01 --> P03 ADR004 --> P03 ADR008 --> P03 F07 --> P04 R06 --> P04 C06 --> P04 P01 --> P04 ADR008 --> P04 R06 --> P05 P01 --> P05 P04 --> P06 S01 --> P06 ADR008 --> P06 F07 --> P07 P01 --> P07 F09 -. compact comparisons only .-> P07 S02 --> P08 P07 --> P08 R06 --> A01 O01 --> A01 ADR007 --> A01 A01 --> A02 S01 --> A02 P01 --> A02 ADR007 --> A02 A02 --> A03 R08 --> A03 R03 --> A03 ADR007 --> A03 S04 --> A04 R09 --> A04 A01 --> A04 R01 --> A04 ADR007 --> A04 ADR005 --> A04 S04 --> O02 R03 -. save or link finding only .-> R09 classDef conditional stroke-dasharray: 5 5,fill:#fff3cd,color:#222 class D04,P03,P05,P06,P08,O02 conditional %% Merged traceability only: C05 -> F01; F03 -> F02; D03 -> D01; P02 -> F06. subgraph E10["E10: Cleanup and maintainability foundations"] CL01["CL01: Replace permissive DI configuration tests with production-path assertions"] CL02["CL02: Normalize database configuration once and enforce consistent service switches"] CL03["CL03: Roll back failed shared-service startup and clear initialization timers"] CL04["CL04: Provide one consistent research startup path and repair stale commands"] CL05["CL05: Extract shared dataset and reporting logic behind a research library boundary"] CL06["CL06: Use shared dataset response schemas and eligibility checks in the workbench"] CL07["CL07: Share JSON transport handling across experiment and validation clients"] CL08["CL08: Split backtest template, run and reproduction responsibilities behind the existing service"] CL09["CL09: Separate strategy metadata, version inspection and publication UI"] CL10["CL10: Separate experiment modes and make draft/submission state explicit"] CL11["CL11: Separate backtest template loading, run monitoring and submission state"] CL12["CL12: Simplify retired execution seams while preserving historical reads"] CL13["CL13: Hide placeholder navigation while preserving useful product routes"] end CL01 --> CL02 D01 --> CL05 F08 --> CL05 R05 --> CL05 ADR001 --> CL05 ADR003 --> CL05 ADR004 --> CL05 CL05 --> CL06 CL05 --> CL08 ADR005 --> CL08 ADR006 --> CL08 CL08 --> CL12 ADR005 --> CL12 %% CL02 and CL03 also serialize on the di-container file lock; no artificial dependency edge. subgraph E11["E11: Orchestrator and engine cleanup"] CL14["CL14: Require canonical capabilities in durable research contracts"] CL15["CL15: Retire abandoned Rust architecture scaffolding"] CL16["CL16: Give orchestrator composition an explicit shutdown owner"] CL17["CL17: Separate historical reads from unused storage writes"] CL18["CL18: Share strict native parsing and financial view projection"] CL19["CL19: Share pure strategy bookkeeping and event ordering"] CL20["CL20: Return validated retained results from the worker supervisor"] CL21["CL21: Extract private deterministic replay preparation when needed"] end CL14 --> CL17 CL14 --> CL20 CL15 --> CL18 class CL21 conditional %% CL14/CL16 serialize container.ts changes; no artificial dependency. subgraph E12["E12: Real-data research workflow"] RP01["RP01: Scoped stored-source inspection"] RP02["RP02: Retained real-data research pilot"] RP03["RP03: Declared-session source preparation"] RP04["RP04: Evaluation horizon and CAGR presentation"] end CL05 --> RP01 CL06 --> RP01 CL17 --> RP01 CL02 --> RP02 CL03 --> RP02 R05 --> RP02 R08 --> RP02 R12 --> RP02 %% RP01 supports manual inspection but does not block offline pilot preparation. %% RP02 execution retains the existing human strategy-version approval gate. RP01 --> RP03 D01 --> RP03 RP02 --> RP04 RP03 --> RP05 R11 --> RP05 RP03 --> RP06 RP05 --> RP07 R05 --> RP07