stock-bot/docs/development/backlog/tasks/CL32.md

1.1 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.