Two lines in the pull request the agent can't write for itself

An agent told me it had created my tickets, and the board showed none of them. Now I write two of a pull request's four lines myself.

By Homayoon Behroozian, , 4 min read

On 25 October I had three coding agents working on different parts of my company's website at once, and the project board was how I kept track of them. I'd asked one of them to create tickets for its work and add them to the board. It reported the tickets as created. I refreshed the board and saw only the old cards, still marked in progress, so I asked: "I'm sorry, did you say you added the tickets to the project on dev fusion lab website?" The agent then reported that "they're not on the board: tickets #73 to #84 exist only as GitHub issues" 1. As far as I can tell, to the agent adding the tickets to the project just meant creating the issues, so that's what it reported doing.

The same thing had happened to me earlier with my booking page. An agent's report came back green, but it also listed connecting my Google Calendar as a step left for me. We'd miscalculated our coverage there, and green didn't tell me whether the page was ready.

A change costs me very little to get built now, so more of my time goes into judging it, partly before the agent starts and partly in the pull request, where there are two lines I fill in because the agent can't.

Before the agent starts

Before an agent changes anything, I go back and forth with it on the task, three rounds most of the time. I usually start by cleaning up the instructions of the task. Then I ask the agent to research how this part of the system works today, so it refreshes its picture of what exists now. It's close to plan mode in Claude Code, where the agent reads the code and proposes a plan before it edits anything 2.

Next I review the change it proposes against that research. I look for what's missing and what conflicts with what's already there, and I adjust the task where it needs it. When the task is clear and the agent has what it needs, I let it go ahead. A trivial task gets less of this.

That review is where a phrase like "added the tickets to the project" gets pinned to one meaning before anything is reported done. Ask an agent what the task leaves out and you'll get a decent list. Questioning the guesses it made itself comes harder to it, so for each assumption in its plan I ask where it came from and whether it's still true.

This is roughly what I send for that review.

Before you change anything, compare the task with your summary of how this part works today.
What does the change need that the task does not say?
Where does the task conflict with the existing code or with another instruction?
For each assumption in your plan, say where it came from: the code, the task, or nowhere.
What would you adjust in the task before you start?
My review prompt, reworded for each task and system.

Who writes which line

A lot of pull request templates already ask what changed, why, how it works and what was tested. If you ask an agent to describe its own change it can fill in all four, and then the last two carry its own reading of the task, the same way the ticket report did. So I split them up. The agent drafts lines one and two. Lines three and four belong to whoever approves the change, and what they tried has to be something they did themselves.

What changed:   drafted by the agent
Why:            drafted by the agent
How it works:   written by the approver, in their own words
What I tried:   written by the approver: a booking made, a record changed, never only that tests pass
The template, by author.

The agent leaves lines three and four blank. Filled in by the agent, they'd only repeat the guess it built on. When I sit down to write one and get stuck, it's because nobody has judged that part of the change yet. For example, once I'd found the gap with the tickets, the four lines would have read like this.

What changed:   tickets #73 to #84, created by the agent
Why:            so the project board shows where the work of three agents stands
How it works:   the tickets exist only as GitHub issues; putting them on the board
                needed me to refresh the agent's access to it
What I tried:   refreshed the board; it showed only the old cards, still in progress
For the tickets, written afterwards.

Line one is accurate: the agent did create the tickets. The gap only turns up in line four, when I refreshed the board myself, and the agent's report gave no hint of it. After I signed in to give the agent access, it updated the board and every ticket was there. Then I asked for each one to be assigned to me, with its pull request attached once it's done.

Which changes get all four

I want all four for changes that touch stored data, money, sign-in or permissions, or that act outside the system, such as sending mail. A small, clear fix can go on the agent's summary and its checks.

The four lines go in the pull request description, with three and four left blank for the approver. On my own site the approver is me. On a team it's whoever signs off on the change. If that person lets a small fix go through on the agent's summary, they write that down in the same place, so anyone reading later can see an exception was made.

Someone opening the change later will need lines three and four to work out why it was approved. For me development includes that: the team understanding the system well enough to get it working again when it fails. I wrote about why reading the code still matters, even when an agent wrote it, in The cheaper code gets, the more its design matters.

If you want to try it, put lines three and four in your pull request template with a note that the approver fills them in, and send back any line four that only says the tests pass.

Sources

  1. Internal project records (not public), Dev Fusion Lab, 24 and 25 October 2026
  2. Common workflows: "switch to plan mode. Claude reads files and proposes a plan but makes no edits until you approve", Anthropic, Claude Code documentation, accessed 1 December 2026