mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-08 08:53:43 +08:00
Follow-up to #208. The decorator pass now emits USAGE edges, but the degree-filter subqueries in cbm_store_search counted only CALLS edges, so a function used only via @decorator was still reported as dead by search_graph(max_degree=0). Extend the in_deg/out_deg subqueries to count CALLS and USAGE so both pass_usages output and the new decorator edges feed into dead-code detection as intended.