10-year OSS veteran open-sources cribelo: AST + git history to triage 40-file agent PRs
NoMedium7071 · reddit · 2026-11-19
Reddit user NoMedium7071 shares how Claude Code made his 10-dev team's PRs balloon to 40+ files, where humans skim randomly and LLM reviewers drop 40 unread comments per PR.
Drawing on a decade of building static analysis tools, he built cribelo (MIT, open source): a small LLM-free CLI that ranks files in a PR using AST and git history — complexity deltas, fan-out (how many files depend on a file), recent bugfix frequency, test coverage — while hiding moved/reformatted code. On a 34-file PR it surfaced a file that 83 others depend on, which he'd have opened near the end.
Notably, Claude Code wrote most of the parsing code: supporting a language used to take 1.5 years; C++ took 3 weeks, letting him focus on validating rankings against real PRs. It complements rather than replaces LLM review — backtests on 28 repos show skim-marked code gets fixed half as often later, though a third of later bugs still hide there.
More from coding & agent
- I8-Project Uses AI Agents to Crack Long-Open Higher-Curvature Calculations in 11D Supergravity — burny_tech · 2026-11-19
- Choosing Between Redis, Kafka, Elasticsearch and PostgreSQL: Start With the Workload — goyalshaliniuk · 2026-11-19
- Dev Celebrates Agents Rewriting Everything to Rust as TypeScript and Ruby 'Vanish' — smlpth · 2026-11-19
- Gemini agent unpromptedly trains an ML model on user's Spotify taste while fixing MCP — lyraxana · 2026-11-19
- SocialCrawl launches Discover API: one MCP endpoint to search Reddit, YouTube, X and more — dooddyman · 2026-11-19
- How much do you let your agents do unsupervised? Devs debate production approval boundaries — Weird_Impression_264 · 2026-11-19