Best Thinking on Review

Imagine two pull requests in a library app. The first fixes the empty state when a catalogue search returns no results. Forty lines, including a browser test. The author has shipped three other changes in that part of the app. The second changes who can export a member’s borrowing history. One line. CI is green on both.

I’d want the first PR to show me an empty search working in the browser. On the second, I’d want the person who owns exports to read the change and confirm who should be allowed to download the file. The same green check can sit beside both PRs while the team is still waiting for two very different things.

This note is part of the Engineered Intelligence digital garden and follows my map of the software factory. About the digital garden · The software factory stack

Stage · Growing

For this piece · I’d revisit these rules after seeing which changes they actually send to a reviewer.

Last updated ·

Lauren Tan starts with making the worker prove its own fix. For the search PR, have it reproduce the broken empty state, make the change, then repeat the same steps in the app. Keep the test output with the commit that passed. The next person can see what the test exercised without setting up the whole app again. Tan on the smallest verification loop

Which PR gets the faster review?

Will Larson describes Imprint’s small-change check. A PR has to be under 1,000 lines, with no P1 or P2 findings from automated review. The author needs at least ten prior merges in each affected service. Imprint limits how many services the PR can touch, excludes shared libraries, and lets each repo keep sensitive paths out of the fast lane. CI decides eligibility. Once the checks pass, an approval skill can approve the PR or leave it for normal review. Imprint’s small-change rules

The search fix misses Imprint’s experience requirement. I like that the rule gives you a reason you can check. If the owner keeps rubber-stamping changes like this one, you have a specific rule to revisit. The export change needs a person even if its author has a hundred merges, because the reviewer still has to recognise a sensitive change and leave it for human review.

Benjamin Stark describes a different rule at Ona. It counts additions and deletions toward the 1,000-line ceiling and sends changes involving auth, migrations, protobuf, infrastructure, CI, audit logs, or monitoring to a person. The search fix can qualify under those rules if the agent’s review comes back clean. The export change goes to a human because it changes access.

At Ona, a person still clicks merge after the agent approves. Ona reports that median time to first approval fell from 2 hours 49 minutes to 3.8 minutes across four-week windows of human-authored PRs. They also changed how reviewers were assigned. I’d look at where a PR actually waits before deciding which step to automate. Ona’s policy and results

Katelyn Lesse says Anthropic runs a Claude classifier on every PR. If the change needs human review, it decides how many reviewers and which teams to ask. Her example is an SDK version bump. One agent opens the PR. A separate agent checks whether it fits a familiar kind of change and does what was intended. Some of those changes can merge and deploy without a person stepping in. Lesse on routine changes · Lesse on routing review

For the search fix, I’d ask whether this is a change the team already knows how to verify. Under the Claude Code team’s published rules, a low-risk fix from a trusted author can merge once automated code review, security review, and CI pass. On the export change, I’d expect the classifier to ask the team that owns access to review it. The policy calls for one approval at medium risk and two at high risk. A protected path can require a person regardless of the tier. Anthropic’s approval tiers

Who decides what ships?

Harjot Gill puts the change-management decision at the release. At CodeRabbit, the engineer responsible for shipping can see the PRs that will go out together. If the search fix and the export change are in the same release, I’d want the owner to see both commits, the checks run against the combined build, and how to roll it back. The export decision should still say who approved the new access rule. Gill on release approval

The review primitives

I’d want these in place before changing who can approve a PR.

PrimitiveWhat it is
Commit or buildRecord which version each check ran on and each approval covered.
Change authorWho made the change and which engineer owns it if an agent wrote it. A policy can take the author’s experience in that part of the code into account.
ReviewerWho reviewed the change, whether a person or an agent, and their verdict. If the policy requires an independent reviewer, check that the reviewer is separate from the author.
Independent checksTests and other checks that can be run separately from the author’s work. Keep the results so a reviewer can see what was verified.
Risk policyVersioned rules for what can take the fast path, what always goes to a code owner, and how many approvals are required.
Merge gateThe repo rule that lets a change land once the required checks and approvals are in.
Release gateThe decision to ship a specific build. Check the changes together and record who approved the release when approval is required.
Trace and recoveryA durable record of checks, decisions, and the last verified step, linked to OpenTelemetry. Keep the last known-good build for rollback.

What I’d try first

I’d run the eligibility check in report-only mode on one part of the codebase. Replay a few recent PRs the owner waved through, plus the ones the team had to revert. Save the commit, the check results, and why the rule would have sent each PR to a person. Then compare the proposed fast lane with what the owner actually did.

The empty-state fix is the one I’d want to get back to its author while they still have the app open. The export change should land in the owner’s queue with the access rule and the test that exercises it. I’d measure how long each waits for a person, and read the reverts before widening the rule.