The post discusses a compatibility issue between Sol/Terra's Multi-Agent V2 and Luna V1 in Codex. The original post provides a complete prompt to "inspect, back up, modify, validate, and report," requiring the user to check the actual versions and model catalog rather than merely describe a solution. Someone later noted in the comments that Codex CLI 0.147.0 had fixed leaf model support, so this configuration patch may apply only to older versions or the desktop client.
Fix the Codex Sol-V2/Luna-V1 subagent incompatibility on this machine using a
reversible V1 model-catalog override.
Do the work, do not merely describe it.
Requirements:
1. Inspect the current state first:
- Run `codex --version`.
- Run `codex debug models`.
- Inspect the active global `~/.codex/config.toml`.
- Determine the real absolute Codex home path.
- Confirm whether Sol and Terra have `multi_agent_version = "v2"` while
Luna has `"v1"`.
- Preserve all unrelated configuration and user files.
2. Before editing anything, create a timestamped backup directory under
`~/.codex/backups/` and copy the active config there.
3. Generate a new model catalog from the COMPLETE output of
`codex debug models`, not a hand-written or partial catalog.
4. Validate the result:
- Parse config.toml as TOML.
- Parse the model catalog as JSON.
- Run `codex features list`.
- Run `codex debug models` and confirm the effective model versions.
- Run `codex doctor --summary`.
- Report exact files, backups, validation results, and warnings.This prompt modifies the user's configuration and should not be run directly in a production environment. The original post later included an update saying that "CLI 0.147.0 has fixed" the issue; before using it, you must first check the current Codex version, create a backup, and validate the result. Do not modify the model catalog blindly.
GPT-5.6 Luna