fix(track-a): correct XRes client-id length after physical discriminator - #455
Merged
blakinio merged 18 commits intoAug 17, 2026
Conversation
blakinio
marked this pull request as ready for review
August 17, 2026 09:21
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
blakinio
enabled auto-merge (squash)
August 17, 2026 09:22
blakinio
deleted the
diag/OTC-20260817-track-a-xres-raw-pid-identity-physical-authorized-v1
branch
August 17, 2026 09:25
This was referenced Aug 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Track A RUNTIME — v1 physical discriminator + helper repair
Task:
OTC-20260817-track-a-xres-raw-pid-identityClaim base:
main@d9529da35ada6ab2a7bf4d2e70205cc0dd7b14abThis PR no longer claims XID→PID proof. Its one authorized v1 physical launch exposed a deterministic protocol-parser defect in the helper promoted by #448; the run cleaned up correctly, the one-shot physical surfaces were removed, and this PR now carries only the helper repair, regression tests and durable evidence/checkpoint.
Physical v1 evidence
The raw transport reached XRes 1.2 successfully, then the promoted parser raised
QueryClientIds client-id value payload is truncated.Root cause and repair
CLIENTIDVALUE.lengthis the byte length of its value payload. LocalClientPid useslength=4followed by one CARD32 PID. The promoted helper treated4as four CARD32 values and multiplied it by four again.The repair now:
Regression fixtures now encode a one-PID record with
length=4and add explicit non-CARD32-aligned rejection while retaining the existing malformed/truncated/oversized/ambiguous fail-closed coverage.Safety/lifecycle boundary
The consumed v1 physical workflow and both v1 transform patchers are absent from the terminal diff. No second physical launch on this v1 branch is authorized. Current task phase is
runtime_access:none,mutation_authorized:falsewhile the helper repair is validated and merged.Durable evidence:
docs/agents/evidence/OTC-20260817-track-a-xres-raw-pid-identity/20260817-v1-physical-parser-discriminator.mddocs/agents/evidence/OTC-20260817-track-a-xres-raw-pid-identity/20260817-helper-fix-audit.mdFresh audit: PASS, 0 material findings.
After this repair reaches trusted
main, the same active task continues on a freshphysical-authorized-v2branch with a new one-launch admission. XID→PID ownership remains explicitly NOT_PROVEN until that v2 discriminator succeeds.No owner-funded Codex/OpenAI API quota, credentials, login, gameplay, canonical runtime state, process memory, or client-byte mutation is used by the terminal #455 helper-repair phase.