feat(research): add canonical session reporting and analytics

This commit is contained in:
Boki 2026-10-23 12:05:14 -04:00
parent 1e164450c3
commit 3838295eec
28 changed files with 2402 additions and 47 deletions

View file

@ -1,6 +1,6 @@
# Canonical development backlog
**First twelve waves committed; F08 in progress.** F09/P07 were accepted as `e3bd722`. F08 adds account-session equity, occupied-time exposure and explicit statistical policies on the same financial core. Consult manifest execution_scope and [current wave](../ROADMAP.md#thirteenth-wave-execution--2026-10-23). ADR-002/003/004 are approved; other policies/default cutovers remain gated.
**First twelve waves committed; F08 validated and awaiting acceptance.** F09/P07 were accepted as `e3bd722`; `1e16445` records their completion and the F08 contract. F08 adds account-session equity, occupied-time exposure and explicit statistical policies on the same financial core. Consult manifest execution_scope and [current wave](../ROADMAP.md#thirteenth-wave-execution--2026-10-23). ADR-002/003/004 are approved; other policies/default cutovers remain gated.
## One source of truth
@ -36,7 +36,7 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
| [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 / done | F05, D01, P01, ADR-003 | — | Rust deterministic replay / M |
| [F07 Expose bounded Rust step sessions through existing NAPI workers](tasks/F07.md) | P0 / done | F06, C02, ADR-004 | — | Rust/TypeScript integration / M |
| [F08 Publish canonical metrics and versioned result projections](tasks/F08.md) | P1 / in_progress | F06, F09, ADR-002, ADR-003 | — | Quant analytics/Rust integration / M |
| [F08 Publish canonical metrics and versioned result projections](tasks/F08.md) | P1 / review | F06, F09, ADR-002, ADR-003 | — | Quant analytics/Rust integration / M |
| [F09 Return compact canonical replay projections](tasks/F09.md) | P1 / done | F07, ADR-002, ADR-003, ADR-004 | — | Rust/TypeScript financial integration / M |
### E3 — Point-in-time datasets and features
@ -117,4 +117,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 eleven waves are independently reviewed, validated and committed. Current authorization covers **F09 compact projections and P07 profiling** only. P07 baseline files can progress in parallel; paired projection measurements consume the accepted F09 contract afterward. F08 adds historical sampling/statistics next, without reconstructing accounting in TS. S01 needs ADR-005 and R01 needs ADR-006. The unresolved multi-asset mark-policy gate still blocks default activation. No new commit, push, PR or trading operation is authorized.
The first twelve waves are committed. **F08 is independently reviewed and validated, with new implementation changes uncommitted.** Its reporting facts and statistics preserve authoritative Rust financial output; R05 retains persistence and public-result migration. Next, S01 needs ADR-005 approval; R01/R11 need ADR-006. The unresolved multi-asset mark-policy gate still blocks default activation. No further task, new commit, push, PR or trading operation is included in this continuation.