feat(engine): add deterministic historical replay
This commit is contained in:
parent
ccf333cc0a
commit
417a7bd21e
10 changed files with 2055 additions and 28 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Canonical development backlog
|
||||
|
||||
**First seven waves committed; F04/F05 independently reviewed and validated, uncommitted.** Consult manifest execution_scope, [ROADMAP](../ROADMAP.md), [skeptical review](../REVIEW.md) and [first-wave handoff](../FIRST-WAVE.md). ADR-002/003/004 are approved. The owner authorized F05 on F04's validated integrated source without requesting a commit. Other tasks/policies remain gated.
|
||||
**First nine waves committed; F06 independently reviewed and validated, uncommitted.** Consult manifest execution_scope, [ROADMAP](../ROADMAP.md), [skeptical review](../REVIEW.md) and [first-wave handoff](../FIRST-WAVE.md). ADR-002/003/004 are approved. The owner authorized the F04/F05 commit (`ccf333c`) and F06 continuation. Other tasks/policies remain gated.
|
||||
|
||||
## One source of truth
|
||||
|
||||
|
|
@ -32,9 +32,9 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
| [F01 Define the minimal financial contract and economic fixtures](tasks/F01.md) | P0 / done | ADR-002, ADR-003, ADR-004 (approved) | — | Rust financial contract owner / M |
|
||||
| [F02 Implement one owner-aware financial ledger](tasks/F02.md) | P0 / done | F01, ADR-002 | — | Rust accounting / L |
|
||||
| [F03 Add strategy-owned position books and fill allocations](tasks/F03.md) | P0 / merged → F02 | None | — | Rust portfolio accounting / M |
|
||||
| [F04 Enforce cash reservations and portfolio risk centrally](tasks/F04.md) | P0 / review | F02, ADR-002, ADR-003 | — | Rust financial risk / L |
|
||||
| [F05 Unify matching and order lifecycle on the ledger](tasks/F05.md) | P0 / review | F04, ADR-003 | F06 | Rust execution semantics / L |
|
||||
| [F06 Implement deterministic replay once, with linear historical traversal](tasks/F06.md) | P0 / blocked | F05, D01, P01, ADR-003 | — | Rust deterministic replay / M |
|
||||
| [F04 Enforce cash reservations and portfolio risk centrally](tasks/F04.md) | P0 / done | F02, ADR-002, ADR-003 | — | Rust financial risk / L |
|
||||
| [F05 Unify matching and order lifecycle on the ledger](tasks/F05.md) | P0 / done | F04, ADR-003 | F06 | Rust execution semantics / L |
|
||||
| [F06 Implement deterministic replay once, with linear historical traversal](tasks/F06.md) | P0 / review | F05, D01, P01, ADR-003 | — | Rust deterministic replay / M |
|
||||
| [F07 Expose bounded Rust step sessions through existing NAPI workers](tasks/F07.md) | P0 / blocked | F06, C02, ADR-004 | — | Rust/TypeScript integration / M |
|
||||
| [F08 Publish canonical metrics and versioned result projections](tasks/F08.md) | P1 / blocked | F06, ADR-002, ADR-003 | — | Quant analytics/Rust integration / M |
|
||||
|
||||
|
|
@ -75,7 +75,7 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
| [R02 Deliver strategy catalog and version-aware backtest setup](tasks/R02.md) | P1 / blocked | R01, W03, ADR-006 | W04 | Full-stack research product / M |
|
||||
| [R03 Add projects, hypotheses and evidence-linked findings APIs](tasks/R03.md) | P1 / blocked | R01, R10, ADR-006 | — | Full-stack research product / M |
|
||||
| [R04 Deliver research workspace and save-findings flow](tasks/R04.md) | P1 / blocked | R03, W02, ADR-006 | W04 | Full-stack research product / M |
|
||||
| [R05 Freeze complete provenance and cut over durable canonical runs](tasks/R05.md) | P0 / blocked | F08, S02, R01, R10, D01, W03, C06, ADR-006 | — | Full-stack research product / M |
|
||||
| [R05 Freeze complete provenance and cut over durable canonical runs](tasks/R05.md) | P0 / blocked | F08, S02, R01, R10, D01, W03, C06, ADR-006 | Multi-asset default mark-policy disposition | Full-stack research product / M |
|
||||
| [R06 Create immutable experiments and bounded sweep expansion](tasks/R06.md) | P1 / blocked | R05, ADR-006 | — | Full-stack research product / M |
|
||||
| [R07 Deliver sweep configuration and comparable-result views](tasks/R07.md) | P1 / blocked | R06, ADR-006 | W04 | Full-stack research product / M |
|
||||
| [R08 Add bounded chronological and reset-segment validation](tasks/R08.md) | P1 / blocked | R06, ADR-006 | — | Quantitative research integrity / M |
|
||||
|
|
@ -115,4 +115,4 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
|
|||
|
||||
Before any wave: unique IDs; existing task/ADR references; acyclic implementation graph; no scheduled task dependent on merged/deferred work; approvals/readiness; actual file locks; isolated native build outputs/workspace dependencies and test databases. Release gates are checked separately at activation.
|
||||
|
||||
The first seven waves are independently reviewed, validated and committed with owner approval. Evidence is recorded in [FIRST-WAVE.md](../FIRST-WAVE.md#execution-record--2026-10-22), the [ROADMAP handoffs](../ROADMAP.md#ninth-wave-handoff--2026-10-22) and the manifest. The latest owner request authorized **F05** using accepted integrated F04. Both implementations are now independently reviewed and `validated_uncommitted`; F05's explicit integration overlay pins its prerequisite source, and ninth-wave validation records the resulting cumulative seven-file financial overlay. Next after acceptance: F06. R01 still needs ADR-006; other consumers wait for their dependencies. No commit, push, PR or trading operation is authorized.
|
||||
The first nine waves are independently reviewed, validated and committed with owner approval. Evidence is recorded in [FIRST-WAVE.md](../FIRST-WAVE.md#execution-record--2026-10-22), the [ROADMAP handoffs](../ROADMAP.md#tenth-wave-handoff--2026-10-22) and the manifest. The latest owner request committed F04/F05 as `ccf333c` and authorized **F06**, now reviewed and `validated_uncommitted`. Next after acceptance: F07's verified dataset/native adapter. F08 is another eligible component successor after acceptance; coordinate any shared result/native contracts. R01 still needs ADR-006. The manifest's canonical release gate records the unresolved multi-asset mark-policy decision; this does not block additive adapter work. No push, PR, trading operation or further task implementation is authorized.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue