AI Academy · Book
Engineering Managers · Module 05 · Chapter 011

AI Incident Response for Engineering Teams

An AI incident often has no error message: the service is up, the answers are wrong, and the first report comes from a customer. The team that copes has a runbook written before the night it is needed, with a stop mechanism that works in minutes, a named person who decides whether a legal clock has started, and a review that fixes the system instead of finding someone to blame.

≈ 15 min read

After this chapter you can

  • Define severity levels by consequence and reversibility, with response targets that carry units.
  • Contain before diagnosing, using levers built and tested ahead of time: kill switch, version rollback, tool disable, approval gate and filter.
  • Name the incident commander, technical lead, communications owner and the person who decides whether a legal clock has started.
  • State which notification clocks an incident can start, such as the GDPR's 72 hours, and that they run from awareness.
  • Run a blameless postmortem within five working days that adds an eval case and tracks every action to completion.

On 20 March 2023, some ChatGPT users opened their conversation history and saw titles of conversations that were not theirs. OpenAI took the service offline. Its investigation traced the cause to a bug in an open-source library, and it found that during a nine-hour window about 1.2 percent of ChatGPT Plus subscribers could have had payment details other than full card numbers shown to another user1. The model had done nothing wrong. The failure sat in the plumbing around it. For the people on call, that made no difference: they were running an incident in a product that talks.

Your team will have a version of this day. Maybe the assistant quotes a policy that was withdrawn, or the retrieval index shows one customer’s file to another, or a prompt change makes refund answers wrong for a day before anyone notices. The question for you, as the manager, is what the team does in the first hour. If the answer is “we figure it out,” then the first hour will go to arguing about whose problem it is. This chapter gives you the runbook to ask for, the clocks the law may start, and a postmortem that leaves the system stronger.

What counts as an AI incident

Define it before the first one, or every argument will begin there. A workable definition for a feature team has two parts. An incident is an event in which the feature’s behavior or data handling is causing, or is about to cause, harm to users, to the company or to third parties. A hazard is a near miss: something that could plausibly have caused harm but was caught by luck. The OECD uses this incident-and-hazard split in its definitions of AI incidents2, and it is worth borrowing because hazards are the cheapest lessons you will get.

Teams then need severity levels so that a wrong emoji and a data leak do not get the same response. The levels below are an illustrative scheme; the thresholds are examples, and your own should reflect the harm your feature can do.

Three illustrative severity levels for an AI feature, from personal data exposure at Sev 1 to a minor quality dip at Sev 3, each with a response target.LevelWhat it looks likeResponse targetSev 1Personal data shown to the wrong person, harmful or unsafeoutput at scale, or an agent action that cannot be undoneContain within 15 minutes, page the manager and theprivacy leadSev 2Wrong answers on a core task for more than 1 percent ofrequests, or a cost spike above 3 times the daily baselineContain within 1 hour, update every 2 hoursSev 3Quality dip on a minor task, or a complaint with no sign ofa patternTriage next business day, add a case to the eval set
Figure 5.11.1 Illustrative severity scheme: the cut-offs are examples with a unit, and each team should set its own from the harm its feature can cause.

Notice what Sev 1 has in common. It is defined by consequences and reversibility, not by the technique that failed. The engineer holding the pager at 2 a.m. should not need to know why the model misbehaved to know that it is serious.

The first hour

The runbook below has five steps. The first hour covers the first three; the last two continue over the following days.

An incident runbook with five steps from detect to contain, notify, fix and review, led by one named incident commander.DetectAlert, report oraudit; assigna severityContainStop the harmbefore findingthe causeNotifyPeople andlegal clocksFixCause andrecoveryReviewBlameless,trackedOne incident commander, named before the incident
Figure 5.11.2 The order matters: contain before diagnosing, and decide on the legal clocks while diagnosis is still under way.

