Letting AI fix production safely: five levels of remediation autonomy
Finding the cause is half an incident. The other half is the fix: roll back the deploy, raise the limit, cordon the node, silence the alert that is now noise. Every AI SRE product is moving from "here is what is wrong" t
Finding the cause is half an incident. The other half is the fix: roll back the deploy, raise the limit, cordon the node, silence the alert that is now noise. Every AI SRE product is moving from "here is what is wrong" towards "I fixed it", and every operations team is right to be nervous about that. An automated fix that is wrong does not cost an hour of investigation. It causes the next incident.
The question is not whether AI should remediate. It is how much autonomy, for which actions, in which environments, with what checks. This article lays out a way to answer it.
Five levels of autonomy
It helps to think about AI remediation the way the automotive world thinks about driver assistance: as levels, each of which shifts work and responsibility.
| Level | The platform may | The human | Where it fits |
|---|---|---|---|
| 1. Read-only | Investigate only | Reads the findings | Every environment, by default |
| 2. Recommend | Propose actions with exact commands | Copies and runs them | Teams starting out |
| 3. Human-approved | Propose, and execute after explicit approval | Approves each action | Well-understood, reversible actions |
| 4. Policy-approved | Execute when a policy rule matches | Sets policy; reviews the audit log | High-frequency actions with a long safe record |
| 5. Autonomous | Execute within a declared envelope | Reviews after the fact | Narrow, proven cases only |
The jump that matters is from 3 to 4: from a person approving each action to a person approving the rule. It should be earned with evidence, per action and per environment, never switched on for a whole tenant.
What every AI fix needs before it runs
Whatever the level, a remediation that touches production should go through the same lifecycle. Each step exists because skipping it has caused a real outage somewhere.
A fix is only as good as its verification. An unverified change is a suggestion.
- Grounded. The action is tied to the finding that justifies it, and that finding cites its evidence. "Restart it" with no evidence behind it is a reflex, not a remediation.
- Decided by policy. A rule names the action, the environment and the namespace, with conditions and limits. Default deny.
- Approved by someone else. The approver should not be the proposer. For an AI proposal, the approver is the human in the loop; for a human proposal, it is a second pair of eyes.
- Re-checked at the last moment. Policy is evaluated again immediately before the write, because the world changes between approval and execution.
- Prior state captured. You cannot roll back to something you did not record.
- Verified. The action has a check that proves it worked: the pods stay up, the error rate drops, the limit reads back as intended.
- Rolled back on failure, by approval. A fix that does not hold is marked failed and its own rollback is proposed, again for a person to approve.
Choose the actions, not just the level
Autonomy is a property of an action in an environment, not of a product. Some actions are cheap to reverse and some are not, and the guardrails should differ:
| Action | Reversible? | Sensible guardrail |
|---|---|---|
| Roll back a Deployment | Yes, if the current revision is captured | Capture first; refuse under automated GitOps sync |
| Scale replicas | Yes | Bounds in policy |
| Restart a pod | Mostly | Evict, never delete; check the owner live |
| Cordon a node | Yes | Never the last schedulable node |
| Silence an alert | Yes | Exact matchers; a short, bounded duration |
| Change code or config | Through review | Open a pull request; never merge it |
That last row deserves emphasis. For anything beyond a runtime operation, the safest automated fix is a pull request: it changes nothing until a person merges it, and it runs through your own CI and review.
How to earn the next level
Moving an action from human-approved to policy-approved should require evidence, not confidence. A reasonable gate: a minimum number of executions of that action in that environment, a high verified-success rate, no reversals in the recent history, and an administrator's explicit acknowledgement. Until those numbers exist, keep a person on the approve button. And keep a kill switch that stops all automated writes at once, and that leaves a trace when it is used.
This article was written with AI assistance. It first appeared on alertigate.com.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.