docs: schedule whole-application architecture cleanup (CL22-CL35)

This commit is contained in:
Boki 2026-10-28 13:41:55 -04:00
parent 1a9f07b285
commit ff590cab60
17 changed files with 588 additions and 2 deletions

View file

@ -0,0 +1,20 @@
# CL22 — Own queue transports without deleting pending payloads
Parent: E13. Priority: P1. Scheduling: [manifest](../manifest.json).
## Scope and acceptance
Shutdown preserves pending payloads, opens batch caches lazily, closes all owned handles once, and creates no observer workers.
Affected modules: libs/core/queue/src/queue-manager.ts. Root reserves actual files before delegation.
Dependencies: None.
## Verification
Queue lifecycle/cache ownership regressions; disposable Redis payload survival. 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.