mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-05 04:47:43 +08:00
handle_url_builders ran for every vendored grammar, so a C helper returning an absolute pathname became a URL builder and minted a Route node plus an HTTP_CALLS edge in a language that speaks no HTTP. Gate recording to JavaScript, TypeScript and TSX. Builder entries now carry a flag in the per-file constant map: only a call_expression argument resolves one, so handing a builder to a callback builds no request. A builder whose returns are not all route-shaped literals is declined instead of attributing its one literal to call sites that take the computed branch. Five negative tests cover the cross-language case, the mixed builder, the ambiguity tombstone, the builder reference and the non-URL helper. Signed-off-by: Charles Queiroz <fcqueiroz@liquibase.com>