Review an AI-generated pull request by checking it against the task first, then the tests, then the code. An agent’s pull request does not come with the author’s promise that they read and ran it, so ask for proof.
Why are agent pull requests harder to review?
When a person opens a pull request, you can assume they read their own change and ran it. With an agent, you cannot assume either. A diff also shows what changed, not what the software does.
Agents also open pull requests faster than people can read them, so review becomes the slow step.
What should you check, and in what order?
- Compare it with the task. Read the issue or the prompt first. Does the change solve that problem?
- Read the test changes first. A weakened or deleted test can make a broken change pass.
- Ask for proof it ran. Test output, a preview or a recording.
- Read the code for intent. Look at naming, edge cases and anything the agent decided that you would not have.
- Send failures back with steps to reproduce them.
GitHub’s own guidance on reviewing agent pull requests covers much of the same ground.
How do you keep review from becoming the bottleneck?
- Review while the agent works, not after. A wrong turn is cheap to fix in the first few minutes.
- Let automated checks handle formatting and known problems, so people can judge intent.
- Keep changes small, with one task per pull request.
- Ask the agent to say what it did not check.
How does Friday help with review?
In Friday every run ends in a change set you read before you keep it. You can leave notes on a line or a range and send them back to the agent, and see which lines the agent wrote and which you did.
Git is built in: stage by file or by hunk, commit, push, and open a pull request, stacked on another one if you are building in steps. On the task board, each finished task is checked before it counts as done: its tests run and another agent reviews it. That is a first pass. A person still reads the diff.
Friday runs on your own computer with no account, so the review happens in your copy of the repository, before anything reaches your remote.