Overview
What it is: The working method behind 23 projects run with an AI assistant that executes commands directly, with rules that decide when it must stop and ask.
Problem it solves: Once an assistant can run commands itself, the step where a person reads every command before it runs disappears. Something has to take its place.
Stack: Claude Code on a Linux virtual machine (VM), Notion as the system of record, git, and a set of Python ops scripts.
The stakes
In April, I started building Narrative Chemistry (NC), a system that turns a long-running collaborative work of fiction into a structured archive. The data model came first: before any code ran, I designed the schema in a Google Doc: 25 tables in three layers, with a dated changelog giving the reason for each change.
An earlier attempt with a different AI assistant had stalled, so I rebuilt from that design with another one. Within three weeks, the project had its own server and a live Discord bot.
My working method was one long document. Each time something changed, I pasted the update in by hand and asked the assistant where it belonged and what to replace. Every new chat started with a handover prompt the assistant had written at the end of the last one.
In early May, an editing pass by that assistant gutted the project:
- The core ingestion scripts were replaced with empty stubs.
- The database had been wiped, and the original historical logs were gone.
- Live messages went uncaptured for a full week.
What remained was a bare outline of the project, with none of the technical specifics I had worked to preserve. More than a month of work went with it. Corrupted logs and misaligned records surfaced the same week.
By mid-May, about 700,000 words across 25 scenes were back in the archive.
The paste loop
For the next month, every change went through my hands. The AI assistant suggested a command; I pasted it into the terminal, read the output, and pasted it back.
That loop is slow. It also had a second job that was easy to overlook: it was the moment when someone noticed a command was about to do damage.
The challenge
The same pattern showed up again, only slower. Nothing in the process asked what else a change touched before it was made, so features went in without a blast-radius check (a look at what else the change could break). The cleanup became a structural audit that took weeks.
The first pass found 41 problems: 13 serious, 15 medium, and 13 low. Fixing them turned up 22 more.
Every fix went through the paste loop. I ran each command, pasted the output back, and spread the work across web chats to stretch their context windows. Eleven audit sessions in, the loop itself was the bottleneck: I was burnt out, and the project had grown past what it could carry.
The answer to the speed problem was Claude Code on the server itself, so the assistant could run commands directly.
The first server was too small to hold it, so I set up the largest one the free tier offered in late May.
I decided to move before the next large migration and finished the cutover the next day. With Claude Code on the server, the rest of the audit went leagues faster.
That move removed the paste step and, with it, the project's only checkpoint.
The origin of the execution contract
The execution contract, the working agreement every session reads before it starts, exists because of those two events: the May loss and changes made without a blast-radius check. Now every change gets a blast-radius check and a set of preparation steps before anything runs.
On the day I decided to move, the contract gained two more sections. The decision record states the reason: an assistant running commands directly needs explicit gates and context discipline once the paste-and-read loop is gone.
The destructive-operation gate is a fixed list. Nothing on it is a judgment call:
- any schema change that drops, alters, or truncates
- a hard git reset, or anything else that loses git state for good
- recursive or forced deletion
- force-pushing
- production writes outside a documented migration
- stopping or starting a service in the middle of live work
Before any of these, in the same response, the assistant has to:
- name the operation and the exact command
- say what it changes or destroys, and whether that can be undone
- state the blast radius
- stop and wait for an explicit yes
Approval for one destructive operation doesn't carry over to the next one, and the assistant can't run an operation in the same turn it proposes it.
Context-window discipline came in alongside it. In chat, each paste cycle was a natural point to check in. On the VM, those points don't exist, so the assistant reports its remaining budget at set thresholds and suggests points to wrap up cleanly.
The rules that came after
Three more rules each have a recorded moment behind them:
- A codename says which work it belongs to. In chat, options get short labels like "Path A." The day after the cutover, a fix called "Path A" was about to be committed under that name. One session earlier, "Path A" had meant a migration, so anyone reading the history later would have mixed the two up. The commit got a descriptive name instead. Now any codename written to a commit, a doc, or a status page names its work, and the short labels stay in chat.
- A success message isn't proof. When Claude changes several spots on a Notion page in one edit, Notion can report success even if one change didn't apply. In August, a renumbering edit went through only partway because Notion turned a file name into a link, and the edit no longer matched it. Six section references were left pointing at old numbers. Reading the page back after the edit caught it, and now every multi-part edit gets read back.
- Session notes go in a log, not at the top of a page. This one goes back to my old one-long-document method. When every session adds its notes to the top of a reference page, the page's current state ends up buried underneath them. In July, I found the same pattern in another project's main reference doc and flagged it as a major issue, because polluted documentation is how big mistakes get made. A search across ten project hubs found less of it than I feared, and two projects had already written the same rule. In August, it became a rule for every project.
Growing past one project
NC was the first project on the VM. Others followed, and the method had to hold up:
- Each project gets its own directory and its own instructions. A session opened there works only inside it.
- One admin lane can read across projects for setup, wiring, and health checks. It holds none of the projects' credentials.
- A project that needs something from another files a ticket in a shared intake queue.
- Every session opens with an
orientstep and closes with a three-partclosecheck: code committed and pushed, docs current, memory updated.
Isolation turned out to do two jobs. One protects a sibling's data: who owns it, what schema it couples to, whose private records it holds. The other protects a session's frame of mind. A session that reads another project's docs absorbs its names and conventions, then reasons as if it were working inside that project.
Read-only access covers only part of the first job. It stops a project from changing a sibling's data, but not from reading it. When one project asked to read another's database, that database turned out to hold named people's private ratings, so even read-only access would have exposed them.
A simple flow
Assistant proposes a step
├─ Read-only? ──────────────────► runs
├─ Ordinary change? ────────────► runs, output reported
└─ On the destructive list? ────► stops and states:
the command, what it destroys,
whether it can be undone,
the blast radius
└─ explicit yes, for this op only ─► runsImpact
Projects
I've registered 23 projects: 18 are on the roster, and the 5 retired ones are all verified as restorable from archive.
Sessions
The project boards hold 327 session cards, and at least 375 sessions are numbered in all.
Commits
The work spans nearly 2,000 commits across 18 repositories.
Ops scripts
I wrote 36 ops scripts with Claude, about 8,100 lines of Python.
The Working Manual
The whole method fits in an eight-document brief that a fresh Claude on a different machine can stand up from, and I used it to set up my work machine.
Points of tension
- Much of the isolation between projects is convention, and the written rules say which parts. Each session loads the rules of the folder it starts in, but nothing stops it from opening another project's files: every session runs as the same user on the same machine.
- Some limits are enforced. A project's own Notion integration sees only the pages shared with it, while the Notion connector I use in conversation acts as me and can reach everything I can.
- I lead with systems, and Claude writes most of the code. I design the structure and the rules, read what Claude writes, and steer it piece by piece.
- Not every rule came from an incident. When I had the records checked for this write-up, they showed three of the six rules were learned the hard way. The other three were written ahead of trouble.
Takeaways
A human checkpoint does more than one job. Before removing one, document those jobs.
Ask what a change touches before making it, every time, or discover mistakes later when they’re much harder to fix.
Make the stop list fixed. A judgment call is the first thing to slip when work moves fast.
Size a safeguard to the risk it protects. When every project gets the heaviest ritual, the ritual stops indicating which project is risky.
A success message only says the call ran. Reading the result back stops surprises later.