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