Detect. The on-call engineer receives an alert, a customer report or a message from a reviewer, assigns a severity from the table and starts a log with the time. This step sounds trivial, but in Anthropic’s documented 2025 incident the first signal came from user reports because the usual evaluations did not show the degradation3. If your detection depends on one channel, ask what else can feed it, including support tickets and a visible “report a problem” button in the product.

Contain. Stop the harm first and understand it second. Containment for an AI feature has its own levers, and the team must have built them before the incident, because adding a kill switch in the middle of a Sev 1 means shipping untested code under pressure.

Five ways to contain an AI incident, from a kill switch to version rollback, tool disable, approval gate and filters, each with the prerequisite that must exist beforehand.LeverWhat it doesPrerequisite to have in placeKill switchTurns the AI path off and serves a non-AI answer ora personA feature flag, tested in release, that needs no deployVersionrollbackReturns to the last pinned prompt, model and indexVersions pinned and recorded for every requestTool disableRemoves one action, such as sending email or editinga recordEach tool can be switched off on its ownApproval gateRequires a person to approve a class of actionA review queue someone is staffed to watchInput andoutput filterBlocks a topic, a pattern or an account while the causeis unknownA rule that can be changed in minutes
Figure 5.11.3 Five containment levers for an AI feature. Each depends on something built earlier, which is why the runbook is a design review item.

The manager’s test is simple: ask the team to use each lever in a rehearsal, during working hours, and time it. A lever that nobody has used is an assumption. The March 2023 OpenAI case in the opening shows why this matters: as OpenAI described it, the team took ChatGPT offline while it investigated, a containment decision that cost availability to protect people, so someone had to be authorized to make it1. The cause was a library bug, so a team that only looked at its prompts would have looked in the wrong place. The report relays the company’s own statement and says nothing about how often AI products leak data.

Communicate. Three audiences need to hear from you in the first hour. Internally, the incident commander posts a short status: what is known, what is not, the severity and the time of the next update. Customers and support staff need a line they can repeat that does not speculate. The third audience is the one teams forget: the person who decides whether a legal notification duty has started. That person belongs on the first call, not the third.

Fix and review. Once contained, the team recovers: reverses actions the system took, reprocesses affected work and checks every decision made while the fault was live. Then the review begins, covered below.

Roles, so nobody wonders who decides

An incident has three roles that must be filled by named people, not by a team alias. The incident commander owns the timeline and the decision to contain, and does not debug. The technical lead diagnoses and proposes fixes. The communications owner writes the updates. For a feature that handles personal data, add a fourth: a privacy or legal contact who decides on notifications. In a team of eight, one engineer may hold two roles, but the commander and the technical lead should never be the same person, because diagnosing is absorbing and someone must watch the clock.

You are not the commander by default. Managers who take the role tend to slow the engineers down. Your job is to make sure the roles are filled, to clear obstacles and to be the person who talks to your director.

What is different when the model is involved

Most of an AI incident is ordinary operations. Four things are different, and the runbook should say each one.

Reproduction is harder. The same input can give a different answer, so “I could not reproduce it” is not evidence of a fix. The log should capture the exact model version, prompt version, retrieved passages, tool calls and settings for each request, so that the team can examine what happened instead of trying to recreate it.

The cause may not be yours. The model, the platform it runs on or a library beneath it can change. The runbook should include a check of the provider’s status page and a comparison of recent version changes before the team spends two hours on its own prompt.

Evidence conflicts with privacy. The inputs you most need to inspect may contain personal data. Decide in advance who may access logged conversations, for how long they are kept and how they are redacted. Privacy controls that limit who can read conversations are right, and they slow debugging unless the team builds redaction and access tooling before the night it is needed.

Recovery includes the outputs. If the feature gave wrong answers for 6 hours, the fix is not complete when the prompt is corrected. Someone must find the affected users and decide whether to correct what they were told.

The legal clocks

Some incidents start a legal clock, and the clocks run from awareness, not from the end of your investigation. An AI incident can also be a personal data breach or a cybersecurity incident, and then the ordinary regimes apply.

