Skip to content

feat(openai): default new setups to GPT-5.6#103581

Merged
steipete merged 3 commits into
mainfrom
codex/openai-gpt-5.6-default
Jul 10, 2026
Merged

feat(openai): default new setups to GPT-5.6#103581
steipete merged 3 commits into
mainfrom
codex/openai-gpt-5.6-default

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Closes #103234

What Problem This Solves

Fresh OpenAI setup still selected GPT-5.5, while GPT-5.6 Sol, Terra, and Luna were only partially represented across direct API, Codex OAuth, migration, model-list, and QA paths. Existing users also risked losing a usable allowlist entry when adding OpenAI auth to an already configured model setup.

Why This Change Was Made

Direct OpenAI API setup now defaults to the stable openai/gpt-5.6 Sol alias, while Codex OAuth and imported Codex credentials use the exact openai/gpt-5.6-sol reference required by the Codex catalog. The change keeps explicit primary/fallback/alias choices intact, separates direct API metadata from native Codex metadata, and maps GPT-5.6 reasoning Off to the API's none value instead of omitting effort and accidentally requesting Medium.

User Impact

New OpenAI API setups start on GPT-5.6 by default. Sol, Terra, and Luna remain selectable; direct API users get the documented 1.05M-token context metadata, native Codex keeps its authoritative 372K catalog metadata, and existing model configuration remains unchanged when OpenAI auth is added.

Evidence

  • Blacksmith Testbox tbx_01kx5ga0jy20zzq4b8rgbrab3h: 209 focused tests passed across OpenAI provider/defaults, reasoning effort, onboarding, model compatibility, QA selection, and provider-auth preservation.
  • Exact rebased head: tsgo:core and tsconfig.extensions.json passed on the same Testbox.
  • Source-blind CLI behavior validation passed fresh API-key defaulting, model-list/allowlist visibility, and idempotent preservation of an existing primary/fallback/aliases. Real OAuth completion and an entitled-but-GPT-5.6-denied credential were unavailable, so those two live clauses remain explicitly unclaimed.
  • Fresh Codex autoreview: no accepted or actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts commands Command implementations agents Agent runtime and tooling extensions: openai extensions: qa-lab extensions: codex plugin: migrate-hermes size: L maintainer Maintainer-authored PR labels Jul 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 254242df69

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const GPT_51_REASONING_EFFORTS = ["none", "low", "medium", "high"] as const;
const GPT_52_REASONING_EFFORTS = ["none", "low", "medium", "high", "xhigh"] as const;
const GPT_56_REASONING_EFFORTS = ["low", "medium", "high", "xhigh", "max"] as const;
const GPT_56_REASONING_EFFORTS = ["none", "low", "medium", "high", "xhigh", "max"] as const;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep none off Codex GPT-5.6 slugs

When the selected model is a ChatGPT/Codex GPT-5.6 slug (gpt-5.6-sol, gpt-5.6-terra, or gpt-5.6-luna) and the dynamic resolver synthesizes it without catalog compat, this id-family default makes resolveOpenAIReasoningEffortForModel(..., "none") return none. The Codex catalog path in this change still treats those slugs as low/medium/high/xhigh/max only (thinkingLevelMap.off = null), so default OpenAI Responses calls for fresh OAuth/Codex setups send reasoning.effort: "none" to the Codex backend instead of omitting reasoning. Please gate none on direct-API metadata/compat rather than the shared GPT-5.6 id family.

Useful? React with 👍 / 👎.

@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready proof:

  • GitHub CI 29082167801 passed all 67 jobs on exact head 2a20d20a94eb.
  • Blacksmith Testbox tbx_01kx5ga0jy20zzq4b8rgbrab3h: 209 focused provider/onboarding/model-selection tests passed; follow-up exact-head Crestodian suites passed 28/28 and 25/25 after CI exposed stale GPT-5.5 expectations.
  • Hosted tsgo:core and extension typechecks passed.
  • Source-blind CLI validation passed fresh API-key defaulting, model-list visibility, and idempotent preservation of existing primary/fallback/aliases.
  • Fresh autoreview after each fix: no accepted/actionable findings.
  • Repo-native OPENCLAW_TESTBOX=1 scripts/pr prepare-run 103581 passed.

Known proof gaps: no approved fresh OAuth completion and no valid credential denied only GPT-5.6 were available, so those two credential-dependent live clauses are not claimed.

@steipete
steipete merged commit ab5d143 into main Jul 10, 2026
97 checks passed
@steipete
steipete deleted the codex/openai-gpt-5.6-default branch July 10, 2026 09:23
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 11, 2026
* feat(openai): default fresh setup to GPT-5.6

* test(crestodian): expect GPT-5.6 Codex defaults

* test(crestodian): expect GPT-5.6 bootstrap default
steipete added a commit that referenced this pull request Jul 11, 2026
…faults for the stable cut (#104656)

* feat(openai): default new setups to GPT-5.6 (#103581)

* feat(openai): default fresh setup to GPT-5.6

* test(crestodian): expect GPT-5.6 Codex defaults

* test(crestodian): expect GPT-5.6 bootstrap default

(cherry picked from commit ab5d143)

* fix(infra): converge legacy state migrations on archive collisions

(cherry picked from commit 474d660)

* fix(codex): prevent startup hangs after binding migration (#103281)

* fix(codex): archive imported orphan binding sidecars

* fix(codex): harden binding sidecar migration

Co-authored-by: Benjamin Badejo <[email protected]>

* chore: keep release notes out of contributor PRs

---------

Co-authored-by: Benjamin Badejo <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 1f3ea6f)

* fix(migrations): converge recoverable legacy state (#104529)

Signed-off-by: sallyom <[email protected]>
(cherry picked from commit cdb58ca)

* test(openai): align auth contract with provider default (#103760)

(cherry picked from commit 9b4c7c0)

* fix: clear remaining release validation blockers (#104555)

* test: align provider tool call lifecycles

* test: isolate plugin install repair migrations

* fix: accept catalog temperature compatibility

* fix: disable GPT-5.6 tool reasoning on completions

* style: avoid shadowed stream model

(cherry picked from commit 57af2bb)

* test(release): keep GPT-5.6 backport scoped

* test(release): restore doctor config type import

---------

Signed-off-by: sallyom <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Ben Badejo <[email protected]>
Co-authored-by: Benjamin Badejo <[email protected]>
Co-authored-by: Sally O'Malley <[email protected]>
steipete added a commit that referenced this pull request Jul 11, 2026
* feat(openai): default fresh setup to GPT-5.6

* test(crestodian): expect GPT-5.6 Codex defaults

* test(crestodian): expect GPT-5.6 bootstrap default

(cherry picked from commit ab5d143)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations docs Improvements or additions to documentation extensions: codex extensions: openai extensions: qa-lab maintainer Maintainer-authored PR plugin: migrate-hermes scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Default new OpenAI selections to GPT-5.6

1 participant