Skip to content
mentoor

Topic 5 of 5 · 4 min read

Reviewing finished agent work before accepting it

Goal: Specify the review screen for a finished agent task, covering the changes, the evidence, open questions and a revert action.

When an agent finishes a task, the review screen should show what changed, the evidence it works, the open questions and a one-step way to undo everything, before the result is merged or sent. The user is the last checkpoint, so the screen should make checking quick.

Check yourself · 1 of 3

Which element turns 'done' from a claim into something the user can check?

Choose one answer

Why it matters

Delegating work is only useful if reviewing it takes much less time than doing it. If the user has to open forty files to find out what happened, they will skip the review and trust the agent. A good review screen turns trust into checking: short, specific and tied to evidence. Anthropic's guide to building agents stresses testing and human checkpoints for the same reason: an agent can sound sure and still be wrong.

What the review screen shows

  1. What changed. A diff or list of changes, grouped by importance. Show the risky ones first: deleted items, changed amounts, anything sent outside the team.
  2. Evidence. Proof the work is right: tests that passed, a screenshot of the finished page, the source for each number, a link to where each fact came from. "Done" is a claim; evidence lets the user check it.
  3. Open questions. What the agent was unsure about and what it assumed. "I assumed UK spelling. I could not find the 2024 figure, so I used 2023."
  4. Not done. Items skipped or failed, so the user is not left to find the gaps.
  5. Actions. Accept, accept part, ask for changes, and Revert: one step that restores the state before the agent started.

For anything that leaves your control, such as an email to customers or a post, the review comes first and the send comes second.

Before and after

Before: "Done. I updated the pricing page and the docs." with an Accept button.

After: "Changed: 3 prices on the pricing page (Basic 9 to 12 USD, Pro 29 to 35 USD, Team 79 to 89 USD); 2 mentions in docs. Evidence: page screenshot, link check passed. Open: I did not change the annual price because the brief only listed monthly prices. Revert: restores the page as of 14:02. Buttons: Accept all / Accept pricing page only / Ask for changes / Revert."

The user sees concrete changes, proof, one open question and a safe way back.

What goes wrong

  • Rubber-stamp screens. A single Accept button and no diff invites blind approval.
  • Evidence by assertion. "All tests pass" with no output the user can open.
  • Revert that is partial. If undo works for files but not for sent emails, say so before the user accepts.
  • Too much at once. One screen with 200 changes. Sort by risk and let the user check in groups.

For code work, the review screen is a pull request, with the diff, the test run and a revert via git:

git revert --no-edit HEAD

Examples

A review screen for a pricing change

Changed: 3 prices on the pricing page, 2 mentions in the docs.

Evidence: screenshot of the new page; link check passed.

Open: annual prices not changed because the brief did not list them.

Actions: Accept all, Accept pricing page only, Ask for changes, Revert to 14:02.

What revert cannot do

An agent edits a spreadsheet and sends a summary email. Revert restores the spreadsheet but cannot recall the email. The review screen should say so before the user accepts: 'The email to 3 customers has not been sent yet. Review it first.' Sends stay behind the review.

Key points

  • A review screen shows what changed, with the riskiest changes first.
  • Evidence such as test output, screenshots and sources lets the user check a claim of 'done'.
  • Open questions and assumptions should be written down by the agent, not left for the user to find.
  • Skipped and failed items belong on the review screen as well as the successes.
  • A one-step revert, with its limits stated, makes accepting agent work safe enough to do quickly.

Common mistakes

  • Showing only an Accept button and a success message.
  • Claiming tests passed without showing the output.
  • Leaving out what the agent skipped, failed or assumed.
  • Offering a revert that quietly leaves out actions that cannot be undone, such as sent messages.

Check yourself · 2 of 3

An agent changed 200 items. How should the review screen order them?

Choose one answer

Check yourself · 3 of 3

Why should the review screen state what revert cannot undo?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic