Skip to content

Accept GPT-5.6 max and ultra reasoning efforts#466

Closed
vadimcomanescu wants to merge 1 commit into
openai:mainfrom
vadimcomanescu:gpt-5.6-efforts-upstream
Closed

Accept GPT-5.6 max and ultra reasoning efforts#466
vadimcomanescu wants to merge 1 commit into
openai:mainfrom
vadimcomanescu:gpt-5.6-efforts-upstream

Conversation

@vadimcomanescu

Copy link
Copy Markdown

Summary

The task command's effort allowlist (VALID_REASONING_EFFORTS in plugins/codex/scripts/codex-companion.mjs) stops at xhigh, so --effort max and --effort ultra are rejected with Unsupported reasoning effort before any Codex thread starts — while the codex CLI itself accepts both for models that support them (e.g. gpt-5.6-sol).

Changes

  • Add max and ultra to VALID_REASONING_EFFORTS, the usage string, and the error message in codex-companion.mjs
  • Update the --effort argument hint in commands/rescue.md
  • Update the accepted-values line in skills/codex-cli-runtime/SKILL.md, noting the two new values require a model that supports them
  • Update the two test assertions in tests/commands.test.mjs that pin the documented effort lists

Testing

node --test tests/commands.test.mjs passes (8/8). Validation verified manually: task --effort ultra proceeds past effort validation; an unknown value is still rejected with the updated message. No version bump included — left to your release process.

🤖 Generated with Claude Code

The effort allowlist in codex-companion.mjs stops at xhigh, so the
plugin rejects gpt-5.6-sol dispatches at max or ultra before any
Codex thread starts, while the codex CLI itself accepts them. Adds
both values to the allowlist, the usage and error strings, the rescue
command argument hint, and the runtime skill doc (noting they need a
model that supports them).
@vadimcomanescu vadimcomanescu requested a review from a team July 10, 2026 08:10
@vadimcomanescu

Copy link
Copy Markdown
Author

Duplicate of #454 — closing in its favor.

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.

1 participant