← All essays

Essay

Your AI Agent Says It’s Done. What Did It Actually Verify?

A completion report can be accurate and still leave the requested work unfinished. Here is how I separate an agent’s evidence from the outcome I need to accept.

A completion check beside a magnifying glass inspecting evidence.

“Implemented and wired the onboarding startup gate.”

That was an agent’s report during work on MoodPixels onboarding. It also reported 380 passing tests; the coordinating agent independently reran the suite and confirmed the result. Then a separate review found that the requested flow was missing a step, and that a restore choice could be lost if the app was interrupted at the wrong moment.

The tests were not lying. The agent had also been clear that it had not run the UI on a device or emulator. The problem was subtler: evidence that the implemented checks passed was not the same thing as evidence that the requested onboarding flow was complete.

That distinction changes how I read an agent’s “done.” I don’t need a longer list of green checks for every task. I need to know whether the checks connect the change to the outcome I asked for.

A passing suite is not the acceptance criterion

The onboarding plan included more than showing a welcome screen. A new user could create a first entry and then be offered an optional reminder. Someone restoring a backup needed a safe route into that flow.

After the agent’s report and the independent test run, a separate review found that saving a first entry did not continue to the reminder offer. It also found that onboarding could be marked complete before the backup screen opened. If the app stopped in between, the selected restore destination was only held in memory and could be lost.

Those were review findings on an early working version, not a customer incident or a device-level reproduction. The change was held for fixes rather than treated as ready on the strength of the passing suite.

What made the review useful was not that it distrusted the test runner. It went back to the requested journey and followed the transitions the tests had not established: what happens after the entry is saved, and what happens if the app stops between choosing restore and opening it?

A test suite can pass because its assertions accurately describe the code that exists. That does not guarantee the suite covers the behavior that was requested. The gap is especially easy to miss when a task spans several screens, processes, or services: each local piece can look reasonable while the handoff between them is incomplete.

Read the report against the request

An agent’s final message usually mixes several kinds of information: what it changed, which checks it ran, and what it believes the result means. Those are not interchangeable. “The tests passed” describes a check. “The onboarding flow is complete” is a claim about a user journey.

Before accepting a report, I bring it back to three questions:

  • Outcome: What did I ask to work, and under which conditions?
  • Evidence: What did the agent actually inspect or run, against which state and environment?
  • Gap: Which consequential part of the outcome remains untested, unreviewed, or inaccessible—and does that matter for this decision?

The last question matters because not every gap warrants the same response. A copy change and a restore flow do not have the same failure cost. A focused unit test may be enough for one; a state-transition review and interruption test may be necessary for the other.

Follow the next handoff

Consider a hypothetical deployment task: an agent changes a configuration file, runs the build, and reports success. The build shows that the project can be built with that change. It does not establish that the target environment received the configuration, that the deployed service loaded it, or that a user can exercise the intended behavior.

The useful next check depends on the claim. If the task was only to prepare the configuration for review, the build and diff may be appropriate evidence. If the task was to make the configuration live, inspect the deployment and read back the relevant state or exercise a safe observable path. If deployment needs approval or the environment is inaccessible, stop at the boundary and say so.

The same reasoning applies to a database migration, an email integration, or a background job. A successful local command is evidence about that command. The next consequential handoff is where the result must be received, persisted, or acted on for the requested outcome to exist.

This does not mean every change needs a production experiment. Some checks are expensive, destructive, or impossible without access. The point is to choose the next check based on the decision, not to run every check available. When a boundary cannot be exercised safely, the result should remain a bounded claim with an explicit unknown.

Make the agent part of verification

This is not an argument for manually repeating every command an agent runs. The agent can compare the implementation with the original acceptance criteria, identify untested transitions, inspect the changed state, run a safe end-to-end check, and report what it could not verify. A separate reviewer—human or agent—can be useful when the implementation and its tests share the same assumptions.

Ask for a report that connects the pieces: what changed, what was checked, what outcome that check supports, and what remains open. “I ran the suite; I did not exercise the restore interruption path” gives me a decision to make. “Done; tests pass” leaves me to discover that distinction myself.

An honest report can still describe incomplete work. The responsibility is not to make agents sound less confident; it is to keep confidence attached to evidence. When the claimed outcome crosses a boundary the checks have not crossed, either verify that boundary or carry the uncertainty forward explicitly.

“Done” becomes useful when I can see what it means—and decide whether that is enough for the work I asked to be done.