mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-09 09:11:00 +08:00
Teach query_graph's active-overlay Cypher path to answer node-only degree properties and simple EXISTS predicates from ready overlay edges instead of forcing those shapes back to canonical rows. Relationship-pattern Cypher and id() still remain canonical-only until active relationship binding is available, so the change expands overlay freshness without pretending full active relationship traversal exists. Validation before commit: build/c/test-runner --suite=mcp --filter active_edges_for_degree_and_exists; build/c/test-runner --suite=mcp --filter id_query_canonical; build/c/test-runner --suite=mcp; build/c/test-runner --suite=cypher; build/c/test-runner --suite=store_nodes; scripts/source_safety_check.sh; git diff --check; make -f Makefile.cbm cbm. Logs: /private/tmp/cbm-test-mcp-active-cypher-edge-derived-20260704T-current-2.log, /private/tmp/cbm-test-mcp-id-canonical-after-active-cypher-20260704T-current-2.log, /private/tmp/cbm-test-mcp-active-cypher-suite-20260704T-current-2.log, /private/tmp/cbm-test-cypher-active-edge-derived-20260704T-current-2.log, /private/tmp/cbm-test-store-nodes-active-edge-derived-20260704T-current-2.log, /private/tmp/cbm-source-safety-active-cypher-edge-derived-20260704T-current-2.log, /private/tmp/cbm-diff-check-active-cypher-edge-derived-20260704T-current-2.log, /private/tmp/cbm-prod-build-active-cypher-edge-derived-20260704T-current.log. Signed-off-by: Andrew Hundt <ATHundt@gmail.com>