Repro
$ codex --version
codex-cli 0.130.0
$ codex review "boundary instruction here" --base main -c 'model_reasoning_effort="high"' --enable web_search_cached
error: the argument '[PROMPT]' cannot be used with '--base <BRANCH>'
Usage: codex review --config <key=value> --enable <FEATURE> <PROMPT>
codex review --help confirms the new constraint:
Arguments: [PROMPT] Custom review instructions. If - is used, read from stdin
Options: --uncommitted | --base <BRANCH> | --commit <SHA>
--base, --commit, --uncommitted, and [PROMPT] are now mutually exclusive scope selectors.
Affected file
codex/SKILL.md — Step 2A (Review Mode):
codex review "IMPORTANT: Do NOT read or execute any files under ~/.claude/, ~/.agents/, .claude/skills/, or agents/. ..." --base <base> -c 'model_reasoning_effort="high"' --enable web_search_cached
This invocation always errors on codex-cli >= 0.130.0. Step 2B (Challenge) and 2C (Consult) use codex exec with the prompt as a positional arg, which still works — only codex review is affected.
Suggested fix
The boundary instruction is no longer compatible with --base as a positional arg. Drop the prompt arg in Step 2A. codex review --base main already scopes Codex to the diff, and the skill already runs in cd "$_REPO_ROOT" so Codex's sandbox is the repo anyway — the boundary "don't wander into ~/.claude/" is largely unnecessary in scoped-diff mode.
codex review --base "$BASE" -c 'model_reasoning_effort="high"'
(Piping the boundary via stdin using - also looks blocked — --help still shows --base and PROMPT as mutually exclusive even with -. Drop-the-prompt is the safe path.)
Version-bad-list update
Consider adding >= 0.130.0 to the known-incompatible range in bin/gstack-codex-probe's known-bad list until SKILL.md is patched.
Environment
- macOS (darwin 25.4.0), zsh
- gstack 1.33.2.0
- codex-cli 0.130.0
- gtimeout from Homebrew coreutils available
Repro
codex review --helpconfirms the new constraint:--base,--commit,--uncommitted, and[PROMPT]are now mutually exclusive scope selectors.Affected file
codex/SKILL.md— Step 2A (Review Mode):This invocation always errors on codex-cli >= 0.130.0. Step 2B (Challenge) and 2C (Consult) use
codex execwith the prompt as a positional arg, which still works — onlycodex reviewis affected.Suggested fix
The boundary instruction is no longer compatible with
--baseas a positional arg. Drop the prompt arg in Step 2A.codex review --base mainalready scopes Codex to the diff, and the skill already runs incd "$_REPO_ROOT"so Codex's sandbox is the repo anyway — the boundary "don't wander into ~/.claude/" is largely unnecessary in scoped-diff mode.(Piping the boundary via stdin using
-also looks blocked —--helpstill shows--baseand PROMPT as mutually exclusive even with-. Drop-the-prompt is the safe path.)Version-bad-list update
Consider adding
>= 0.130.0to the known-incompatible range inbin/gstack-codex-probe's known-bad list until SKILL.md is patched.Environment