Skip to content

Align Codex target probe bytes and continuation cookie order - #275

Merged
HTExplicit merged 3 commits into
mainfrom
codex/borrow-probe-exact-template
Oct 10, 2026
Merged

HTExplicit merged 3 commits into
mainfrom
codex/borrow-probe-exact-template

Conversation

@HTExplicit

@HTExplicit HTExplicit commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Target STATE observations still use a generic map serializer and append the target's continuation cookie after the borrowed cookie. The pinned ranxi probe uses a fixed JSON byte template and retains the target cookie before appending the pinned borrowed cookie.

Use that fixed template and cookie order for the two-shot target protocol, while preserving the selected actual model, effective tier, per-shot legacy session IDs, plaintext encoding and strict STATE verdict. Business bodies, business cookie headers and variable Pelican generation payloads remain under their existing paths. Run the legacy sorted-body comparison first so later upstream failures are not always associated with that serializer.

Validation: exact probe body bytes and continuation cookie header, both actual models and native identity/tier preservation, fixed-candidate comparison isolation, encoding comparison, unchanged normal-generation compression and native HTTP tool continuation pass. Live tests have included a successful pinned-template pair followed by an inconclusive later pair; that is not sufficient to attribute failures to field order, and this alignment is not presented as a completed live repair.

Required CI exposed a pre-existing test cleanup race: Grok scheduler tests replaced a process-wide sync.Map while an asynchronous refresh from another test was storing into it, panicking inside sync.Map.Store. Those scheduler fixtures already own separate caches, so the unrelated global resets are removed. Production Grok behavior and existing assertions are unchanged; the directly affected scheduler tests are verified narrowly.

The required backend job also encountered ECR Public rate limiting before tests started. PostgreSQL and Redis preloading now uses the same fixed OCI digests through Google's Docker Hub cache, already used for builds. Both cache manifests returned the exact existing digests. Local image names, image contents and test commands stay unchanged; no credentials or client identities are rotated.

@HTExplicit
HTExplicit enabled auto-merge (squash) October 10, 2026 06:00
@HTExplicit
HTExplicit merged commit e4d6e6d into main Oct 10, 2026
18 checks passed
@HTExplicit
HTExplicit deleted the codex/borrow-probe-exact-template branch October 10, 2026 06:31
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