Repository navigation
feat(openai): backport GPT-5.6 to 2026.6.34 - #116626
Conversation
* feat(openai): add GPT-5.6 series support * docs: refresh map for GPT-5.6 * fix(openai): preserve GPT-5.6 thinking metadata * fix(codex): sync managed app server version * fix(codex): sync managed app server version * fix(openai): account for GPT-5.6 cache writes --------- Co-authored-by: Peter Steinberger <[email protected]> (cherry picked from commit c52583a)
Adapted for the extended-stable maintenance branch from the fresh-setup and active-default migrations. Existing explicit primaries remain unchanged, GPT-5.5 stays available as an explicit recovery choice, and Ultra is intentionally excluded. (cherry picked from commit ab5d143) (cherry picked from commit fa77fe1)
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes are blockedOpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph. Detected dependency graph changes:
Auto-scrub was not attempted because this PR changes package manifest dependency graph fields:
Dependency graph changes must be reviewed by security or handled by maintainers internally. Please remove lockfile changes manually if they are not needed. To remove lockfile changes, restore them from the target branch: git fetch origin
git checkout 'origin/extended-stable/2026.6.33' -- 'extensions/codex/npm-shrinkwrap.json' 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git pushIf this PR intentionally needs a dependency graph change, ask a repository admin or member of The action will approve the current head SHA ( |
|
Codex review: found issues before merge. Reviewed July 31, 2026, 2:50 AM ET / 06:50 UTC. ClawSweeper reviewWhat this changesThis PR backports GPT-5.6 Sol, Terra, and Luna catalog support, fresh-setup defaults, reasoning and pricing metadata, and the bundled Codex app-server upgrade to the Merge readinessKeep this PR open for human release/security review. Its extended-stable backport remains useful, but the branch both requires exact-head authorization for its managed Codex dependency update and appears to reintroduce an offline Luna fallback that the merged hardening deliberately avoided for unentitled OAuth accounts. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s OpenAI and Codex plugins turn onboarding choices and model references into a provider catalog, authentication route, and app-server transport. This change affects fresh OpenAI setup, offline model discovery, runtime reasoning settings, and the bundled Codex package that executes subscription-backed requests. flowchart LR
A[OpenAI or Codex setup] --> B[Default model selection]
B --> C[OpenAI provider catalog]
D[Live Codex model discovery] --> C
E[Offline fallback catalog] --> C
C --> F[Auth and transport routing]
F --> G[Bundled Codex app server]
G --> H[Agent response and usage accounting]
Decision needed
Why: This is a release-branch dependency and authentication-routing decision governed by the repository’s dependency guard; code review cannot substitute for the required security or release-owner approval. Before merge
Findings
Agent review detailsSecurityNeeds attention: The patch updates a managed executable dependency and resolved lock graph without the exact-head security or admin authorization required by the repository guard. PR surfaceSource +733, Tests +758, Docs +56, Config 0, Other 0. Total +1547 across 78 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the release-branch backport narrowly aligned with the merged mainline contract: retain Sol as the static subscription fallback, add Terra and Luna only through entitled live discovery, then obtain exact-head authorization for the managed Codex dependency update before release inclusion. Do we have a high-confidence way to reproduce the issue? Yes—source inspection gives a high-confidence path: make Codex live discovery unavailable, open the static subscription catalog, and observe that this branch offers Is this the best way to solve the issue? No—the release backport should not restore a static Luna subscription row. The narrower maintainable solution is Sol-only offline fallback plus live discovery for entitled Terra and Luna accounts, matching the merged hardening path. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 8d7ff3c04c89. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
@vincentkoc The dependency guard is expected here: this backport intentionally updates |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
What Problem This Solves
OpenClaw 2026.6.34 needs to recognize and route the released GPT-5.6 Sol, Terra, and Luna models across direct OpenAI and ChatGPT/Codex subscription paths. Without this backport, the extended-stable release lacks the model catalog, reasoning, transport, setup defaults, and bundled Codex harness support required to use those models.
Why This Change Was Made
This backports the GPT-5.6 support and default migrations intended for 2026.6.34, plus the required
@openai/codex0.142.4 harness/protocol update and subsequent catalog hardening. It preserves explicit GPT-5.5 selections and fallbacks, keeps million-token active context an explicit opt-in, and deliberately excludes GPT-5.6 Ultra.Source provenance:
c52583a02270/ feat(openai): add GPT-5.6 series support #98333 — GPT-5.6 model and runtime supportab5d143d59dd/ feat(openai): default new setups to GPT-5.6 #103581 — GPT-5.6 fresh-setup defaultsfa77fe10d526/ chore: migrate active GPT-5.5 references to GPT-5.6 #104452 — active GPT-5.5 default migration, narrowed for this release9f13f9b14032/ feat(openai): make million-token context an explicit opt-in #112916 — 272K default active context capa5d1d9e473ba/ fix(openai): harden codex catalog, routing opt-out, and WHAM half-open reprobe #108683 — Codex discovery client/version and entitlement hardeningUser Impact
Fresh direct-API setup defaults to
openai/gpt-5.6, which resolves to Sol. Fresh ChatGPT/Codex subscription setup defaults toopenai/gpt-5.6-sol; entitled Terra and Luna models are surfaced by live discovery. Existing explicit GPT-5.5 primaries and fallbacks remain unchanged.Direct GPT-5.6 rows retain the native 1.05M context window but default active runtime context to 272K. Current OpenAI pricing metadata is included for Sol, Terra, and Luna. No GPT-5.6 Ultra route is added.
The bundled
@openclaw/[email protected]package pins@openai/[email protected]and includes the generated app-server protocol needed by the new models.Evidence
git diff --check: passedmaintbx_01kytyre76f242r7sfw2nnjhgt:pnpm tsgopassedpnpm buildpassed[email protected]tarball verified with Sol/Terra/Luna and nogpt-5.6-ultra@openclaw/[email protected]tarball verified with@openai/[email protected], Sol/Terra/Luna, and nogpt-5.6-ultraRollback is the six commits in this PR; no state or protocol-version migration is introduced.