Triage Ubuntu failures without giving the agent write access

A locked-down agent reads Ubuntu state and proposes a repair plan, while a separate gate decides whether any fix is carried out.

Done with Custom agent· Intermediate· Nov 2026

What they did
Maat ran from a snap that was confined to read-only diagnostics on Linux machines. Its sandbox let it examine journals, systemd units, processes, and disks, but denied sockets, file writes, and service restarts. The model could only draft a typed set of fixes with references to log lines, and a different polkit-protected tool performed any approved action, checked that it worked, and recorded the step in a hash-linked audit log. A single agent instance could connect to several hosts over SSH.
How it went
In ten LXD scenarios, each repeated three times, gpt-oss:20b identified the cause 28 times out of 30 and had 3 repairs carried out and confirmed. qwen3:8b identified the cause 24 times out of 30 and never produced a completed fix. Neither model was steered by misleading text embedded in the logs.
Tips
These scenarios were simple, and only two were adversarial, so the results are best treated as an initial signal. The tests covered Ubuntu 24.04 only, and only from the Snap Store edge channel.

Try it yourself with Claude Code

On my [Ubuntu version] machine, help me investigate [problem]. Read the journal, systemd units, running processes, and disk state, but do not make any changes. Give me a ranked diagnosis with the supporting log lines or other evidence, then write out a detailed repair plan with exact commands. Stop and wait for my approval before any step that would write files, alter settings, delete data, submit anything, send anything, or restart a service. If you need more evidence, tell me what you would inspect next.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.