Skip to content

A review checklist for pull requests written by coding agents

Eight questions to ask before accepting a pull request an agent wrote: scope, tests, hidden changes, claims. Plus why the author should never be the judge.

Published by Contextingo.

Agent-written code often looks right. It is formatted, it has comments, and it comes with a confident summary. That is exactly why review needs a different habit: check the claims, not the tone.

The checklist

  1. Is the change limited to the issue? Look at the file list before the diff. Unrelated edits are the most common surprise.
  2. Does the summary match the diff? If it says “added validation” find the validation.
  3. Did the checks run on this commit? A claim that tests pass is not a test run. Look at the CI result for the exact commit.
  4. Were tests added or changed, and do they test the behaviour? Watch for tests that were weakened to pass.
  5. Did the agent change something it was told to leave alone? Configuration, lock files, generated code.
  6. Are the assumptions written down? A finding without a source is a guess.
  7. Was something already tried and rejected? Check the failed attempts for the files involved.
  8. Would you accept this from a colleague? If not, ask for changes. The author being an agent changes nothing.

Why the author should not judge

An agent that marks its own work as done is grading its own homework. Contextingo takes the other route: the agent submits with review_submit, Contextingo fetches the CI results itself, and a person accepts or asks for changes in the browser. There is no tool that lets an agent accept its own work.

Read more: why a person should review agent-written code.

Questions

Good to know.

Can CI replace the person?

Only if the project chooses so. With automatic review turned on, a submission is accepted only when every CI check Contextingo fetched passed; anything else goes back to a person.

How long should such a review take?

About as long as for a colleague’s change of the same size. The checklist is there to point your attention at the claims, not to add steps.

Nothing learned is lost. Nothing unchecked is done.