Skip to content

chore: migrate active GPT-5.5 references to GPT-5.6 - #104452

Merged
steipete merged 10 commits into
mainfrom
codex/replace-gpt-5-5
Jul 11, 2026
Merged

steipete merged 10 commits into
mainfrom
codex/replace-gpt-5-5

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Closes #104446

What Problem This Solves

OpenClaw still selected GPT-5.5 across active product defaults, public examples, QA, and release automation after GPT-5.6 became the current supported model family. This kept users on the older flagship model and spent more than necessary on test workloads.

Why This Change Was Made

Active high-capability paths now use gpt-5.6-sol; deterministic mocks, QA, smoke, and release checks use lower-cost gpt-5.6-luna. Explicit GPT-5.5 catalogs, migrations, upgrade fixtures, and model-specific regression scenarios remain intact. Codex fallback metadata follows upstream Sol/Luna/Terra context and reasoning contracts.

This PR is AI-assisted. The implementation and upstream model contracts were reviewed against current Codex source.

User Impact

New default OpenAI/Codex selections use GPT-5.6 Sol. Maintainer test and release workloads use GPT-5.6 Luna where model strength is not under test. Documentation, examples, plugins, apps, generated metadata, and localized UI hints now agree with those routes.

Evidence

  • Fresh autoreview with gpt-5.6-sol at xhigh: clean, no accepted/actionable findings.
  • Testbox tbx_01kx8g03vm8bymqjf543x74f6x (jade-hermit): current-base pnpm test:changed passed 9,389 tests and exposed one stale Workboard assertion; after correction, pnpm test ui/src/pages/workboard/data.test.ts passed 180/180.
  • Testbox focused model/plugin proof: Codex/OpenAI 395/395; workflow contracts 251/251; QA Lab and E2E 1,253/1,253; Logbook/character eval 54/54; Codex provider 36/36.
  • node --import tsx scripts/control-ui-i18n.ts check
  • pnpm check:bundled-channel-config-metadata
  • git diff --check
  • Upstream Codex contract checked in codex-rs/models-manager/models.json, codex-rs/skills/src/assets/samples/openai-docs/references/upgrading-to-gpt-5p6-sol.md, and codex-rs/model-provider/src/amazon_bedrock/catalog.rs.

@steipete
steipete requested a review from a team as a code owner July 11, 2026 11:58
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord app: ios App: ios app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: llm-task Extension: llm-task scripts Repository scripts docker Docker and sandbox tooling agents Agent runtime and tooling extensions: openai extensions: qa-lab extensions: codex plugin: file-transfer extensions: policy plugin: workboard extensions: parallel plugin: logbook Logbook automatic work journal plugin size: XL maintainer Maintainer-authored PR labels Jul 11, 2026
@steipete steipete self-assigned this Jul 11, 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: 94d1340051

