# Postmortems

**After any outage or quota overrun, I write a blameless postmortem so I learn from it.**

> After any outage or quota overrun, write a blameless postmortem and add it to the postmortem log. The point is learning, not blame.

*Source: SRE book, "Postmortem Culture: Learning from Failure".*

## When to write one

- Any outage a user noticed, or would have.
- Any quota or limit overrun, even if nothing visible broke.
- Any data loss or restore.
- Any near miss the owner wants to learn from.

## Template

```markdown
# YYYY-MM-DD short title

Status: draft | final
Outage tier: 1-4
Duration: start to end, with time zone

## Summary
Two or three sentences: what happened, who was affected, how it ended.

## Impact
Which sites or apps, for how long, and what users could not do.

## Timeline
Times with zone. Detection, response, mitigation, resolution.

## Root cause
The chain of causes, without blame.

## What went well
## What went poorly
## Where we got lucky

## Actions
| Action | Type (prevent / detect / mitigate) | Owner | Status |

## Checklist changes
Which go-live items this incident added or changed.
```

## The postmortem log

The log is a folder with one file per incident, named `YYYY-MM-DD-slug.md`, and an index listing each entry's date, title, outage tier and status. Postmortems about private apps stay in a private log; a public summary can be added when it teaches something useful.
