Most teams that ship an AI feature have an incident process, and it was written for outages. It pages when error rates rise or latency climbs, and it assumes that when something breaks, the dashboards will show it.
AI systems break differently. The endpoint returns HTTP 200, latency is normal, and the answers are wrong. A model update makes the assistant agree with everything. A retrieval index stops refreshing and the assistant keeps quoting last month's policy. Nothing pages. The first signal is a customer complaint, and in one well-known case it ended at a tribunal. By then the question is not only "how do we fix it?" but "who else received that answer, and what did they do with it?"
This issue builds the incident response layer for LLM systems as documents you can adopt directly. They classify failures, set severity, define detection signals and a containment ladder, scope the damage, and require postmortems that change the system. Every part is tested against five public AI incidents.
What You Are Building
The companion repository is a markdown-first kit that plugs into the incident process and on-call rotation you already have, and adds the AI-specific parts.
docs/
operating-model.md definitions, roles, lifecycle, principles
incident-classes.md C1 to C8
severity.md reach x consequence x reversibility
detection-signals.md signal families, OpenTelemetry mapping
containment-ladder.md L1 to L6 and spend caps
blast-radius.md lineage record and scope queries
readiness-review.md pre-launch checklist
runbooks/ one page per class
templates/ incident record, postmortem, status update
postmortems/ five public incidents, reconstructed
exercises/ three hypothetical game daysIt assumes your system already has runtime flags like those in Issue #43, approval queues, pinned model versions, and request lineage. The kit decides when to use each one and who makes the call.
Five Public Incidents, One Pattern
Five public incidents from 2024 and 2025 show the problem.
- ChatGPT returned nonsense in February 2024 after an optimisation made inference kernels produce incorrect results in certain GPU configurations.
- Air Canada's website chatbot told a grieving customer that a bereavement fare could be claimed retroactively, although the policy page it linked said otherwise. A tribunal ruled against the airline in February 2024.
- GPT-4o became sycophantic in April 2025 after an update that combined several changes, including a new reward signal from user feedback.
- Replit's coding agent deleted a production database during a code freeze in July 2025.
- Anthropic had three overlapping infrastructure bugs that intermittently degraded response quality from August to September 2025.
Side by side, the five share a pattern.
In all five, the service stayed up and people, not monitors, noticed first. The fix was rarely the hard part. Noticing was, along with finding the responsible change and everyone affected. And the cost depended on whether the output was read and discarded, relied on for a purchase, or executed against a database.
GPT-4o adds one more lesson. Evals and A/B tests looked good, some testers said the model "felt" slightly off, and OpenAI launched on the numbers, which its own write-up later called the wrong call.
Classify by First Action
Classification tells the on-call engineer what to do in the first ten minutes, so the kit splits incidents by first containment action, not root cause.
Class First move
C1 Silent quality regression Split by model, route, region, prompt, index version
C2 Behaviour regression (change) Roll back the release
C3 Output corruption Fail over the deployment; block corrupted output
C4 Grounding failure Route the topic to a correct answer or a human
C5 Contract breakage Roll back model, prompt, or schema version
C6 Agent action incident Revoke the tool; never ask the agent to stop itself
C7 Cost and capacity Cap the dominant feature, tenant, or agent
C8 Provider lifecycle Pin the known-good version or fail overOn the public record, ChatGPT is C3, Air Canada C4, GPT-4o C2, Replit C6, and Anthropic C1 with a C3 component. The kit stops at the edge of security. If a cause turns out to be adversarial, the investigation moves to your security process. Most AI incidents are ordinary engineering changes with unusual symptoms.
Severity Follows the Output
Availability-based severity breaks down when the worst incidents happen while everything is available. The kit sets severity from reach, reversibility, and what happens to the output. It can be shown to someone who can judge it, relied on for a decision with money, legal, health, or access consequences, or executed as a write, payment, message, or deletion. That consequence picks the column, and reach or reversibility picks the row.
Broad means more than 5% of a feature's traffic or a whole tenant. Visible corruption at broad reach, as with ChatGPT, is SEV2. Until scoping shows otherwise, unknown reach counts as broad, unknown consequence as relied, and unknown reversibility as irreversible, which is why Air Canada and Replit start at SEV1. SEV4 sits outside the grid and covers readiness risks with no current impact, such as a retirement notice with no plan. Severity can drop after scoping, but never because the fix is easy.
Watch the Answers, Not Just Uptime
Uptime and latency tell you whether the model answered and how fast, not whether the answer was any good. The kit keeps them and adds five signal families.
- Output health tracks schema validity,
finish_reasonmix, script mismatch, repetition, length, and citation coverage on every request. It is deterministic and cheap. - Production probes send 20 to 50 fixed inputs, including policy and behaviour cases, through the same gateway, routing, and deployment as users every 15 to 60 minutes.
- Human signals include negative feedback per model version, an "AI" tag for support tickets, review overrides, and tester reports.
- Change events mark every prompt, model, index, flag, routing, and provider change on the dashboards.
- Cost and agent activity covers tokens per request, cost per hour, steps per run, and irreversible actions.
Mapped against the eight classes, uptime and latency give the first signal for only one.
Output health catches corruption, broken contracts, and missing citations, but fluent, wrong, or changed answers need probes or people. Probes are the piece most teams are missing. Offline evals test a candidate before release, while probes test what is serving now. Anthropic's 2025 postmortem says its evaluations missed the degradation users reported, and commits to running quality evaluations continuously in production.
The OpenTelemetry GenAI conventions record both the model you asked for and the model that answered.
gen_ai.request.model the model you asked for
gen_ai.response.model the model that actually answered
alert: response.model != pinned version for this deploymentThat alert catches most silent upgrades. On Azure OpenAI in Microsoft Foundry, standard deployments can be auto-upgraded on a published schedule while provisioned deployments are not. Page when two signal families agree or one signal is unambiguous, such as a destructive agent write. Anything else opens a ticket.
The Containment Ladder
Containment stops harm for new requests. It is not the fix, and it does not need a root cause. The ladder orders controls from narrowest to broadest.
L1 Disable one tool, feature, tenant, or route (runtime flag)
L2 Require human review for outputs or actions (approval queue)
L3 Roll back prompt, config, index, or deploy (versioned artifacts)
L4 Pin or roll back the model version (explicit pinning)
L5 Fail over to a fallback model or deployment (tested second path)
L6 Degrade to the non-AI path (kill switch + fallback)
Lc Cap spend or rate, at any rung (per-feature budgets)Four questions, asked in order, pick the rung.
The first question is always about change, and many changes are not code, such as a prompt edit, an index rebuild, a load balancing adjustment, or a provider upgrade. Anthropic's write-up notes that when negative reports spiked on 29 August, the team did not immediately connect them to a load balancing change. So every incident record starts with everything that changed in the previous 14 days, including changes you did not make.
When the cause is unknown and SEV1 or SEV2 harm is ongoing, go broad first and narrow later. At lower severity, keep serving and probe more often. Rollbacks are not always instant. OpenAI's GPT-4o rollback took around 24 hours, with a system prompt update pushed first as an interim control. Every rung must be drilled beforehand, because a control you have never pulled does not really exist.
Scoping Needs Lineage You Wrote Last Month
Scoping finds which requests received the bad output, whose they were, and which outputs were relied on or executed. That needs a record for every model call, written before the incident, with versions kept apart from content.
Because it holds no content, the record can outlive the traces.
{
"request_id": "req_8f3a...",
"timestamp": "2026-11-30T14:02:11Z",
"feature": "support-answer",
"tenant_id": "t_0193",
"request_model": "example-model-2026-08-01",
"response_model": "example-model-2026-08-01",
"prompt_version": "support-answer@15",
"context_version": "policy-index@2026-11-28",
"flags": {
"refund_tool": true
},
"consequence": "relied",
"output_hash": "sha256:..."
}If prompt version 15 is the bad release, this filter finds every request it served, including the record above.
SELECT request_id, tenant_id, consequence
FROM ai_lineage
WHERE feature = 'support-answer'
AND prompt_version = 'support-answer@15'
AND timestamp BETWEEN '2026-11-29T09:00Z' AND '2026-11-30T15:20Z';Privacy shapes debugging too. Anthropic names its privacy controls as one reason diagnosis was slow, so agree in advance how a reported interaction can be seen, such as a user-shared transcript or a redacted view. The consequence field then decides remediation, and relied outputs need affected users found and corrected. The Air Canada tribunal held the airline responsible for its chatbot's answer.
One Runbook Page
Every runbook fits on one page with the same sections, so an engineer who knows one can navigate any under pressure. Here is the behaviour regression runbook, condensed.
# Runbook 02: Behaviour Regression After a Change (C2)
## First 15 minutes
1. Declare. Agreeing with a wrong premise in a "relied" feature is SEV2+.
2. Identify the release and its exact versions from lineage.
3. Run behaviour probes on current and previous versions, side by side.
4. Collect three to five transcripts.
## Contain
1. Roll back the release (L3 for prompts and config, L4 for models).
2. If rollback takes hours, apply an interim prompt mitigation; record it.
## Verify
- Behaviour probes match the previous version's baseline.
- The people who raised the concern review post-rollback samples.The verify step reuses the people who raised the concern, because the metrics already missed it once. The agent runbook also says to revoke the tool and to treat the agent's statements as claims to check against the system of record. In the Replit case, the user's public posts say the agent called a rollback impossible, but the rollback later worked.
Postmortems That Change the System
A postmortem that only produces a document has not changed anything. The template keeps the blameless format from Google's SRE practice, adds the model, prompt, and index versions in play, and asks whether any qualitative concern was raised and outweighed. Then it requires three outputs, each with an owner and a date.
- An evaluation case that reproduces the failure, added to your golden dataset and, where it fits, the probe suite.
- A detection change that would have caught it earlier, checked by replaying the incident window.
- A control change that limits the next incident of this class.
Each output feeds an earlier stage of the next incident.
The incident becomes a test, an earlier signal, and a drilled control. The public postmortems follow the same pattern. Anthropic added deployment tests for unexpected character outputs, and OpenAI committed to sycophancy evaluations and to treating behaviour issues as launch-blocking.
Walking a Real Postmortem Through the Kit
The repository reconstructs all five incidents in the template, separating public facts from the kit's own reading. Anthropic's postmortem is the most instructive. Three bugs overlapped. After the 29 August load balancing change, a context-window routing error affected 16% of Sonnet 4 requests at its worst hour. A TPU misconfiguration put Thai characters into English responses, and an approximate top-k compiler bug was confirmed for Haiku 3.5.
Replayed through the kit, it is a C1 incident with a C3 component. No single release explained it, so there was nothing obvious to roll back. Detection was slow because each bug produced different symptoms on different platforms at different rates, which averaged into what looked like random degradation. Slice-level probes would have helped, with quality split by route, context configuration, hardware, and platform, next to change annotations. A 16% problem in one slice is not noise, and an aggregate score will not show it.
Readiness Before Launch
The readiness review runs at launch and after every model, prompt, or tool change, and asks five questions.
- Is the answering model version recorded per request and alerted on?
- Do probes run through the real serving path, including policy and behaviour cases?
- Can each tool be disabled, and each output sent to review, with a flag?
- Is there a kill switch with a designed non-AI fallback, and when was it last drilled?
- Can you list affected tenants for a version and time window within 30 minutes?
Why This Architecture Works
The model produces outputs, and deterministic parts of the system decide what happens to them. During an incident, nothing depends on the model behaving well. Detection uses probes and version checks, containment uses tested flags and fallbacks, and scoping uses lineage. The three required outputs make every incident pay for better preparation next time.
Potential Enhancements
After a few incidents, two parts are worth automating.
- Generate the incident's change list from deploy logs, prompt registries, index metadata, and provider notices.
- Run the probe suite as a scheduled job that emits OpenTelemetry metrics, split like the lineage record.
Final Notes
An AI feature is not production-ready because it passed its evals. It is production-ready when you can tell that it has stopped working, stop the harm within your target time, find everyone affected, and catch the same failure earlier next time. None of that can be improvised during an incident.
Start small. Pick one feature, run the readiness review, add the lineage fields and twenty probes, and hold one game day. The gaps you find in an hour of tabletop are cheaper than the ones your users find.
Explore the companion repository at the GitHub repository.
See you in the next issue.
Stay curious.
