Copy post-mortem.md into your wiki or repository for each incident worth learning from, including near misses. The comments in the file say what each section is for, so a first-time author can fill it in without a briefing.

When to write one

Write one for every incident above an agreed severity, and for any near miss that would have been one with worse luck. Near misses teach the same lessons without the outage, and they are easier to discuss because nobody is defending a bad week. Start the draft within a few days, while the timeline is still in people's chat history.

How to run the review

Send the draft round before the meeting, so the time goes on questions rather than reading. Keep the meeting to the people who were involved and one or two who were not, since outsiders ask the questions the team stopped seeing. Spend most of it on "Why it was possible", "Has this happened before?" and the actions. Close the review only when every action has an owner and a ticket, and update the status column at a follow-up a month later.

What it covers

Beyond the timeline and the analysis, the template asks how the team responded and who decided, who was told and when, and whether the same failure has happened before. If a model, prompt, retrieval index or agent was in the path, an extra section records the versions that were live and whether an eval covered the case. Skip it for incidents with no AI system involved.

What makes the difference

The template puts the time to detect at the top of the analysis on purpose. Most systems fail in ways their builders could have guessed, and the long part of an outage is usually the stretch before anyone knew. For how to read other companies' post-mortems with the same questions, see Read post-mortems, not tutorials. For the targets these times feed, see What RPO and RTO mean. The retrieval cache that served stale policies is a short write-up in this shape.