Removing LLM calls from automated code review: Glob+Grep pipeline with a narrow decision model

Ok-Buyer-9421 · reddit · 2026-12-01

A developer shares an architecture stance for automated code review: use as little probabilistic intelligence as possible.

For a rule like "no database operations inside UI components", he builds a pipeline: Glob identifies relevant files, Grep detects potentially relevant operations (both deterministic, no model), and only the final boundary-violation judgment goes to a specialized decision model (he's experimenting with Jev) that does narrow semantic judgment with no text generation.

His argument: deterministic problems shouldn't get probabilistic components, and intelligence doesn't require a general-purpose LLM. He prefers ten independently testable assertions over one large review prompt. The approach emerged while building Agentests, an open-source testing framework.

Original post →

More from coding & agent

coding & agent channel →