An operations host
An always-on machine — a small container or VM — can run the fleet's
housekeeping every night while your workstation sleeps, and mail you
one report. It is an operations checkout of its own that joined the
shared workspace, and it reaches your servers only through fleet
read (hostwarden-fleet-read skill): its key runs a bundle of
read-only checks you signed and writes one journal line, nothing
else. Not a shell, let alone root, unless you unlock a write key
there for a while (below).
What it needs from you
- An account without
sudo, theclaudeCLI logged in, and a mail transport. bin/hostwarden-init --clone <workspace remote>, with a key that may push there.- Its own
memory/user.md(see below). *in itsmemory/readonly.md, so no session there changes anything, and a copy of your blacklist; with a write key (below), only the servers that stay read-only.- The fleet key, made by you, and the key line on each server, added by you from what the skill writes out.
Operator: ops1
Report email: ops@example.com
Workspace push: always
Presence: off
ops1 is the machine's own handle, which every journal line of the
nightly run carries — [ops1 as root] read-only: housekeeping: … —
so your colleagues can tell it from your own sessions. It is
reserved in operators.md as ops1 (operations host) — the session
that sets the machine up does that — and the nightly run refuses to
start until the reservation has been pushed. Presence: off keeps
the machine from starting a presence session nobody needs there.
Running the job
Then run bin/hostwarden-fleet-run --no-judge and --dry-run by
hand, and put it on a timer; the units are in the
hostwarden-fleet-read skill. Each night it updates Hostwarden,
pulls the workspace, reads every server, has Claude judge each
output without any tools, checks the hard thresholds itself, logs
one line per server, commits those changelog lines and pushes, and
mails the report. Its exit status is 2 when a CRITICAL is not
explained by the server's memory.
One area, every host
bin/hostwarden-fleet-run --section disk --section cert asks each
host for just those sections of its signed bundle, up to 32 of them,
plus the floors
the bundle rates itself, and prints the report. It is always a dry
run: nothing is logged on a host, written to the workspace or
remembered as first seen, because a read of one area must not pass
for a full housekeeping run. The section keys are the words on the
bundle's SECTIONS= line, and a key a host's bundle does not
carry leaves that host unread, with the key named, rather than
reading everything. A bundle built without that line runs only
whole; ask for a rebuild in the current layout to use this.
Changing hosts from there
Optionally, a session you start on the operations host can change hosts while you allow it. You give the account a write key of its own, Hostwarden's own SSH key, in an encrypted file, and add its line to each server next to the fleet line, or have your SSH CA certify it for a few hours. You unlock it yourself, logged in there as that account, for the time you name:
bin/hostwarden-identity load -t 2h
Take * out of memory/readonly.md there, and list the servers
that stay read-only and the machine's own names, localhost among
them. A session checks the key before each change; when the time is
up, or after ssh-add -D on Hostwarden's agent, it closes every
shared connection the sessions there opened, which would otherwise
outlive the key, and the machine is read-only again.
The nightly run never uses the write key or those connections, and
no key is ever forwarded to the machine from your workstation.
Anything else you run on that machine — a mailbox triage, a bot — is yours, not Hostwarden's, and never gets the fleet key.