Skip to content

fix(cross-model): accept Codex CLI effort values none and max - #1567

Open
saurabhkagent-lab wants to merge 3 commits into
EveryInc:mainfrom
saurabhkagent-lab:fix/cross-model-codex-effort-none-max
Open

fix(cross-model): accept Codex CLI effort values none and max#1567
saurabhkagent-lab wants to merge 3 commits into
EveryInc:mainfrom
saurabhkagent-lab:fix/cross-model-codex-effort-none-max

Conversation

@saurabhkagent-lab

Copy link
Copy Markdown

Summary

cross_model_effort rejected Codex CLI values none and max even though those are valid model_reasoning_effort enums (Codex CLI 0.150.1). Fail-closed is still correct for values the route cannot honor; the whitelist was a stale copy of the provider enum.

This PR adds codex:none and codex:max to both review workers (validate_effort_override stays byte-identical), updates the comment/docs/config copies of that list, and pins the seven-value enum in tests so the next CLI addition cannot silently drift.

Editorial default remains xhigh. ce-work / ce-pov hardcoded high is unchanged.

Validation

  • bun test tests/skills/ce-code-review-cross-model-routes.test.ts tests/skills/ce-setup-check-health.test.ts — 161 pass
  • bun run release:validate — in sync
  • Sabotage: restoring the old case arm makes the new accept test fail (exit 2)

Closes #1565

Security Disclosure

No security-relevant changes.

Agent Disclosure

  • Model: Hermes Agent · grok-4.6

The effort whitelist was a stale copy of the Codex enum, so pinning
cross_model_effort to none or max skipped the peer as incompatible.
Keep fail-closed for values the route cannot honor.
GitHub reported CONFLICTING because skills/guides moved; git merged
cleanly via rename detection. No conflict resolution required.
Main renamed skills/guides/configuration.md; the allowlist pin must
follow so the enum test still covers the shipped docs surface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cross_model_effort rejects codex max and none, which the Codex CLI accepts

1 participant