Skip to content

check: parity S04 (Pi Codex wire shaping and socket binding) - #294

Merged
ualtinok merged 3 commits into
mainfrom
check/parity-s04
Nov 23, 2026
Merged

ualtinok merged 3 commits into
mainfrom
check/parity-s04

Conversation

@oaiauth-alfonso

@oaiauth-alfonso oaiauth-alfonso Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

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.

Written for commit 66b5cc7. Summary will update on new commits.

View guided diff Turn on auto-fix

@ualtinok
ualtinok merged commit 66b5cc7 into main Nov 23, 2026
9 checks passed
@ualtinok
ualtinok deleted the check/parity-s04 branch November 23, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant