[bug] Update model probe to GPT-5.6
Summary
Model probe uses GPT 5.5, it seems like it's time to switch to GPT-5.6 models. Model probe: gpt-5.5 | prompt family gpt-5.2 | tool search yes | computer use yes
Compliance Confirmation
- [X] I am using this project for personal development workflows.
- [X] This report does not request policy bypasses or prohibited usage.
- [X] I removed any secrets/tokens from this report.
Coding Plan
Summary
- probe-only change: prepend
gpt-5.6-solto the sharedQUOTA_PROBE_MODEL_CHAIN(lib/request/helpers/model-map.ts:108) and add a dedicatedLIVE_PROBE_MODELconstant so the "Model probe:" line shows gpt-5.6 — without touchingDEFAULT_MODEL(:103) or its wide general-model blast radius. - lean on the existing generic unsupported-model classifier in
lib/request/error-classification.tsfor fall-through; deliberately do not add 5.6 to the transformer'sDEFAULT_UNSUPPORTED_CODEX_FALLBACK_CHAIN(that's a separate, intentionally-untouched mechanism per v2.5.0). - collapse the duplicated
inspectRequestedModel/formatModelInspectioninlib/codex-manager/commands/report.ts:243-265into the sharedformatters/model-formatters.tscopy to remove the standing drift risk while we're changing the output. - flagged gaps: the fall-through-to-5.5 path for no-access accounts is currently untested with a 5.6 head (add it), and the manager-vs-runtime probe failure-handling asymmetry needs a re-check under the new head. no windows-specific or concurrency risk here — the probe loop is sequential and the chain is a single shared read-only constant, so no drift between the two probes.
Design Choices
Design Choice 1: how do we advance the probe target to gpt-5.6 without dragging the general default model along?
Options Considered:
- bump
DEFAULT_MODELto a gpt-5.6 tier (coordinated default-wide promotion like the v1.3.1 gpt-5.5 rollout). - decouple the probe: introduce a dedicated probe constant, prepend gpt-5.6 to
QUOTA_PROBE_MODEL_CHAIN, and point the probe-display default at it, leavingDEFAULT_MODEL = "gpt-5.5"untouched.
Chosen Option: 2
Rationale: option 2 — the ticket only asks to move the probe, and v2.5.0 established the precedent of adding 5.6 while explicitly leaving DEFAULT_MODEL/QUOTA_PROBE_MODEL_CHAIN alone; decoupling keeps blast radius contained to the probe path.
Design Choice 2: which 5.6 tier does the probe lead with?
Options Considered:
- bare
gpt-5.6alias — displays asgpt-5.6 -> gpt-5.6-sol(remapped route) in the probe line. - canonical
gpt-5.6-sol— displays cleanly asgpt-5.6-solwith no remap arrow.
Chosen Option: 2
Rationale: option 2 — the flagship sol tier is the documented default for bare gpt-5.6, and using the canonical id gives a clean Model probe: gpt-5.6-sol | prompt family gpt-5.2 | tool search yes | computer use yes line that matches the ticket's intent.
💡 User Tips
Regenerate the plan with different choices with @coderabbitai <feedback>.
Implementation Steps
Phase 1: point the probe chain and probe target at gpt-5.6
the goal here is to make the probe try gpt-5.6 first and display gpt-5.6, while preserving the sequential fall-through to gpt-5.5/5.4/etc for accounts without 5.6 access. all of this lands in the one catalog file so both the manager and runtime probes move together.
Task 1: prepend gpt-5.6 to the shared probe chain
advance the probe's first-attempt model without touching the general default.
- in
lib/request/helpers/model-map.ts(around:108), addGPT_5_6_SOL_MODELas the new head ofQUOTA_PROBE_MODEL_CHAIN, ahead ofDEFAULT_MODEL. resulting order:gpt-5.6-sol -> gpt-5.5 -> gpt-5.4 -> gpt-5.3-codex -> gpt-5.2-codex -> gpt-5-codex. - leave
DEFAULT_MODEL = "gpt-5.5"exactly as-is (:103). do not touch it. - this is the single shared constant imported by
lib/quota-probe.ts:3andlib/runtime/quota-probe.ts:4, so one edit keeps both probes in sync — no new drift introduced. - fall-through safety note: the probe loop classifies "no access" purely via
getUnsupportedCodexModelInfoinlib/request/error-classification.ts(generic error-text/code matching), not a per-model map. so an account lacking 5.6 will correctlycontinuetogpt-5.5. do not add gpt-5.6 keys toDEFAULT_UNSUPPORTED_CODEX_FALLBACK_CHAIN— that map drives the request-transformer's real-request fallback, which v2.5.0 deliberately left with no 5.6->5.5 degrade path (docs/releases/v2.5.0.md). the probe chain is a separate mechanism; keep it that way.
Task 2: introduce a dedicated live-probe display constant
decouple the "which model do we show/probe by default" value from the general default.
- in
lib/request/helpers/model-map.ts, export aLIVE_PROBE_MODEL(or similarly named) constant set toGPT_5_6_SOL_MODEL. this is the model surfaced in the "Model probe:" line and used as the cli--modeldefault for live commands. - keep it distinct from
DEFAULT_MODELso future probe bumps never leak into general model resolution again.
🤖 Prompt for AI agents
implement the probe-chain and probe-target change entirely in
`lib/request/helpers/model-map.ts`; goal is to make the shared probe try
gpt-5.6-sol first while leaving the general default model untouched.
- around `lib/request/helpers/model-map.ts:108`, add `GPT_5_6_SOL_MODEL` as the
new head of `QUOTA_PROBE_MODEL_CHAIN`, ahead of `DEFAULT_MODEL`. the resulting
chain order must be: `gpt-5.6-sol -> gpt-5.5 -> gpt-5.4 -> gpt-5.3-codex ->
gpt-5.2-codex -> gpt-5-codex`.
- do not touch `DEFAULT_MODEL = "gpt-5.5"` at
`lib/request/helpers/model-map.ts:103`.
- since `lib/quota-probe.ts:3` and `lib/runtime/quota-probe.ts:4` both import
this same chain constant, this single edit keeps both probes in sync
automatically.
- do not add gpt-5.6 keys to `DEFAULT_UNSUPPORTED_CODEX_FALLBACK_CHAIN` — that
map is a separate mechanism for the request-transformer's real-request fallback
(deliberately left without a 5.6->5.5 degrade path per
`docs/releases/v2.5.0.md`). the probe's fall-through relies purely on the
generic `getUnsupportedCodexModelInfo` classifier in
`lib/request/error-classification.ts`, so no changes are needed there.
- also in `lib/request/helpers/model-map.ts`, export a new `LIVE_PROBE_MODEL`
constant set to `GPT_5_6_SOL_MODEL`. this constant is what will drive the "Model
probe:" display and live-command `--model` defaults in phase 2 — keep it
distinct from `DEFAULT_MODEL` so future probe bumps never leak into general
model resolution again.
Phase 2: surface gpt-5.6 in the probe output and kill the duplicate formatter
the "Model probe:" line and the sibling live commands (report, forecast, best, help text) currently default off DEFAULT_MODEL. repoint them at the new probe constant, and while we're in report.ts collapse its hand-copied formatter so the output can never drift from health-check's.
Task 1: repoint the live-probe display default
make the Model probe: line and health-check probe default read gpt-5.6.
- update
lib/codex-manager/quota-cache-helpers.tssoDEFAULT_LIVE_PROBE_MODELre-exports the newLIVE_PROBE_MODELinstead ofDEFAULT_MODEL. this flows automatically intolib/codex-manager/health-check.ts:98(probeModel = options.model?.trim() || DEFAULT_LIVE_PROBE_MODEL) and intolib/codex-manager/help.tsusage text. - confirm
lib/codex-manager/quota-cache-helpers.ts's cached-entry fallback still makes sense with the new value (it fillsmodelwhen a cached quota entry lacks one) — a cached 5.5 entry reading back as 5.6 is a minor cosmetic risk; prefer leaving the cache-fill fallback onDEFAULT_MODELif that read is about historical data rather than the live probe. call this out explicitly during review.
Task 2: align report/forecast/best command defaults and dedupe the formatter
remove the second copy of the probe formatter and point the remaining live commands at the probe constant.
- in
lib/codex-manager/commands/report.ts: delete the localModelInspectioninterface +inspectRequestedModel+formatModelInspectionduplicates (:59-65,:243-265) and import them from../formatters/model-formatters.jsinstead. this is the drift fix — today only theformatters/model-formatters.tscopy is guarded bytest/codex-manager-formatters.test.ts, thereport.tscopy has none. - repoint the
report/forecast/bestlive--modeldefaults and help text (report.ts,lib/codex-manager/commands/forecast.ts,lib/codex-manager/commands/best.ts,lib/codex-manager/repair-commands.ts) fromDEFAULT_MODELto the newLIVE_PROBE_MODEL/DEFAULT_LIVE_PROBE_MODELso the live-probe surface is consistent. leave any non-live/general uses ofDEFAULT_MODELuntouched.
🤖 Prompt for AI agents
wire the new probe constant into the display layer and remove the duplicated
formatter code in `report.ts`; goal is the "Model probe:" line and all
live-command defaults read gpt-5.6-sol, with one single source of truth for the
formatter.
- in `lib/codex-manager/quota-cache-helpers.ts`, change
`DEFAULT_LIVE_PROBE_MODEL` to re-export the new `LIVE_PROBE_MODEL` (from
`lib/request/helpers/model-map.ts`) instead of `DEFAULT_MODEL`. this flows
automatically into `lib/codex-manager/health-check.ts:98` (`probeModel =
options.model?.trim() || DEFAULT_LIVE_PROBE_MODEL`) and
`lib/codex-manager/help.ts` usage text.
- review `lib/codex-manager/quota-cache-helpers.ts`'s cached-entry fallback
(fills `model` when a cached quota entry lacks one) — decide whether it should
stay on `DEFAULT_MODEL` since it's about historical cached data, not the live
probe; flag this explicitly rather than silently changing it.
- in `lib/codex-manager/commands/report.ts`, delete the local duplicate
`ModelInspection` interface plus `inspectRequestedModel` and
`formatModelInspection` functions (around `:59-65` and `:243-265`) and import
them instead from `../formatters/model-formatters.js`. this closes the drift
hazard since only the `formatters/model-formatters.ts` copy currently has test
coverage.
- repoint the `--model` defaults and help text for the `report`, `forecast`, and
`best` live commands (`lib/codex-manager/commands/report.ts`,
`lib/codex-manager/commands/forecast.ts`, `lib/codex-manager/commands/best.ts`,
`lib/codex-manager/repair-commands.ts`) from `DEFAULT_MODEL` to
`LIVE_PROBE_MODEL`/`DEFAULT_LIVE_PROBE_MODEL`.
- leave any non-live/general uses of `DEFAULT_MODEL` elsewhere in the codebase
untouched.
Phase 3: regression coverage, docs, and config prose
the existing probe tests hardcode gpt-5.5 assertions and will now fail; update them and add a guard for the new chain head. docs/changelog that state the probe chain must stay in sync.
Task 1: update and extend probe regression tests
lock in the new probe head and the fall-through behaviour.
test/quota-probe.test.ts::88("uses gpt-5.5 as the default quota probe model") and:99(expect(snapshot.model).toBe(DEFAULT_MODEL)) now expectgpt-5.6-sol. add an explicit regression test that when the 5.6 head returns an unsupported-model error, the loop falls through togpt-5.5— this is the safety-critical path for accounts without 5.6 access and is currently untested for a 5.6 head.test/runtime-quota-probe.test.ts:46(expect(snapshot.model).toBe(DEFAULT_MODEL)): update to the probe head. flag the known asymmetry between the manager probe (throws on non-unsupported failures) and the runtime probe (loops past) — add/confirm coverage that both still terminate correctly with a 5.6 head.- add a
QUOTA_PROBE_MODEL_CHAIN[0]assertion (intest/model-map.test.tsor the property suitetest/property/model-map.property.test.ts) so the ordering can't silently regress. test/gpt56-models.test.ts:89(gpt-5->gpt-5.5) must stay green — verify the legacy alias is untouched by the chain change.
Task 2: refresh formatter, help, and command test expectations
catch the display/default-value changes rippling through the cli tests.
test/codex-manager-formatters.test.ts: add an assertion exercising the dedupedreport.tspath (now importing the shared formatter) so the two output sites are provably one implementation.- update expectations in
test/codex-manager-help.test.ts:99/118-125,test/codex-manager-report-command.test.ts:535,test/codex-manager-forecast-command.test.ts:130,test/codex-manager-cli.test.ts, andtest/documentation.test.ts:357(READMEfix --live --model ...snippet) wherever they assert the live-command default equalsDEFAULT_MODEL— these now assert the probe constant. leave assertions tied to genuine general-default behaviour onDEFAULT_MODEL.
Task 3: update docs, changelog, and config prose to match
keep the authoritative probe-chain docs in sync with the code.
CHANGELOG.md: add aChangedentry — live/quota probe now leads withgpt-5.6-sol, falling back throughgpt-5.5 -> gpt-5.4 -> gpt-5.3-codex -> gpt-5.2-codex -> gpt-5-codex;DEFAULT_MODELand the legacygpt-5alias are unchanged.docs/releases/v2.2.1.mddocuments the old chain head asgpt-5.5; add a new release note (do not rewrite history) describing the probe head move, and updatedocs/configuration.md(:154-160) which describes the probe/default behaviour.config/README.md:20prose already lists 5.6 tiers, so no config template edits are required — theconfig/*.jsontemplates are model-agnostic to the probe head. verify no template needs touching.
🤖 Prompt for AI agents
update regression tests, cli test expectations, and docs so everything matches
the new gpt-5.6-sol probe head; goal is to lock in the new behaviour with tests
and keep authoritative docs/changelog in sync.
test updates:
- in `test/quota-probe.test.ts`, update the assertion at `:88` ("uses gpt-5.5 as
the default quota probe model") and `:99`
(`expect(snapshot.model).toBe(DEFAULT_MODEL)`) to expect `gpt-5.6-sol`. add a
new explicit regression test covering the fall-through: when the gpt-5.6-sol
head returns an unsupported-model error, the probe loop must fall through to
`gpt-5.5` — this safety-critical path is currently untested for a 5.6 head.
- in `test/runtime-quota-probe.test.ts:46`, update the
`expect(snapshot.model).toBe(DEFAULT_MODEL)` assertion to the new probe head.
add/confirm coverage for the known asymmetry between the manager probe (throws
on non-unsupported failures) and the runtime probe (loops past failures) so both
still terminate correctly with a gpt-5.6 head.
- add a `QUOTA_PROBE_MODEL_CHAIN[0]` assertion in `test/model-map.test.ts` or
`test/property/model-map.property.test.ts` to guard the chain ordering against
silent regression.
- verify `test/gpt56-models.test.ts:89` (`gpt-5` -> `gpt-5.5` alias mapping)
stays green and is unaffected by the chain change.
- in `test/codex-manager-formatters.test.ts`, add an assertion exercising the
deduped `report.ts` path (now importing the shared formatter from
`../formatters/model-formatters.js`) to prove the two output sites share one
implementation.
- update expectations in `test/codex-manager-help.test.ts:99` and `:118-125`,
`test/codex-manager-report-command.test.ts:535`,
`test/codex-manager-forecast-command.test.ts:130`,
`test/codex-manager-cli.test.ts`, and `test/documentation.test.ts:357` (README
`fix --live --model ...` snippet) anywhere they assert the live-command default
equals `DEFAULT_MODEL` — change these to assert the new probe constant. leave
any assertions tied to genuine general-default behaviour pointed at
`DEFAULT_MODEL`.
docs/changelog updates:
- add a `Changed` entry to `CHANGELOG.md`: live/quota probe now leads with
`gpt-5.6-sol`, falling back through `gpt-5.5 -> gpt-5.4 -> gpt-5.3-codex ->
gpt-5.2-codex -> gpt-5-codex`; note `DEFAULT_MODEL` and the legacy `gpt-5` alias
are unchanged.
- `docs/releases/v2.2.1.md` documents the old chain head as `gpt-5.5` — do not
rewrite it; instead add a new release note describing the probe head move, and
update `docs/configuration.md:154-160` which describes probe/default behaviour.
- verify `config/README.md:20` and the `config/*.json` templates need no edits
since they are model-agnostic to the probe head.
Research
the single source of truth for model probing is lib/request/helpers/model-map.ts. it defines DEFAULT_MODEL = "gpt-5.5" (:103), the shared QUOTA_PROBE_MODEL_CHAIN (:108), and full MODEL_PROFILES entries for gpt-5.6-sol/terra/luna plus the bare gpt-5.6 alias (GPT_5_6_FLAGSHIP_ALIAS).
both probes — lib/quota-probe.ts:3 and lib/runtime/quota-probe.ts:4 — import that one chain, so they cannot drift.
the "Model probe:" string is rendered by formatModelInspection in lib/codex-manager/formatters/model-formatters.ts and printed at lib/codex-manager/health-check.ts:98; the probe display model defaults to DEFAULT_LIVE_PROBE_MODEL (lib/codex-manager/quota-cache-helpers.ts, currently just re-exporting DEFAULT_MODEL).
lib/codex-manager/commands/report.ts carries a byte-for-byte duplicate of inspectRequestedModel/formatModelInspection (:243-265) and defaults its --model off DEFAULT_MODEL directly (:576 area) — this is the real drift hazard.
🚀 Next Steps
🤖 All AI agent prompts combined
Task: 1
implement the probe-chain and probe-target change entirely in
`lib/request/helpers/model-map.ts`; goal is to make the shared probe try
gpt-5.6-sol first while leaving the general default model untouched.
- around `lib/request/helpers/model-map.ts:108`, add `GPT_5_6_SOL_MODEL` as the
new head of `QUOTA_PROBE_MODEL_CHAIN`, ahead of `DEFAULT_MODEL`. the resulting
chain order must be: `gpt-5.6-sol -> gpt-5.5 -> gpt-5.4 -> gpt-5.3-codex ->
gpt-5.2-codex -> gpt-5-codex`.
- do not touch `DEFAULT_MODEL = "gpt-5.5"` at
`lib/request/helpers/model-map.ts:103`.
- since `lib/quota-probe.ts:3` and `lib/runtime/quota-probe.ts:4` both import
this same chain constant, this single edit keeps both probes in sync
automatically.
- do not add gpt-5.6 keys to `DEFAULT_UNSUPPORTED_CODEX_FALLBACK_CHAIN` — that
map is a separate mechanism for the request-transformer's real-request fallback
(deliberately left without a 5.6->5.5 degrade path per
`docs/releases/v2.5.0.md`). the probe's fall-through relies purely on the
generic `getUnsupportedCodexModelInfo` classifier in
`lib/request/error-classification.ts`, so no changes are needed there.
- also in `lib/request/helpers/model-map.ts`, export a new `LIVE_PROBE_MODEL`
constant set to `GPT_5_6_SOL_MODEL`. this constant is what will drive the "Model
probe:" display and live-command `--model` defaults in phase 2 — keep it
distinct from `DEFAULT_MODEL` so future probe bumps never leak into general
model resolution again.
===============================================================================
Task: 2
wire the new probe constant into the display layer and remove the duplicated
formatter code in `report.ts`; goal is the "Model probe:" line and all
live-command defaults read gpt-5.6-sol, with one single source of truth for the
formatter.
- in `lib/codex-manager/quota-cache-helpers.ts`, change
`DEFAULT_LIVE_PROBE_MODEL` to re-export the new `LIVE_PROBE_MODEL` (from
`lib/request/helpers/model-map.ts`) instead of `DEFAULT_MODEL`. this flows
automatically into `lib/codex-manager/health-check.ts:98` (`probeModel =
options.model?.trim() || DEFAULT_LIVE_PROBE_MODEL`) and
`lib/codex-manager/help.ts` usage text.
- review `lib/codex-manager/quota-cache-helpers.ts`'s cached-entry fallback
(fills `model` when a cached quota entry lacks one) — decide whether it should
stay on `DEFAULT_MODEL` since it's about historical cached data, not the live
probe; flag this explicitly rather than silently changing it.
- in `lib/codex-manager/commands/report.ts`, delete the local duplicate
`ModelInspection` interface plus `inspectRequestedModel` and
`formatModelInspection` functions (around `:59-65` and `:243-265`) and import
them instead from `../formatters/model-formatters.js`. this closes the drift
hazard since only the `formatters/model-formatters.ts` copy currently has test
coverage.
- repoint the `--model` defaults and help text for the `report`, `forecast`, and
`best` live commands (`lib/codex-manager/commands/report.ts`,
`lib/codex-manager/commands/forecast.ts`, `lib/codex-manager/commands/best.ts`,
`lib/codex-manager/repair-commands.ts`) from `DEFAULT_MODEL` to
`LIVE_PROBE_MODEL`/`DEFAULT_LIVE_PROBE_MODEL`.
- leave any non-live/general uses of `DEFAULT_MODEL` elsewhere in the codebase
untouched.
===============================================================================
Task: 3
update regression tests, cli test expectations, and docs so everything matches
the new gpt-5.6-sol probe head; goal is to lock in the new behaviour with tests
and keep authoritative docs/changelog in sync.
test updates:
- in `test/quota-probe.test.ts`, update the assertion at `:88` ("uses gpt-5.5 as
the default quota probe model") and `:99`
(`expect(snapshot.model).toBe(DEFAULT_MODEL)`) to expect `gpt-5.6-sol`. add a
new explicit regression test covering the fall-through: when the gpt-5.6-sol
head returns an unsupported-model error, the probe loop must fall through to
`gpt-5.5` — this safety-critical path is currently untested for a 5.6 head.
- in `test/runtime-quota-probe.test.ts:46`, update the
`expect(snapshot.model).toBe(DEFAULT_MODEL)` assertion to the new probe head.
add/confirm coverage for the known asymmetry between the manager probe (throws
on non-unsupported failures) and the runtime probe (loops past failures) so both
still terminate correctly with a gpt-5.6 head.
- add a `QUOTA_PROBE_MODEL_CHAIN[0]` assertion in `test/model-map.test.ts` or
`test/property/model-map.property.test.ts` to guard the chain ordering against
silent regression.
- verify `test/gpt56-models.test.ts:89` (`gpt-5` -> `gpt-5.5` alias mapping)
stays green and is unaffected by the chain change.
- in `test/codex-manager-formatters.test.ts`, add an assertion exercising the
deduped `report.ts` path (now importing the shared formatter from
`../formatters/model-formatters.js`) to prove the two output sites share one
implementation.
- update expectations in `test/codex-manager-help.test.ts:99` and `:118-125`,
`test/codex-manager-report-command.test.ts:535`,
`test/codex-manager-forecast-command.test.ts:130`,
`test/codex-manager-cli.test.ts`, and `test/documentation.test.ts:357` (README
`fix --live --model ...` snippet) anywhere they assert the live-command default
equals `DEFAULT_MODEL` — change these to assert the new probe constant. leave
any assertions tied to genuine general-default behaviour pointed at
`DEFAULT_MODEL`.
docs/changelog updates:
- add a `Changed` entry to `CHANGELOG.md`: live/quota probe now leads with
`gpt-5.6-sol`, falling back through `gpt-5.5 -> gpt-5.4 -> gpt-5.3-codex ->
gpt-5.2-codex -> gpt-5-codex`; note `DEFAULT_MODEL` and the legacy `gpt-5` alias
are unchanged.
- `docs/releases/v2.2.1.md` documents the old chain head as `gpt-5.5` — do not
rewrite it; instead add a new release note describing the probe head move, and
update `docs/configuration.md:154-160` which describes probe/default behaviour.
- verify `config/README.md:20` and the `config/*.json` templates need no edits
since they are model-agnostic to the probe head.
💡 Iterate on the plan with:
`@coderabbitai` <feedback>
Example Feedback
- `@coderabbitai` You can skip phase 3. Add a simple unit test case for phase 2.
- `@coderabbitai` For design choice 1 go ahead with option 3 and replan.
💬 Have feedback or questions? Drop into our discord!
ndycode/codex-multi-auth#625 - feat(models): add GPT-5.6 Sol / Terra / Luna support [merged]🔗 Related PRs
📝 Issue Planner
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
- [ ] Create Plan
🧪 Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!