Subagents ignore requested medium reasoning effort and run at high

Open
#34,370 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start by reproducing the issue with the collaboration subagent creation tool using fork_turns "none", model "gpt-5.6-sol", and reasoning_effort "medium"; inspect the child rollout's latest turn_context and prompt-level provenance. Trace where the requested effort becomes effective high, then verify that the child, desktop UI, task API, and rollout metadata agree or that creation fails closed with a clear error.

Written by the indexing model from the issue text.

Description

app bug subagent
Version
  • ChatGPT/Codex desktop: 26.715.52143 (5591)
  • macOS arm64
  • Observed: 2026-07-20
Problem

Subagents launched with an explicit gpt-5.6-sol model override and
reasoning_effort: medium ran with high reasoning effort instead. This makes
the requested cost/latency policy unreliable and is visible to the user as an
unexpected high-effort task.

Reproduction
  1. From a Codex desktop task, call the collaboration subagent creation tool
    with fork_turns: "none", model: "gpt-5.6-sol", and
    reasoning_effort: "medium".
  2. Wait for the child task to start.
  3. Inspect the child rollout's latest turn_context.

Repeated three times in one gate. All three creation requests explicitly used
medium. All three child rollouts recorded:

{
  "model": "gpt-5.6-sol",
  "effort": "high",
  "collaboration_mode": {
    "settings": {
      "model": "gpt-5.6-sol",
      "reasoning_effort": "high"
    }
  }
}

The child results' prompt-level provenance repeated the requested value
medium, so request construction was not the source of the discrepancy.

Expected behavior

The child runs at the explicitly requested medium effort, or creation fails
closed with a clear unsupported-override error. The desktop UI, task API, and
rollout metadata should agree on requested and effective effort.

Impact
  • Unexpected token use and latency.
  • A user cannot enforce a default medium policy for autonomous subtask work.
  • Prompt/receipt provenance can incorrectly claim medium while the effective
    runtime is high.
  • Autonomous workflows need an extra post-dispatch audit and cannot safely rely
    on the creation response.
Workaround

After each child starts, inspect its observed rollout metadata and stop/retry or
route differently on mismatch. This is incomplete because the unexpected
high-effort turn may already have begun.

Duplicate search

Searched open and closed issues in openai/codex for subagent reasoning effort, reasoning effort medium high, and reasoning_effort spawn agent; no
matching issue was found.

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.