check: parity S04 (Pi Codex wire shaping and socket binding)
Merged
OA
2h ago+1142+1142+0123456789012345678901234567890123456789-202-202-012345678901234567890123456789
Check branch for the full CI matrix before main.
Summary by cubic
Adds attempt-bound Codex WebSocket sockets and transport-level wire shaping to the Pi provider. Socket reuse is now keyed by session and account, idle sockets are retired when a new bearer starts a turn, and rate-limit frames are attributed to the request's dispatch (account, token, and vault receipt) instead of a recent-token cache.
- Shapes HTTP and WebSocket bodies the same way: restores replayed call status, moves instructions to the developer message, and decompresses zstd-encoded request bodies.
- Replaces the token-to-account vault cache with a dispatch object carried through the stream attempt.
- Adds tests covering socket reuse across bearer rotation, foreign socket isolation, and vault quota attribution.