Summary
/codex:adversarial-review fails when the plugin inherits a top-level Codex config default of model = "gpt-5.5", even though the local Codex CLI is already on the latest release I can install (codex-cli 0.125.0). The same adversarial review succeeds when I explicitly pass --model gpt-5.4.
This makes the error message misleading: it says GPT-5.5 requires a newer Codex CLI, but the CLI is already current, and the failure appears specific to the plugin's adversarial-review structured-output path rather than general GPT-5.5 access.
Environment
- OS: macOS 26.4.1 / Darwin 25.4.0 arm64
- Node: v25.8.0
- Codex CLI:
codex-cli 0.125.0
- npm global package:
@openai/[email protected]
- codex-plugin-cc:
1.0.4
- Auth: ChatGPT login
- Claude Code plugin command:
/codex:adversarial-review
Relevant ~/.codex/config.toml settings:
model = "gpt-5.5"
model_context_window = 1000000
model_auto_compact_token_limit = 800000
model_reasoning_effort = "xhigh"
Reproduction
- Configure Codex with top-level default model
gpt-5.5.
- In Claude Code, run:
/codex:adversarial-review --wait
- The review fails with the following error captured in the plugin job log / result:
{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.5' model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again."}}
The rendered result is:
# Codex Adversarial Review
Codex did not return valid structured JSON.
- Parse error: {"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.5' model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again."}}
Control checks
The installed CLI is current:
codex --version
# codex-cli 0.125.0
npm list -g --depth=0 | rg '@openai/codex|codex'
# @openai/[email protected]
A plain plugin task with the default gpt-5.5 model succeeds from the same plugin runtime:
node ~/.claude/plugins/cache/openai-codex/codex/1.0.4/scripts/codex-companion.mjs task --json "Return exactly OK."
Result:
{
"status": 0,
"rawOutput": "OK",
"touchedFiles": [],
"reasoningSummary": []
}
The same adversarial review succeeds when the model is explicitly downgraded:
/codex:adversarial-review --model gpt-5.4 --wait
Result from the plugin runtime included valid structured JSON and parseError: null.
Expected behavior
One of:
/codex:adversarial-review should work with inherited model = "gpt-5.5" when the installed Codex CLI is 0.125.0, or
- the plugin should surface a clearer diagnostic if GPT-5.5 is not supported for this specific
turn/start + outputSchema / structured JSON path, or
- the plugin should document or apply a temporary workaround such as
--model gpt-5.4 for adversarial review until the upstream app-server path supports GPT-5.5 fully.
Actual behavior
The plugin reports a structured-output parse failure whose underlying 400 says:
The 'gpt-5.5' model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again.
This is misleading because codex-cli 0.125.0 is already installed and basic GPT-5.5 plugin tasks work.
Suspected scope
This looks specific to the adversarial-review path, likely the plugin's runAppServerTurn(... outputSchema: readOutputSchema(REVIEW_SCHEMA) ...) flow, not general GPT-5.5 model availability.
Related but not exact duplicates:
Summary
/codex:adversarial-reviewfails when the plugin inherits a top-level Codex config default ofmodel = "gpt-5.5", even though the local Codex CLI is already on the latest release I can install (codex-cli 0.125.0). The same adversarial review succeeds when I explicitly pass--model gpt-5.4.This makes the error message misleading: it says GPT-5.5 requires a newer Codex CLI, but the CLI is already current, and the failure appears specific to the plugin's adversarial-review structured-output path rather than general GPT-5.5 access.
Environment
codex-cli 0.125.0@openai/[email protected]1.0.4/codex:adversarial-reviewRelevant
~/.codex/config.tomlsettings:Reproduction
gpt-5.5.{"type":"error","status":400,"error":{"type":"invalid_request_error","message":"The 'gpt-5.5' model requires a newer version of Codex. Please upgrade to the latest app or CLI and try again."}}The rendered result is:
Control checks
The installed CLI is current:
A plain plugin task with the default
gpt-5.5model succeeds from the same plugin runtime:Result:
{ "status": 0, "rawOutput": "OK", "touchedFiles": [], "reasoningSummary": [] }The same adversarial review succeeds when the model is explicitly downgraded:
Result from the plugin runtime included valid structured JSON and
parseError: null.Expected behavior
One of:
/codex:adversarial-reviewshould work with inheritedmodel = "gpt-5.5"when the installed Codex CLI is0.125.0, orturn/start+outputSchema/ structured JSON path, or--model gpt-5.4for adversarial review until the upstream app-server path supports GPT-5.5 fully.Actual behavior
The plugin reports a structured-output parse failure whose underlying 400 says:
This is misleading because
codex-cli 0.125.0is already installed and basic GPT-5.5 plugin tasks work.Suspected scope
This looks specific to the
adversarial-reviewpath, likely the plugin'srunAppServerTurn(... outputSchema: readOutputSchema(REVIEW_SCHEMA) ...)flow, not general GPT-5.5 model availability.Related but not exact duplicates: