What Should an AI Automation Incident Runbook Contain?
An AI automation incident response runbook should define how to contain execution, preserve evidence, identify affected records and restore service. It should distinguish a model error from an integration failure or compromised input, because each needs a different response. It must also name who can approve business corrections, including changes to records, payments and customer communications.
When should the runbook be activated?
Define triggers around business outcomes and control failures. Examples include an automation writing incorrect records, repeating an action, accessing information outside its permitted scope or acting without required approval.
For each trigger, specify:
- Who leads the response: a named role with a backup.
- Who can contain execution: someone authorised to pause work or remove write access.
- Who owns the affected process: the person who decides how business work continues.
- Who approves corrections: an accountable owner for each type of business change.
- Where decisions are recorded: one incident record with restricted access.
Allow containment before the cause is known. The responder should not need to prove whether the model, a connection or an input caused the problem before stopping further harmful actions.
How should responders contain execution?
Write the containment procedure for the actual workflow. “Turn off the AI” is too vague: specify which actions must stop and how responders confirm they have stopped.
| Area | Containment instruction to document | Confirmation required |
|---|---|---|
| New work | Pause intake or hold new items for review | New items remain unprocessed |
| Running work | Cancel active runs or block their next write | No further business changes occur |
| Queued work | Hold scheduled jobs, retries and pending approvals | Held work cannot resume automatically |
| Connected systems | Suspend the relevant write permissions | Test writes are denied |
| Outbound messages | Hold unsent notifications and emails | Pending messages remain unsent |
Choose the narrowest boundary that reliably contains the problem. An isolated workflow may need only its own write permission suspended. If access itself may be compromised, the response should include revoking that access and reviewing its use.
Keep the manual fallback explicit. State which work may continue, who records it and how it will later be reconciled.
What evidence should be preserved?
Preserve enough evidence to reconstruct what the automation received, decided and did. Capture it before making changes where practical; if harm is continuing, contain first and record what changed.
The evidence checklist should include:
- Original inputs, including attachments and retrieved material.
- Instructions, workflow settings and model version where available.
- Model outputs and validation results.
- Requested actions, tool responses and error messages.
- Approval decisions, including what the approver saw.
- Run identifiers, timestamps and affected record identifiers.
- Available before-and-after record values.
- Queue state, retry history and containment actions.
Keep originals separate from working copies. Restrict access, preserve access history where available and follow the organisation’s retention requirements. Avoid copying sensitive customer material into a broadly shared incident discussion.
Record missing evidence explicitly. An unavailable response or absent record history is a limit on the investigation, not a reason to assume nothing happened.
How do you distinguish the cause?
Use the execution record to find where observed behaviour first departed from the intended process. Treat the following categories as investigation paths, not mutually exclusive conclusions.
| Possible cause | Question to investigate | Evidence to compare |
|---|---|---|
| Model error | Did the model produce an incorrect interpretation or action request? | Input, instructions, output and expected result |
| Integration failure | Was the intended action changed, duplicated, rejected or left uncertain during execution? | Action request, connection response and destination record |
| Compromised input | Did source material contain unauthorised instructions or altered business facts? | Original material, source permissions and resulting action |
| Control failure | Did validation or approval allow an action it should have stopped? | Rules, approval conditions and actual execution |
For a suspected model error, replay the preserved input in an isolated setting with writes disabled. Compare the result against a defined expected outcome.
For an integration failure, check field mapping, permissions, retries and destination state. A timeout should trigger a status check before another attempt.
For compromised input, inspect the source and its access history. Treat instructions found inside documents or retrieved content as material to investigate, not authority to change operating rules. Review the boundaries described in what data an AI agent should be able to see.
How should affected records be identified?
Start with the earliest plausible point of failure and the last confirmed safe checkpoint. If either is uncertain, widen the review and mark the uncertainty.
Build a reconciliation list connecting each run to its inputs, attempted actions, destination records and outbound messages. Include retries and downstream work triggered by those actions.
Classify each item as:
- Confirmed correct: checked against an authoritative source.
- Confirmed incorrect: a specific correction is required.
- Uncertain: evidence is incomplete or contradictory.
- Held: not executed and awaiting a decision.
Do not classify an item as correct solely because its run completed successfully. Verify the business result.
Define the boundary of the review: the workflow, time window, record types and connected processes examined. Record why any related area was excluded.
Who can authorise business corrections?
Separate technical recovery from permission to change business outcomes. A responder authorised to restart a workflow should not automatically be authorised to reverse payments, amend orders or send corrective messages.
The runbook should contain an authority table:
| Decision | Required authority |
|---|---|
| Pause an automation | Incident lead or designated operator |
| Revoke potentially compromised access | Designated security or access owner |
| Amend operational records | Owner of the affected business process |
| Reverse or repeat a financial action | Authorised finance approver |
| Send customer corrections | Accountable customer communications owner |
| Resume automated writes | Incident lead and affected process owner |
Before approval, present the affected records, proposed changes, supporting evidence and expected consequences. Define when a second reviewer is required.
Prefer corrections that preserve the original transaction history. Where an action cannot be undone, document the compensating action and its approval. Human approval steps for AI agents explains how to make approval a defined decision.
What would a response look like in practice?
Consider an illustrative order-processing incident: one request appears to have created duplicate orders.
The responder pauses new order writes and holds retries. They preserve the original request, action history and destination responses, then compare the linked orders with the customer’s confirmed instruction.
The investigation finds that a request timed out after the destination created an order. A retry then created another. The model requested the intended order; the investigation therefore focuses on execution and duplicate prevention.
The order owner approves cancellation of the duplicate after checking whether fulfilment has begun. Any stock reservation or customer message is reviewed separately.
Before restart, the team demonstrates that an uncertain response leads to a destination check and that repeating the same request cannot create another order.
What must be true before service resumes?
Make restart a decision supported by evidence. Require confirmation that:
- The identified failure has a correction or an explicitly approved temporary control.
- A test reproduces the original defect and passes with the correction.
- Relevant neighbouring cases have been checked.
- Affected records have owners and agreed dispositions.
- Held items have been reconciled before replay.
- The manual fallback and stop procedure remain available.
Resume with a limited set of work and inspect actual destination records. Define who monitors the restart, what triggers another pause and when normal operation may resume.
Technical recovery and business correction may finish at different times. Track them separately so that unresolved records remain visible after service returns.
What common mistakes should the runbook prevent?
Restarting after a successful sample. Require evidence for the failure condition, retries and held work.
Replaying the entire queue. Reconcile each item first and identify work already completed.
Changing records before preserving evidence. Capture available history and require correction approval.
Blaming the model immediately. Compare its requested action with what the connected system actually executed.
Closing after a restart. Keep unresolved records, customer effects and corrective actions assigned until completion.
Frequently asked questions
Is every incorrect AI response an incident?
Define the threshold by impact and control failure. An incorrect draft caught before use may follow routine review. An unauthorised action or incorrect committed record should trigger the relevant incident procedure.
Should all automations be stopped?
Stop the scope needed to contain the incident. Expand that scope when shared access, inputs or controls make the boundary uncertain.
Can the automation correct its own mistakes?
Require an authorised owner to approve the correction plan. If automation executes approved changes, give it limited scope, validate the results and preserve a record of every correction.
When is the incident complete?
Close it when service meets the agreed recovery conditions, affected records are reconciled, required communications are complete and remaining corrective work has an accountable owner.