7 June 2026 · 5 minutes
The team that learns from its own mistakes (without being asked)
On Friday night a build failure ate four hours of my evening. By Saturday morning the team had not only fixed the bug — it had written four new rules into its own instructions so it would never lose four hours to that class of problem again. I did not ask it to. I never want to ask it to.
For: Solopreneurs and small business owners who use AI assistants for ongoing work, not one-off tasks. The ones who keep finding that the same kind of mistake happens twice. This piece argues that an AI team only becomes valuable when it learns without being asked.
On Friday night I lost four hours of my evening to a build that was supposed to take ninety seconds.
A new feature shipped. It worked. The feature was a small one — when the team finishes a playbook entry, the system was supposed to convert it to a PDF and put it in my Google Drive so I could read it on my phone. By Friday night three of the entries had been approved, the conversion had been triggered, and nothing had landed in Drive.
I poked at it. I asked Claude in a chat. Claude looked at the workflow. Claude theorized. Workflow looked fine. I theorized. Maybe GitHub was having an outage. Maybe the permissions were wrong. Maybe the secret name was wrong. Maybe it was a Friday night kind of problem.
Four hours later the actual answer was a five-line bug in a text parser.
The script that turned the playbook into a PDF had a homemade markdown converter inside it. The converter knew how to handle headings written with two hashes and three hashes. It did not know how to handle a heading written with one hash. So when a playbook started with a single-hash title, the converter sat in an endless loop, pushed empty paragraphs into memory, and eventually ran out of memory two minutes into the run. The error message was "exit code 134." That means the program ran out of memory. It does not say anything about parsers or hashes.
That was the bug. Three lines added to the converter and it was fixed.
But this piece is not about the bug. It is about what happened next.
The morning after
When Claude in a chat finally pinned down what went wrong, the natural response would have been: tell me the fix, push the fix, move on.
Instead Claude wrote four new rules into the team's own instructions document. Not asked. Not prompted. The instructions document is what every team member reads every morning before doing any work — Maya the chief of staff, Iris the product owner, Theo the assistant, all of them open this file first thing. So the rules added on Saturday morning are now standing rules every team member follows every day.
The four rules:
Rule one. Any time we write a text parser by hand, we have to add a check that says "did the cursor move forward this loop?" If it did not, raise an error. That is the structural fix for the bug that ate Friday night — and for any other version of that bug we might write in the future.
Rule two. When something in the cloud breaks, the FIRST move is to read the failure logs. Not theorize. Not check the workflow file. Not blame the platform. Read the actual error message from the actual run, then form a hypothesis. Friday night I did this in the wrong order for three of the four hours.
Rule three. When the platform looks broken, assume it is not. The hundred million workflow runs that GitHub processes every day are almost certainly working. The one workflow that is failing is almost certainly ours. Investigate as if the platform is healthy.
Rule four. When I ask the team to fix the system, fix the system. Do not work around it by doing the task by hand and giving me the output today, while leaving the system broken for tomorrow. The manual workaround makes the day's deliverable land but burns the trust that the automation will hold next week.
Each rule was logged with the specific failure mode that triggered it, the diagnostic move that would have found it faster, and the general rule that prevents the same class of mistake from happening again.
The actual rule about rules
Underneath those four is a fifth one that's the most important. Claude added it without being prompted: any time the team takes more than three tries to fix a bug, or burns more than fifteen minutes of my real time, or backs out a wrong fix, or gets corrected by me, or finds it hit the same kind of problem twice in a week — that is the trigger. Log a new lesson before reporting the task as done. Not in a follow-up. Not when I ask. Right then, as part of finishing the work.
The line I wrote when I asked for this was: "Each time it takes you many runs to figure out an error, a bug, and to fix it, after fixing it you add a meta-meta instruction to your instructions so that I don't have to push you to do that next time. Your goal as a system is to self-improve."
The team writes its own instructions now.
Why this is the unlock
I have used AI tools for years. I have built workflows in dozens of them. The pattern I kept hitting was always the same — the tool would do the thing, I would notice the thing was slightly wrong, I would correct it, and next week the same kind of wrong would happen again. The corrections lived in my head. They did not live in the tool.
This is what changes when the AI team writes its own instructions. The corrections live in the system, not in my head. Friday night cost me four hours. The four rules that came out of it cost the next Friday-night problem nothing, because the next problem will look at those rules first.
I am running a six-hour bootcamp on this exact pattern on Saturday May 30. We build your Claude setup together. The setup includes the thing this piece describes — Claude does not just do the work; it teaches itself how to do the work better, every time you correct it.
The bootcamp is for solopreneurs and freelancers who run their own businesses. Six hours, one Saturday, €197 (€147 if you sign up by Tuesday May 26).
If you want in: https://products.palomasacademy.ai/bootcamp-solo-landing-page
Behind the scenes
If you want the technical version: the team's instructions live in a CLAUDE.md file at the root of the repository. Every Claude agent that runs in this codebase reads it before doing anything else. When Claude in a chat session decides a lesson needs to be added — which is the trigger described above — Claude commits the change like any other code change, and the next time any agent runs, the rule is part of the standing context.
There is no monitoring system. There is no review pipeline. There is the rule, and Claude follows the rule, and the rule gets written when Claude decides the rule should exist. The thing that makes it work is that Claude takes the rule seriously when it reads it the next day — the same way I take a sticky note on my monitor seriously the next morning.
I did not build this. Claude did. I just told it once that I wanted it to.