1.4 KiB
CL32 — Separate paper safety enforcement from readiness projection
Parent: E13. Priority: P2. Scheduling: manifest.
Scope and acceptance
Pure readiness projection distinct from explicitly named expiry enforcement; preserve current latches/transactions and document accurately.
Affected modules: orchestrator/paper/CanonicalPaperRuntime.ts; routes/create-routes.ts. Root reserves actual files before delegation.
Dependencies: None.
Verification
Stale active/fresh inactive, storage failure/rollback, stale execution refusal; paper/monitoring regressions. Focused review/tests precede the task commit; final combined build/types/lint/integration/PostgreSQL/browser gates follow. Preserve financial semantics, retained data/results, recovery, reviewed calculations and historical readers.
Exclusions
No new service/framework, financial simulator, real trading activation, external research execution, push/PR or .env changes. D04/P03/P05/P06/CL21 remain deferred. Root owns shared outputs, task state and commits; agents own disjoint files in the integration worktree.
Accepted verification
Independent pure projection/runtime suite 4 passed, 22 assertions; disposable PostgreSQL paper-runtime suite 22 passed, 143 assertions. Verified atomic expiry latch, rollback on storage failure, no implicit reactivation, stale generation and restart recovery. Scoped lint/format passed.