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.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Merge remote-tracking branch 'origin/main' into fix/1954-uninstall-symlinked-config
Martin Vogeld40ed1a6bbc9
diff --cc tests/test_cli.cindex 3be2d7403,976280868..3316e7acd--- a/tests/test_cli.c+++ b/tests/test_cli.c@@@ -10746,11 -10672,13 +10903,15 @@@ TEST(cli_codex_migrates_to_single_hook_snprintf(agent_path, sizeof(agent_path), "%s/agents/codebase-memory.toml", codex_dir);struct stat state;hooks = read_test_file_alloc(hooks_path);- /* #1954: the ambiguous hook fails the exit code; the binary still goes. */+ char *agents_after_uninstall = read_test_file_alloc(agents_path);- bool independent_cleanup = uninstall_rc != 0 && stat(binary_path, &state) == 0 &&++ /* #1954: the ambiguous/foreign hook still fails the exit code, but the binary++ * is removed anyway (uninstall is no longer held hostage by agent-config). */+ bool independent_cleanup = uninstall_rc != 0 && stat(binary_path, &state) != 0 &&stat(skill_path, &state) != 0 && stat(agent_path, &state) != 0 &&- hooks && !strstr(hooks, "hook-augment");+ hooks && !strstr(hooks, "hook-augment") && agents_after_uninstall &&+ agents_after_uninstall[0] == '\0';free(hooks);+ free(agents_after_uninstall);char bad_home[256];snprintf(bad_home, sizeof(bad_home), "/tmp/cli-codex-preflight-XXXXXX");