ericjeason
中

NOTE · 2026-11-24 · growing · about 4 min

Habits I picked up after letting agents touch my files

These days agents write most of my code and run a fair share of the publishing. Nothing dramatic has gone wrong so far. What follows are the habits I’ve picked up along the way, and most of them are about making mistakes easy to take back.

Nothing gets deleted directly

Backups only ever get added to. When an agent decides something isn’t needed anymore, it moves it into a folder called “to delete”, and I empty that folder myself, eventually. The agent is usually right. I’d just rather not find out about the one time it wasn’t.

Undo, with a ceiling

The tavern’s maintenance agent sets a rollback point before each change. Left alone, that kind of safety net slowly turns into a full disk, so it only keeps the last few, with a cap on their total size. Each job also gets a fixed number of rounds and a time limit, after which it stops and waits for me.

Writing down what didn’t happen

When something gets checked, the record keeps the real request, the real response and the file hashes. It also has a line for what wasn’t checked. I started doing that to keep the agents honest. A month later, it turned out to be the line I read first.

Small keys

The agents get a handful of specific operations to call, and no open-ended terminal. The keys they hold only cover the job in front of them.

Split the files before splitting the work

When more than one agent writes code at the same time, I divide the files up first so nobody edits someone else’s. Read-only reviews can run side by side as much as they like. A round counts as finished when every agent has stopped, not when the first one says it’s done.

The last click

Checking and publishing are separate steps. The agents can get everything ready; whether it goes out is up to me.

None of this is clever. It’s roughly what you’d do with a new colleague you like but haven’t known very long.

— end · growing —

← Back to notes