What happened?
Codex CLI shows the deprecated [features].codex_hooks warning even though the active config already uses the replacement key and has hooks enabled.
Active config.toml snippet:
Observed warning:
[features].codex_hooks is deprecated. Use [features].hooks instead.
Enable it with --enable hooks or [features].hooks in config.toml. See https://developers.openai.com/codex/config-basic#feature-flags for details.
Expected behavior
No deprecation or enablement warning should be shown when [features].hooks = true is present in the active config.
Impact
The warning is shown regardless of the actual hooks feature state, which makes it look like the config still uses the deprecated key when it does not.
Version
codex-cli 0.130.0
Environment
macOS, config loaded from ~/.codex/config.toml.
What happened?
Codex CLI shows the deprecated
[features].codex_hookswarning even though the active config already uses the replacement key and has hooks enabled.Active
config.tomlsnippet:Observed warning:
Expected behavior
No deprecation or enablement warning should be shown when
[features].hooks = trueis present in the active config.Impact
The warning is shown regardless of the actual hooks feature state, which makes it look like the config still uses the deprecated key when it does not.
Version
codex-cli 0.130.0Environment
macOS, config loaded from
~/.codex/config.toml.