KRF is a pull request reviewer I built for Furniture.com. It runs on Claude, ships as a reusable GitHub Actions workflow, and has reviewed 3,792 pull requests. The median reviewed pull request cost about $0.39 and the mean about $1.16, measured in November 2026 at list price. The managed AI review it replaced cost about $20 per pull request.
Those numbers are the headline, but the interesting part is the design. A reviewer that is cheap and wrong is worthless, so most of the work went into making each review trustworthy first and cheap second. This article covers what KRF is, how one review is structured, what it has caught, what it cannot do, and where the cost comes from.
What KRF is
KRF reads a pull request's diff against the repository's own written rules. It posts inline findings, replies in threads, writes a summary and sets a verdict status that branch protection can require. It runs as its own GitHub App, so its comments and its status are separate from any person's account, and it is consumed by other repositories as a reusable workflow.
I built it because I wanted a reviewer that behaves like a teammate who has read the team's rules, not a generic linter with opinions. The rules are the point. A review is only as good as what it is checked against.
How a review is structured
A review is a pipeline, not a single prompt:
- Facts are computed in code. Anything a model cannot reliably see in a diff is calculated first and handed to Claude as a fact.
- Parallel Claude Opus passes look for problems in each chunk of the diff.
- One synthesis pass ranks the findings and decides the verdict.
- KRF posts inline comments on the right lines, a summary and the verdict status.
Facts, not guesses
A model reading a diff cannot tell whether a function is already defined elsewhere, whether a banned data-access pattern appears, whether a change deletes a teammate's recent work, or whether two open pull requests claim the same migration number. Code can answer all of those. So code does, and the answer goes into the prompt as ground truth. This removes a whole class of confident but wrong comments.
Comments on the right line
The diff is annotated with real line numbers before the model sees it, so an inline comment lands on the line it is about. The diff is fetched as text through the API and never executed.
Find, then rank
Separating the search from the judgment matters. The parallel passes are allowed to be thorough. The synthesis pass sees all of their findings together, drops what does not hold up, orders what is left and decides the verdict. One pass doing both tends to either miss things or bury the reader.
Rules it cannot rewrite
Review policy lives in the reviewer's own repository, not in the repository being reviewed. That means a pull request can never change the rules that judge it. A change to the reviewer goes live only when its release tag moves, which is a deliberate act separate from merging.
It also fails loud. A repository with no review policy is an error, not a silent generic review. A reviewer that enforces nothing and a reviewer that finds nothing look identical, so there is no quiet fallback.
People stay in charge
- Dangerous-looking changes escalate to a named owner as Needs Human.
- Owners can approve or acknowledge from the pull request itself.
- Long reviews converge: after several rounds, non-critical findings stop blocking.
- Every finding says whether it is on code the author just wrote, so a reader can tell new problems from old ones.
The verdict is a status, and the merge decision stays with a person. KRF is one gate among four: tests, AI review, recorded verification and a human decision.
What it has caught, and what it misses
- Two pull requests open at the same time claimed the same migration number. Neither diff looked wrong on its own, so the check now runs across open pull requests.
- Shell-quoting bugs in startup hooks that would have broken every session at launch.
- Its own bug: reviewing a change to itself, KRF found its SQL table extractor reading the English phrase "FROM scratch" as a table name.
What it misses is the usual list for any reviewer that reads a diff. It does not run the code. It does not know your product intent unless the rules say so. It can be wrong, which is why every finding is a comment a person can disagree with and why a human decision sits behind the verdict. I treat it as a fast, consistent first reader, not as the last line of defense.
The cost math
| KRF | Managed AI review it replaced | |
|---|---|---|
| Pull requests reviewed | 3,792 | n/a |
| Median per reviewed pull request | about $0.39 | n/a |
| Mean per reviewed pull request | about $1.16 | about $20 |
Compare mean to mean: about $1.16 against about $20. The median is lower because most pull requests are small, and a few large ones pull the mean up. Both numbers come from the per-run cost records KRF keeps, at list price.
Where the cost goes down
- Prompts are cached, stable parts first, so the repeated rules and context are read at the cached rate.
- The cache is warmed before the parallel passes read it, so they do not all pay full price for the same prefix.
- Every run reports its own cost, in the job summary and on the pull request. Nobody has to guess.
Caching cut the bill by a further 22.5%. The reporting matters as much as the saving: a cost you can see is a cost you can manage.
What to take from it
If you are weighing a managed AI reviewer against building your own, the decision is mostly about control. The managed product gives you speed to start. Owning the reviewer gave me the rules, the escalation behavior, the cost reporting and the price. At about $20 per pull request, the volume a busy team produces gets expensive quickly. At about $1, it does not.
It is not free of effort, and it is not for every team. A reviewer is software you now maintain. For one team that reviews thousands of pull requests, that trade was clearly worth it. If you want to run the numbers for your own volume, the AI review cost calculator on this site does the arithmetic.