docs(development): accept F08 and pin stateful strategy runtime scope

This commit is contained in:
Boki 2026-10-23 12:17:07 -04:00
parent 3838295eec
commit 0870b55830
5 changed files with 76 additions and 28 deletions

View file

@ -1,6 +1,6 @@
# ADR-005 — Shared kernel, distinct persistence boundaries
Status: proposed for approval; preservation of existing recovery is required.
Status: **approved by owner continuation, 2026-10-23**. After the handoff named S01 and linked this pending decision, the owner instructed “commit all of it and continue.” This approves the documented direction for the next task; paper migration/default activation remain separately gated. Preservation of existing recovery is required.
## One implementation
@ -23,3 +23,7 @@ All currently supported paper order policies must be preserved or a migration ex
C06 contains unsafe legacy research/paper composition; it does not build a temporary second worker framework. F02 builds owner accounting once. S03 adopts the kernel and durable recovery without waiting for Sharpe/Sortino or web pages. S04 verifies paper feed/readiness. S06 retires competing active execution after those gates, retaining result readers/research algorithms.
Compare financial transitions for the **same event and intent trace**. Research and paper receive different real-world prices/availability; identical P&L is not promised for different inputs. Broker fills remain future external facts to reconcile, not simulated orders that can be rejected after occurrence.
## S01 retry scope
The existing durable research runner retries whole attempts. S01 follows that boundary: create a fresh native session from frozen data/configuration, clone original strategy states and restore original per-owner seeds, then recompute observations, decisions and RNG cursors. Per-barrier TypeScript diagnostic snapshots are not independently resumable financial checkpoints. Do not add a native checkpoint wire or accept a TS-only mid-run resume merely for S01. Existing Rust checkpoint reconstruction and paper SQL checkpoints remain preserved; S03 owns their durable integration.