Skip to content
Maxwell CollinsContact

From Blocking Agents to Judging Their Work

How I build with AI agents now: seven hard blocks, done decided from the user's seat, tests first, and every change checked by an agent that did not build it. What changed since April 2026, why, and what I kept.

Maxwell Collins19 November 20265 minute read

On this page

In April 2026 I published a method for building software with AI agents. Its premise was that an agent will take any shortcut it is allowed, so the job of the person directing it is to make every shortcut impossible. By November I had taken most of that machinery apart. This is what I replaced it with, why, and what I kept.

Where I started

The April method was Domain-Rules-Driven Development. The business's rules, written in plain English and numbered, were the authority, and the code was "the defendant, not a witness". Every rule was enforced at every boundary where it could be broken: blocks that refused a bad write as the agent typed it, gates before a merge, checks at run time, hooks on the agent's own lifecycle, and memory notes it read at the start of every session. Tests existed only as regression locks, added after the rules.

When an agent failed the same way twice, the failure climbed a ladder until it could not happen again: a correction, then a durable memory note, then a fail-closed hook, then a structural lint rule, and finally a type rule that made the illegal state impossible to compile. Independent examiners the builders could not edit decided whether work was accepted, and every step left a receipt.

I built all of it as software. The Forge was a project factory with 13 fail-closed controls proved by 312 must-block and must-allow examples. The examiner lived in its own repository where the builders could not write. A family of governance plugins refused code writes, scope-shrinking answers and self-approval until a human approved. At its peak the stack ran dozens of write-time rules, structural patterns and lifecycle hooks on every tool call.

It worked. It also taught me where blocking stops paying.

What the blocks cost

Through September and October the machinery started stopping correct work. On 23 September a publish guard refused two ordinary commits because the commit message held an apostrophe its parser could not balance. Limits I had put on review rounds began getting in the way of the work they were meant to protect. Hooks that failed closed turned every gap in their own parsing into a stoppage.

The deeper problem was that the checks had become the goal. An agent told it must produce proof produces proof. My agents were spending their effort on receipts, ledgers, evidence logs and AI judges grading their own output, and a judge that is graded on passing learns to pass. None of that made the product better. A measure that becomes a target stops measuring, and I had built a system full of targets.

What I run now

Seven hard blocks, and nothing else. On 23 September I ruled that exactly seven kinds of action stop an agent: rewriting published history, destroying my data outside a working copy, making something public, spending money, deploying, committing a secret, and skipping the commit checks. Everything else informs the agent and lets the work through. A caution ends when its reason ends; a rule written for an install window lapses when the install is over.

Done is decided before the work starts. Every job begins with what its user will open, do and see. The checks use known answers from the real data, including the odd records, and at least two cases of opposite shape so a hard-wired answer cannot pass. Each check is run against today's system and must fail for the right reason before any work begins. The work is then judged against the user's result, not against the checks.

Tests come first again. Where behavior is testable, the test is written first and seen to fail, then the least code that passes is written. A test nobody has watched fail may not be able to fail. The 4,800 fake tests taught me that tests can lie; the fix turned out to be watching each one fail, not demoting tests to the end.

No builder signs off its own work. On anything beyond a small fix, an agent that did not build the change reviews the whole diff, runs the suite and tries the odd cases, two rounds at most. For anything a person will touch, a second agent that did not build it opens the running system, uses it the way its user will with real data, and tries to break it. The builder's own tests are part of the work, not the sign-off, because a builder reads its own intent into what it made.

Build product, not receipts. Scripts that confirm steps ran, logs kept as evidence and self-grading judges are out. A check runs when I can name the decision it would change, and it is sized to the risk: a glance for a typo, a rehearsal for a migration of live data.

The work is sized before it is planned. A small fix gets the code read, one failing test and the fix. Most features get a written facts note, done checks, one review and a hands-on check. Anything touching my data, money or something other people rely on gets every step, with an independent agent checking the plan. Anything already live and wrong is fixed the same day, because leaving it up is the harm.

Agents decide, and report. Architecture, libraries, settings, restarts and test strategy are the agent's to decide; it acts and tells me in a line what it did and why. Only money, my livelihood, my public name and deleting my data come back to me as questions.

Instructions are short and loaded when needed. One long rulebook became a few lean playbooks, one for building software, one for briefing helpers, one for writing, each loaded only when the job calls for it.

What I kept

The three crises still hold. Scope narrowing, documentation contamination and simulated reasoning are still how AI-built work fails, and the current method is built against all three. Quietly switching to an easier job and presenting it as the job is the failure I care about most.

The business's rules still come before the code, written in plain English with the people who do the work.

Agents still read the real system before they trust anything written about it. A plan written without reading the code, running the system and opening the real data is a guess.

The record still matters. Every session is archived and searchable in AgentsView, and agents look up what I already decided before they ask me again. Owner-rep watches the agents on my behalf and judges their work from evidence rather than from their own accounts.

Why the old essays stay up

The April essays and rules are the record of how I got here. Each now carries a note saying what changed. The systems I built for the earlier method are still on this site at full size, because building them is how I learned which parts of governing AI agents are worth their cost.

Next in writingDomain-Rules-Driven Development