Repository navigation
feat(codex): vary reasoning_effort by mode - #504
Closed
richharvestCC wants to merge 1 commit into
Closed
richharvestCC wants to merge 1 commit into
richharvestCC wants to merge 1 commit into
Conversation
Review and challenge modes keep xhigh — finding new defects requires maximum reasoning depth. Consult mode now uses high (for analysis/ verification prompts) or medium (for solution/direction prompts), since answering known questions doesn't need the same depth as discovering unknown problems. This avoids unnecessary token consumption on consult calls where the problem is already defined and only a direction is needed.
Collaborator
|
Closing — the codebase has changed significantly since this was opened and this no longer applies to current main. Thanks for the contribution. |
capy-ai Bot
added a commit
that referenced
this pull request
Nov 22, 2026
…r byte (GST-3298) (#4646) New `gstack-vendored-verify` checks that every file a repo copies from an open-source project is byte-for-byte that project's file, at a commit on its default branch, a tag or a branch the base names, from a repository the base branch trusts. Why: harness-evals copies 1,056 upstream test files into its eval tasks and today hides them from review in tar archives; this proves the claim the archives only assert (1,054 of 1,056 verify on #504 in 19 seconds; 2 are upstream executables). Nothing to do unless you vendor code: the new `review_vendored` policy key is off by default. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p11/outside-voice#1 reader=outside-voice Review-Finding: p11/outside-voice#2 reader=outside-voice Review-Finding: p11/outside-voice#3 reader=outside-voice Review-Finding: p11/adversarial-native#3 reader=adversarial-native Review-Finding: p11/adversarial-native#1 reader=adversarial-native Review-Finding: p11/adversarial-native#5 reader=adversarial-native
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xhigh— finding new defects requires maximum reasoning depthhigh(analysis/verification) ormedium(solution/direction proposals)Motivation
All codex modes were hardcoded to
reasoning_effort="xhigh". This makes sense for review/challenge where the goal is to discover unknown defects, but consult calls where the problem is already defined and only a direction is needed don't benefit from maximum reasoning — they just consume more tokens.Decision criteria: "Finding new defects → xhigh. Answering known questions → high or medium."
Changes
codex/SKILL.md.tmpl: Added step 4 in Consult Mode (Step 2C) with reasoning effort selection logiccodex/SKILL.md.tmpl: Changed consultcodex execcalls from hardcodedxhighto<EFFORT>placeholdercodex/SKILL.md.tmpl: Updated "Model & Reasoning" section to document the per-mode strategyTest plan
/codex review— should still usexhigh/codex challenge— should still usexhigh/codex consultwith analysis prompt — should usehigh/codex consultwith solution prompt — should usemedium