ce-code-review: codex peer loads the user's Codex plugins, re-runs the whole review, and hits the hard cap

Author: kostyunCreated Sep 28, 2026Updated Sep 28, 2026

The codex peer in ce-code-review loads the user's Codex plugins, including this plugin's own ce-code-review skill. It then runs the full review workflow instead of the single adversarial pass and hits the 1200 s hard cap.

What happens

adapter_argv in skills/ce-code-review/scripts/cross-model-adversarial-review.sh starts the peer with:

bash
codex exec - -C "$PEER_WORKDIR" --skip-git-repo-check -s read-only --json -o "$RAW_OUT" -m … -c model_reasoning_effort=… -c hide_agent_reasoning=false

Nothing in that command turns off plugins. If the user has compound-engineering installed in Codex, the peer lists compound-engineering:ce-code-review among its skills. The brief asks for an adversarial review, so the peer picks that skill up.

I saw this in two runs on Claude Code with the plugin at 3.23.4, the Codex CLI at 0.157.1, and compound-engineering 3.29.0 installed in Codex. Both peers ran until the hard cap, and neither published adversarial-codex.json. In adversarial-codex-events.jsonl, the first commands of both runs sed ce-code-review/SKILL.md and references/*.md from ~/.codex/plugins/cache/compound-engineering-plugin/compound-engineering/3.29.0/. One command returned 140 KB of output. After that, one peer ran npm run typecheck:* and node --test six times and read ops/deploy.sh (48 commands in total; the other run issued 54), acting as the orchestrator of a full review. Its last agent message was still "clarifying the one finding". The diffs were 42 KB and 101 KB.

The Claude peer already has this closed: claude -p --safe-mode --disable-slash-commands … --disallowedTools … Skill 'mcp__*'. The codex route has no equivalent. skills/ce-doc-review/scripts/cross-model-doc-review.sh starts codex the same way. Both scripts on main still do this after #1785.

Suggested fix

Add --disable plugins to both codex argv lines. This is equivalent to -c features.plugins=false.

I checked it with the same prompt, "list every skill available to you", run through codex exec - -s read-only --skip-git-repo-check:

skills listed
without the flag 46, including 27 compound-engineering:* and 6 ponytail:*
with --disable plugins 5 built-in (imagegen, openai-docs, plugin-creator, skill-creator, skill-installer)

--ignore-user-config should have the same effect (not tested), but it also drops the rest of the user's Codex config. The flag above removes only the plugins.

Related: #1270 (idle detection) makes a wedged peer fail faster, but this peer was not idle. It kept emitting events until the hard cap.

Source: EveryInc/compound-engineering-plugin