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.

Merge pull request #1561 from tmonestudio/codex/bt-240-truthful-index-freshness

Martin Vogel5689ea54ceac
diff --cc tests/test_git_context.c
index 5075e76e6,a4fc61b7d..60bc572ca
--- a/tests/test_git_context.c
+++ b/tests/test_git_context.c
@@@ -654,8 -811,14 +962,16 @@@ SUITE(git_context)
RUN_TEST(canonical_root_repo_root);
RUN_TEST(canonical_root_subdir);
RUN_TEST(canonical_root_linked_worktree);
+ RUN_TEST(is_linked_worktree_true_for_linked_worktree);
+ RUN_TEST(is_linked_worktree_false_for_submodule_and_nongit);
RUN_TEST(git_context_ignores_inherited_repo_env);
RUN_TEST(githistory_ignores_inherited_repo_env);
+ RUN_TEST(worktree_status_ignores_inherited_repo_env);
+ RUN_TEST(worktree_status_clean);
+ RUN_TEST(worktree_status_tracked_modified);
+ RUN_TEST(worktree_status_untracked);
+ RUN_TEST(worktree_status_rename_counts_once);
+ RUN_TEST(worktree_status_sample_cap_truncates);
+ RUN_TEST(worktree_status_mixed_tracked_and_untracked);
+ RUN_TEST(worktree_status_unavailable_non_repo);
}