| 4070 | check_only, NULL); |
| 4071 | } |
| 4072 | static int cbm_upsert_codex_hooks_command(const char *config_path, const char *command, |
| 4073 | const char *command_windows) { |
| 4074 | return cbm_reconcile_codex_hooks_command(config_path, command, command_windows, |
| 4075 | CBM_TOML_CODEX_HOOK_UPSERT, false); |
| 4076 | } |
| 4077 | /* Public path used by config-level regression tests and manual callers. */ |
| 4078 | int cbm_upsert_codex_hooks(const char *config_path) { |
| 4079 | return cbm_upsert_codex_hooks_command(config_path, "codebase-memory-mcp hook-augment", |
no test coverage detected