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.

Original post →

More from coding & agent

coding & agent channel →