Context card
Restoring operations after an AI agent incident
What can be undone after an AI agent crossed its boundary, what can’t — and when may the agent and the systems it touched run again?
The short answer
Restoration sorts the agent’s actions into what can be rolled back, what needs a compensating action and what can only be corrected or repaired. The agent returns to service only after a release against criteria — cause understood, scope and credentials corrected, data compared with released versions — and often first in a reduced mode. Machines and lines restart under their own restart rules and an operator’s release, never at the agent’s initiative.
For: Technical project managers, operations teams, technical writers and documentation systems developers
Key points
- Rollback restores a system’s state, not the world’s: what was sent, paid or produced stays done.
- Irreversible actions are answered with compensating actions, corrections or repairs, recorded as their own steps.
- Return to service needs a release against criteria, often first in a reduced mode.
- Machines and lines restart under their own restart rules; an agent never restarts a machine on its own.
- The post-incident review updates the agent’s scope, the runbooks and the documentation.
The context
Three kinds of actions
| Kind | Examples | Restoration |
|---|---|---|
| Reversible | Drafts, branches, staging changes, versioned configuration | Rollback to the last released state |
| Reversible with effort | Database changes with backup, recipes and parameters with version history | Restore and compare with the released version, then check consistency |
| Irreversible | Sent messages, payments, published texts, installed firmware, processed material | Compensating action, correction notice, recall, repair |
Keep the history: compensation adds records instead of erasing them, so the audit trail and the evidence for reports stay intact.
Per system type
- IT systems: Reversal entries in the ERP, a correction mail to the recipients, restoring deleted cloud resources from infrastructure code, withdrawing a published topic and replacing it with the last released version.
- IoT fleets: Halt the rollout, roll back over the air where devices still connect, plan service visits where they don’t; return the fleet in stages — test group, small wave, the rest.
- OT: Compare setpoints, recipes and PLC projects with the released versions; changes back follow management of change; quality decides about batches produced in the meantime.
- Machines and lines: After containment, the restart follows the machine’s restart prevention and, for a line, the coordinated restart, with the operator’s release; reset programs and parameters to the released ones before the first cycle.
The release
Return to service is a decision with criteria: the cause is understood and contained, the agent’s scope and allowlist are corrected, its credentials are new, data and configurations are compared with released versions, monitoring is on, and an authorized person approves — on record. An agent often comes back with less: read-only, with more approval gates, or for fewer users or devices.
The review
The post-incident review looks at the boundary, detection, containment, restoration and reporting, and ends with owned changes. Documentation is one of its outputs: the agent’s description, the runbooks, the instructions for operators and, where readers acted on wrong information, a correction they can find.
The whole picture is on the pathway map on AI agents crossing the line.
Questions readers ask next
- Can we simply restore yesterday’s backup?
- For one system, perhaps — but it also erases legitimate changes made since, and it doesn’t reach the effects outside the system. Compare and correct selectively where you can, and keep the history.
- Who releases the agent again?
- The owner named in its boundary sheet, against the release criteria. Where the agent works with OT or machines, the plant’s operations agree as well.
- Does the technical documentation have to change after an incident?
- Often yes: the agent’s description, its limits and the instructions for whoever operates or oversees it. For regulated products, changes to the product may also require an update of the technical documentation.
Sources
- NIST SP 800-61 Rev. 3: Incident Response Recommendations and Considerations for Cybersecurity Risk Management — NIST, April 3, 2025
- Regulation (EU) 2023/1230 (Machinery Regulation) — EUR-Lex, June 29, 2023
Review log and changes
Every context card is checked against its sources before it is published, and again whenever it changes; the date under the byline is the last review. Corrections (something was wrong) and additions (something was missing) are logged below with date and time (Berlin time). Typos, formatting and link fixes are not listed.
Reviewed
No corrections or additions since publication.