For the team, the lesson is not to memorize the table. The runbook should hold one line: who decides, within hours, whether a clock has started, and how they can be reached at night. The 72 hours of the GDPR start counting while your engineers are still looking for the cause, and the regulation allows initial notification in phases when information is not complete.

Case: the report that left out the worst detail

On 2 October 2023, a Cruise vehicle with no driver dragged a pedestrian about 20 feet before it stopped. The US vehicle regulator, NHTSA, requires crash reports under a Standing General Order. Cruise filed a one-day report and a ten-day report, and both left out the dragging; a report about a month later contained it. NHTSA’s September 2024 consent order said Cruise knew of the post-crash behavior when it filed [@techcrunch-cruise-nhtsa-2024; @theregister-cruise-nhtsa-2024]. The penalty was 1.5 million US dollars, plus a two-year order and a corrective action plan.

NHTSA found that Cruise's one-day and ten-day crash reports omitted a pedestrian being dragged about 20 feet, and a complete report followed about 30 days later.2Reports that omitted itThe one-day and ten-day filings20 ftDistance draggedThe detail left out30 daysUntil a complete reportAbout one month laterSource: NHTSA consent order · Sep 2024
Figure 5.11.5 One regulator’s account of one company’s reporting failure: how a quiet omission in a required report was found, not a typical rate.

Read the case narrowly. The consent order concerned incomplete reports, not the vehicle’s software, and it comes from a US vehicle regime, not from AI regulation in the EU. It still teaches the manager something about the Communicate step. The facts that a regulator or customer cares about most are the ones a rushed summary is likely to drop, and a clock rewards speed over completeness. Two rules follow for your runbook: whoever writes a notification works from the logged timeline, not from memory, and a second person who did not write it checks it against that timeline before it is sent. When facts change, the update says so.

A team-sized worked example

This is a hypothetical, with an imagined team and invented times and counts, not an account of a real incident. A team of eight engineers runs an assistant that answers billing questions for support staff, with retrieval over customer records. At 14:05 a support agent posts in the team channel that the assistant quoted another customer’s invoice total.

An illustrative first hour: report at 14:05, Sev 1 at 14:10, kill switch at 14:28, privacy decision at 14:40 and first update at 15:05.14:05Report arrivesOn-call logs it andopens an incident14:10Sev 1 declaredPersonal datapossibly shown tothe wrong person14:28Kill switchflippedAssistant off; agentsuse themanual lookup14:40Privacy leaddecidesPossible breach:72-hour clockstarted15:05First updatesentFacts, unknownsand next update time
Figure 5.11.6 Illustrative composite: the first hour of a Sev 1 for a billing assistant, with times invented for the example.

The runbook sets a target of 15 minutes from a Sev 1 declaration to containment. The team misses by 3 minutes (14:10 to 14:28, 18 minutes) because the flag lives in a console only two engineers can reach, and that goes into the review. At 14:40 the privacy lead concludes that customer data may have been shown to an unauthorized person and starts the 72-hour notification clock from 14:05, the moment of awareness. By 15:05 the incident commander sends the first update.

Over the next two days the technical lead finds that a new retrieval index was built without the per-customer filter, and that 14 answers across 9 customers contained another customer’s data. The recovery step lists those 14 answers, the support agents who saw them and the customers who must be informed. The review will ask why the release checks did not include a test for cross-customer results, and the fix will add 20 probe questions to the eval set.

The blameless postmortem

Google’s operations handbook defines a postmortem as a written record of an incident, its impact, the actions taken, the root causes and the follow-up actions, and says the culture must be blameless: look for why people had incomplete information, not who made the mistake7. The advice comes from general operations, but it applies with more force to AI features, where nobody can say with certainty why the model said what it said, and blame would simply push people to hide near misses.

Ask for a postmortem within five working days of a Sev 1 or Sev 2, using a fixed template. The AI-specific fields are what make it useful.

