| 3499 | : CLI_ERR; |
| 3500 | } |
| 3501 | static int cbm_upsert_codex_hooks_command(const char *config_path, const char *command, |
| 3502 | const char *command_windows) { |
| 3503 | return cbm_reconcile_codex_hooks_command(config_path, command, command_windows, |
| 3504 | CBM_TOML_CODEX_HOOK_UPSERT, false); |
| 3505 | } |
| 3506 | /* Public path used by config-level regression tests and manual callers. */ |
| 3507 | int cbm_upsert_codex_hooks(const char *config_path) { |
| 3508 | return cbm_upsert_codex_hooks_command(config_path, "codebase-memory-mcp hook-augment", |
no test coverage detected