How to Review Agent Pull Requests Without Rubber-Stamping
To review agent pull requests well, you need a different routine from the one you use for a colleague's work. An agent produces more changes, faster, with a confident summary attached, and it will happily push again while you are reading. The risks are specific: files changed that the summary never mentions, approval by someone who does not own the area, and approval of a state that no longer exists. This guide gives a routine for each, with examples from Forkit's review threads.
Why you should review agent pull requests differently
Several vendors now say the same thing: once generation is cheap, code review is the bottleneck. Cognition and Warp both use that word. Vercel's essay on shipping agent-written code warns about false confidence and separates leveraging agents from relying on them.
Three properties of agent work drive the routine below.
- The description is generated too. A person's pull request description is a rough guide. An agent's is a polished summary written by the same system that wrote the code. It can be wrong in the same ways.
- Scope wanders. Agents fix nearby things. Sometimes helpfully.
- The branch moves. An agent that receives a comment acts on it within minutes.
Step 1: Start from the changed files, not the summary
Before reading any code, look at the list of changed files and ask whether each belongs to the task.
- Files outside the expected directories are the first thing to question.
- Changes to configuration, CI, lockfiles and permissions deserve a look even when small.
- A summary that names three files on a change that touches seven is a signal.
Do not trust the agent's own list. Forkit's review threads take the file list from GitHub when its GitHub App has the pull request. Without the App, the list is the agent's review request plus every file the session recorded changing through its hooks. The stated reason is that a short list supplied by the agent cannot hide a file. When GitHub lists files the session never recorded, the review page marks them "not in session", which usually means something outside the agent's session changed them.
Step 2: Send it to the person who owns the files
The reviewer should be the owner of the code, not whoever started the agent. The person running an agent is often the least suitable reviewer: they wrote the prompt and want it to have worked.
Write ownership down as rules. On GitHub that is a CODEOWNERS file with required code review. In Forkit, workspace owners map path globs to approvers with approval rules:
*.sql→ Bensrc/auth/**→ Clara
Each pattern that matches a changed file needs one of its people, and approvals accumulate until every pattern is satisfied. If rules exist and the changed files are unknown, a workspace owner must approve. Anyone can ask for changes.
Step 3: Read the checks before the code
Let machines go first.
- Tests, linters and type checks should be green before a person spends attention.
- A review agent can catch mechanical problems. See AI code review vs human review.
- Check which commit the checks ran on. Green checks on an older commit say nothing about the current one.
With the GitHub App installed, Forkit records check runs against the thread, and a failed check counts as a new event.
Step 4: Read for intent
Now read the diff, with three questions:
- Does this do what was asked, and only that?
- Would I have accepted this design from a person?
- What did it not do? Missing tests, missing error handling, a skipped migration.
Agents are good at producing code that looks finished. The omissions are where the review earns its time.
Step 5: Approve a specific state
This is the step most often skipped. An approval should mean "I approve what I looked at". If the agent pushes again, that approval should not silently cover the new code. A stale approval is worse than none, because it looks like a check that happened.
In Forkit an approval carries the sequence number of the last event the reviewer saw. If anything newer exists on the thread (a new commit, a failed check, a message), the approval is refused and the reviewer is shown what changed. The check and the write happen in one atomic database batch, so two events cannot race past each other.
On GitHub, look at your branch protection settings for how approvals are treated when new commits arrive.
More detail: stale approvals.
Step 6: Give feedback as one batch
Agents act on each message as it arrives. Five comments sent separately can produce five rounds of changes, each invalidating your reading of the last.
Collect your notes and send them together. Forkit's "Ask for changes" accepts a note per file and sends them as one batch: a readable message for the thread plus structured per-file notes for the agent. The agent then makes one revision.
Write notes as instructions:
- Weak: "This seems off."
- Better: "
session.ts: keep the old cookie name for one release; add a test for expiry."
Step 7: Record who decided
Afterwards you should be able to answer: who approved this, and what exactly had they seen?
In Forkit only a person can decide a review or resolve a thread. Messages from other agents are stored separately and cannot approve. The thread keeps the events in order: the request, the files, the checks, each approval and the state at the time.
A short checklist
- The file list comes from the repository, not the agent's summary.
- Every file belongs to the task, or I know why it changed.
- Checks are green on the current commit.
- The owner of each area has approved.
- My approval refers to the latest state.
- Feedback went as one message.
When a lighter routine is fine
Not every change needs all seven steps. Formatting, dependency bumps with passing tests and generated files can go through on checks plus a quick look at the file list. Decide in advance which paths qualify, and keep authentication, payments, migrations and infrastructure out of that class.
Reviewing before there is a pull request
Agents working locally often have something worth a look before a branch is pushed. A review thread does not need a pull request: an agent can request review from its session, and the thread shows the files it recorded. This is useful for catching a wrong direction early, when changing course costs a comment instead of a rewrite.
Related: CODEOWNERS for agent pull requests vs approval rules.
Where Forkit fits
Forkit does not read your code or judge it. It makes the human part of review reliable: the right approver by path, a file list the agent cannot shorten, approvals tied to a state, and feedback delivered in one batch. It is free to try. More at forkit-mcp.com.