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.

test(cli): adapt the no-hooks plan fixture to the Claude detection rule

Martin Vogel5216b70635be
diff --git a/tests/test_cli.c b/tests/test_cli.c
index 484b30dfa..4e750d314 100644
--- a/tests/test_cli.c
+++ b/tests/test_cli.c
@@ -2676,6 +2676,9 @@ TEST(cli_no_hooks_plan_covers_every_hook_installer_family) {
write_test_file(path, "{}\n");
snprintf(path, sizeof(path), "%s/.copilot/mcp-config.json", tmpdir);
write_test_file(path, "{}\n");
+ /* #1180: a bare ~/.claude is not a Claude Code install; its settings.json is. */
+ snprintf(path, sizeof(path), "%s/.claude/settings.json", tmpdir);
+ write_test_file(path, "{}\n");
const char *const commands[] = {"qodercli", "kimi", "duo", "devin", "gemini",
"copilot", "auggie", "hermes", "droid"};