From c66118a4571cfc30fe5ee041c96170699071af40 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Fri, 14 Nov 2025 16:24:15 +0000 Subject: [PATCH] file_node_id fixed --- mcp_codebase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mcp_codebase.py b/mcp_codebase.py index 053891c..476c813 100644 --- a/mcp_codebase.py +++ b/mcp_codebase.py @@ -2105,6 +2105,7 @@ def build_indexes(): # Keep the same ID (`file::`) but store the full set of # attributes so that downstream code can rely on `name`, `lang`, # and `file` (even though `name` will just be the file path). + file_node_id = f"file::{fpath}" if file_node_id not in graph.graph.nodes: graph.add_node( file_node_id,