Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

fix(cli): simplify Codex cleanup condition

Benyaminb96191922370
diff --git a/src/cli/cli.c b/src/cli/cli.c
index 8401179ab..3aaadb01e 100644
--- a/src/cli/cli.c
+++ b/src/cli/cli.c
@@ -8746,7 +8746,7 @@ static bool cbm_remove_codex_managed_skill(const char *skills_dir, const char *s
printf(" preserved non-owned Codex skill: %s\n", skill_file);
} else if (dry_run) {
printf(" preserved unsafe Codex skill path: %s\n", skill_file);
- } else if (!dry_run) {
+ } else {
record_agent_config_error(uninstalling, "Codex CLI", operation, skill_file);
}
return state == CBM_CODEX_SKILL_UNOWNED;