You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom subagent role silently inherits parent model/effort on CLI 0.144.5 (Windows) #33667
CLIIssues related to the Codex CLIbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatessubagentIssues involving subagents or multi-agent featureswindows-osIssues related to Codex on Windows systems
Related to #14671, which was closed, but reproducible on the current Windows CLI.
Environment
Codex CLI 0.144.5
Windows
Parent session: gpt-5.6-terra / medium
multi_agent_v2 enabled for this one test invocation
Reproduction
Created a valid custom role at $CODEX_HOME/agents/luna-canary.toml:
name = "luna_canary"model = "gpt-5.6-luna"model_reasoning_effort = "low"description = "Canary profile for a narrow, read-only sub-agent model-routing test."developer_instructions = "You are a canary sub-agent. Complete only the requested read-only task. Do not edit files or run shell commands."
Then ran a read-only canary requesting exactly one luna_canary child. The named custom subagent was accepted, spawned, and returned CANARY_OK.
Actual behavior
The persisted child-session turn_context recorded:
model = "gpt-5.6-terra"
effort = "medium"
multi_agent_version = "v2"
Those are the parent settings, not the role's explicit Luna/low settings. The role name and instructions were applied, but its model and reasoning configuration were silently ignored.
Expected behavior
The child should run as gpt-5.6-luna with low effort, or Codex should fail clearly before spawning. Silent substitution makes cost and compute governance impossible.
Please expose the effective child model/effort in the UI and logs, and ensure that valid role overrides either take effect or produce an explicit error.
CLIIssues related to the Codex CLIbugSomething isn't workingconfigIssues involving config.toml, config keys, config merging, or config updatessubagentIssues involving subagents or multi-agent featureswindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Jul 16, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action