Skip to content

fix(browser): reject retired GPT-5.2 aliases - #351

Merged
steipete merged 2 commits into
mainfrom
triage/queue-zero-2026-08-02
Aug 3, 2026
Merged

fix(browser): reject retired GPT-5.2 aliases#351
steipete merged 2 commits into
mainfrom
triage/queue-zero-2026-08-02

Conversation

@steipete

@steipete steipete commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • reject retired GPT-5.2 base, Instant, and Thinking aliases before browser startup
  • preserve GPT-5.2 API aliases, legacy Pro routing, and current browser selection
  • update CLI help and browser docs to describe the browser/API boundary

Fixes #344.

Proof

  • pnpm exec vitest run tests/cli/browserConfig.test.ts tests/cli/runOracle/runOracle.request-payload.test.ts — 105 passed
  • pnpm run typecheck
  • pnpm run docs:check — 76 flags, 6 files
  • pnpm run build
  • built CLI: each of gpt-5.2, gpt-5.2-instant, and gpt-5.2-thinking exits 1 with the retirement message before Chrome startup
  • built CLI previews: gpt-5.2-pro browser target resolves to Pro; API gpt-5.2, browser gpt-5.5, and --browser-model-strategy current all exit 0
  • autoreview clean: no accepted/actionable findings

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal priority bug or improvement with limited blast radius. labels Aug 3, 2026
@clawsweeper

clawsweeper Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 10:57 PM ET / August 3, 2026, 02:57 UTC.

ClawSweeper review

What this changes

The branch rejects retired GPT-5.2 base, Instant, and Thinking aliases before a ChatGPT browser run starts, while retaining API aliases, legacy Pro routing, and the current-model strategy.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep this owner-authored PR open for normal merge review: current main still attempts to select retired GPT-5.2 browser picker labels, while the proposed early validation is narrow, preserves the API and Pro paths, and directly addresses the linked open report.

Priority: P2
Reviewed head: fb14c67fe0a0027503c0b88ba2521f1dd51dff4a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, well-covered compatibility fix with described built-CLI behavior checks; remaining confidence depends on resolving the currently failing build checks.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: The PR is owner-authored, so the external-contributor proof gate does not apply; its body nevertheless describes built-CLI terminal checks for rejected and preserved paths.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The PR is owner-authored, so the external-contributor proof gate does not apply; its body nevertheless describes built-CLI terminal checks for rejected and preserved paths.
Evidence reviewed 6 items Current-main behavior lacks the guard: Current main maps explicit GPT-5.2 Instant/Thinking aliases through browser normalization and maps the legacy gpt-5.1 browser alias to the GPT-5.2 base target; buildBrowserConfig then proceeds without rejecting retired picker entries.
The branch rejects before browser setup: The proposed configuration build invokes the availability check immediately after model-strategy resolution and before cookie resolution, remote-Chrome parsing, or any Chrome launch path.
The CLI builds browser configuration before run execution: The top-level browser command resolves and awaits buildBrowserConfig before preview handling and downstream browser execution, supporting the PR's claim that retired aliases fail before Chrome startup.
Findings None None.
Security None None.

How this fits together

Oracle resolves a CLI model request into either an API model or a ChatGPT browser picker target. Browser configuration is built before Chrome is launched, so this change can replace a failed picker lookup with an immediate, actionable CLI error.

flowchart LR
  A[CLI model request] --> B[Engine and model resolution]
  B --> C[Browser configuration]
  C --> D{Picker target available?}
  D -->|Retired GPT-5.2 alias| E[Actionable CLI error]
  D -->|Supported target or current strategy| F[Launch Chrome]
  F --> G[ChatGPT model picker]
Loading

Before merge

  • Resolve merge risk (P1) - The macOS and Ubuntu build checks are currently failing in the provided check state; inspect their logs before merge to confirm the failures are not specific to this head.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Changed surface 5 files affected The patch is confined to browser configuration, regression coverage, CLI/help documentation, and release-note context.
Diff composition runtime +17/-1, tests +31/-13, docs/release +2/-1 The small runtime guard is accompanied by focused coverage for rejected and preserved model-selection paths.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #344
Summary: This PR is a focused candidate fix for the open report about retired GPT-5.2 entries in the ChatGPT browser picker.

Members:

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

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Merge the early browser-only availability gate after confirming the failing build checks are unrelated, so retired ChatGPT picker aliases receive a deterministic error while API and legacy-Pro compatibility remain intact.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Merge the early browser-only availability gate after confirming the failing build checks are unrelated, so retired ChatGPT picker aliases receive a deterministic error while API and legacy-Pro compatibility remain intact.

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

Yes—current main maps the affected browser aliases to GPT-5.2 picker labels and continues into browser configuration, while the linked report records those labels as absent from the live picker. This review did not launch a browser because the checkout is read-only.

