Abhinav
0d9a5d20ec
Alias codex_hooks feature as hooks ( #20522 )
...
# Why
The hooks feature flag should use the concise canonical name `hooks`,
while existing configs that still use `codex_hooks` continue to work
during the rename.
# What
- change the canonical `Feature::CodexHooks` key from `codex_hooks` to
`hooks`
- register `codex_hooks` through the existing legacy-alias path
- update the config schema and canonical config fixtures to prefer
`hooks`
- add regression coverage that both `hooks` and `codex_hooks` resolve to
`Feature::CodexHooks`
# Verification
- `cargo test -p codex-features`
- `cargo test -p codex-core config::schema_tests`
- `cargo test -p codex-core
pre_tool_use_blocks_shell_when_defined_in_config_toml`
- `cargo test -p codex-app-server
hooks_list_uses_each_cwds_effective_feature_enablement`
2026-05-01 00:46:33 +00:00
..
2026-04-18 11:01:12 -07:00
2026-04-21 17:48:33 -07:00
2026-03-27 19:00:44 -07:00
2026-04-26 20:59:58 -07:00
2026-04-12 18:36:03 -07:00
2026-04-30 21:41:15 +00:00
2026-04-28 17:15:58 -07:00
2026-04-03 15:03:21 -07:00
2026-04-27 21:32:10 -07:00
2026-04-29 17:22:41 -07:00
2026-04-29 11:21:06 -07:00
2026-04-28 17:06:59 -07:00
2026-04-26 20:59:58 -07:00
2026-04-30 13:39:48 +03:00
2026-04-29 11:21:06 -07:00
2026-04-28 17:17:12 -07:00
2026-04-26 15:10:53 -07:00
2026-04-28 17:12:48 -07:00
2026-04-28 17:05:53 -07:00
2026-04-29 11:21:06 -07:00
2026-04-12 18:36:03 -07:00
2026-04-23 07:33:57 +00:00
2026-05-01 00:46:33 +00:00
2026-04-28 17:03:20 -07:00
2026-04-28 17:11:17 -07:00
2026-04-28 17:03:20 -07:00
2025-12-23 19:29:32 -08:00
2026-04-28 17:03:20 -07:00
2026-04-28 13:03:28 +02:00
2026-04-22 13:34:33 -07:00
2026-04-28 17:09:12 -07:00
2026-04-28 17:06:59 -07:00
2026-04-28 17:03:20 -07:00
2026-04-28 17:05:53 -07:00
2026-04-28 23:01:40 +00:00
2026-04-28 17:06:59 -07:00
2026-04-22 13:34:33 -07:00
2026-04-28 17:03:20 -07:00
2026-04-29 11:21:06 -07:00
2026-04-20 10:27:01 -07:00
2026-04-28 17:09:12 -07:00
2026-04-28 01:14:44 +00:00
2026-04-28 17:13:53 -07:00
2026-04-26 17:18:09 -07:00
2026-04-21 17:48:33 -07:00
2026-04-30 13:39:48 +03:00
2026-04-24 17:16:58 -07:00
2026-04-28 17:08:04 -07:00
2026-04-21 17:48:33 -07:00
2026-04-28 17:15:13 -07:00
2026-04-26 20:59:58 -07:00
2026-04-28 17:03:20 -07:00
2026-04-28 17:08:04 -07:00
2026-04-29 11:21:06 -07:00
2026-04-22 13:34:33 -07:00
2026-04-26 17:18:09 -07:00
2026-04-28 17:17:47 -07:00
2026-04-09 18:44:26 +01:00
2026-04-28 17:10:42 -07:00
2026-04-29 11:21:06 -07:00
2026-04-20 10:27:01 -07:00
2026-04-28 23:01:40 +00:00
2026-04-28 17:05:53 -07:00
2026-04-28 17:15:58 -07:00
2026-04-29 17:22:41 -07:00
2026-04-24 04:28:25 +00:00
2026-04-28 17:05:53 -07:00
2026-04-21 17:48:33 -07:00
2026-04-21 17:48:33 -07:00
2026-04-23 18:54:45 +02:00
2026-04-28 17:05:53 -07:00
2026-04-28 17:03:20 -07:00
2026-04-29 13:41:12 -07:00
2026-04-28 17:11:43 -07:00
2026-04-28 23:01:40 +00:00
2026-03-11 12:33:09 -07:00
2026-04-27 18:48:57 -07:00
2026-04-29 19:13:57 +00:00
2026-04-29 11:21:06 -07:00
2026-04-21 17:48:33 -07:00
2026-04-28 17:06:59 -07:00
2026-04-28 17:09:48 -07:00
2026-04-28 23:01:40 +00:00
2026-04-28 17:03:20 -07:00
2026-04-29 11:21:06 -07:00