refactor: bind session resources to stable lifetimes
Summary
Capture session lifetimes with SessionRef and carry them through resource adoption/disposal. Join admitted dispatches after socket closure, then close admission atomically with the teardown snapshot. Fence log clearing and recording completion against successor sessions. Share the capture-binding policy between production and transition controls.
62 files; part of #3116. Base: main.
Validation
Commit 9252d8251fe1c2d95250f7b84e463db9a87e3e1c. The exact-head pnpm check:affected --base 294dc7d024 --run gate passed. Test Files 1633 passed (1633); Tests 13343 passed | 1 skipped (13344); Test Files 1 passed (1); Tests 12 passed (12).
Fresh GitHub CI and review remain separate. Required native confirmation remains pending; physical recording-health proof is blocked by Xcode signing. The user handles merges. Dependencies, regression evidence and remaining checks.