ℹ️ 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 DEFAULT_MAX_TOKENS = 128_000;
const KNOWN_CONTEXT_WINDOW_BY_MODEL_ID: Readonly<Record<string, number>> = Object.freeze({
"gpt-5.6-sol": 372_000,
"gpt-5.6-terra": 372_000,

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.

P2 Badge Add Terra to the Codex fallback catalog

This adds Terra-specific metadata, but the offline fallback catalog below never includes a gpt-5.6-terra row. When live Codex app-server discovery is disabled or fails, buildCodexProviderCatalog uses only FALLBACK_CODEX_MODELS, so setup/model pickers expose Sol and Luna but hide Terra; upstream Codex codex-rs/models-manager/models.json lists gpt-5.6-terra as a visible GPT-5.6 tier with the same 372k context and ultra reasoning support, and this patch already adds Terra-specific reasoning hooks.

Useful? React with 👍 / 👎.

@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 11, 2026, 9:27 AM ET / 13:27 UTC.

Summary
The PR migrates active OpenAI/Codex product defaults and examples to GPT-5.6 Sol and lower-cost QA, smoke, and release paths to GPT-5.6 Luna while retaining explicit GPT-5.5 compatibility fixtures.

Reproducibility: yes. at source level. Disable or lose live Codex app-server discovery and the static catalog path exposes Sol and Luna but omits upstream list-visible Terra.

Review metrics: 1 noteworthy metric.

  • Model-selection roles: 2 changed: Sol for active product defaults; Luna for QA, smoke, and release validation. This split changes provider selection and cost behavior across both user-facing defaults and maintainer automation.

Stored data model
Persistent data-model change detected: unknown-truncated-pull-files, vector/embedding metadata: docs/channels/ambient-room-events.md. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #104446
Summary: This PR is the linked implementation candidate for the canonical open model-migration issue.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🦐 gold shrimp
Result: blocked until real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Add Terra to the offline Codex fallback catalog and focused assertions.
  • Post redacted live output or logs showing the final GPT-5.6 provider-resolution and agent-turn path succeeds.

Proof guidance:

  • [P1] Needs real behavior proof before merge: The PR body reports broad Testbox and focused automated suites, but no after-change live OpenAI/Codex model-resolution or agent-turn output is attached; add redacted terminal output, logs, or a linked artifact, then update the PR body to trigger a fresh review or ask a maintainer to comment @clawsweeper re-review.

Risk before merge

  • [P1] Existing installations that rely on the implicit default will move from GPT-5.5 to GPT-5.6 Sol after upgrade; the PR does not include real-runtime proof that this default resolves and completes successfully for the intended OpenAI/Codex auth paths.
  • [P2] When live Codex discovery is disabled or fails, the merged fallback catalog would hide upstream list-visible GPT-5.6 Terra, producing different model choices depending on discovery availability.

Maintainer options:

  1. Complete offline GPT-5.6 discovery (recommended)
    Add Terra to the fallback catalog and prove Sol, Terra, Luna, and retained compatibility rows resolve consistently when app-server discovery is unavailable.
  2. Approve an intentional Terra exception
    Merge without Terra only after the relevant owner explicitly approves and documents why offline discovery should differ from upstream list-visible Codex models.

Next step before merge

  • [P1] The protected maintainer-labeled PR should remain open for its concrete Terra catalog correction and contributor-supplied real-behavior proof; no cleanup or automated repair lane should act.

Security
Cleared: The diff changes model identifiers and workflow inputs without introducing dependency, permission, secret-scope, download, publishing, or third-party execution changes.

Review findings

  • [P2] Add Terra to the offline Codex fallback catalog — extensions/codex/provider-catalog.ts:37
Review details

Best possible solution:

Add GPT-5.6 Terra to the offline Codex fallback catalog with its 372k context and ultra reasoning contract, lock the complete fallback order in focused tests, and attach redacted live output showing the final Sol default or Luna validation path resolving and completing an actual turn.

Do we have a high-confidence way to reproduce the issue?

Yes, at source level. Disable or lose live Codex app-server discovery and the static catalog path exposes Sol and Luna but omits upstream list-visible Terra.

Is this the best way to solve the issue?

No, not yet. The Sol/Luna role split is reasonable, but the offline catalog must match the upstream discoverability contract or carry an explicit approved exception, and the changed default still needs real-runtime proof.

Full review comments:

  • [P2] Add Terra to the offline Codex fallback catalog — extensions/codex/provider-catalog.ts:37
    Upstream Codex marks gpt-5.6-terra as list-visible with a 372k context window and reasoning through ultra, but this fallback array skips from Sol to Luna. When app-server discovery is disabled or fails, setup and model pickers use this array and silently hide a supported GPT-5.6 tier; add Terra and update the fallback-catalog assertions.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against fe261b0f59aa.

Label changes

Label changes:

  • add merge-risk: 🚨 compatibility: The PR changes the implicit product default used by unpinned existing setups and changes offline fallback catalog contents.
  • add merge-risk: 🚨 auth-provider: The PR changes OpenAI/Codex model routing and would expose different choices depending on whether live Codex discovery succeeds.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports broad Testbox and focused automated suites, but no after-change live OpenAI/Codex model-resolution or agent-turn output is attached; add redacted terminal output, logs, or a linked artifact, then update the PR body to trigger a fresh review or ask a maintainer to comment @clawsweeper re-review.

Label justifications:

  • P2: This planned model migration has broad provider and validation impact but no evidence of an emergency or current outage.
  • merge-risk: 🚨 compatibility: The PR changes the implicit product default used by unpinned existing setups and changes offline fallback catalog contents.
  • merge-risk: 🚨 auth-provider: The PR changes OpenAI/Codex model routing and would expose different choices depending on whether live Codex discovery succeeds.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports broad Testbox and focused automated suites, but no after-change live OpenAI/Codex model-resolution or agent-turn output is attached; add redacted terminal output, logs, or a linked artifact, then update the PR body to trigger a fresh review or ask a maintainer to comment @clawsweeper re-review.
Evidence reviewed

What I checked:

  • Current-head catalog omission: The offline fallback catalog defines GPT-5.6 Sol and Luna, plus legacy GPT-5.5 and GPT-5.4 Mini, but has no GPT-5.6 Terra entry even though Terra-specific context metadata is declared. (extensions/codex/provider-catalog.ts:37, 9c1353c7f9e3)
  • Fallback behavior is user-visible: The static provider-discovery test expects the offline model list to expose Sol, Luna, GPT-5.5, and GPT-5.4 Mini; therefore setup and model-list paths omit Terra when live app-server discovery is unavailable. (extensions/codex/provider.test.ts:363, 9c1353c7f9e3)
  • Direct upstream Codex contract: Sibling Codex source at commit 5c19155cbd93bfa099016e7487259f61669823ff marks gpt-5.6-terra as visibility: list, with a 372,000-token context window and reasoning levels through ultra, matching a normal discoverable tier rather than a hidden model. (codex-rs/models-manager/models.json:131, 5c19155cbd93)
  • Prior blocker remains on the reviewed head: The catalog and its assertions did not receive a Terra addition after the prior ClawSweeper review, so the previously reported finding remains applicable rather than being a late discovery. (extensions/codex/provider-catalog.ts:37, 9c1353c7f9e3)
  • The migration is still necessary: Current main still uses GPT-5.5 as the canonical product default, so the central model migration has not already been implemented or superseded. (src/agents/defaults.ts:4, fe261b0f59aa)
  • Canonical linked work: The PR is the implementation candidate for the open model-migration issue, which requests the same Sol/Luna role split and preservation of compatibility-specific GPT-5.5 references. (9c1353c7f9e3)

Likely related people:

What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (2 earlier review cycles)
  • reviewed 2026-07-11T12:34:47.692Z sha f53b366 :: needs real behavior proof before merge. :: [P2] Add Terra to the Codex fallback catalog
  • reviewed 2026-07-11T12:54:40.112Z sha 0da0ccf :: needs real behavior proof before merge. :: [P2] Add Terra to the Codex fallback catalog

@openclaw-barnacle openclaw-barnacle Bot added the commands Command implementations label Jul 11, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. labels Jul 11, 2026
@clawsweeper

clawsweeper Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: chore: migrate active GPT-5.5 references to GPT-5.6 This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete marked this pull request as draft July 11, 2026 13:14
@steipete
steipete marked this pull request as ready for review July 11, 2026 13:14
# Conflicts:
#	ui/src/i18n/.i18n/ar.meta.json
#	ui/src/i18n/.i18n/de.meta.json
#	ui/src/i18n/.i18n/es.meta.json
#	ui/src/i18n/.i18n/fa.meta.json
#	ui/src/i18n/.i18n/fr.meta.json
#	ui/src/i18n/.i18n/hi.meta.json
#	ui/src/i18n/.i18n/id.meta.json
#	ui/src/i18n/.i18n/it.meta.json
#	ui/src/i18n/.i18n/ja-JP.meta.json
#	ui/src/i18n/.i18n/ko.meta.json
#	ui/src/i18n/.i18n/nl.meta.json
#	ui/src/i18n/.i18n/pl.meta.json
#	ui/src/i18n/.i18n/pt-BR.meta.json
#	ui/src/i18n/.i18n/ru.meta.json
#	ui/src/i18n/.i18n/th.meta.json
#	ui/src/i18n/.i18n/tr.meta.json
#	ui/src/i18n/.i18n/uk.meta.json
#	ui/src/i18n/.i18n/vi.meta.json
#	ui/src/i18n/.i18n/zh-CN.meta.json
#	ui/src/i18n/.i18n/zh-TW.meta.json
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 11, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready verification complete.

  • Fresh autoreview: no accepted or actionable findings.
  • Exact-head CI: 9c1353c7f9e32f3136ca5fbaf87771b08d87868d, run https://github.com/openclaw/openclaw/actions/runs/29154096112, all 56 required jobs passed.
  • Repo-native preparation: OPENCLAW_TESTBOX=1 scripts/pr prepare-run 104452 passed hosted exact-head gates; prepared head matches the PR head.
  • Focused Testbox proof on lease tbx_01kx8h7b84d1vng8fxz34yx4nj: model picker 64/64; PDF model config 12/12; QA scenario catalog 38/38; Luna reasoning smoke 1/1; gateway attachment routing 280/280; Workboard UI 180/180.
  • Broader proof: 9,389 changed-surface tests passed before stale expectations were corrected; Codex/OpenAI 395, workflow contracts 251, QA Lab/E2E 1,253, Logbook/character eval 54, Codex provider 36. Control UI i18n and bundled-channel metadata checks are clean.

Known proof gaps: none.

@steipete
steipete merged commit fa77fe1 into main Jul 11, 2026
143 of 150 checks passed
@steipete
steipete deleted the codex/replace-gpt-5-5 branch July 11, 2026 13:31
@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 12, 2026
* chore(models): migrate active GPT-5.5 references

* test(workboard): expect GPT-5.6 Sol default

* chore: keep release notes in PR body

* test(models): align picker fixtures with Sol default

* test: update PDF default model expectation

* test(qa): migrate thinking smoke to Luna

* test(gateway): align mock catalog with Sol default

* ci: retrigger exact-head PR checks

* test(gateway): document default catalog invariant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: ios App: ios app: macos App: macos app: web-ui App: web-ui channel: discord Channel integration: discord commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: codex extensions: llm-task Extension: llm-task extensions: openai extensions: parallel extensions: policy extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. plugin: file-transfer plugin: logbook Logbook automatic work journal plugin plugin: workboard rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate active GPT-5.5 defaults to GPT-5.6 Sol and Luna

1 participant