Do you still need all this?
An AI agent forgets everything between sessions, so git, one check, one deploy and its notes are where it remembers. Keep those. Drop the gadgets.
If an AI can write the code, run the tests, ship the change and fix what broke, do you still need git, a test suite, code review and a deploy pipeline? One answer says no: the tools were for humans, and the humans have left the room. The other answer builds a skyscraper of tooling around every model, just in case.
We had a week that tested both answers the hard way. Most of our code is written by AI agents, and on 15 November GitHub switched off everything that ran our checks and deploys. What we kept, what we dropped and what we missed gave us a short answer.
Keep the memory. Drop the gadgets.
- 1,148
- notes our agents keep for the next session
- 986
- test files in one product alone
- 4
- workflows now merge and deploy everything
- 96
- workflows we switched off
An AI starts every session with nothing
This is the fact that settles most of the argument. A coding agent does not remember yesterday. Each session begins with an empty head: no memory of the bug it fixed last week, the decision we made on Tuesday, or the reason a strange-looking line of code is there.
Anything it should know has to be written somewhere it will read. So every agent session we run works in a loop:
flowchart TD
R["Read what earlier<br/>sessions wrote"] --> W["Do the work"]
W --> C["One check<br/>before merging"]
C --> S["Write down what<br/>the next one needs"]
S --> RRead it that way and the old tools stop looking like human habits. They are the places a forgetful worker keeps what it learned.
Three things that are memory
Git is the memory of what happened. Every change, who made it, and the sentence that says why. When an agent asks "why is this here?", the answer is one command away, and it is the only answer that cannot drift from the code.
The check before merging is memory that runs. A test is a lesson written so the machine re-checks it every time. Our OrangeCat repository carries 986 test files, Loki 669. Most of them exist because something broke once, and the test is how the next session, human or AI, cannot break it the same way again. 48 of the 49 repositories we work in here have one verify command that runs lint, types and tests, and the merge check calls exactly that command.
One deploy is the memory of what is live. On our app server, apps on the newer deploy path point at a release folder named after the commit it was built from; the rest record the commit they run. "What is running?" is a fact you can read, not a guess.
An agent forgets everything between sessions. Git, tests and the deploy are where it remembers.
And then there are the notes. Our agents keep 1,148 small files of what they learned: one fact per file, why it matters, and how to apply it. "This server's backups are capped at 10 GB." "This vendor's free tier is not free." The next session loads the index before it starts. Nobody had to design this as a tool. It is just the cheapest way to stop paying for the same mistake twice.
Under the hood: what a memory note looks like
Each note is a Markdown file with a short header: a name, a one-line description used to decide whether it is relevant, and a type (a fact about the user, a piece of feedback, a project fact, or a pointer to something outside). The body is the fact, then Why and How to apply for anything that is a rule.
An index file lists every note in one line each and is loaded at the start of every session; the notes themselves are opened only when the line looks relevant. Notes are per project folder, so a lesson learned in one repository is invisible from another unless it is written where the agents of that repository will be sitting. The 1,148 notes live in 31 project folders; 547 of them in the one most sessions start from.
The rule that keeps it honest: a note that turns out wrong is deleted, not left to argue with the code.
The gadgets
Then there is everything else. In the first article of this series we counted it: 2,100 automation runs a day while the real work was about 144 merges. Hourly sweeps in 56 repositories, chains that woke the sweeps, every change checked twice. Each piece was added by an agent solving a local problem, and none of it was memory. None of it knew anything the next session needed.
The cleanest test of what you need is to lose it all at once and see what you miss.
| Piece | Memory or gadget? | When GitHub stopped |
|---|---|---|
| Git history | memory | still there, untouched |
| Tests and the one check | memory | moved to our own server in days |
| One deploy per app | memory | moved to our own server in days |
| Notes and decision records | memory | never depended on GitHub |
| Hourly merge sweeps | gadget | switched off; nobody missed them |
| Wake-up chains | gadget | switched off; nobody missed them |
| Checking every change twice | gadget | dropped; the first check is enough |
Ninety-six workflows went. Four workflows on our own Gitea server now merge and deploy everything: one merge check, two deploys, and one reconciler that makes sure what should be live is live.
You do not need to know Kubernetes
Here the first answer is right. You do not need a cluster, a service mesh or a platform team to run a company whose code is written by agents. We run 28 apps on one rented server with plain system services and one web server in front of them. A small second server holds the git copy and hands out work. An agent can operate all of it, because all of it is a few text files and a few commands it can read.
What you need is small enough to fit in one sentence:
- a git server, so history exists outside any one vendor;
- one check before every merge, that runs the tests;
- one deploy per merge, whose result you can read back;
- a place for notes, so the next session starts where the last one stopped.
Everything else should have to explain, in one line, why it exists.
Even the minimum bites
We would like to say the small version runs itself. It does not, quite.
Today our own forge started 324 runs in 24 hours.
That is far fewer than 2,100, but most of them are still schedules asking "is anything ready?", because GitHub sends our copy of the code no event when something changes. And the merge check has a time budget per run: on a busy afternoon, the repositories that come late in its list were put off run after run. A fix to the charts in these articles has waited more than two hours for a check that takes minutes. We dispatched a run for that one repository, and it reached the front of the queue about half an hour later.
None of that is a reason to add machinery. It is the same lesson again, smaller: count what runs, and make each piece earn its place.
Under the hood: the 324 runs
Counted on our Gitea server for the 24 hours to 15:40 UTC on 21 November 2026, by workflow:
| Workflow | Runs | What it does |
|---|---|---|
| Deploy reconciler | 146 | checks that every app runs the commit it should; deploys only if behind |
| Merge bridge | 80 | checks open pull requests, merges the green ones (one light and one heavy job each) |
| Deploy OrangeCat | 50 | deploys only if the live commit is behind main |
| Deploy Loki | 48 | the same, for Loki |
The schedules exist because GitHub sends this server no webhook when a pull request opens or a branch moves; with Actions off for our organization, there is no event to react to. When events arrive again, the schedules become a backstop. A new timer has to carry a schedule-ok: line saying why it exists; our merge check refuses one without it.
So, do you still need all this?
You need less than you probably run, and more than none. Keep what remembers: the history, the check, the deploy, the notes. Let the agents do the rest, and every time they add a piece of machinery, ask the question we forgot to ask for three months: what does this know that the next session needs?
If the answer is nothing, it is a gadget.
bitbaum builds OrangeCat, Loki, Solon and Heidi in public, mostly with AI agents. If you run agents on real code and want to compare what you kept, or want to build with us, the door is open.
Discussion
Sign in to join the conversation.