Skip to content

fix: inspect non-replayable Codex diagnostic bodies - #201

Merged
HTExplicit merged 2 commits into
mainfrom
fix/codex-quality-wire
Sep 24, 2026
Merged

HTExplicit merged 2 commits into
mainfrom
fix/codex-quality-wire

Conversation

@HTExplicit

@HTExplicit HTExplicit commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Codex quality diagnostics rejected ordinary Responses requests before reserving their send budget because reasoning recovery intentionally clears GetBody to prevent transparent POST replay. This repairs inspection of the actual outgoing body while preserving its bytes, encoding, length and non-replayable transport contract.

The change is limited to diagnostics. Protocol, workspace identity and Team behavior remain in PR #200 so the corrected diagnostic build can collect a valid baseline before those changes are deployed.

The seven bundled plugin manifests advance to 0.2.12 because each signed package embeds this release's source revision. This avoids reusing an immutable plugin version for different package bytes; plugin functionality is unchanged.

Validation: the original code reproduced the failure through the real reasoning-recovery preparation path. All three new TestCodexQualityWire tests passed (service 0.214s), covering plaintext/zstd, existing replayable snapshots, preserved outgoing bytes and replay policy, body close ownership, bounded reads, and zero budget/send on invalid bodies. Scoped formatting and diff checks passed; previously passed tests were reused.

@HTExplicit
HTExplicit merged commit a2d55c7 into main Sep 24, 2026
18 checks passed
@HTExplicit
HTExplicit deleted the fix/codex-quality-wire branch September 24, 2026 01:55
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