How to read an agent session transcript in five minutes
Read it backwards. Start at the final tool call and work upwards until you hit a point where the agent chose between two options — that is the decision, and the lines just above it are the reasoning. The commit keeps only the outcome. Backthread captures what the session held, against the part of the system it touched.
What follows is the five-minute pass, in the order that pays off fastest, and the three artefacts in a transcript that look like reasoning and are not.
What the commit keeps, and what only the session holds
A diff is a statement about the end state. A session is a record of how the end state was arrived at, and almost everything useful about the second is discarded when you keep only the first.
| In the commit | Only in the session | Why it matters later |
|---|---|---|
| The final code | The approach tried first and abandoned | The next person reaches for it again |
| The final test file | The test that failed and changed the plan | It encodes a constraint nobody wrote down |
| The message | The human's correction mid-session | A constraint that exists in no artefact |
| Files changed | Files read and left alone | The blast radius the agent considered, and the one it missed |
That fourth row is the one people underrate. The set of files an agent read is a direct statement of what it believed was relevant. If it changed the retry logic without ever opening the queue consumer, you have learned something about the change that no amount of staring at the diff will tell you.
The five-minute pass
Five steps, roughly a minute each. Do them in this order; the first two account for most of the value.
- Land at the end and read upwards. The last few tool calls are the shape that shipped. You are not reading for correctness — the tests argue about that. You are reading for the moment the direction changed.
- Find the reversals. Scan up for an edit that was later undone, a command that failed and was followed by a different approach, a file created and then deleted. Each reversal is a rejected alternative with its reason attached, which is the single most valuable thing in the file and the thing that exists nowhere else twenty minutes later.
- Read the human turns. Every interjection from a person is a constraint that was applied to the work and recorded in no other place. "Not that table, it is replicated" never reaches the commit message and will be rediscovered the expensive way.
- List what was read but not changed. Most clients let you see the reads. Compare that set against the set you would have opened yourself. The difference is the review finding.
- Write one line, against the area. Not against the file, which an agent will move in three weeks. The rejected approach and why it lost, in a sentence somebody can disagree with. The full shape of a useful entry is the six fields a decision entry has to carry.
If the session is still open when you do this, step five costs seconds. If it closed yesterday, you can usually still get back in — resuming a session by name or id is standard in the current generation of clients, and a resumed session is the difference between reading a record and reconstructing one.
Three things that look like reasoning and are not
This is where a five-minute pass goes wrong, because each of these is longer, better written, and easier to find than the thing you actually want.
The summary at the end of the session. It is generated after the work, from the same context, by the thing that did the work. It describes what changed. It is a second diff in prose, and it will not contain the approach that was dropped, because by the end of the session that approach is no longer part of the story the model is telling.
The plan at the start. A plan states what the agent was asked to do. The decisions get made afterwards, while the work runs into things the plan did not anticipate, which is the whole argument in why reviewing the plan is not reviewing the decisions. A session whose plan and outcome match exactly is usually a session where nothing interesting was decided, or one where the interesting part is missing.
A confident justification with no alternative in it. "This approach keeps the write path single-owner" is a description wearing a rationale's clothes. If no second option appears anywhere near it, nothing was weighed, and you should record that nothing was weighed rather than promoting the sentence. An invented why is worse than a blank one, because nobody re-derives a reason that reads as plausible.
How often there is anything to find
Set expectations before you start opening sessions, because the hit rate is lower than it feels like it should be. On our own repository, of 4,302 decisions captured from agent sessions, 1,613 carry any recorded deliberation at all — 62 percent record no alternative and no trade-off. Decisions mined from pull-request prose rather than sessions come in at 213 of 508. Same repository, same extractor, same bar, which is a bar set to emit nothing rather than pad.
So roughly three sessions in eight contain a weighed alternative. That is not a failure of the reading method. It is the actual distribution: when reversing a choice is nearly free, the choice often never gets made at the moment of writing, and a transcript cannot hold a deliberation that did not happen. The pass above is cheap enough to run on a session that turns out to hold nothing, and the finding "this change was made without weighing anything" is itself worth one line against the area.
Doing this at team scale, which is the part that does not work by hand
Five minutes per session is fine for the change you are worried about this afternoon. It does not survive forty engineers whose agents open changes continuously, for the same reason every manual pass over this material fails: the arithmetic is against you and the material expires. We spent a while trying to solve it from the other end, by asking engineers questions about areas their agents had changed on a schedule, and five out of five outside reads rejected that before we finished pitching it.
What does scale is capturing at merge, from the session and the pull-request discussion, and attaching the result to the area rather than the commit — then teaching it back inside the coding agent, to the engineer who is about to work in that area. Which parts of your system have reasoning recorded against them is captured at merge and attached to the area. The manual pass is still the right thing to do for one change you care about, and it is the best way to see what the material actually contains before you automate anything on top of it.
What this does not get you
- It is not a correctness review. Nothing above will catch an off-by-one. Run the tests, read the diff, and do this in addition rather than instead.
- It cannot recover what was never held. For 62 percent of changes the honest output of this pass is a recorded blank, and treating a blank as a prompt to write something is how a log becomes untrustworthy.
- It depends on the client keeping the session. Retention and resumability differ between tools and change between releases; check what yours keeps before you build a habit on it.
- It does not say who else should have read the session. A decision read by one person is still a decision held by one person, and the first area a new engineer should read into is a separate question with its own order.
Connect one repo and the reversal you would have gone looking for is already extracted and attached to the area, so the five-minute pass becomes the thing you do when you want more detail; the trial runs fourteen days.
In short
- The reversal is the thing you are reading for
- An edit later undone, a failed command that changed the approach, a file created and deleted: each is a rejected alternative with its reason beside it. Read the session from its end upwards and you hit them before you hit anything else.
- The session summary and the plan are not reasoning
- The summary is written after the work by the thing that did the work, and describes the outcome. The plan predates every decision that mattered. Both are longer and easier to find than the two or three lines you want.
- Expect three sessions in eight to hold anything
- On our own repository, 4,302 decisions captured from agent sessions yielded 1,613 with any recorded deliberation. A session with nothing in it is the normal case, and recording that a change was made without weighing anything is a real result rather than a failed pass.
Sources
- Claude Code documentation — sessions, resuming by id or name, and what a session retains
- Ask HN: How to deal with shipping AI-written code you don't understand? — Hacker News, 19 October 2026 (630 points, 767 comments)
- Why are good developers so wary of agentic development? — Hacker News discussion, 29 October 2026 (103 points, 145 comments)
Backthread shows how much of what your agents built your team really understands. See how it works