mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-11 09:25:35 +08:00
Route registration detection during AST extraction: callee QN matched against router frameworks (gin, chi, Express, Laravel, Ktor, etc.), handler reference captured as second_arg_name, Route + HANDLES edges created during resolution. Replaces disk-reading route discovery for non-decorator frameworks. Remove prescan infrastructure entirely (-350 net lines): - cbm_prescan_t, cbm_prescan_http_site_t, cbm_prescan_route_t, cbm_prescan_config_ref_t structs removed from pipeline_internal.h - prescan_http_sites, prescan_routes, prescan_config_refs, prescan_add_route removed from pass_parallel.c - prescan fast-paths removed from pass_httplinks.c and pass_configlink.c - prescan allocation/cleanup removed from pipeline.c All post-passes now work without prescan: - HTTP/async edges: service_patterns during resolution - Route registration: CBM_SVC_ROUTE_REG during resolution - Decorator routes: gbuf properties (no disk reads) - Config file refs: disk fallback (few files)