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
Regression: luna cannot be specified in spawn_agent tool model anymore, e.g. for Explorer #34024
appIssues related to the Codex desktop appbugSomething isn't workingsubagentIssues involving subagents or multi-agent featureswindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.715.21425
What subscription do you have?
$100
What platform is your computer?
Windows
What issue are you seeing?
My sol thread can spawn terra and sol sub-agents but cannot spawn luna sub-agents anymore. This was possible in previous versions.
What steps can reproduce the bug?
Ask sol: "spawn an Explorer sub-agent, set model/effort to gpt-5.6-luna medium, set hidden field 'fork_steps' to 'none', ask it to output OK"
What is the expected behavior?
No response
Additional information
Reacted by Milo Shan, Vladimir Petrzhikovskii, Bernat Fages, alsi-lawr, jcranch-atlas, AttieG, LIN, YANG-ZHE, Javier Cuevas, NateC, austinbutler and 4 more
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
* [[Release blocker] Backport #32749: stable Codex breaks model-routed subagent plugins #32988](https://github.com/openai/codex/issues/32988)
* [Subagents being launched as same model as parent agent with no change option #33126](https://github.com/openai/codex/issues/33126)
It is applied both when advertising spawn_agent model overrides and when validating the requested model. The current catalog marks Sol and Terra as v2, but Luna as v1, so a V2 parent rejects Luna before reaching any platform-specific code.
This is not limited to Luna. With this gate, a V2 parent also rejects gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex-spark, and gpt-5.2 as explicit spawn_agent overrides. In practice, Sol and Terra parents are restricted to spawning Sol or Terra.
Reacted by tylerdalbec, Bernat Fages, Lubang-SF and LIN, YANG-ZHE
Independent confirmation from a Windows Codex Desktop session.
Environment:
Host CLI: codex-cli 0.144.6
codex debug models lists gpt-5.6-luna with visibility=list, supported_in_api=true, and supported efforts low, medium, high, xhigh, max.
multi_agent=true and multi_agent_v2=true.
Local config contains no model allowlist; it only sets a Terra root default and agent thread/depth limits.
Observed behavior:
The native spawn_agent parameter named model is a per-child model override, not a declaration of which models support subagents.
In this V2 session the tool exposes the override, but its allowed values are only gpt-5.6-sol and gpt-5.6-terra; gpt-5.6-luna is excluded before a spawn can be requested.
Thus Luna is locally available and eligible in the model catalog, but unavailable specifically as a child-model override.
This independently matches the cross-backend filter introduced by #32751 / commit 92938d8. Please consider allowing cross-backend child routing (or dispatching the child through its own compatible backend) instead of filtering Luna out of the schema. If cross-backend routing is intentionally unsupported, the UI/tool documentation should state that explicitly; silent schema omission makes model-specialized subagent workflows impossible.
I have a custom model catalog (with custom dev prompts) that explicitly sets all models to support multi-agent-v2.
Since 0.145.0 got enough feature parity from multi-agent-v2 with multi-agent v1, this was the minimal fix required that replaced my old "use v1 everywhere" approach.
Dump the model cache with codex debug models > ~/.codex/model-catalog-v2.json
Update each model to multi_agent_version = "v2"
Add model_catalog_json = "/home/<your-name>/.codex/model-catalog-v2.json" (or windows equivalent) to the top of ~/.codex/config.toml
appIssues related to the Codex desktop appbugSomething isn't workingsubagentIssues involving subagents or multi-agent featureswindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Jul 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
runfence commentedon Jul 18, 2026
This issue is not a duplicate of them. It is specifically about luna. Spawning sub-agents when specifying other models works for me.
MoodyMarshmallow commentedon Jul 19, 2026
Can confirm this is happening to me as well. It seems currenlty the Sol and Terra Models are affected
0xdeafbeef commentedon Jul 19, 2026
This is not Windows-specific.
The rejecting behavior was introduced by commit
92938d8/ [PR #32751](#32751), “Restrict spawned-agent models to the active backend.”That commit added this V2 compatibility gate:
It is applied both when advertising
spawn_agentmodel overrides and when validating the requested model. The current catalog marks Sol and Terra asv2, but Luna asv1, so a V2 parent rejects Luna before reaching any platform-specific code.This is not limited to Luna. With this gate, a V2 parent also rejects
gpt-5.5,gpt-5.4,gpt-5.4-mini,gpt-5.3-codex-spark, andgpt-5.2as explicitspawn_agentoverrides. In practice, Sol and Terra parents are restricted to spawning Sol or Terra.SeanZhang226 commentedon Jul 19, 2026
Independent confirmation from a Windows Codex Desktop session.
Environment:
codex-cli 0.144.6codex debug modelslistsgpt-5.6-lunawithvisibility=list,supported_in_api=true, and supported effortslow, medium, high, xhigh, max.multi_agent=trueandmulti_agent_v2=true.Observed behavior:
spawn_agentparameter namedmodelis a per-child model override, not a declaration of which models support subagents.gpt-5.6-solandgpt-5.6-terra;gpt-5.6-lunais excluded before a spawn can be requested.This independently matches the cross-backend filter introduced by #32751 / commit 92938d8. Please consider allowing cross-backend child routing (or dispatching the child through its own compatible backend) instead of filtering Luna out of the schema. If cross-backend routing is intentionally unsupported, the UI/tool documentation should state that explicitly; silent schema omission makes model-specialized subagent workflows impossible.
bernatfp commentedon Jul 20, 2026
Would be great to get this patched. Being forced to dispatch subagents with Terra instead of Luna is much slower and usage-hungrier.
eugenp commentedon Jul 20, 2026
Indeed.
alsi-lawr commentedon Jul 22, 2026
Workaround I'm using:
I have a custom model catalog (with custom dev prompts) that explicitly sets all models to support multi-agent-v2.
Since 0.145.0 got enough feature parity from multi-agent-v2 with multi-agent v1, this was the minimal fix required that replaced my old "use v1 everywhere" approach.
codex debug models > ~/.codex/model-catalog-v2.jsonmulti_agent_version = "v2"model_catalog_json = "/home/<your-name>/.codex/model-catalog-v2.json"(or windows equivalent) to the top of~/.codex/config.tomlgozenc commentedon Jul 24, 2026
use tmux and communicate between panes simply. much easier
0xdeafbeef commentedon Jul 24, 2026
At this point you can use other harness. It's not a solution and it does not help