A blameless postmortem asks how the system allowed the failure, not who to blame. That holds when an agent is involved. “The AI did it” is not a cause; it is a place to start asking questions.
Template
- Summary: what happened, who was affected, how long.
- Timeline: timestamps for detection, decisions, fixes. Include what the agent did and when.
- Impact: users, data, money, time.
- Contributing factors: the conditions that made the failure possible.
- What went well: detection, response, tools.
- Actions: each with an owner and a date.
Questions that fit agent incidents
- What did the agent have access to, and did it need that?
- What did the task say, and was “done” defined in a checkable way?
- Which checks ran on the change, and which did not?
- Did a person review it, and what did they see?
- Was a similar failure known and not recorded?
Use the trail
A postmortem is only as good as the evidence. A log of what each agent read and changed, a record of the review, and the CI result for the commit make the timeline a matter of reading. Contextingo keeps a context log of this kind, per issue.
Close the loop
Write the cause as a finding and any wrong fix as a failed attempt, so it shows up the next time the same files are edited.