Auditing what AI did in an incident
An audit trail answers one question after an incident: what happened, and who decided? If you cannot answer it, you cannot defend the way your tools behaved, and you cannot improve it. This page lists what to record and how to review it.
Record the decision, not only the action
A log line that says a DNS record changed is not enough. You want the decision trace: what the AI looked at, which options it considered, why it chose one, and what it did next. With a trace, a reviewer can tell a good call from a lucky one. Without it, every review turns into a debate about what the AI must have been thinking.
Record who approved what, and when
For every approval or rejection, store:
- the proposal exactly as the approver saw it
- the person who decided, and their role
- the time of the decision
- the reason they gave, if any
- the evidence they were shown, or a link to it
If a proposal changed after it was approved, record that too. An approval applies to a specific change. It does not cover a different one.
Record why it escalated
An escalation means the AI stopped and a person took over. Write down why. Typical reasons are that it could not confirm the fix had worked, that it reached a spending limit you set, or that it hit an error it could not recover from. A reason in plain words saves the next reader from guessing, and it tells you which limits are doing real work.
Review auto-approved actions on a schedule
If you let the AI act without approval for some class of fix, review every such action on a regular schedule. A weekly review is a good start. Ask three questions:
- Did the change fix what the AI said it would?
- Did it touch anything else?
- Would a person have approved it?
If any answer worries you, narrow the class or move it back behind approval.
Take a renewed credential that a service did not pick up. Letting that service reload it is a fair class of action to auto-approve. The review checks that the reload fixed it, and that no other service reloaded by mistake.
Keep the records where people can search them
Make records easy to find by incident, by person and by time. Decide how long to keep them, and who may read them. Allow export if your reviewers work in other tools. A record that nobody can find on the day of a review does not count as a record.
Use the records to improve the setup
Count rejections by reason. Patterns tell you what to fix: the evidence the AI shows, the way it rates risk, or the preview of a change. Share what you learn in your postmortem. If a misrouted alert led the AI to the wrong service, that is a lesson about your routing as much as about the AI.
A short checklist
- You keep a decision trace for each AI action.
- Each approval records who, when, what they saw and why.
- Each escalation records its reason in plain words.
- Auto-approved actions are reviewed on a schedule.
- Records can be searched and exported.
- Rejection reasons feed back into your next review.
Sources
Sanjeev Sharma, who works for the vendor StackGen as its Field CTO, wrote in a CNCF member post in July 2026: “The non-negotiable architectural commitment is the decision trace.”
CNCF blog, Sanjeev Sharma, 6 July 2026: https://www.cncf.io/blog/2026/07/06/the-4-body-problem-of-sre-why-autonomous-operations-depend-on-context/
The same CNCF post by Sanjeev Sharma, who works for the vendor StackGen, adds: “Autonomy you can’t defend is autonomy you don’t actually have.”
CNCF blog, Sanjeev Sharma, 6 July 2026: https://www.cncf.io/blog/2026/07/06/the-4-body-problem-of-sre-why-autonomous-operations-depend-on-context/