Repository navigation
fix(openai): remove duplicate GPT-5.6 picker entry - #122178
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
4d52e26 to
c0f2a52
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 11, 2026, 3:05 PM ET / 19:05 UTC. ClawSweeper reviewWhat this changesRemoves the duplicate bare GPT-5.6 OpenAI picker row, makes Sol the fresh default, and uses Doctor to canonicalize persisted bare OpenAI references. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open: current main still exposes both bare GPT-5.6 and Sol, and this maintainer-owned PR is the active repair. No blocking patch defect found; likely related person: steipete (high confidence). Priority: P2 Review scores
Verification
How this fits togetherThe bundled OpenAI plugin supplies picker catalog rows and onboarding defaults. Doctor repairs persisted model references before the Gateway lists configured models and runtime routing selects an API-key or Codex path. flowchart LR
A[Existing OpenAI config] --> B[Doctor migration]
C[Fresh OpenAI setup] --> D[Sol default]
B --> E[OpenAI model catalog]
D --> E
E --> F[Gateway picker]
E --> G[Runtime route]
Decision needed
Why: The proposed canonical identity relies on a Codex roster contract that cannot be independently inspected because the required sibling checkout is absent. Before merge
Agent review detailsSecurityNone. PR surfaceSource +54, Tests +61, Docs +3, Generated 0, Other 0. Total +118 across 28 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the bare direct API alias at runtime, make Doctor the sole persisted-config repair path, and merge only after exact-head CI and an upstream Codex-source contract check confirm Sol is the canonical cross-runtime identity. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main’s manifest exposes both the bare GPT-5.6 and Sol rows, and the PR adds a Doctor-plus-Gateway regression path; no post-fix authenticated Team-picker run was supplied. Is this the best way to solve the issue? Unclear; using Doctor as the canonical persisted-state owner is the best layer, but the Sol identity still needs an independent upstream Codex-contract check. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 79701dfc84b9. LabelsLabel justifications:
EvidenceWhat 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 (1 earlier review cycle)
|
6e3e4ec to
36c8836
Compare
|
Land-ready proof for exact head
ClawSweeper rank-up handling: direct upstream roster inspection is complete. The redacted built-CLI Doctor/model-list proof is complete on a patch-identical production diff; later head changes were tests, mechanical rebases, and the exact generated baseline rider. Known gap: no authenticated post-fix Team run is claimed, and the private Team screenshot/sidebar was not uploaded. |
36c8836 to
f00f683
Compare
f00f683 to
0228daf
Compare
|
Merged via squash.
|
* fix(openai): remove duplicate GPT-5.6 picker entry * test(gateway): split OpenAI model picker coverage * test(openai): align canonical model fixtures * chore(plugin-sdk): refresh agent harness API baseline
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
What Problem This Solves
Fixes an issue where the Team model picker could show both bare GPT-5.6 and GPT-5.6 Sol as separate OpenAI rows even though the bare API alias routes to Sol.
Sanitized observed picker text:
GPT-5.6 · OpenClaw | GPT-5.6 Luna · Codex | GPT-5.6 Sol · Codex | GPT-5.6 Terra · CodexGPT-5.6 Luna · Codex | GPT-5.6 Sol · Codex | GPT-5.6 Terra · CodexThe live Team screenshot/sidebar was not uploaded because it contains private Team session data.
Why This Change Was Made
OpenClaw now uses
openai/gpt-5.6-solas the canonical picker, fresh default, and persisted config identity. The bundled OpenAI catalog no longer publishes the duplicate bare row, GPT-5.5 replacement metadata points to Sol, and the existing doctor model-ref canonicalization owner rewrites shipped bare OpenAI refs across primary, fallback, policy, model-map, and provider-catalog surfaces while preserving auth-profile suffixes and merge semantics. GitHub Copilot refs remain unchanged.The public direct-API input
openai/gpt-5.6remains accepted and response-equivalent to Sol until doctor repairs persisted config. Official OpenAI documentation states that thegpt-5.6alias routes requests to GPT-5.6 Sol: https://developers.openai.com/api/docs/models/gpt-5.6-sol. Upstream Codex catalog andmodel/listsource expose the named Sol, Terra, and Luna roster, with Sol as the first picker-visible default.One fresh OpenAI default changes from the alias to canonical Sol; no new config key or default surface is added. Doctor migration rewrites existing shipped refs. The PR also carries a one-line generated Plugin SDK baseline rider required because current main's newly split
agent-harnesscontract file was stale; the complete contract directory passes after the exact hash refresh.User Impact
Users see one row per GPT-5.6 tier: Sol, Terra, and Luna. Fresh OpenAI setup selects Sol explicitly, existing bare references migrate safely through
openclaw doctor --fix, and callers that intentionally send the documented bare direct-API alias continue to work.Release-note context: removes the user-visible duplicate GPT-5.6 picker entry, migrates existing bare OpenAI refs to Sol, and preserves the accepted direct-API alias.
Evidence
node scripts/check-changed.mjs --base 6792921deabe98d1ac2d85b480366c42748b0760 --timed: all classified local fallback lanes passed. No remote Testbox lease/run was created because no Crabbox provider was ready.pnpm build: passed in 3m14.8s; all 152 public Plugin SDK subpaths verified; no ineffective dynamic-import warning.models list --all --provider openai --jsonreturned exactly three named GPT-5.6 rows (Luna, Sol, Terra) and no bare row.+18/-32(net-14); tests+209/-80; docs+33/-30; tooling+2/-2; generated baseline+1/-1.AI-assisted implementation and validation were performed with Codex; the maintainer reviewed the resulting diff and evidence.