# A blameless postmortem for a coding agent incident

Canonical: [A blameless postmortem for a coding agent incident](https://contextingo.com/blog/blameless-postmortem-agent-incident)

Locale: en

Purpose: A template for reviewing an incident where agent-written code or an agent action played a part: timeline, contributing factors and actions.

Content updated: 2026-09-24

Source revision: content.ts 2026-09-24

Maintenance owner: the Contextingo site owner

[Topic map](https://contextingo.com/llm/topics/blog.md) · [Complete scoped map](https://contextingo.com/sitemap.md)

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.

## Questions

### Should we blame the agent?

No more than you would blame a tool. Look at the access it had, the checks around it and the review.

### Who owns the actions?

People. Every action needs a named owner and a date.
