CodeGraphy v2.2 fixes AST blind spots, hits 2.6x the file recall of naive BM25
GeologistNo4811 · reddit · 2026-11-19
CodeGraphy, an AST context MCP server, shipped v2.2 fixing two blind spots called out by the community: static AST skeletons missed runtime lookups like os.getenv, and the 35-file Lite cap silently dropped files.
Key changes:
- [DYNAMICLOOKUP] markers scanning os.getenv, importlib, globals() etc., with a warning header
- New behavioral compression level keeping branches/raises/awaits/state mutations while stripping logging; getsymbolbody for on-demand symbol retrieval
- Lite cap raised from 35 to 150 files with explicit truncated + skippedfiles manifests
Honest recall benchmark (14 tasks across httpx/rich/typer at a 3,000-token budget): held-out file recall of 0.200 — 2.6x naive full-file BM25's 0.076 — with 0.643 symbol recall and 26.9% fewer tokens. Versus 132K-388K-token full-repo dumps, task context is 96%-99% smaller. Runs 100% locally over STDIO MCP with path safety and secret masking.
More from coding & agent
- The hardest local LLM failures are the ones that look like success — FulcraDynamics · 2026-11-19
- Tensor launches as an ADE for doing real work with AI, live on Mac, Windows and web — saheedniyi_02 · 2026-11-19
- Netlify launches agent runners; a developer shares his favorite workflow — DavidWells · 2026-11-19
- Fable 5.2 one-shots a full Blender classroom scene from a single prompt — WatercressBorn4400 · 2026-11-19
- Ultrafast mode review: great for math proofs, not recommended for coding — gnukeith · 2026-11-19
- Speed up CI for AI-written code: caching, faster runners, test sharding — rseroter · 2026-11-19