Work Case study 14 Oct - 10 Nov 2026
One service registry for two machines, restarts that drain work first, and a change-proposal process.
I run a two-machine self-hosted platform: a desktop and a GPU server that serves local models and my Five Rivers production stack. I had every service on both machines put into one version-controlled registry with a read-only health check, set up planned restarts that drain work before rebooting, and route every root-level change on the server through a numbered proposal that I apply myself.
01 At a glance
Key results
- When
- 14 Oct - 10 Nov 2026
- Directions
- DevOps, platform and release
- One change proposal fixed three silent stops (12, 14 and 18 Oct)
- 78 registered entries across two machines (28 and 50)
- 41 doubtful services settled in one session of rulings, none left doubtful
- Registry repository: 83 commits from 14 Oct to 9 Nov 2026, with a tested read-only check tool
- Planned restarts skip the slot if work is still busy after 45 minutes; nothing is killed
02 Diagram
Two machines, one service registry
Long description of the diagram
Heading shown in the diagram: "Two machines, one service registry".
An architecture diagram. The service registry is at the top. Below it sit the read-only check and the hands-off list, then the two machines, then the restart timer and the change-proposal process, which both act on the GPU server.
Elements
- Service registry, version-controlled: One repository; 78 entries; refresh, diff, commit; no secrets. Each entry: owner, class, boot and restart policy, health check, memory cap, dependencies, after-reboot step
- Read-only check (Python, tested): Compares the registry with what is really running; a clean run reports nothing down, not enabled, unregistered or unhealthy
- Hands-off list, default-deny: Generated from the registry; keeps AI agents away from production services
- Desktop: 50 registered entries
- GPU server: 28 registered entries; serves local models and the Five Rivers production stack
- Planned restarts: Wednesday and Sunday at 05:30; Checks every 30 s that jobs are quiet; skips the slot after 45 minutes; nothing is killed
- Numbered change proposals [marked: Gwyn's own decision or action]: Change, reason, exact steps, check, undo and risk mark; 9 filed; one fixed three silent stops (12, 14 and 18 Oct); Gwyn types every root command
- Note (plain text): Also recorded: 41 doubtful services settled in one session of Gwyn's rulings, none left doubtful. After an out-of-memory kill on 27 Oct, measurements led Gwyn to set a 10 GB cap and at most 16 questions per request.
Connections
- Service registry, version-controlled → Read-only check (Python, tested) (labelled "compared by")
- Service registry, version-controlled → Hands-off list, default-deny (labelled "generates")
- Read-only check (Python, tested) → Desktop (labelled "checks")
- Read-only check (Python, tested) → GPU server (labelled "checks")
- Hands-off list, default-deny → GPU server
- Planned restarts → GPU server (labelled "drain, then reboot")
- Numbered change proposals → GPU server
Key
Status is never shown by colour alone: each marked box also has a band pattern, a symbol and words that state the status.
- a thick edge, a tinted fill and Gwyn's name in the heading: Gwyn's own decision or action.
03 The problem
The problem
A service on my GPU server had been installed but never enabled, so it died at a reboot without anyone noticing. With two machines, many services and several AI agents working on them, I needed one source of truth for what should be running, a way to restart without killing work in progress, and a record of every privileged change, including how to undo it.
04 What I did
What I did
On 27 Oct 2026 I decided that every service, timer, container and automation on both machines must live in one version-controlled repository. Each entry records owner, class, boot and restart policy, health check, memory cap, dependencies and an after-reboot step. A read-only check compares the registry with what is really running, and a default-deny hands-off list generated from it keeps agents away from production services. I set planned reboots of the GPU server for Wednesday and Sunday at 05:30 that drain work first. Every root-level change there goes through a numbered proposal with the change, the reason, exact steps I type, a check, an undo and a risk mark.
05 Results
Results
The registry holds 78 entries: 28 on the GPU server and 50 on the desktop. I settled 41 doubtful services in one session of rulings, leaving none doubtful. The check tool is written in Python with tests, and a clean run reports no service down, not enabled, unregistered or unhealthy. The restart timer checks every 30 seconds that jobs are quiet and skips the slot after 45 minutes, killing nothing. Nine proposals were filed. One fixed three silent stops on 12, 14 and 18 Oct. After an out-of-memory kill on 27 Oct, measurements led me to set a 10 GB cap and at most 16 questions per request.
06 How I used AI
How I used AI
AI agents built the registry and the check tool, wrote the proposals and staged the restart files. A separate AI reviewer checked the proposals; one was sent back for fixes, and all 4 findings were applied. I decided that the registry should exist and why, set its rules (no secrets; refresh, then diff, then commit), gave the protection ruling on every doubtful service, chose the restart schedule and typed every root and sudo command myself. Agents may prepare, review and verify; they do not apply privileged changes.
07 For an employer
For an employer
I self-host and operate a two-machine platform with systemd, Docker and version-controlled configuration: a service registry with a drift check, drain-then-reboot maintenance, and a numbered change process with undo steps and risk marks. I handle incidents with measurements, such as resizing a memory cap after an out-of-memory kill. Privileged actions stay with me.
08 For a client
For a client
If you self-host, I can give you the footing I run on: an inventory of every service, a health check that flags anything down or unregistered, restarts that wait for work to finish, and a written change process with an undo for every step. Every privileged change can stay in your own hands.
09 Skills