The System
Guide · The ladder · Level 3

Level 3: The system builds itself

At Level 2 the tune-up loop still ends at your keyboard: a candidate passes the four tests, and you build it. Level 3 closes that loop. An idea you approve in a session gets built by a coding agent overnight, tested, and switched on, and it can only ever act inside the three gates you already set. This is the top of the ladder, and it isn't for everyone.

≈ 10 min read · ongoing · your own machine, your own code
Who this is for

People who build software. Not because the idea is complicated (it's one more scheduled job, plus two text files) but because when an automation built overnight does something odd, you need to be able to read the code, understand what it did, and fix it before the next run. If that sentence makes you tired rather than curious, stay at Level 2. It is the right stop for most people, and nothing on this page makes the morning brief any better.

If you're still reading: Level 3 is where the system stops being something you maintain and starts being something you supervise. That's a real shift in what your time goes to, and the rest of this page is about doing it without losing the safety the earlier levels built.

Step 1 of 4

The loop goes automatic

The tune-up loop has had the same shape since Level 1: notice something done by hand twice, write it down, make it easier. At Level 2 you check each candidate against the four tests (reversible, internal, objective, bounded) and build the ones that pass. At Level 3 the build step moves to a machine, and the loop looks like this:

Notice where the gates sit. The agent can read and draft (write code in a sandbox) freely. Putting a job into the live schedule needs a yes. And the new job, once live, inherits the same limited database role, the same environment file, and the same rule that nothing leaves the system except a message to you. The agent cannot widen its own reach, because the reach is set by credentials it doesn't hold and can't create. A lock, not a promise.

Don't skip the sandbox, and don't let a passing test switch itself on, however tempting once you've watched it work. The morning yes is thirty seconds, and it's what makes this level survivable.

Step 2 of 4

A doctrine file: rules learned from incidents

Something will go wrong. A job will re-date the wrong rows, a brief will fire twice, an agent will build a test that passes for the wrong reason. Each of those is an incident, and each one should leave behind exactly one thing: a numbered rule, written in plain language, in a file the assistant reads at every open. The kit ships a template for it (ritual/DOCTRINE_TEMPLATE.md). The How it works page calls this answering once.

The shape of a doctrine entryone per incident, never edited in place
DOCTRINE v7 #7 A test that only checks the job ran is not a test. (2026-03-14) Incident: overnight job "chase stale waits" passed its test and then re-dated 40 rows I owned. The test checked exit code only. Rule: every generated test asserts on the ledger state after the run, against a seeded copy, and fails if any row owned by 'founder' changed. #6 The nightly close moves a row once. (2026-02-02) ...

Three rules about the rules. The assistant may add an entry on its own after an incident and must say so in the handoff; that's a learning, and learnings are the system's to record. Changing or removing an existing entry needs you, every time, because a rule that can be quietly softened is not a rule. And the file carries a version number that goes up on every change, so each session can read only what's new since the last one instead of the whole thing.

The doctrine is where the gates get sharper over time. Most entries will be of the form "this looked bounded and wasn't", and each one narrows what the overnight loop is allowed to try next.

Step 3 of 4

A journal between sessions

The handoff row from Level 1 is a transaction: what was measured, what was ruled, what's in flight, what must not be touched. It's exactly what the next open needs and nothing more. At Level 3 it's worth adding a second, quieter thing beside it: a journal, written by the assistant at the close, in the first person, for its next instance rather than for you.

The handoff tells the next session what to do. The journal tells it what the last one noticed: a pattern in what you keep saying no to, a job that works but produces briefs you skim, a doubt about whether a candidate really passed the objective test. None of that fits a typed column, and all of it is how judgement accumulates in a system whose memory otherwise resets every day.

Two rules. It's append-only, because a record you can rewrite isn't a record. And the assistant writes an entry only when there's something true to say; an empty close is a fine close. The open reads the last entry, and only the last.

Step 4 of 4

What stays human forever

Everything on this page is about the system getting more capable without you in the loop. This section is the short list of things that never leave the loop, however good the system gets, and however many times it asks nicely. Write them into the Project instructions and into the doctrine, in words close to these:

The permanent listadd to Project instructions and doctrine
These require my explicit yes, in a session, every time. No ruling, no doctrine entry and no passed test can make any of them automatic: 1. New credentials. Creating, copying or widening any key, token, password or database role, including for the overnight loop. 2. New outbound channels. Any new way for the system to send anything to anyone other than me: email, messages, posts, payments. 3. Loosening a gate. Moving any kind of action from "ask" to "free", or changing the four-part test. 4. Deleting or spending. Still, always, however small. The system does not propose changes to this list.

The last line matters more than it looks. A system that keeps asking to expand its own permissions is wearing you down, one reasonable request at a time, and the honest defence is to make the question itself out of bounds. New capability comes from you deciding, on your own schedule, that something has earned it. Not from being asked.

Before you start

The risks, plainly

Drift

Twenty small jobs built over six months, each sensible, together doing something nobody designed. The defence is the morning brief listing every live job once a week, and a standing question: which of these would I switch off?

Tests that lie

A generated test tends to prove the job ran, not that it did the right thing. Doctrine entry one, for most people, is about this. Insist on tests that check the ledger afterwards, against a copy.

Quiet reach

An agent with a shell can reach anything the machine can. Keep secrets in the environment file with the narrowest possible scope, give the sandbox no credentials beyond the test database, and treat any job that wants a new one as a human decision.

Supervising costs attention

The thirty-second morning yes is cheap only if you actually read it. The day you start approving without reading is the day to pause the overnight loop for a week and ask what changed.

None of these are reasons not to do it. They're why this page insists on the sandbox, the doctrine and the permanent list before the first job gets built. In that order, with the gates intact, you get a system that gets a little better every week without you typing, and never does anything overnight you'd have to undo in the morning.

The top of the ladder.

Four levels: an assistant that remembers, a ledger it can check, a machine that works between conversations, and a loop that builds the next improvement while you sleep. The gates never moved. If you climbed all the way here, the Inside page shows what one such system looks like after a year, and the kit is where the next person starts.


The System · Start · How it works · Guide · Library · Questions · For AI assistants · What your AI reads · llms.txt · Impressum · Datenschutz ·