Joshua Udensi

WritingEssay

The Pull Request After Scarcity

Agentic coding can leave author and reviewer reconstructing code neither wrote. Approval needs a basis that survives the merge.

The pull request inherited an economy of scarcity.

Code was expensive to produce. The size of a change was constrained by time, concentration, and the number of hands available. The author had usually spent hours inside the implementation before asking for review. Authorship did not guarantee understanding, but it implied contact: the person presenting the change had encountered its decisions one line at a time.

The reviewer received a textual difference, some conversation, and a person who could explain it. The author was part of the review system. When the diff could not explain why a special case existed or which alternatives had failed, somebody carried the missing context in their head.

We still use the same process after changing the economics beneath it. An agent can now change routes, schemas, policies, and tests in one operation. The developer directing it may understand the requirement and constraints without carrying the implementation’s causal model: why this loop terminates, or where a local decision affects another part of the system.

Author and reviewer can stand on the same side of the diff, both reconstructing code neither wrote. The pull request still gives them different roles. The difference in understanding behind those roles is less certain.

What the diff leaves us to assemble

Research on code review identified this reconstruction work long before agents.1 Engineers struggled to establish a change’s completeness, consistency, and consequences for other components.2 Small pull requests reduce that work but leave it with the reviewer.

AI assistance can also separate completion from comprehension. In a randomized study of 52 mostly junior engineers learning a Python library, the assisted group scored lower on a subsequent quiz. It was a short learning exercise, not a study of production agents or expert reviewers.3

Review cannot assume the author can supply the missing context. What the change did has to be stated so it can be checked against the code.

A review claim is a checkable assertion about what a change did, one that someone can accept, reject, or qualify. It points to its evidence and names the rule behind any required approval.

In a codebase I work on, source creation and indexing each defined a valid repository path. Their rules drifted: creation could persist a path containing a tab that indexing then refused. The property that mattered belonged to their relationship:

Every path source creation accepts must also be usable by indexing.

That is the requirement. A review claim would be that the fix made it true. We put the rule in one place and tested it across the boundary: evidence a reviewer could inspect. A description such as “improve path validation” would have left the reviewer to discover the obligation.

For a refund endpoint, the claim might identify a new path to the payment provider and the policy requiring the payment owner’s approval. The code establishes the path; the organization supplies the rule and authority.

This is what a good abstraction should make possible: judge the obligation without losing access to the lines that could disprove it.

Move up without losing the way down.

Coherence is not corroboration

The author can propose a claim. So can the agent that wrote the code. If that agent also produces the tests and explanation, all four artifacts may repeat one mistaken assumption. A different model can challenge them, but agreement still needs evidence behind it.

The reviewer must be able to follow the claim to exact revisions, inspect the paths, and examine what the tests exercise. Where facts can be derived deterministically, ordinary software should establish them. The business rule needs confirmation from someone entitled to decide it. A fluent claim cannot supply its own proof or grant its author authority.

The change nobody claimed

So far, review has followed each claim down to its evidence. It must also look for consequential effects that no claim mentions.

A reviewer might confirm that the new refund route reaches the payment provider. The same pull request could relax a shared permission check, exposing customers’ payment history through an older route. The refund claim remains true while the account of the change remains incomplete.

Finding that omission requires comparing permissions before and after the change, including other routes that use the shared check. The additional access needs its own claim, evidence, and decision.

Some effects will remain unresolved because configuration or external services cannot always be inspected. Those limits belong in the review record, where someone can investigate them or explicitly accept the uncertainty. An area nobody examined is not evidence that nothing changed there.

Where this costs too much

Stating and checking claims takes work. It earns its cost where a change crosses components, owners, money, or sensitive data. A change that stays inside one component may be clear from its diff and tests. Formal claims for every typo create another queue; claims that hide omissions can make review worse. A claim does not replace close reading of a difficult algorithm.

What approval should leave behind

For the refund change, approval should record who accepted it, the evidence they relied on, and the questions left unresolved. The claim and evidence should stay attached to the version they reviewed.

That record should let someone reconstruct the decision months later, even if the reviewer has left. It should preserve the rule that applied when the change was accepted. Review becomes institutional knowledge when another person can examine the reasoning and evidence behind the decision.

The diff tells us where to look. The claim states what we are being asked to accept. Approval should preserve why we accepted it.