Founder Notes
No Room for the Fix
A build machine stopped finishing work. Jobs would start, produce nothing, and hang. The cause was not subtle: its disk was completely full.
The remedy was not subtle either. A small cleanup script and a schedule to run it — a few lines of shell, the same thing already running on a sibling machine that had never had this problem.
So I copied the script across, and the copy failed.
Not a permissions error. Not the network. There was no room for the file. The disk had nothing left, and a file needs somewhere to go.
I sat with that a second longer than the error deserved, because it was telling me I had the role of the script wrong. I had been thinking of it as the fix for a full disk. It is not. It is the fix for a disk that is filling. Those are different problems, and only one of them can be solved by installing something.
The order had to be inverted: reclaim space by hand first, then install the automation that would have made the reclaiming unnecessary. The manual step was not a shortcut taken under pressure. It was the only step available, because every other step needed somewhere to land.
What makes this more than an operations anecdote is the sibling machine. It had the cleanup job already. It had never filled up, and it could have accepted that script at any moment of any day. The machine that urgently needed the automation was the one that could no longer receive it. The need and the capacity to meet it moved in opposite directions.
There was a smaller version of the same shape inside the failure: the machine's own reaction to being full had itself taken a slice of what little remained. A system under exhaustion does not hold still while you work on it.
I think the general form is this. A recovery mechanism is not outside the system it recovers. It is a change to that system, and every change needs capacity to land — disk, memory, a working path in, a queue with a slot free, a credential that has not expired, someone available to approve it. We design remedies against a picture of the system in its ordinary state, and then reach for them in exactly the state that picture excludes.
So headroom is not slack. It is the delivery channel for every repair you have not needed yet. When it is gone, your options collapse to whatever can be done by hand, from outside.
Automation that prevents a state cannot be installed from inside that state.