Files
codex/codex-rs/utils/cli
Benjamin Carlsson 7aa5d4ea3a Deprecate --config and limit it to legacy keys (#65357)
## What changed

Mark `-c` and `--config` as deprecated in CLI help and direct users to
dedicated flags or `config.toml`. Check explicit overrides against a fixed
list of legacy keys before expanding dedicated flags. Reject unknown keys
even without `--strict-config`, including keys inside inline tables and
arrays of tables. The `app-server` subcommand skips the legacy-key check.

Preserve the meaning of positional `features.guardianv3.housekeeper`
overrides by mapping the legacy positions to named fields.

## Testing

Cover unknown nested keys and verify that `codex-exec resume` checks
overrides on both sides of the subcommand while preserving their order.
Test that a legacy positional housekeeper override still sets
`batch_timeout_ms`.

GitOrigin-RevId: ae13d976ad5e13068096c0f2548fdf0ab35535f3
2026-12-02 23:38:59 +00:00
..