| 3478 | : CLI_ERR; |
| 3479 | } |
| 3480 | static int cbm_upsert_codex_hooks_command(const char *config_path, const char *command, |
| 3481 | const char *command_windows) { |
| 3482 | return cbm_reconcile_codex_hooks_command(config_path, command, command_windows, |
| 3483 | CBM_TOML_CODEX_HOOK_UPSERT, false); |
| 3484 | } |
| 3485 | /* Public path used by config-level regression tests and manual callers. */ |
| 3486 | int cbm_upsert_codex_hooks(const char *config_path) { |
| 3487 | return cbm_upsert_codex_hooks_command(config_path, "codebase-memory-mcp hook-augment", |
no test coverage detected