Files
codebase-memory-mcp/tests
Andrew Hundt 2d00624607 perf(mcp): reuse bfs pagerank scores
Carry the PageRank score already selected by cbm_store_bfs through cbm_node_hop_t so trace_path can serialize it without issuing one cbm_pagerank_get query per emitted node.

This keeps the trace_path response shape unchanged while removing up to O(k) extra point queries per traced direction, where k is the number of emitted traversal nodes.

Validation: make -f Makefile.cbm build/c/test-runner; CBM_ONLY_SUITE=store_search ./build/c/test-runner; CBM_ONLY_SUITE=mcp ./build/c/test-runner; bash scripts/check-source-safety.sh; git diff --check.
Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
2026-06-30 05:41:19 -04:00
..
2026-06-03 02:13:30 +02:00