mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why When `-c` or `--config` appears at multiple command levels, Clap retains only the deepest scope's values, dropping earlier overrides. ## What changed Collect config overrides from each command scope in order while preserving typed child arguments and their existing precedence. Arguments forwarded after `--` remain unchanged. ## Testing Add regression coverage for overrides split across nested `mcp add` commands, forwarded `-c` arguments, and validation of an invalid override before `app-server` when another override follows it. GitOrigin-RevId: 40c64eda866497e2f59491a523c6777a8bfe5d5f