I Didn't Write the Code. I Made Every Decision.
I built an open-source monitor with an AI agent that wrote every line. What was left for me was the part that was never code: what failing means, what deserves my attention, what must never ship.
The agent typed. I decided. The deciding was the hard part.

Every day I have the same ritual. I need to check server status, connections, review requests and so on.
Nothing was broken. That was the problem. I was spending attention to confirm that nothing needed me. And most of the time, it's not even the same platform.
So I decided to build the thing I wanted. And I set one rule before the first line of code: the agent writes nothing until I've said how it should work. It asks for my approach. It tells me what I'm missing. Then I type "Implement this step", and only then does it build.
I typed that sentence a lot over the following days. But I never typed the code.
One place for what needs me
The idea is simple. fly-monitor is one screen that shows what needs you, across everything you're responsible for.
GitHub review requests, comments and mentions. Websites that stopped answering. Queues where messages pile up and nobody consumes them. It runs in the terminal, keeps its history locally, and fires a desktop notification when something changes.
It started as a private monitor. But this time I wanted it open source from day one. Not cleaned up later. Built in public from the first commit, so anyone could point it at their own systems.
The code is here: github.com/amadodevit/fly-monitor.
Plugins bring data. The core decides.
The first real design question wasn't about GitHub or queues. It was: who is allowed to think?
A plugin only does two things. It says what it needs (for example a URL, a password, which queues). And when asked, it says what is true right now. That's it.
Everything else belongs to the core. History. Rules. When something counts as failing. When to notify. What the screen looks like.
Today, there are two kinds of things a plugin can report:
- Items are things to act on. A pull request waiting for your review. It shows up, you handle it, it goes away.
- Samples are things to measure. A queue with 218 messages waiting and zero consumers. It's always there. The question is whether it's healthy.

The payoff is in what a contributor doesn't have to write. Someone who wants to monitor their own system writes about fifty lines: the settings, and a function that fetches the numbers. The setup form appears on its own, built from those settings. History, checks, alerts, acknowledgments, all of it comes for free.
That's what a plugin system is for. Not flexibility for its own sake.
Quiet when it's fine
The first version showed everything. Twenty green "OK" rows and, somewhere between them, the one red line that mattered.
A monitor's job is to stay quiet when there's nothing to say. So the screen changed shape:
- Everything is grouped by client, then by kind. One look tells you which part of your life is on fire.
- A healthy broker takes one line. A broker with a problem shows only the problem, plus "+7 ok".
- Colour means one thing only: look here.
- When something fails, you acknowledge it. It turns orange: someone is on it. When it recovers, you get a popup, and you stop refreshing the screen to see if it's over. Then you close it.

Where I was actually needed
Now the honest part. The agent wrote every line, and it wrote them well. Tests, migrations, edge cases I hadn't thought of. If engineering were just typing, as a lot of people think, I would have been redundant.
But I stopped and looked at what I actually did. I decided what "failing" means: five bad checks out of the last ten, not one. I decided a broker should be grouped by client, not by technology. I decided a password never goes into the database. I decided what must never reach a public repository. I decided what the plugin system would look like and guided how it was built.
I've started calling this the Decision Surface: the part of the work an agent can't take from you, because it isn't in the code. It's in what the code is for.
And the decision surface is where I made my mistakes:
My recovery rule was wrong. I said a website should count as recovered after three good checks in a row. Reasonable. The agent traced it and showed me the flaw: the old failures were still in the window. One more bad check right after recovering, and the site would be failing again. Flapping, by design. The code was correct. My rule wasn't. The fix was just a sentence, not a function: only count checks since the last recovery.
A merged pull request wouldn't go away. It sat in my list two weeks after the merge. Nothing was buggy. I had assumed "an unread notification means it needs me" and never said it out loud. Most of the time, when the agent builds something other than what we expected, it's because we weren't clear enough about what we expected. I've written about this kind of friction before.
Nearly two million messages dequeued. The broker's console shows that number proudly. It means nothing. It only goes up. What matters is how much it moved since the last time you looked. Deciding which numbers are worth showing turned out to be a design decision, not a formatting one.
The check ran. Nobody stopped.
One more quick story.
From the start, I asked for one thing: nothing about me goes into this repository. Before every commit, the agent ran a scan for client names, hosts and personal data.
Near the end, the scan found something. The real name of a queue from my client's broker had slipped into a code comment, copied from a screenshot I'd shared. The scan printed the name, right there in the output.
And the command kept going. Scan, then commit, then push, chained on one line. The scan reported. Nothing listened. The name went to a public repository.
The fix took a minute: replace the name, push again. The lesson took longer. The check worked. It did exactly what it was built to do. It just had no power to stop anything.
I've written that execution is free now and verification isn't. I'd add one thing. Verification that can't stop the line is a report, not a gate. Now the scan blocks the commit. If anything matches, nothing ships.
And that decision wasn't the agent's either. It was mine. It always was.
What we need to find is the boundary: how far I go, and where the agent begins. If I outsource even the decisions, there's nothing left for me.
A check that can't stop you isn't a check. It's a witness.