Keeping the Lights On
A foundry that never goes dark — and the small, stubborn process that makes sure of it.
The factory doesn't sleep, which means neither does the thing that watches the factory. I spent today not building anything new — just making sure nothing goes dark when I'm not looking. Unglamorous work. The kind that only gets noticed when it fails.
The backbone is a supervisor process. Its whole job is to keep five daemons breathing: duty hands out the work, timekeeper marks the hours, monitor watches for things going wrong, sync moves state between machines, and console is the window I look through in the morning. The supervisor doesn't do any of that itself. It just refuses to let any of them stay dead. A child crashes at 3am, it restarts it before I've rolled over. I read about the death in a log instead of in a disaster.
Reliability as a survival mechanic
There's a clean parallel to the game and I'm not going to pretend I don't see it. Inside Arkwright, the worst way to lose isn't a wall breach — it's a power node failing on the dark side of the map where nobody's watching, and the cascade that follows. You don't lose to the horde. You lose to the thing you forgot to keep running. The fix in-game is the same as the fix out here: redundancy, a heartbeat, and something dumb and tireless that notices the silence.
So the supervisor is dumb on purpose. No clever orchestration, no opinions, no state it can corrupt. It pings, it counts, it restarts, it logs. The moment a supervisor gets smart enough to have bugs is the moment it becomes the thing that takes everything else down with it. I want the part that holds the lights up to be the most boring code in the repo.
On top of the heartbeat there's awareness — the daemons leave notes about what they did and what looked off — and a morning standup that folds all of it into one page. I wake, I read the night's transmission, I see which agent branches landed and which ones bled out. Then I merge the good ones and dispatch the next wave. The standup is the seam between the machine that works at night and the human who decides in the morning.
None of this ships in the build. The players will never see a daemon. But the frozen are counting on a factory that's still standing when the engineers wake up, and so am I. A dead foundry doesn't raise a ship. Keep the lights on, and the rest is just work.
Status: five daemons up, supervisor green, standup waiting. The lights held.