Essay

Make the agent write down where it disagreed with you

The most useful part of an agent's handoff is not the summary of what it built. It is the list of places it chose not to follow the brief.

When I split a feature across agents, a backend agent usually goes first and a frontend agent builds against what it produced. The seam between them is where things go wrong, so I stopped letting the seam be implicit. Every implementation task now ends with a findings file, and that file has a required section most people skip: deviations from the brief.

What the findings file contains

  • Build status, with the exact command and the error count. “Succeeded, 0 errors, no new warnings” is a claim I can check.
  • Files created, so I review the shape of the change before the content.
  • The contract for the next agent. Routes, request and response shapes as real JSON, ordering, what is deliberately left out. If the frontend agent has to read backend code to know the response shape, the handoff failed.
  • How the constraints were met. One or two sentences per non-negotiable rule, saying where in the change it is satisfied.
  • Deviations from the brief. Numbered, each with a reason.

Why deviations matter most

A brief is written before anyone reads the code in detail. The agent reads it in detail. Sometimes the agent is right that the brief is wrong.

In one task the brief asked for an async method that returned the list of supported file formats. The agent made it synchronous and explained why: it is a fixed in-memory list with no I/O, and a fake async signature would mislead the next reader. In the same task it computed a page’s item total from rows it had already loaded instead of calling the separate totals query the brief specified, to save a round-trip, and it kept the separate query for future callers.

Both calls were correct. Both would have been invisible in a summary that said “implemented per the brief.” And either one, if wrong, would have been the first thing to break in review.

What changes when you require it

Two things. First, review gets faster, because I read the deviations list before the diff and know exactly where judgment was exercised. Second, my briefs get better. A deviation that keeps recurring is a defect in how I write briefs, and I fix it at the source.

This is the same discipline you would want from a strong senior engineer. The difference is that with agents you can make it mandatory, every time, at no social cost.

All writing