feat(research): cut over canonical runtime and enforce agent budgets

This commit is contained in:
Boki 2026-10-24 16:47:19 -04:00
parent ab08db82fd
commit bbf0dd4453
103 changed files with 6138 additions and 3112 deletions

View file

@ -1,6 +1,6 @@
# Canonical development backlog
**Thirty-six waves committed; completion of the remaining scheduled tasks is in progress.** Stored EOD preparation is committed as `0c6aec4`. Currently **38/45 scheduled tasks are complete (84% by count; R07 measurement validated, awaiting commit)**. The owner authorized finishing the remaining scheduled work, including required measurements; conditional deferred optimizations retain their evidence gates.
**Canonical default and bounded research access are validated.** R05/S06/A01 and the R07 measurement are complete: **41/45 scheduled tasks (91% by count)**. Remaining: A02 isolated candidate execution, P04 bounded concurrent trials, A04 human-reviewed paper promotion, and A03 the evidence-linked research client. Six conditional tasks remain deferred with their original evidence gates.
## One source of truth
@ -57,7 +57,7 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
| [S03 Adapt durable paper transactions to Rust financial reducers](tasks/S03.md) | P0 / done | S01, C06, ADR-005 | — | Durable execution/Rust integration / L |
| [S04 Establish a verified paper feed and operator safety gate](tasks/S04.md) | P1 / done | S02, S03 | — | TypeScript trading infrastructure / M |
| [S05 Add a small composable multi-signal regime example](tasks/S05.md) | P2 / done | S02, F08 | R08 | Quant strategy research / M |
| [S06 Retire duplicate simulator paths after cutover proof](tasks/S06.md) | P2 / blocked | S03, S04, R05 | — | TypeScript trading infrastructure / M |
| [S06 Retire duplicate simulator paths after cutover proof](tasks/S06.md) | P2 / done | S03, S04, R05 | — | TypeScript trading infrastructure / M |
### E5 — Existing web backtest vertical slice
@ -76,9 +76,9 @@ 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 / done | R01, W03, ADR-006 | W04 | Full-stack research product / M |
| [R03 Add projects, hypotheses and evidence-linked findings APIs](tasks/R03.md) | P1 / done | R01, R10, ADR-006 | — | Full-stack research product / M |
| [R04 Deliver research workspace and save-findings flow](tasks/R04.md) | P1 / done | R03, W02, ADR-006 | W04 | Full-stack research product / M |
| [R05 Freeze complete provenance and cut over durable canonical runs](tasks/R05.md) | P0 / in_progress | F08, S02, R01, R10, D01, W03, C06, ADR-006 | Multi-asset default mark-policy disposition | Full-stack research product / M |
| [R05 Freeze complete provenance and cut over durable canonical runs](tasks/R05.md) | P0 / done | 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 / done | Accepted R05 retained-input component; R01/R10/F08/S02/D01/W03/C06/R12, ADR-006 | — | Full-stack research product / M |
| [R07 Deliver sweep configuration and comparable-result views](tasks/R07.md) | P1 / done (measurement validated; awaiting commit) | R06, ADR-006 | W04 | Full-stack research product / M |
| [R07 Deliver sweep configuration and comparable-result views](tasks/R07.md) | P1 / done (measurement committed ab08db8) | R06, ADR-006 | W04 | Full-stack research product / M |
| [R08 Add bounded chronological and reset-segment validation](tasks/R08.md) | P1 / done | R06, ADR-006 | — | Quantitative research integrity / M |
| [R09 Expose validation, cost and regime evidence in the workbench](tasks/R09.md) | P1 / done | R08, committed R07 functional component, ADR-006 | S05 when Regime comparison is enabled; R03 when Saving or linking a research finding is enabled | Full-stack research product / M |
| [R10 Protect retained research evidence and artifact integrity](tasks/R10.md) | P1 / done | R01, ADR-006 | — | Full-stack research product / M |
@ -92,7 +92,7 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
| [P01 Measure existing research paths before extending the benchmark](tasks/P01.md) | P2 / done | None | — | Performance/infrastructure engineering / M |
| [P02 Remove measured replay queue and hot-loop overhead](tasks/P02.md) | P2 / merged → F06 | None | — | Performance/infrastructure engineering / M |
| [P03 Reuse validated datasets within bounded native workers](tasks/P03.md) | P2 / deferred | F07, P01, ADR-004, ADR-008 | — | Performance/infrastructure engineering / M |
| [P04 Schedule deterministic batches across a bounded worker pool](tasks/P04.md) | P2 / blocked | F07, R06, C06, P01, ADR-008 | — | Performance/infrastructure engineering / M |
| [P04 Schedule deterministic batches across a bounded worker pool](tasks/P04.md) | P2 / ready | F07, R06, C06, P01, ADR-008 | — | Performance/infrastructure engineering / M |
| [P05 Separate result summaries from paged detail payloads](tasks/P05.md) | P2 / deferred | R06, P01 | — | Performance/infrastructure engineering / M |
| [P06 Conditionally add a minimal Rust-executed strategy plan](tasks/P06.md) | P2 / deferred | P04, S01, ADR-008 | — | Rust/TS performance compiler boundary / M |
| [P07 Profile representative canonical replay workloads](tasks/P07.md) | P1 / done | F07, P01 | F09 for compact comparisons | Performance/test infrastructure / M |
@ -102,10 +102,10 @@ Relative size: S narrow correction, M coherent boundary, L sensitive owner-contr
| Task | Priority / status | Implementation prerequisites | Release gate | Specialist / size |
| --- | --- | --- | --- | --- |
| [A01 Add research-only principals and durable job budgets](tasks/A01.md) | P1 / blocked | R06, O01, ADR-007 | — | Backend security/durable scheduling / M |
| [A02 Isolate untrusted TypeScript strategy builds and decisions](tasks/A02.md) | P1 / blocked | A01, S01, P01, ADR-007 | — | Process isolation/security / L |
| [A01 Add research-only principals and durable job budgets](tasks/A01.md) | P1 / done | R06, O01, ADR-007 | — | Backend security/durable scheduling / M |
| [A02 Isolate untrusted TypeScript strategy builds and decisions](tasks/A02.md) | P1 / ready | A01, S01, P01, ADR-007 | — | Process isolation/security / L |
| [A03 Implement an evidence-linked AI research workflow client](tasks/A03.md) | P2 / blocked | A02, R08, R03, ADR-007 | — | AI research integration / M |
| [A04 Add human-reviewed promotion to paper deployment](tasks/A04.md) | P2 / blocked | S04, R09, A01, R01, ADR-007, ADR-005 | — | Full-stack paper trading integration / M |
| [A04 Add human-reviewed promotion to paper deployment](tasks/A04.md) | P2 / ready | S04, R09, A01, R01, ADR-007, ADR-005 | — | Full-stack paper trading integration / M |
### E9 — Migration and operational safeguards