Is this the best way to solve the issue?

Yes—the browser-configuration gate is the narrowest maintainable fix because it runs before Chrome startup, applies to CLI and TUI callers, and leaves API aliases, legacy Pro routing, and explicit current-model selection unchanged.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P2: This fixes a real browser-model selection failure with a bounded user-facing impact and a focused repair.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The PR is owner-authored, so the external-contributor proof gate does not apply; its body nevertheless describes built-CLI terminal checks for rejected and preserved paths.

Label justifications:

  • P2: This fixes a real browser-model selection failure with a bounded user-facing impact and a focused repair.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The PR is owner-authored, so the external-contributor proof gate does not apply; its body nevertheless describes built-CLI terminal checks for rejected and preserved paths.

Evidence

What I checked:

  • Current-main behavior lacks the guard: Current main maps explicit GPT-5.2 Instant/Thinking aliases through browser normalization and maps the legacy gpt-5.1 browser alias to the GPT-5.2 base target; buildBrowserConfig then proceeds without rejecting retired picker entries. (src/cli/browserConfig.ts:125, 666e01879a80)
  • The branch rejects before browser setup: The proposed configuration build invokes the availability check immediately after model-strategy resolution and before cookie resolution, remote-Chrome parsing, or any Chrome launch path. (src/cli/browserConfig.ts:168, fb14c67fe0a0)
  • The CLI builds browser configuration before run execution: The top-level browser command resolves and awaits buildBrowserConfig before preview handling and downstream browser execution, supporting the PR's claim that retired aliases fail before Chrome startup. (bin/oracle-cli.ts:2138, 666e01879a80)
  • Regression coverage exercises retired and preserved paths: The branch adds coverage for four aliases that resolve to retired picker entries and separately confirms legacy Pro routing plus --browser-model-strategy current remain available. (tests/cli/browserConfig.test.ts:43, fb14c67fe0a0)
  • Related issue is the canonical remaining report: The PR explicitly targets the open report about ChatGPT no longer exposing GPT-5.2 picker entries; the submitted change is a candidate fix rather than evidence that the report is already resolved on main. (src/cli/browserConfig.ts:288, fb14c67fe0a0)
  • Feature-history routing: Local history identifies Dongwoo Jeong's GPT-5.6 browser-alias work as an adjacent owner signal, while Peter Steinberger has also maintained the current browser configuration path and authored this focused follow-up. (src/cli/browserConfig.ts:97, f2f4a6c35605)

Likely related people:

  • steipete: Peter Steinberger authored the current PR and appears in the local history for the browser configuration surface on current main. (role: recent area contributor; confidence: high; commits: 5daa6ce8c352, fb14c67fe0a0; files: src/cli/browserConfig.ts, bin/oracle-cli.ts)
  • Dongwoo Jeong: Dongwoo Jeong introduced the locally available GPT-5.6 browser-alias work that shares the browser model-normalization and picker-routing surface. (role: adjacent feature contributor; confidence: medium; commits: f2f4a6c35605, ea8b1b57f140; files: src/cli/browserConfig.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Inspect the macOS and Ubuntu build-check logs and rerun or explain any failure that is specific to this head.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • 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.

@clawsweeper

clawsweeper Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(browser): reject retired GPT-5.2 aliases 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 merged commit 4f70854 into main Aug 3, 2026
5 checks passed
@steipete

steipete commented Aug 3, 2026

Copy link
Copy Markdown
Owner Author

Landed as 4f7085421c3040f108de7a872f6846d8b201a351 after exact-head CI passed on 0fc597b458524bd60fc194d61d6c238a369a2593.

Proof:

  • pnpm run check
  • pnpm run docs:check — 76 flags, 6 files
  • pnpm run docs:site
  • pnpm run test — 1,675 passed, 43 skipped
  • pnpm run build
  • pnpm run test:packed-cli — packed CLI help smoke passed
  • built CLI black-box run: gpt-5.2, gpt-5.2-instant, and gpt-5.2-thinking each exited 1 with retirement guidance before Chrome startup
  • built CLI previews: browser gpt-5.2-pro, API gpt-5.2, browser gpt-5.5, and --browser-model-strategy current each exited 0
  • autoreview: clean, no accepted/actionable findings
  • CI run: https://github.com/steipete/oracle/actions/runs/30780635430 — macOS, Windows, Ubuntu, and CDP proof all passed

The first CI run exposed stale GPT-5.1 browser fixtures in the full suite; those were updated to current GPT-5.4 fixtures, the full local gate was rerun, and the exact-head CI rerun passed everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Browser mode still advertises GPT-5.2 models that were removed from the ChatGPT model picker

1 participant