Skip to content

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

Open
khsaurabh wants to merge 2 commits into
EveryInc:mainfrom
khsaurabh:fix/cross-model-codex-effort-none-max
Open

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

Conversation

@khsaurabh

Copy link
Copy Markdown
Contributor

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.

Rebased onto current main via Git Data API (OAuth lacks workflow scope
for pushing main CI history).

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68fbadb210

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/guides/configuration.md
Comment thread docs/guides/configuration.md
@khsaurabh
khsaurabh force-pushed the fix/cross-model-codex-effort-none-max branch from 302090f to 4e79025 Compare September 1, 2026 17:23

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e790258c9

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread skills/ce-code-review/scripts/cross-model-adversarial-review.sh
Keep the Codex none/max effort change from dropping +x on
cross-model-adversarial-review.sh and cross-model-doc-review.sh.
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