Skip to content

Bump @openai/codex-sdk to 0.146.0: gpt-5.6-sol rejects the vendored 0.142.5 client - #1309

Merged
waleedkadous merged 1 commit into
mainfrom
fix/codex-sdk-0146-gpt56sol
Jul 31, 2026
Merged

Bump @openai/codex-sdk to 0.146.0: gpt-5.6-sol rejects the vendored 0.142.5 client#1309
waleedkadous merged 1 commit into
mainfrom
fix/codex-sdk-0146-gpt56sol

Conversation

@waleedkadous

Copy link
Copy Markdown
Contributor

Problem

Every porch codex-lane consult is failing since the shipped-defaults change (PR #1301): the server rejects gpt-5.6-sol from old clients with 400: The 'gpt-5.6-sol' model requires a newer version of Codex. First hit by the aspir-1307 builder's spec verification; every active builder would wedge at its next review.

Why the pre-merge live probe didn't catch it: the probe used the globally installed codex CLI (0.146.0), which the server accepts — but consult's codex lane runs through @openai/codex-sdk, which vendors its own codex binary, locked at 0.142.5. Two different clients, one probe.

Fix

Bump @openai/codex-sdk ^0.142.5^0.146.0 (range already permitted it; only the lockfile pinned it back). No code changes.

Testing

  • Build green (including the type surface — ModelReasoningEffort import unchanged).
  • All 106 consult unit tests pass against the new SDK.
  • Live proof requires the global reinstall (local-install), scheduled immediately after merge; consult -m codex against a trivial prompt is the acceptance check.

Lesson (for the record)

A live model-id probe is only as good as client-identity parity: probe through the SAME client the production path uses. Filed mentally against the #1288 verification methodology.

🤖 Generated with Claude Code

…er client

The server rejects gpt-5.6-sol (shipped default since PR #1301) from the
SDK's vendored 0.142.5 codex binary: 'requires a newer version of Codex'.
This broke every porch codex-lane consult. The dependency range already
allowed 0.146.0; only the lockfile pinned it back. Build green, 106
consult tests pass against the new SDK.
@waleedkadous
waleedkadous merged commit 184c133 into main Jul 31, 2026
6 checks passed
waleedkadous added a commit that referenced this pull request Jul 31, 2026
Claude REQUEST_CHANGES incorporated. Recommended approach changed to
write-then-verify: architect writes the state file before invoking the CLI,
which validates synchronously and arms only quiesce -> clear -> reorient.
Removes receipt polling from Tower, makes 'no clear without a verified save'
true by construction in the self path, and shrinks the clear-after-new-work
window from 300s to one quiet window. Original nonce/Tower-armed design kept
as Approach 1b with rejection reasons.

Also: restated the post-clear monitor-stop as pre-clear (enforceable) plus
best-effort reconciliation; replaced the '## Monitors' heading gate with a
MONITORS: token the adopted template carries verbatim; added the
clear-after-new-work hazard to risks/questions/tests; stopped overclaiming
--boundary as a recorded human decision in the self path; added
quiescence-against-a-live-TUI as a second inherited unknown; recorded the
sendRaw vs sendMessage divergence the shared extraction must preserve; fixed
the snapshot ordering that write-then-verify would otherwise have broken.

Codex consult pending - its lane is down (vendored codex-sdk binary, PR #1309).
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