Generate structured post-mortems after incidents or failures: root cause analysis, timeline, impact assessment, prevention steps.
Generate structured post-mortems after incidents or failures: root cause analysis, timeline, impact assessment, prevention steps.
generate-postmortem.sh to create a structured documenttimeline-builder.sh to construct a precise event timelineaction-tracker.sh to extract and track action items| Script | Purpose |
|---|---|
generate-postmortem.sh |
| Generate a full post-mortem document from parameters |
timeline-builder.sh | Build a formatted incident timeline from events |
action-tracker.sh | Extract, list, and track action items from a post-mortem |
| File | Content |
|---|---|
postmortem-template.md | Full post-mortem template with all sections |
blameless-guide.md | Guide to running blameless post-mortems |
root-cause-categories.md | Common root cause taxonomy |
# Generate a post-mortem document
bash scripts/generate-postmortem.sh \
--title "API Gateway Outage" \
--severity P1 \
--date "2024-01-15" \
--duration "2h 30m" \
--summary "API gateway became unresponsive due to connection pool exhaustion" \
--output postmortem-2024-01-15.md
# Build a timeline
bash scripts/timeline-builder.sh \
--add "14:00 Monitoring alerts fire for high latency" \
--add "14:05 On-call engineer acknowledges alert" \
--add "14:15 Root cause identified: connection pool exhaustion" \
--add "14:20 Fix deployed: increased pool size" \
--add "14:30 Service fully recovered" \
--output timeline.md
# Track action items
bash scripts/action-tracker.sh --extract postmortem-2024-01-15.md
bash scripts/action-tracker.sh --list postmortem-2024-01-15.md