The setup
[WHAT THE AGENT DID. One short paragraph: client, system shape, typical traffic, what the agent was meant to do. Don't name the client unless they've cleared it; characterise instead — "B2B SaaS, ~$Xm ARR, [vertical]."]
The trigger
[WHAT KICKED IT OFF. The specific input, race condition, deploy, or model change that started the cascade. Be concrete — readers will recognise the pattern in their own stack.]
The cascade
[STEP-BY-STEP, ROUGHLY MINUTE-BY-MINUTE. Aim for 5-8 bullet points below — the real story is the temporal sequence.]
- [T+0] — [what happened first]
- [T+N min] — [retry compounded / cost spiked / customers got the bad output / etc]
- [T+N min] — [the next step]
- [T+N min] — [we noticed via [alert / customer report / dashboard]]
- [T+N min] — [first remediation — kill switch, rate limit, rollback]
- [T+N min] — [stable]
The damage
[BLAST RADIUS, IN NUMBERS. Be specific:]
- Cost: $[AMOUNT] in unexpected model spend across the window
- Customer impact: [N customers got [bad outputs / wrong actions / nothing]]
- Engineer time: [N hours of pager + post-incident remediation]
- Reputational: [ticket volume spike / public-facing impact / nothing visible]
Root cause
[THE ACTUAL ROOT CAUSE. Resist "the model went wrong" — describe the specific missing guardrail, the misconfiguration, the wrong assumption. This is the most useful section for the reader.]
What we changed
[THE FIX. List the concrete changes shipped after the incident. Lean into the POC-to-prod checklist — likely overlap with rate limits, retries, circuit breakers, observability. Cross-link.]
- [CHANGE 1 — e.g. token-bucket rate limiter at the gateway]
- [CHANGE 2 — e.g. exponential backoff with circuit breaker]
- [CHANGE 3 — e.g. hard max-cost cap per session]
- [CHANGE 4 — e.g. structured logging with cost-per-call dashboard]
- [CHANGE 5 — e.g. eval case for the specific failure mode]
What we'd do differently
[THE MOST HONEST PART. What was the missed signal? What should have stopped this earlier? Resist hindsight bias — the goal is to give readers a check they can run on their own systems.]
The lesson
[ONE-PARAGRAPH SUMMARY. The transferable takeaway, framed for readers who don't know your client. Echoes the brand voice in 7 things that break and the logging pipeline post.]