← All thoughts

Rigs, not scripts

Why most automations die in month three

Almost every automation I have seen in a small company follows the same curve.

Month one, it works. Someone wired a script, a Zapier flow or an AI agent, it saved a few hours, everybody was happy.

Month two, something moves underneath it. An API changes a field. A token expires. A supplier renames a column in their spreadsheet. The automation does not crash loudly. It just stops doing its job, or does half of it.

Month three, someone finds out. Usually a customer, sometimes an accountant, occasionally me looking at a chart that has been flat for three weeks. By then nobody remembers who built it or how it works, so it gets turned off and the work goes back to a human.

The automation didn't fail because the idea was bad. It failed because it was a script, and a script is not a machine.

month 1month 2month 3hours saved per weekrigscripta field changesalert, fixedsomeone notices
The month-three curve. An illustration, not data: the script fails silently and stays dead until someone notices; the rig fails too, but tells someone the same day.

Google engineers described the same decay for machine learning in a 2015 paper, Hidden Technical Debt in Machine Learning Systems. The model, they found, is a small box in the middle; most of the risk lives in the glue around it: data dependencies, configuration, and pipelines nobody fully owns. Swap "model" for "agent" and the paper reads like a small company's automation stack.

What a rig is

I use the word rig for the thing that survives month three. A rig is a bounded machine that runs itself. It has:

The test I apply before calling anything a rig is three questions. Can it run for a week with nobody touching it? Does it hold state between runs? Could I hand it to someone else as one unit: the box, the state, the schedule and the playbook? Three yeses, it's a rig. Any no, it's a part of one.

A cron job is a part. A prompt is a part. A Python script is a part. They are fine parts. They are just not finished machines, and treating them like machines is what kills them.

The failure that taught me the most

One of our outreach machines sent nothing for four days. Every health check was green.

There were three checks. One confirmed there was work waiting to be sent. One confirmed the machine had run on schedule. One confirmed nothing was stuck in quarantine. All true. What nobody measured was the only question that mattered: did anything actually leave?

What we checkedStatus, day 4Is there work waiting to be sent?✓ greenDid the machine run on schedule?✓ greenIs anything stuck in quarantine?✓ greenDid anything actually leave?never measured
Four days of zero output, three green checks. The fourth question had no check at all.

A single rejected address had triggered a hold, and the hold had been written too broadly. It froze the whole campaign: one bounce on one address held all 25 people on the list. From the inside, a full stop looked exactly like a quiet week.

The lesson is simple and I now apply it everywhere: alive is not the same as productive. Every machine needs a check on what came out, not only on what went in and on whether it ran.

Google's SRE book lists four golden signals worth watching on any system: latency, traffic, errors and saturation. Traffic is the one small teams skip, because it is the only one that goes quiet when things go wrong. We now run a daily check that asks every sending machine one question, did anything leave since yesterday, and I hear about it the same day if the answer is no.

The registry rule

The second lesson is about inventory. In most companies, nobody can list every automation that is running. They live in different tools, under different logins, built by people who left.

Our rule is blunt: nothing is in production until it is registered. One file lists every machine, what it does, when it runs, who owns it and how to stop it. A daily report is generated from that file. If it isn't in the registry, it isn't allowed to run unattended.

154machines in the registry today
13fields each one must fill: owner, schedule, timeout, logs, state, failure policy and more
1report, generated from that file every morning

It sounds like paperwork. In practice it is the difference between "something is off, let me check the list" and an afternoon of archaeology.

Alarms that cry wolf

The third way machines die is noise. A monitor that alerts on everything gets muted, and a muted monitor is a dead monitor. When an alert fires and it wasn't worth my attention, the fix is to tune the alert, not to start ignoring the channel.

Researchers named this a long time ago. In a 1997 paper on how people use automation, Parasuraman and Riley called it disuse: operators who get enough false alarms stop trusting the system, including on the day it is right. Google's SRE team reached the same rule from the other side: every page should be actionable. If an alert does not need a human to do something, it should not reach a human.

Build fewer, finish them

Most automation projects are stopped at ninety percent: it works on the happy path, there are no output checks, no playbook, no registry entry, and the builder has moved to the next shiny thing. That last ten percent is where the machine actually becomes a machine.

So we build fewer, and we finish them. A rig is done when it can run a week without me, tell me when it can't, and be understood by someone who didn't build it.

Sources

  1. D. Sculley et al., Hidden Technical Debt in Machine Learning Systems, NeurIPS 2015.
  2. Beyer et al., Site Reliability Engineering, Google, 2016, chapter 6, Monitoring Distributed Systems.
  3. R. Parasuraman and V. Riley, Humans and Automation: Use, Misuse, Disuse, Abuse, Human Factors 39(2), 1997.
  4. Outreach incident and registry counts: our incident notes and automation registry, 2026.

Running on too many manual hours?

The human gates →