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
gpt-5.6-luna is marked as MultiAgent V1, so V2 spawn_agent rejects it #35097
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
What issue are you seeing?
gpt-5.6-luna is marked as MultiAgent V1 in the model catalog. In a MultiAgent V2 session, spawn_agent only allows models marked for V2, so Luna
cannot be selected:
Unknown model gpt-5.6-luna for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra.
What steps can reproduce the bug?
Start a session using MultiAgent V2.
Call spawn_agent with model="gpt-5.6-luna" and fork_turns="none".
Observe that the request is rejected because Luna is not available as a V2 model.
What is the expected behavior?
gpt-5.6-luna should be marked as supporting MultiAgent V2 and should be accepted as a spawn_agent model override.
Additional information
No response
Reacted by Jason Wu, Victor L., kodymullinsx, Masataka Fukuba, Miki Pokryvailo, Yuichi Nishiwaki, v-byte-cpu, slopez37-eng, brendan-mccheese, William Guinaudie and 42 more
Unknown model `gpt-5.6-luna` for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
No child session is created. This reproduced in a fresh top-level Codex Desktop task. The local raw model catalog exposes Luna, while the current native spawn_agent allowlist still exposes only Sol and Terra, consistent with the V1/V2 mismatch described in this issue.
Diagnostics were uploaded via /feedback under thread ID: 019f9305-00c7-7c22-a4e6-6485cdff2953.
Unknown model `gpt-5.6-luna` for spawn_agent.
Available models: gpt-5.6-sol, gpt-5.6-terra
Control spawns using explicit gpt-5.6-sol and gpt-5.6-terra with fork_turns="none" and low reasoning succeeded.
This confirms the failure is not caused by local configuration, fork mode, or reasoning effort; it appears to be the model-catalog / MultiAgent V1–V2 routing mismatch described in this issue.
Feedback uploaded from thread: 019fa563-3d4d-77f0-b87c-93cf38da74dd.
Unknown model `gpt-5.6-luna` for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
As a control, an explicit Terra medium spawn from the same parent completed successfully. I also checked the current main catalog: Sol and Terra are marked multi_agent_version: v2, while Luna is still marked v1. That lines up with the V2 backend filter described here.
I am not sure whether changing the bundled model metadata is sufficient, or whether the server-side catalog/backend needs a corresponding update as well. If Luna is intended to support V2 and a maintainer is open to an external contribution, I would be happy to send a focused PR with regression coverage. Otherwise I can provide additional session metadata if useful.
I reproduced this on macOS with stable codex-cli 0.146.0 and verified that the catalog metadata gate is the blocker in this environment.
Runtime proof
Preserved the authenticated model cache unchanged.
Loaded a separate model_catalog_json whose only semantic change was gpt-5.6-luna.multi_agent_version: "v1" -> "v2".
Started a fresh native multi-agent v2 CLI process.
Spawned exactly one child with model="gpt-5.6-luna", reasoning_effort="high", and fork_turns="none".
The child was created as /root/luna_v2_smoke and returned the exact marker LUNA_V2_OK. No model fallback was reported.
This shows that, for the tested CLI/backend combination, Luna can complete a v2 child run once it passes the catalog compatibility filter. The current v1 metadata appears to be the immediate blocker rather than a backend execution failure. This is still bounded evidence from one environment, not a claim about every Codex surface.
I prepared the smallest upstream candidate: change only the bundled Luna metadata in codex-rs/models-manager/models.json from v1 to v2.
Validation: just fmt; just test -p codex-models-manager — 41/41 passed
I have not opened an unsolicited PR because docs/contributing.md says external PRs require a maintainer invitation. If this metadata change matches the intended backend rollout, I would be happy to open the focused PR when invited.
Reacted by HowardChan, aiaiads, Araragi, Kendon Bell and Jakub Kaláb
Please prioritize this fix. The current V1/V2 mismatch blocks one of the most useful multi-agent configurations: using Sol as the orchestrator while delegating bounded investigation and routine work to Luna children.
The available workarounds—using Luna as the parent or launching separate codex exec processes—lose the intended native orchestration workflow and are unnecessarily cumbersome. It also forces users toward more expensive child models when Sol/Terra are the only selectable V2 options.
At minimum, please clarify whether Luna V2 support is planned and whether this requires a server-side rollout in addition to the model-catalog change. A status update or target release would be useful.
Reacted by David Zheng, JueXiuHuang, WoodZou and Jiehan Zheng
Additional regression detail from my recent Codex Desktop usage:
In late-July sessions, Luna was sometimes omitted from the advertised spawn_agent model list, but explicitly passing the known fields—such as model="gpt-5.6-luna", a reasoning effort, and fork_turns="none"—could still create a Luna child.
After the recent runtime updates, the same explicit call is rejected before any child is created:
Unknown model `gpt-5.6-luna` for spawn_agent.
Available models: gpt-5.6-sol, gpt-5.6-terra
An explicit Terra child succeeds in the same session. Omitting the model does not honor the configured Luna worker either; it inherits/falls back to the Sol parent.
So this has worsened from a discoverability/schema problem into hard capability enforcement. Prompting the controller to use the hidden-but-valid Luna override used to be a workable path; it is no longer possible.
This blocks one of the most valuable native multi-agent configurations: Sol as controller, Luna as the bounded execution worker for repository search, targeted context reading, spec implementation, tests, and routine code changes. Replacing every Luna worker with Sol or Terra raises usage and cost, while launching a separate codex exec process loses the native child thread, orchestration, context handoff, and Subagents-panel workflow.
Please prioritize this regression. At minimum, it would help to clarify:
whether Luna V2 child support is planned;
whether the fix requires only the model-catalog metadata change or also a server-side rollout;
which release is expected to restore Sol/Terra -> Luna native spawning.
There is already bounded runtime evidence in this thread that changing Luna's catalog metadata from v1 to v2 allows a native Luna child to run successfully in at least one environment.
select(...) limits the change to Luna, while the output remains a complete catalog suitable for model_catalog_json.
Add this to ~/.codex/config.toml, using your absolute home path:
# Temporary workaround for https://github.com/openai/codex/issues/35097model_catalog_json = "/Users/<username>/.codex/model-catalogs/luna-v2.json"
Restart Codex
Persisted child runtime metadata—not the child's natural-language response—confirmed model=gpt-5.6-luna, effort=high, and multi_agent_version=v2. The child completed 43 tool calls across two turns.
This pins the complete model catalog. Remove the config line and catalog file once the issue is fixed.
Reacted by Noxon, abcdlsj, Arbiter5ItsSoul, kimirself, Wojciech Sobczak, Glenn Watkins and GuideME-Trip
Unknown model `gpt-5.6-luna` for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
This persists after restarting Codex. The discrepancy is especially confusing because the same host explicitly advertises Luna for creating a top-level Codex task, while the collaboration spawn_agent schema/runtime excludes it. No local [agents] model allowlist configuration appears to exist; [agents] only has settings such as max_depth.
Additional controlled reproduction on Codex Desktop for Windows, after the merge of #36892:
Codex Desktop: 26.803.5235.0
Bundled runtime: 0.147.0-alpha.6.5
Same Windows host, project and configuration
Two fresh tasks created together
Results:
Sol high received multi_agent_version=v2. Its spawn_agent interface exposed only Sol and Terra, and rejected Luna xhigh.
Luna xhigh received multi_agent_version=v1 and successfully spawned a Luna xhigh child, which returned LUNA_SPAWN_OK.
Exact Sol error:
Unknown model gpt-5.6-luna for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
This confirms that Luna is available for the account and as a top-level model. The failure is specific to spawning it as a child from a Sol/V2 task.
Since #36892 (“Support leaf models in multi-agent v2”) is included in the Codex CLI 0.147.0 changelog, it appears that this Windows Desktop bundle does not yet expose the corrected leaf-model behavior.
Could a maintainer confirm which Windows Desktop build includes #36892? I can submit feedback from the affected task and provide the task IDs or local session metadata if useful.
This was a real Luna child, not a fallback to Sol or Terra.
Alpha 0.147.0-alpha.6.6: fails before creating a child.
Unknown model `gpt-5.6-luna` for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terra
The parent metadata still reports multi_agent_version=v2.
Desktop bundled 0.147.0-alpha.6.5: fails with the same error.
This controlled comparison used the same machine, model configuration, and call shape. It suggests the leaf-model support present in stable 0.147.0 is missing or not active in the alpha.6.x runtime path.
No project files, source code, task identifiers, local paths, or account-specific details are included.
For MultiAgent V2 sessions where spawn_agent rejects gpt-5.6-luna: the model catalog marks luna as MultiAgent V1, and V2 sessions only accept models catalogued as V2.
Method:
Quick path: use gpt-5.6-sol or gpt-5.6-terra for spawn_agent in V2 sessions — both are catalogued as V2, and the rejection message lists exactly the accepted models.
If you specifically need luna in a V2 session, the catalog is user-overridable: point the documented model_catalog_json config key (applied on startup) at a copy of the catalog with luna's multi_agent_version set to "v2", then restart codex.
Evidence: the model catalog on main (codex-rs/models-manager/models.json) shows gpt-5.6-luna with multi_agent_version=v1 while gpt-5.6-sol/gpt-5.6-terra are v2; the config schema documents model_catalog_json as an optional path to a JSON model catalog.
Independent community workaround; not an official OpenAI fix.
This single mislabeled field is the root cause of the V2-rejection behavior described above (via model_supports_multi_agent_backend in codex-rs/core/src/tools/handlers/multi_agents_common.rs, introduced in #32751).
Additional symptom worth noting: it also affects the V1-only path. With features.multi_agent = true and features.multi_agent_v2 = false (codex-cli 0.149.1), running the active model as gpt-5.6-luna never exposes the multi_agent_v1__list_agents tool at all — no error, the tool simply doesn't appear in the toolset for that session. Same root mislabel, different failure mode (tool never registered instead of spawn_agent rejecting a child model).
Fix should just be flipping that one field to "v2" for gpt-5.6-luna, matching sol/terra.
Spawn request used a custom agent_type configured for model="gpt-5.6-luna" and model_reasoning_effort="xhigh".
The call used fork_turns="none" without an explicit model or reasoning-effort override.
Actual result:
Unknown model gpt-5.6-luna for spawn_agent. Available models: gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-5.5
No child session or runtime JSONL was created.
Impact: forcing Plus users to use substantially more expensive models for specialized subagents accelerates quota depletion. Please make Luna available to spawn_agent, or clearly document the restriction and intended availability.
Activity
github-actions commentedon Jul 24, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
CHKKOREA commentedon Jul 24, 2026
Additional reproduction on macOS with a newer build:
26.721.318360.146.0-alpha.3.1gpt-5.6-sol/ mediumgpt-5.6-luna/ highspawn_agent(model="gpt-5.6-luna", reasoning_effort="high", fork_turns="none")Actual result remains:
No child session is created. This reproduced in a fresh top-level Codex Desktop task. The local raw model catalog exposes Luna, while the current native
spawn_agentallowlist still exposes only Sol and Terra, consistent with the V1/V2 mismatch described in this issue.Diagnostics were uploaded via
/feedbackunder thread ID:019f9305-00c7-7c22-a4e6-6485cdff2953.MattBetancourt commentedon Jul 27, 2026
Additional reproduction on Linux with the current stable release:
0.145.0(npmlatest)gpt-5.6-terra, medium reasoningspawn_agentoverride controls exposedLuna is rejected before a child is created in each tested shape:
All return:
Control spawns using explicit
gpt-5.6-solandgpt-5.6-terrawithfork_turns="none"and low reasoning succeeded.This confirms the failure is not caused by local configuration, fork mode, or reasoning effort; it appears to be the model-catalog / MultiAgent V1–V2 routing mismatch described in this issue.
Feedback uploaded from thread:
019fa563-3d4d-77f0-b87c-93cf38da74dd.TiraelSedai commentedon Jul 28, 2026
i have the same issue
gguryuryu commentedon Jul 29, 2026
Reproduced this on macOS with Codex app 26.721.41059 and CLI 0.146.0-alpha.3.1.
Parent model:
gpt-5.6-solChild request:
model=gpt-5.6-luna,reasoning_effort=medium,fork_turns=noneThe result is the same:
As a control, an explicit Terra medium spawn from the same parent completed successfully. I also checked the current
maincatalog: Sol and Terra are markedmulti_agent_version: v2, while Luna is still markedv1. That lines up with the V2 backend filter described here.I am not sure whether changing the bundled model metadata is sufficient, or whether the server-side catalog/backend needs a corresponding update as well. If Luna is intended to support V2 and a maintainer is open to an external contribution, I would be happy to send a focused PR with regression coverage. Otherwise I can provide additional session metadata if useful.
himomohi commentedon Jul 30, 2026
I reproduced this on macOS with stable
codex-cli 0.146.0and verified that the catalog metadata gate is the blocker in this environment.Runtime proof
model_catalog_jsonwhose only semantic change wasgpt-5.6-luna.multi_agent_version: "v1" -> "v2".model="gpt-5.6-luna",reasoning_effort="high", andfork_turns="none"./root/luna_v2_smokeand returned the exact markerLUNA_V2_OK. No model fallback was reported.This shows that, for the tested CLI/backend combination, Luna can complete a v2 child run once it passes the catalog compatibility filter. The current
v1metadata appears to be the immediate blocker rather than a backend execution failure. This is still bounded evidence from one environment, not a claim about every Codex surface.I prepared the smallest upstream candidate: change only the bundled Luna metadata in
codex-rs/models-manager/models.jsonfromv1tov2.just fmt;just test -p codex-models-manager— 41/41 passedI have not opened an unsolicited PR because
docs/contributing.mdsays external PRs require a maintainer invitation. If this metadata change matches the intended backend rollout, I would be happy to open the focused PR when invited.kendonB commentedon Jul 31, 2026
Still not working on WSL
tanigawa-kanta commentedon Jul 31, 2026
Please prioritize this fix. The current V1/V2 mismatch blocks one of the most useful multi-agent configurations: using Sol as the orchestrator while delegating bounded investigation and routine work to Luna children.
The available workarounds—using Luna as the parent or launching separate
codex execprocesses—lose the intended native orchestration workflow and are unnecessarily cumbersome. It also forces users toward more expensive child models when Sol/Terra are the only selectable V2 options.At minimum, please clarify whether Luna V2 support is planned and whether this requires a server-side rollout in addition to the model-catalog change. A status update or target release would be useful.
David-JA commentedon Jul 31, 2026
Additional regression detail from my recent Codex Desktop usage:
spawn_agentmodel list, but explicitly passing the known fields—such asmodel="gpt-5.6-luna", a reasoning effort, andfork_turns="none"—could still create a Luna child.So this has worsened from a discoverability/schema problem into hard capability enforcement. Prompting the controller to use the hidden-but-valid Luna override used to be a workable path; it is no longer possible.
This blocks one of the most valuable native multi-agent configurations: Sol as controller, Luna as the bounded execution worker for repository search, targeted context reading, spec implementation, tests, and routine code changes. Replacing every Luna worker with Sol or Terra raises usage and cost, while launching a separate
codex execprocess loses the native child thread, orchestration, context handoff, and Subagents-panel workflow.This is especially counterproductive after the announced Luna price reduction: https://x.com/OpenAI/status/2082878156483219672. A major practical value of that price change is precisely to make high-reasoning Luna workers economical at scale under a stronger controller. Keeping Luna excluded from native Multi-Agent V2 undermines that benefit.
Please prioritize this regression. At minimum, it would help to clarify:
Sol/Terra -> Lunanative spawning.There is already bounded runtime evidence in this thread that changing Luna's catalog metadata from
v1tov2allows a native Luna child to run successfully in at least one environment.sosheskaz commentedon Aug 1, 2026
Temporary workaround verified with
codex-cli 0.146.0:Create a patched model catalog:
select(...)limits the change to Luna, while the output remains a complete catalog suitable formodel_catalog_json.Add this to
~/.codex/config.toml, using your absolute home path:Restart Codex
Persisted child runtime metadata—not the child's natural-language response—confirmed
model=gpt-5.6-luna,effort=high, andmulti_agent_version=v2. The child completed 43 tool calls across two turns.This pins the complete model catalog. Remove the config line and catalog file once the issue is fixed.
fix(codex): 読み取り専用 investigator/web-researcher を Luna へ変更する
feat(codex): .codex/agents の model 配分と permission profile を役割相応に再設計する (…
7 remaining items
Z-Lemke commentedon Aug 7, 2026
Additional reproduction from Codex Desktop on macOS:
The host model catalog and task-creation surface expose
gpt-5.6-lunaas available. However, an explicit collaboration call:{ "task_name": "luna_status_audit", "fork_turns": "all", "model": "gpt-5.6-luna", "reasoning_effort": "high" }is rejected with:
This persists after restarting Codex. The discrepancy is especially confusing because the same host explicitly advertises Luna for creating a top-level Codex task, while the collaboration
spawn_agentschema/runtime excludes it. No local[agents]model allowlist configuration appears to exist;[agents]only has settings such asmax_depth.fix(catalog): apply the subagent opt-in to native models too
srschubert commentedon Aug 10, 2026
Additional controlled reproduction on Codex Desktop for Windows, after the merge of #36892:
26.803.5235.00.147.0-alpha.6.5Results:
highreceivedmulti_agent_version=v2. Itsspawn_agentinterface exposed only Sol and Terra, and rejected Lunaxhigh.xhighreceivedmulti_agent_version=v1and successfully spawned a Lunaxhighchild, which returnedLUNA_SPAWN_OK.Exact Sol error:
Unknown model gpt-5.6-luna for spawn_agent. Available models: gpt-5.6-sol, gpt-5.6-terraThis confirms that Luna is available for the account and as a top-level model. The failure is specific to spawning it as a child from a Sol/V2 task.
Since #36892 (“Support leaf models in multi-agent v2”) is included in the Codex CLI 0.147.0 changelog, it appears that this Windows Desktop bundle does not yet expose the corrected leaf-model behavior.
Could a maintainer confirm which Windows Desktop build includes #36892? I can submit feedback from the affected task and provide the task IDs or local session metadata if useful.
tonyloks commentedon Aug 11, 2026
Additional sanitized A/B reproduction on macOS:
Environment
26.803.41515(build6321)0.147.0-alpha.6.50.147.00.147.0-alpha.6.6gpt-5.6-sol/ high, withmulti_agent_version=v2gpt-5.6-luna/ maxMinimal call
The omitted model resolves through the configured default subagent model to
gpt-5.6-luna/ max.Results
Standalone stable
0.147.0: succeeds.The persisted child metadata confirms:
This was a real Luna child, not a fallback to Sol or Terra.
Alpha
0.147.0-alpha.6.6: fails before creating a child.The parent metadata still reports
multi_agent_version=v2.Desktop bundled
0.147.0-alpha.6.5: fails with the same error.This controlled comparison used the same machine, model configuration, and call shape. It suggests the leaf-model support present in stable
0.147.0is missing or not active in thealpha.6.xruntime path.No project files, source code, task identifiers, local paths, or account-specific details are included.
dezmen3 commentedon Aug 11, 2026
Damn, big company can't set 2 instead 1 on server for a whole month :(
renaudguerin commentedon Aug 11, 2026
This is intentional : https://x.com/pvncher/status/2083300990350954981?s=20
dezmen3 commentedon Aug 11, 2026
Implement required communication? Nah, tell everyone we are not recommending it...
renaudguerin commentedon Aug 11, 2026
I mean, we should keep asking for a way to use Luna as subagents, but Luna being marked as V1 is fully intentional and shouldn't be filed as a bug.
feat(skills): promote terra to orchestrator with luna xhigh as defaul…
fix: promote gpt-5.6-luna to a v2 subagent unconditionally (#197)
himomohi commentedon Aug 16, 2026
It finally happened!
dezmen3 commentedon Aug 16, 2026
Soooo, this can be fixed then :)
naipi11 commentedon Aug 18, 2026
For MultiAgent V2 sessions where
spawn_agentrejects gpt-5.6-luna: the model catalog marks luna as MultiAgent V1, and V2 sessions only accept models catalogued as V2.Method:
gpt-5.6-solorgpt-5.6-terraforspawn_agentin V2 sessions — both are catalogued as V2, and the rejection message lists exactly the accepted models.model_catalog_jsonconfig key (applied on startup) at a copy of the catalog with luna'smulti_agent_versionset to"v2", then restart codex.Evidence: the model catalog on main (
codex-rs/models-manager/models.json) showsgpt-5.6-lunawithmulti_agent_version=v1whilegpt-5.6-sol/gpt-5.6-terraarev2; the config schema documentsmodel_catalog_jsonas an optional path to a JSON model catalog.Independent community workaround; not an official OpenAI fix.
alejandrocht commentedon Aug 24, 2026
Confirmed this against a fresh clone of
maintoday. Incodex-rs/models-manager/models.jsonthe model presets currently read:This single mislabeled field is the root cause of the V2-rejection behavior described above (via
model_supports_multi_agent_backendincodex-rs/core/src/tools/handlers/multi_agents_common.rs, introduced in #32751).Additional symptom worth noting: it also affects the V1-only path. With
features.multi_agent = trueandfeatures.multi_agent_v2 = false(codex-cli 0.149.1), running the active model asgpt-5.6-lunanever exposes themulti_agent_v1__list_agentstool at all — no error, the tool simply doesn't appear in the toolset for that session. Same root mislabel, different failure mode (tool never registered instead of spawn_agent rejecting a child model).Fix should just be flipping that one field to
"v2"for gpt-5.6-luna, matching sol/terra.Maku-alt commentedon Sep 22, 2026
Additional reproduction on Windows:
0.155.1agent_typeconfigured formodel="gpt-5.6-luna"andmodel_reasoning_effort="xhigh".fork_turns="none"without an explicit model or reasoning-effort override.Actual result:
Unknown model gpt-5.6-luna for spawn_agent. Available models: gpt-6-astra, gpt-5.6-sol, gpt-5.6-terra, gpt-5.5No child session or runtime JSONL was created.
Impact: forcing Plus users to use substantially more expensive models for specialized subagents accelerates quota depletion. Please make Luna available to
spawn_agent, or clearly document the restriction and intended availability.