An AI will sometimes be wrong. So the AI can only propose. What actually runs on a server is decided by rules on that server, checked by a small root service on the server that verifies every order itself.
- The server has the final say
- What may run is listed in
/etc/webalert/actions.yaml, owned by root. Webalert can lower what it does, never raise it: AI diagnostics, AI-written scripts and Autopilot each need a switch in that file.
- Read-only, localhost-only collectors
- Metric collectors and diagnostics read; they never write. They only talk to services on the server itself, and database passwords stay in a root-owned file on the server.
- Signed, single-use orders
- Every fix reaches the server as an order signed by Webalert, bound to that one machine, valid for minutes and usable once. The server checks the signature and, for a restart, that the service is still down before it acts.
- The exact script, approved
- An AI-written script is shown word for word before anyone approves it, never as a summary. High-risk ones need the server’s name typed, and a script is never approved from an email link.
- A denylist on both ends
- Wiping disks, deleting system folders, piping downloads into a shell, touching users, SSH keys or the firewall, rebooting: refused by Webalert and again by the server.
- Limits, then a person
- Autopilot gets two tries per incident, 3 runs an hour and 10 a day per server. When it can’t fix something, it stands down and the incident goes to whoever is on call.
- Everything is recorded
- Every diagnosis shows what it looked at. Every run, refusal and script, with its output, is in Webalert and in an audit log on the server.
- Your data, your choice
- Log lines and command output are redacted before they leave the server. Choose metadata only and the AI works from metrics and counts alone. What’s sent, and to whom.