Blog
How auto-remediation actually works
A behind-the-scenes look at how AutoMend detects an anomaly, scores its confidence, and decides whether to apply a fix — or to escalate to a human.
AutoMend's remediation loop has four stages: detect, classify, score, and act. Each stage has a strict contract with the next, and each stage writes to the same audit log so the operator always has a full record of what happened and why.
Detect. The agent subscribes to your service's signal stream — request logs, response times, error rates, and a few environment-specific probes. When a signal crosses its baseline, an incident opens. Detection is sub-second; opening the incident takes a couple more seconds as we gather enough samples to classify it.
Classify. Once we have enough samples, AutoMend runs a classifier that maps the incident shape to one of three families: server-error (5xx), broken-asset (404 on a referenced JS or CSS file), or slow-response (p99 latency above threshold). The classifier is conservative — when in doubt, it picks the most general class and waits for more evidence.
Score. Each family has a confidence model that takes the classifier output, recent traffic shape, the time of day, and the history of similar incidents on the same service, and returns a number between 0 and 1. Above 0.85, AutoMend runs the matching playbook. Below 0.5, AutoMend writes an audit row and pages a human. In between, AutoMend writes a recommendation but does not act.
Act. The playbook is the only thing that touches your infrastructure. Every step is idempotent, every step is logged, and every step can be rolled back. We never apply destructive changes when confidence is low, and we never apply a change without first taking a snapshot we can revert to.
The whole loop, end to end, runs in under two minutes from detection to remediation. Most of the time, your users never notice anything.