Skip to content

Commit a82639c

Browse files
anandgupta42claude
andcommitted
docs: record why this removal is sequenced behind the catalog fix
Review caught a case I had not checked. The filter only ever deletes, so it cannot add a model the catalog lacks. Release binaries built before the release.yml MODELS_DEV_API_JSON fix (#1186/#1188) embed a 2026-03-30 fixture that contains neither gpt-5.6-terra nor gpt-5.6-luna, so on a cold cache this removal takes an OAuth user from three selectable models to one: shipped snapshot, before: gpt-5.3-codex-spark, gpt-5.4, gpt-5.4-mini shipped snapshot, after: gpt-5.3-codex-spark live catalog, after: gpt-5.3-codex-spark, gpt-5.5, sol, luna, terra Released after #1188 the replacements are present and the regression does not occur. Comment-only; records the ordering constraint where the next reader of this allowlist will find it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VqnuBDGkh1ZT65Ti7e6DHZ
1 parent 87d9c5d commit a82639c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎packages/opencode/src/plugin/codex.ts‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,13 @@ const OAUTH_POLLING_SAFETY_MARGIN_MS = 3000
119119
* "GPT-5.4 is no longer available. Codex now uses GPT-5.6 Terra in place of
120120
* GPT-5.4." The documented replacements — ``gpt-5.4`` -> ``gpt-5.6-terra``,
121121
* ``gpt-5.4-mini`` -> ``gpt-5.6-luna`` — are both already in this set, so
122-
* affected users have a working model without further change.
122+
* affected users have a working model without further change **provided their
123+
* catalog is current**. This filter only ever deletes; it cannot add a model
124+
* the catalog lacks. Release binaries built before the ``release.yml``
125+
* MODELS_DEV_API_JSON fix (#1186/#1188) embed a 2026-03-30 fixture that
126+
* contains neither replacement, so on a cold cache this removal leaves only
127+
* ``gpt-5.3-codex-spark`` selectable. That is why this change is sequenced
128+
* behind that fix rather than shipped on its own.
123129
*
124130
* This is a retirement from the ChatGPT-subscription picker, NOT an API
125131
* deprecation: both ids still carry ``supported_in_api: true``, neither is on

0 commit comments

Comments
 (0)