Files
codebase-memory-mcp/tests
Andrew Hundt 14cf8a8714 tests: add trace/snippet source tagging and cross-edges null safety tests
3 new tests:
- test_trace_results_have_source_field: verifies trace_call_path
  results include source:"project" tagging
- test_snippet_has_source_field: verifies get_code_snippet results
  include source:"project" provenance for project nodes
- test_cross_edges_null_safety: verifies cbm_dep_link_cross_edges
  handles NULL store, NULL project_name, empty string, nonexistent
  project without crashing (returns 0)

Also adds #include <depindex/depindex.h> for cbm_dep_link_cross_edges.

Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-03-21 20:22:13 -04:00
..