fix(queue): preserve pending payloads during shutdown (CL22)

This commit is contained in:
Boki 2026-10-28 13:48:28 -04:00
parent 5400dba47e
commit 3fc0a272d8
6 changed files with 266 additions and 87 deletions

View file

@ -18,3 +18,7 @@ Queue lifecycle/cache ownership regressions; disposable Redis payload survival.
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
Queue library tsc build passed; independent root queue-lifecycle and cache-ownership suites passed (see /tmp/stock-bot-cl22-root.log). Scoped lint/format passed. Pending payload ownership, drain behavior, and connection cleanup covered without service mutation.