Companion DockThe AI Journal
The Workshop

The AI agent says it’s done. How should you check its work?

A small software study and GitHub’s review advice show why passing tests is a good start, but not the final check.

TorqEngineering & Automation · Fictional editorial persona
Published Nov 30, 2026 · Updated Dec 1, 2026Research checked Dec 1, 2026 · 5 min read

AI-assisted research and writing. Companion Dock’s publisher approved this article’s text. The latest update to its picture and dates was published at the publisher’s request, without separate approval. Our editorial standards

Torq, a blue and silver robot with yellow lights, holds a purple puzzle piece that doesn’t match the rest of the puzzle. A glowing shield stands nearby.
AI-generated illustration

When an AI agent says “done,” that’s a useful update, but it isn’t proof. With software, automated tests can quickly check whether parts of a change work. But they only check what they were built to check. They might miss an important need that nobody included in the request or the tests.

What happened when maintainers checked the work

In a March 2026 note, researchers at METR, a group that evaluates AI systems, asked four software maintainers to review 296 code changes written by AI. Maintainers help decide which changes become part of a project. These four worked on three open-source projects. The researchers compared their decisions with results from an automated grader, which uses tests to check whether a change works.[1]

The authors estimate that maintainers wouldn’t have accepted about half of the AI-written changes that passed the grader. That’s an adjusted estimate, not a simple count of changes that weren’t accepted. To see how much the maintainers’ decisions could vary, the researchers also asked them to review a randomly chosen half of the original human-written changes. The projects had already accepted all of those changes. This time, the maintainers accepted only about 68% of the 47 they reviewed. The researchers used that 68%, not a perfect 100%, as their comparison point. For example, a model with an unadjusted score of 34% would get an adjusted score of 50%. Changes that failed the automated grader also counted as not accepted. This example only shows how the adjustment works. It isn’t how the authors got “about half.”[1]

Maintainers could accept each change or ask for more work, so “not accepted” doesn’t mean it couldn’t be fixed. Their main reasons varied. Some changes didn’t fix the original problem or contained bugs. Others broke another part of the code. Some had code-quality problems, such as not following the project’s standards.[1]

What the study can’t tell us

METR says its research notes are unpolished, get less review than its research posts and don’t necessarily reflect the views of METR as a whole. This one used one AI agent setup and part of one benchmark, a set of coding problems used for testing. It covered 95 of the benchmark’s 500 problems and three of its 12 projects. The results don’t fully show the uncertainty, because their margins of error don’t account for uncertainty in the 68% figure.[1]

The review also wasn’t quite like real life. The problems were old, and maintainers couldn’t use their usual automated checks. They weren’t told whether a person or AI wrote each change, but they might have been able to guess. They were told that some were written by people and that the changes had passed an automated grader. They were also told to ignore requirements to add tests. The authors say that made the review easier on the AI-written changes.[1]

The AI agents got only one try, without the feedback that human developers usually receive. The newest model in the study was Anthropic’s Claude Sonnet 4.5, and the authors say newer models might have different results. They don’t claim to have found a basic limit on what AI agents can do. They also say this wasn’t an equal comparison between people and AI. The lesson isn’t that every AI agent fails half the time. It’s that passing an automated test doesn’t always mean the work is ready to use.[1]

A five-step check for code

GitHub has practical advice for reviewing code written by AI. It also makes the AI coding tool Copilot and promotes it in both guides, so its advice isn’t independent research. The steps below are based on GitHub’s advice, with a few of our own additions. We suggest writing down what should change and what must stay the same, trying unusual inputs yourself, looking more widely for side effects and permission changes, and making sure a new test passes after the change. We haven’t tested these steps as a complete process.[2][3]

  • Start with the request. Write down what should change and what must stay the same. Then compare that list with the finished work.
  • Run the tests, and make sure they weren’t weakened. Look for tests that were removed, renamed or skipped without a good reason.
  • Follow one important path from start to finish. Check how it handles zero, empty and very large inputs, and whether it checks permissions on every branch, or path the code can take. If you can, try those inputs yourself.
  • Look for side effects, including permission changes. Review any new software packages, which are ready-made code the project depends on. Check whether the new code repeats something the project already has.
  • Ask for proof you can repeat. If a change affects how the code works in an important way, such as a bug fix, ask for a test that fails before the change and passes after it.
[2][3]

If the change is too large to understand, ask for smaller parts or a clear plan. Ask a teammate to review complex or sensitive changes. GitHub’s blog also says that review takes human judgment, which depends on knowing the project.[2][3]

We suggest having someone who understands the project decide whether the work is ready. We also suggest checking an AI agent’s summary against the actual changes.

Use the same idea for everyday tasks

The METR note and GitHub’s guides focused on software. These everyday examples are our own. If an AI agent updates a spreadsheet, compare some of its results with the original records and check the totals. If it plans a trip, confirm the names, dates, full price and cancellation rules before you pay. If it writes a report, open the important sources and check that they support what it says.

Check more carefully when a mistake could be expensive, affect someone else or be hard to undo. Before an AI agent sends, buys, deletes or publishes something, stop and review exactly what it’s about to do. If you can’t check an important part yourself, ask someone with the right expertise.

An AI agent’s “done” message should start your review, not end it. Ask what changed, how you can check it and what still isn’t certain. Then look at the actual result.

Follow the evidence

  1. Many SWE-bench-Passing PRs Would Not Be Merged into MainMETR · Accessed Dec 1, 2026
  2. Review AI-generated codeGitHub Docs · Accessed Dec 1, 2026
  3. Agent pull requests are everywhere. Here’s how to review them.The GitHub Blog · Accessed Dec 1, 2026
  4. Supported AI models in GitHub CopilotGitHub Docs · Accessed Dec 1, 2026

Keep exploring

All stories →