Six postmortem sections for an AI incident, including versions, detection gap, eval gap and containment time, each with a sample good answer.SectionWhat goes in itA good answer sounds likeImpactWho, how many, how long, what harm14 answers, 9 customers, 6 minutesVersionsModel, prompt, index and configuration at the timeRecorded from the trace, not from memoryDetectiongapWhy no alert fired, and which signal would haveA new check named, with an owner and a dateEval gapWhy the release tests missed itThe failing case added to the eval set before closingContainmenttimeDeclared to contained, against the target18 minutes against a 15 minute target, and whyActionsFixes with an owner and a due dateNo action without a name; reviewed after 30 days
Figure 5.11.7 Illustrative postmortem sections for an AI feature; the example answers come from the worked example above.

Two rules keep the exercise honest. First, every incident must add at least one case to the eval set, so that the failure cannot return unnoticed. Second, actions are tracked to completion by the manager. The NIST AI Risk Management Framework asks organizations to track, respond to and recover from incidents and to communicate them to affected parties8; a postmortem whose actions are never closed does none of that.

A one-page runbook skeleton you can copy (every target is an illustrative starting value, tied to the Sev 1 table above):

  • Roles: incident commander [name, backup]; technical lead [name, backup]; communications owner [name]; privacy or legal contact [name].
  • Contacts: out-of-hours phone for each role [number]; director [number]; provider status page and support route [link].
  • Severity table: Sev 1 contain within 15 minutes; Sev 2 within 1 hour (copy from your own table).
  • Lever-test log: lever [kill switch, rollback, tool disable, approval gate, filter]; date tested; minutes taken; tester; fix needed.
  • Rehearsal: one timed drill per quarter, 60 minutes, in working hours; pass if every lever flips within the Sev 1 containment target and the privacy contact answers within 15 minutes.
  • Clock check: who decides, within hours, whether a legal clock has started [name].

What this means for engineering managers

Check yourself

  1. In an AI incident, the team should find the root cause first and only then decide whether to switch the feature off.
  2. If the on-call engineer cannot reproduce a wrong answer, the problem is probably fixed.
  3. A 72-hour breach clock under the GDPR can start while the team is still investigating.
  4. In the Cruise case, the regulator penalized Cruise because its driving software failed.
  5. A blameless postmortem should still name the engineer who made the change so that they are accountable.
  6. Every incident should add at least one case to the eval set before it is closed.

Reflection

What comes next

Not every incident starts inside your own code. Sometimes the model underneath your feature changes, or is retired, and the behavior shifts without a line of your code moving. The next chapter, Managing Model and Provider Change, covers the upgrade tests, prompt regression checks and tested fallbacks that keep that change under your control.

Laws referenced

General Data Protection Regulation · EU

Regulation (EU) 2016/679

Personal data is any information relating to an identified or identifiable person, directly or indirectly, including by an identifier such as an online ID (Art. 4(1)). Lawful basis and purpose limitation (Arts. 5-6); processing special-category data, including biometric data used to identify a person, health data and data revealing ethnicity, is prohibited unless a specific exception applies (Art. 9); data protection by design and by default (Art. 25); processors such as AI vendors may act only under a written contract with required terms and sufficient guarantees (Art. 28); transparency to data subjects (Arts. 13-14); right not to be subject to a decision based solely on automated processing with legal or similarly significant effects (Art. 22); breach notification to the supervisory authority within 72 hours (Art. 33) and to individuals without undue delay when the risk is high (Art. 34); data protection impact assessment for high-risk processing (Art. 35). Fines up to EUR 20 million or 4% of global turnover.

  • 2018-05-25 — Applies

Last verified 2026-10-08 · official text

NIS2 Directive · EU

Directive (EU) 2022/2555

Cybersecurity risk management for essential and important entities. Significant incidents: early warning within 24 hours, incident notification within 72 hours, final report within one month. Management bodies are accountable.

  • 2024-10-18 — Applies through national law

Last verified 2026-10-06 · official text

EU AI Act · EU

Regulation (EU) 2024/1689, as amended by Regulation (EU) 2026/1744

Risk-based rules. Prohibited practices include social scoring, untargeted scraping of facial images, and emotion recognition in workplaces and schools (with narrow exceptions). High-risk systems (Annex III: biometrics, safety components of critical infrastructure such as energy, water and traffic, employment and worker management, credit, education, essential services, law enforcement, migration, justice) need risk management, data governance, documentation, logging, human oversight, human oversight that keeps people able to understand the system, notice automation bias (over-reliance on its output), override it or stop it (Art. 14(4)), appropriate accuracy, robustness and cybersecurity (Art. 15), automatic logging of events (Art. 12), a provider quality-management system (Art. 17) and conformity assessment. An Annex III system is not high-risk if it poses no significant risk of harm, for example a narrow procedural or preparatory task that does not replace human assessment; systems that profile people are always high-risk, and a provider relying on this exception must document it and register (Art. 6(3)). Deployers of high-risk AI must use it as instructed, assign competent human oversight, monitor its operation, keep logs for at least six months and report serious incidents (Art. 26); employers must inform workers' representatives (Art. 26(7)). Public bodies, private providers of public services, and deployers of credit-scoring or life and health insurance pricing systems must carry out a fundamental-rights impact assessment before first use (Art. 27). Providers must run post-market monitoring (Art. 72). A deployer that puts its name on a high-risk system, substantially modifies it, or changes its purpose so that it becomes high-risk takes on the provider's obligations (Art. 25(1)). A substantial modification (Art. 3(23)) of a high-risk system needs a new conformity assessment, unless the change was pre-determined and documented at the first assessment, as with planned continuous learning (Art. 43(4)). Providers of general-purpose AI models (from 2 Aug 2025) must keep technical documentation, have a policy to comply with EU copyright law including text-and-data-mining opt-outs, and publish a sufficiently detailed summary of training content (Art. 53). Research, testing and development before a system is placed on the market or put into service is outside the Act, except testing in real-world conditions (Art. 2(8)). Since the 2026 Omnibus, the Art. 4 AI-literacy duty is an obligation of effort (take measures to support literacy), not of result. Fines reach EUR 35 million or 7% of global turnover for prohibited practices.

  • 2024-08-01 — Entered into force
  • 2025-02-02 — Prohibited practices (Art. 5) and the AI-literacy duty (Art. 4) apply
  • 2026-07-27 — Omnibus softens Art. 4: providers and deployers must take measures to support AI literacy; no specific level must be guaranteed
  • 2025-08-02 — General-purpose AI model obligations apply; governance and penalties regime in place
  • 2026-08-02 — Transparency duties (Art. 50) apply: disclose AI interaction, label synthetic and deepfake content (marking for generative systems already on the market: 2 Dec 2026)
  • 2027-12-02 — High-risk obligations for Annex III systems (e.g. hiring, credit, education, essential services) - moved from 2 Aug 2026 by the 2026 Omnibus
  • 2028-08-02 — High-risk obligations for AI in products regulated under Annex I

Last verified 2026-10-06 · official text

References

  1. BleepingComputer. OpenAI: ChatGPT payment data leak caused by open-source bug. BleepingComputer. 2023.
  2. OECD. Defining AI incidents and related terms (OECD Artificial Intelligence Papers, No. 16). OECD Publishing. 2024.
  3. Anthropic Engineering. A postmortem of three recent issues. Anthropic Engineering blog. 2025.
  4. Future of Life Institute. Article 73: Reporting of serious incidents (AI Act Explorer). artificialintelligenceact.eu. 2024.
  5. Future of Life Institute (AI Act Explorer). Digital Omnibus on AI. artificialintelligenceact.eu. 2026.
  6. Latham & Watkins. European Commission publishes draft guidance on reporting serious AI incidents. Latham & Watkins. 2025.
  7. Google. Postmortem Culture: Learning from Failure. Site Reliability Engineering, O'Reilly / Google. 2016.
  8. National Institute of Standards and Technology. Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1. NIST. 2023.

Further reading

Sources last verified 2026-10-12.