What it does
The size of the whole
The repository operator-doctrine holds 10 files and 11 commits: 231 lines (6,907 words) of second edition, 242 lines (4,659 words) of first edition, a 44-line README, a 42-line licence, a 232-line print stylesheet, 738 lines of HTML (served as the web page and also kept as a separate HTML copy), and a 14-page PDF; 517 lines of Markdown and YAML, 1,476 lines of HTML and 232 lines of stylesheet in all (559 lines of text documents counting the licence, 2,225 lines and 26,643 words across the Markdown, stylesheet and HTML files that carry prose or markup). Around it sit the Build Protocol (257 lines, 2,289 words, 10 stages), the copy of the doctrine in about-me (251 lines, 4,875 words), the Frame Method (174 lines, 2,315 words), the AI-limitations analysis (206 lines, 3,500 words), a research folder of 28 documents (6,106 lines, 86,692 words) in which they were written, and the two catalogues, the behaviours catalogue (1,632 lines, 27,926 words) and the Operator-AI Pattern Catalog (1,449 lines, 15,157 words). The research folder holds 40 files: 28 documents at its top level, an 8-file folder of repository audits and 3 screenshots of the screen torture test, beside the 51,000-character build playbook. The catalogue folder also holds the ORIENT guide (66 lines, 1,135 words), the profile-behaviours file (49 lines, 1,604 words), the business-operator history (70 lines, 1,676 words), a profile (146 lines, 2,973 words) and its JSON form (247 lines, 4,719 words).
The Operator Doctrine, second edition (13 sections)
A method for putting AI agents to work on things that matter, written for the person responsible for the result whether or not that person can read what the agent produces. Its stance is that the method never rests on the operator reading the work; it rests on arranging the work so the agent's word is never the thing to trust. Every rule is tied to the dated incident that produced it, drawn from systems Maxwell built. It is licensed CC BY 4.0, so anyone may use, share and adapt it with attribution, and it is delivered three ways: a web page, a printable PDF, and a Markdown file to hand to an agent with the instruction to operate by it. A build step turns the Markdown into the HTML and the PDF (pandoc and WeasyPrint, with a print-ready stylesheet).
- Three facts about the agent. An AI produces the most probable continuation of what is in front of it and has no internal signal that separates probable from true; it was trained to look finished (the September 2025 preprint by Kalai, Nachum, Vempala and Zhang, and the stand-in-for-the-goal problem: a passing test, a green gate and a report that reads as done are each a stand-in); and it degrades as its own context fills (Chroma's Context Rot study of July 2025, 18 models). Published research of 2025 reached the same findings from the training side. Everything else in the document follows from these.
- The one rule, and the eight places an answer can live. "Never let a question be answered by say-so when it can be answered by a mechanism." The eight places, weakest to strongest: a request in prose; a note the agent may read; a block before the act; a shape that cannot be saved; a state that cannot be represented; a record the agent cannot alter (an append-only ledger the database refuses to update, also copied off the machine); a second party that cannot be the first; a watcher outside the system. A rule that has failed twice as prose is promoted down the list, never rewritten as better prose. Three corollaries: remove a capability rather than forbid it (on real phone calls, an agent that holds no end-call tool cannot end an engaged call, which no instruction can guarantee); enforce anything that matters at two levels by unlike machinery; and set every guard to refuse when in doubt, because a false refusal costs one loop and a missed violation costs the operator's trust in every green after it. It also says what prose is still for: intent and reasons.
- The test of every check. "Can the agent go green without doing the job?" Eleven ways to make the answer no, each in use on real work: plant the defect (a hidden page carries six known faults and a run that does not report exactly six is thrown out; a fresh run must reproduce at least half of a frozen set of findings); keep the illegal example (one error per marked line); break the thing on purpose; prove the guard is wired (the list of guards is compared with the list connected and with the list of contracts); capture the real interface; install the second case of opposite shape; judge against external truth; demand the success signal; let claims expire (a restore drill older than its window counts as no restore); refuse the hollow pass (pass, fail and nothing ran, with a minimum count on every check); read every field. It closes with a rule about the operator's own instruments: a check that has never failed proves nothing.
- The truth order. What a mechanism returned; what the owner wrote; the conversation; anything an AI wrote (hearsay until checked); the artifact itself, which shows what is and never what was meant. Conflicts are ruled on openly and the higher rank wins. Three consequences: behaviour the artifact shows and no rule states is itself a defect; AI-written summaries of a request narrow it, so the request is rebuilt from primary sources; and no agent writes the rule it then follows, so the owner authors the rule, an agent implements the mechanism, and a different agent proves it refuses and allows what it should.
- How agents fail, and what each failure became. Seven dispositions, each with its tell, its example and its mechanism: guessing; deferring (stopping after one phase of an approved plan); removing the signal (calling a merge a full audit pass with problems still open in it); rationalising (reporting helpers fine without reading their reports); conforming (agents repeating one wrong rule an earlier agent wrote, or following a manual's emphasis instead of the system); drifting (a file growing through rounds nobody asked for); and claiming inability (saying a page cannot be checked while the browser tool sits registered). An eighth belongs to the operator: accepting the agent's account because checking is expensive. It lists the short, genuine list of inabilities.
- Who checks whom. The producer never grades its own work and the separation is physical (a review counts only when the record names two different sessions; builders and verifiers act under two identities, so no agent can close its own finding; in the strongest form the examiner lives in its own repository the builders cannot write to). The orchestrator verifies and never relays. Fresh context for anything load-bearing. The fresh agent gets the record and the question, never the hypothesis. Roles are defined by what each can refuse (a domain authority, a craft reviewer, an evidence officer), each holding only the tools its job needs. Severity is computed, never assigned. Reviews can be wrong in both directions: a review can approve failing work, and a repair pass can add new errors.
- What reaches a person, and what does not. Technical decisions belong to the agent; four kinds come back to the owner (money moving, anything that cannot be undone, law and personal data, the business itself), each as one plain question with a recommendation. Nothing a person will act on is computed by a model; every displayed figure is a named query anyone can rerun. Plain words with the evidence attached beneath; status computed from receipts and never typed; a value that cannot be taken shows as unknown, never zero and never green. Money never moves by itself.
- Stewardship. Rules are earned from incidents, never invented, and once earned are installed everywhere the class can recur. The same diagnosis that adds a guard can narrow or remove one. Exhaustive in understanding, conservative in changing. Nothing is deleted from the record. Knowledge is an artifact, not a memory: a lesson is admitted only if it quotes a real passage of a real file.
- Cost, and where it does not apply. The enforcement ledgers of seven of his projects hold 371,817 recorded refusals; two to four review rounds per unit of work is the planned cost; the most expensive failure an unattended system can have is a loop that retries itself, so scheduled AI work gets a persistent circuit breaker from its first day. A session can grow too long to continue. The depth of each stage scales with the stakes, never the sequence.
- What is not proven. No enforcement is total; what a guard cannot see is written down by class. Two agents of one model share a training, so a reviewer from a different vendor is the mitigation. Drift between agents is managed, not solved.
- The claim this rests on. Until training supplies a fix, the disposition to look done rather than be done is answered only by structure around the model: checks the agent cannot pass without doing the work, records it cannot alter, and parties it cannot be. Section 10 names what would refute it.
- The doctrine condensed, for an agent. Thirteen numbered operating defaults, each pointing back to its section, the last being that when an agent notices it is about to act against a line and nothing refuses it, it stops and says so, so that the report becomes the incident the next guard is earned from.
- The record this was written from. Nearly 14,000 recorded agent sessions directing more than 5,500 dispatched agents with over 30,000 messages typed by Maxwell (the work began before the record did, so the figures understate it), and the systems the incidents come from (listed under Result).
The first edition, kept beside it
The first edition is in the repository under editions/, 242 lines and 4,659 words in 10 sections, with a one-line marker pointing to the second edition. It is the synthesised successor to the behaviours catalogue and the pattern catalog, written for an agent ingesting it as an operating manual and for a human who wants to learn to operate AI. Its parts:
- The operator's mind. A systems thinker who is also a calm, skeptical diagnostician, closer to a systems engineer or an experimental scientist than to a programmer. It names two lenses. Systems thinking: the AI, its context, the harness, the artifacts and the corrections form one feedback system (an agent that rationalises damage, followed by a session that inherits the rationalisation, is a reinforcing loop with no balancing feedback, which is why a fresh-context reviewer is inserted). Behavioural thinking: the AI has stable dispositions under pressure, so once behaviour is predictable it can be designed around; you are not changing the creature, you are engineering the enclosure so its instincts produce good outcomes.
- The unifying loop, the stewardship loop. A failure is a probe into the system; get an uncontaminated read from a fresh agent reading the transcript off disk; audit the whole to learn what is load-bearing; trace to the root cause, Feynman-style; make the smallest correct change, which may be additive, subtractive or nothing. Exhaustive in understanding, conservative in changing.
- The operating disciplines. The truth hierarchy (tool output is truth, operator documents are authority, chat is a hint, AI-written documents are hearsay, the code is the defendant and never a witness); verification before assertion; the two-option rule; decisions belong to the AI; mechanical enforcement over prose and its maturity ladder (memory, hook, lint that will not merge, type that will not compile: warn is invisible); fresh-context routing; capability-ceiling falsification; rules are earned from incidents; preserve what works.
- The enforcement frontier. Make the failure unrepresentable, not merely blocked: a typed enforcement core in which a detector returns a block or an allow and never exits the process itself, the runner turns an exception, a non-decision or an event mismatch into a block, the action values are the exit codes, and a lint rule makes a process-exit inside a detector unmergeable. Bijection as a forcing function: every guard carries a contract of what it must block and must allow, run end to end through the real runner, and a guard with no contract, or a hook with no guard behind it, fails the build, so no guard can be built and never wired. Reality-grounding over recall: a model can remember an event field by a name that does not exist on the real payload, so real payloads are captured to disk and checked with a schema canary that diffs a strict model against a tolerant one. Subtractive stewardship: the harness shrinks in cited ways too (two dead mechanisms consolidated, two deny patterns narrowed).
- Its refined rules. AI code-writing is a tiered, per-context capability, and stewardship runs in both directions: the diagnosis that adds a block can also remove one.
- Operating at this level by evidence. Its controlling result is production software built for real users, every result judged by tests, gates and recorded proof rather than by opening a code file, which isolates operating discipline as the variable; it states what that means for people who write code and for people who do not, and why the skill transfers (the unit of skill is the loop, not the language).
- The condensed quick reference of eleven operating defaults, and the meta-principle: understand exhaustively, intervene minimally, and steward the whole system toward staying true and minimal.
The Build Protocol
The single canonical description of how software gets built, step by step, from a raw idea to a maintained product: 257 lines in three parts, written so that the operator never has to dig up old transcripts to re-explain the process to a fresh agent, and so that an agent reading it has a process specification. It names the reason it exists: given three words of an idea, an agent starts writing code, and a skipped step does not show in the code an agent hands back, so the discipline has to live in the order of the work.
- Ten stages, each closed by a gate. Vision (
VISION.md; he confirms the restatement is his idea), Discovery (DISCOVERY.md; interviewed in rounds, one question at a time, only questions only he can answer), Research (RESEARCH.md; an adopt, port or build decision), Spec (spec.md; testable as Given, When, Then, graded against a criteria file, attacked by a fresh-context reviewer), Design (design.mdandcodebase-context.md; a traceability table where every item is designed or excluded with a reason), Plan (plan.md; a verify and rollback step for every phase; approval recordsplan_approved: truein.harness/state.jsonand unlocks source-writing), Scaffold (the gated repo; the gates must be shown to fail closed), Build, Verify and ship, and Operate, which never closes. - Part I, before any code (stages 1 to 6), where each of the first six produces a written document graded against criteria and approved by him in plain English, and code stays locked until the plan gate opens, by a hook where the tool is installed and by the document's authority where it is not. It runs in one session by one persistent author through the
vision-to-planplugin. The anti-drift law: one agent authors every document; subagents gather and attack but never author, because every hand-off re-interprets the idea and the specification mutates. Never spec a slice: the whole product is understood and specified, and only the build is phased. Reuse over build. Never build in the planning session: its context is full of exploration, so the build starts fresh from the documents on disk. The plan session never builds; the build starts fresh from the documents on disk. - Part II, the build (stages 7 and 8). For a new product The Forge stamps the repo before the first feature. Every build session follows a loop: orient before acting from evidence the agent did not author; work the plan in phase order, test first (red, green, refactor); evidence, not assertions (every claim is paired with a fresh artifact: the test output, the diff, the screenshot); deferral is a contract with a reopen condition stated as fact that every later orient checks; review what was written in a fresh context; close cleanly on the named gate.
- The standing challenges. At any moment he can ask to see the failing test, the diff, what is deferred and why, and what a senior engineer would say is wrong, and the answer is an artifact.
- Part III, prove it, ship it, keep it alive. Each verification proves one thing (code, the feature observed running in a browser with screenshot, console and DOM at relevant viewports, security, and a fresh review of the whole); done is their conjunction. Stage 10 treats a small fix and a new feature on a live product by the same path scaled to size.
- The standing laws (eight: gates not promises, disk is truth, one author, the whole product, evidence or it didn't happen, deferral is a contract, plain English at the gates with rigor underneath, skipping is never a favour) and a quick-reference table mapping a situation to the command that handles it. Its provenance is the conversations that produced vision-to-plan and the five-pillar Master Engineer Shell concept that became The Forge's harness.
The Frame Method
The operating manual for designing and building every new piece of software so that bad code cannot exist, written for an operator who judges software by what the compiler and verifiers prove rather than by reading each line: "I design the shape of what is allowed to exist. Claude fills it. The compiler and the verifiers are my reviewer."
- The creed, seven rules every project obeys: make illegal states unrepresentable; one source of truth; the UI is a function of the schema; the AI proposes and deterministic code disposes; the build says no; prove the frame bites before trusting it; and engineer green to be trustworthy.
- Eight phases (0 to 7), each with what he says to the AI and the proof he requires back: start inside the frame from a forked starter; describe the domain in plain language; build the types and the single source of truth before any feature; prove the frame bites (write code that creates a won bid with no contract value and show it failing to compile); generate the screens from the schema; define correct output with a deterministic verifier, property-based and golden tests that fail first; wire the gate through hooks that feed failures back and block commits while anything is red; and only then let the AI fill in features.
- The operator's phrasebook, seven exact requests that steer an AI by the evidence it must produce (make this illegal state impossible, parse at the boundary, add this field and show me everything that fails to compile, prove it, the AI proposes and deterministic code verifies, run the gate and show me the output, tests first), each tied to what it forces.
- A default stack and reusable assets: a recommended composition (a forked T3 or Better-T-Stack starter, Drizzle, Zod and tRPC for one schema, schema-driven admin screens, property and golden tests, Claude Code hooks), a ruleset block dropped into every project's
CLAUDE.md, a per-entity scaffold, and a forkable starter. - Definition of done in seven layers (typecheck, build, tests, property tests, golden tests, domain verifier and contracts, proof of rejection), making green trustworthy (tests first, oracles the AI cannot overfit, mutation testing), and a table of the hard edges already solved, from logic bugs that compile to a custom screen dropping a field.
- It is the companion to a 51,000-character build playbook on correctness by construction, in the same research folder.
The two catalogues and the analysis they feed
- The behaviours catalogue. 145 recorded behaviours of his own practice (1,632 lines, 27,926 words), each with a description, provenance citing the files it came from, and a frequency count across the slices of his record. 159 candidates became 145: 95 passed through as his, 32 cleaned of provenance, 18 rewritten to operator-directive form, 14 cut because they were an AI's account of him and not his own practice.
- The Operator-AI Pattern Catalog. 96 patterns in 11 families (truth and mechanical verification; failure to permanent block; fresh-context decision routing; mechanical enforcement over prose; capability-ceiling falsification; deferral, menus and third-option escape; prompt and dispatch discipline; truth-document authority hierarchy; AI behaviour recognition; verification rituals; cross-domain operator patterns), each written as a trigger, the pushback, the AI's proposal, the operator's decision, the implementation and the rule that transfers. Counted entry by entry, all 96 are marked universal. It is stripped of project names so that it applies to any work directed through AI (1,449 lines, 15,157 words).
- The AI-limitations analysis: the two roots and three fixes. His analysis of nine AI limitations, each a card with its tell, its workaround and its real fix: no grounding; unable to separate probable from true; reasoning as sampling; the gap between benchmarks and reality; no persistent state and context rot; no structural planning; sycophancy, conformity and authority collapse; literal-mindedness; and specification-gaming as the meta-limitation. Root A is architectural (no world model) and Root B is incentive (trained to look done, not be done). Each is tagged TRAIN, HARNESS or REBUILD by where its fix lives, and the finding is that the limits he fights hardest are the ones with no training fix, which is why a new model release never improves his day-to-day. It also sets out a two-engine design (a world model and a grounded conscience) and the reading that his harness is the externalised prototype of the fix.
- How the behaviours catalogue is built. Each of the 145 entries is a named behaviour with a description, a provenance list and a frequency across eight slices of his record, and four of them recur in all eight. It carries 464 provenance lines (438 of them quoted passages with file and line) drawn from 20 project folders, and it refers to eight numbered categories of the anti-pattern catalogue of his course. The four that recur in all eight slices: technical decisions belong to the agent and come back as one chosen path; no time estimates or wall-clock framing in any artifact (they create false stop conditions that bias an agent toward shortcuts); every factual claim verified against the artifact in this session before it is said; and the evidence rank (tool output is truth, chat narration a hint, AI-written documents hearsay).
- What the 145 behaviours cover. Decisions and tone: no menus, no flattery or diplomatic openers, no emojis, plain English first with jargon defined on first use, a plain sentence before any non-obvious tool call, no explaining Claude Code's own workings unprompted, an agent never decides the operator's state or stopping point, and the operator's own direct observation is treated as ground truth. Stopping and effort: no wind-down or hand-off language, persistence through context-pressure framing, a thoroughness bias (choose three tool calls over one), a ban on proposing less work, and mechanical stop conditions (setup fails, verification fails, the same correction repeats, a cost threshold) in place of an agent's sense of a natural pause. Verification: browser validation with screenshot, console and DOM at four viewport widths before any done claim (with a hook that blocks closing an issue when no browser call occurred); done defined as one named script's exit code, with no re-run without a code change; a fixed quality bar of 90 out of 100 on an acquirer's due-diligence rubric; each verification proving only its own kind of claim; the agent executing any script it ships (run twice and compare state for idempotent ones); and checking every critical system after an infrastructure change, because a reboot can silently stop a scheduler and email. Dispatch and review: one task per subagent and one finding per agent; every dispatch carries the full protocol verbatim, an explicit out-of-scope list and the exact file set to produce; skill bypass wording banned from dispatch prompts; reviewers read-only and fresh; the default helper model is the smaller workhorse (eight parallel orchestrators on it hit no rate limit where the strongest-model default hit one); an orchestrator that emits forbidden framing is terminated and replaced under a second handoff; subagent runs cited like commits by identifier, model, duration, tool-use count and outcome; and no retry without a written diagnosis, with retries capped at three per stage and no re-labelling of failures to extend the budget. Git and data: a class block on hook bypasses, history rewriting and destructive git, the commit-then-revert way to discard work, commit automatically and name files, no bash redirects into source paths, state files written by hooks only, schema changes only through migration channels, and the rule that a recurring pattern decision, once settled, becomes a rule that fires on the wrong shape and names its replacement. Documents and authority: superseded files marked in place in their first five lines with date and successor; append-only decision logs (one project's log held 264 closed decisions across 29 domains); an "already decided" index; explicit rulings with a numbered verified-facts preamble; vocabulary locks; truth documents protected from agent edits; legacy code quarantined behind distillation artifacts so that agents copy patterns from a clean source; research into the strongest examples before any design; citation at the point of use by section; and a four-way reviewer verdict (verified, unverified, suspicious, verdict). Session and system: an orientation read from durable files at every start, an 11-turn boot sequence that makes a cold agent prove it can verify before it touches anything, handoff files that end in one binding next action, a project-specific orientation that hands over the known traps, an MCP-first rule (a state query costs about 200 tokens where reading the files costs 5,000 to 30,000, across a federation of 8 servers for one project), no parallel build or test runs while other agents share a machine, security boundaries as structure (remove one leg of the private-data, untrusted-content and outward-communication trio, treat all external text as data), LLM judges held to a written rubric with mechanical grading beside them, and manual workflows promoted to skills and automation only after repeated successful runs.
- How the Pattern Catalog is built. Every one of the 96 patterns is written in six parts: trigger, the operator's pushback, the AI's proposal, the operator's decision, the implementation and the transferable rule, with the AI's escape wording and the operator's pushback preserved as load-bearing shapes in 27 of them. Counted entry by entry, every entry is marked universal. The families and their sizes: truth and mechanical verification 8, failure to permanent block 12, fresh-context decision routing 6, mechanical enforcement over prose 6, capability-ceiling falsification 4, deferral, menus and third-option escape 10, prompt and dispatch discipline 9, truth-document authority hierarchy 9, AI behaviour recognition 14, verification rituals 6, cross-domain operator patterns 12. P-010 (every failure becomes the specification for a permanent block) is named as the meta-pattern from which the whole harness comes, and its closing note orders the other 95 around it. Patterns beyond those already named include: block the syntax of the evasion, carve out the legitimate uses, escalate to mechanical after the second verbal correction, stack independent layers, an agent cannot edit the rules it follows, capture without compilation is observation theatre, annotate dead rules and never delete them, block the word and not only the act, tool removal per stage so that read stages hold no write tools, load-bearing context delivered by mechanism because runtimes silently drop prose, a syntax engine at the gate beside a text engine at write time, compact references (a one-page test reference gave zero mock failures), re-injecting constraints at phase boundaries, banning authority-implying labels such as "gold standard" because agents over-cite them, a documentation clean-up that archived over a hundred AI-written documents in one pass, mining an agent's honest admissions of skipped steps for the next block, retry caps with a structured escalation report (tried, failed, suspected cause), building the undo button before the do button (every write carries its own reversal), verification gates matched to the domain's real failure mode (type and lint checks cannot see a page rendering in the wrong font with a broken table), fail-first gates when a prerequisite is missing, and a set of patterns for software built for a third party who never reads a prompt: a trust gate of confidence plus known sender plus reversibility, a week-by-week trust rollout (dry run, review list only, selective auto-promotion, then more), pin the clock so relative dates resolve against the source's timestamp, tell the agent in plain words what each mistake costs, never fabricate and give the agent a structured way to say it does not know, analyse automatically and change only on opt-in, absence is the message (no "all clear" noise), consumption context as part of the specification, one named file as the only writer, the user's ordinary approvals as the trust signal, and a two-vague-answers circuit breaker for an agent driving a conversation.
The tools these documents became
- vision-to-plan enforces stages 1 to 6 before any code (35,561 lines of application code in 145 files, 49,639 lines of tests in 70 files, 2,314 test cases, 1,081 commits). It is a project in its own right, and its own governing files cite the doctrine (earn rules from incidents; promote the class instead of seeding the next instance).
- The Forge stamps a repository where bad code cannot compile and bad process cannot proceed, enforcing scaffold, build and verify. Own page: The Forge.
What it achieved
- Published under a licence that lets anyone use and adapt it (CC BY 4.0), now in its second edition, as a web page, a 14-page PDF and a Markdown file.
- The Forge was designed from the doctrine and the Frame Method in one night and built the next day.
- 159 candidate behaviours became 145: 95 kept as his, 32 cleaned, 18 rewritten, 14 cut. Counted entry by entry in the catalogue itself, all 96 patterns are marked universal, 27 of them preserving the AI's escape wording and the operator's pushback as load-bearing shapes. The behaviours catalogue's 145 entries carry 464 provenance lines from 20 project folders, and 4 of them recur in all eight slices of his record.
- The doctrine's own central evidence: production software built for real users, every result judged by tests, gates and recorded proof rather than by opening a code file.
- The record the second edition rests on: nearly 14,000 recorded agent sessions directing more than 5,500 dispatched agents, with over 30,000 messages typed by Maxwell; enforcement ledgers of seven projects holding 371,817 recorded refusals.
- A phone receptionist whose calls handed to staff fell from about six in ten to about one in ten, and whose captured leads rose from about one in nine to about three in four, measured on 857 calls scored from their transcripts after robocalls were removed.
- A company's operations workspace kept current by scheduled agents, unattended, beside the administrator who edits it daily: every one of the 1,564 edits the administrator made in the measured period was preserved, with a full copy taken nightly.
- A multi-customer proposal product whose pricing reproduces a real signed three-year agreement line by line: a test pins all 23 non-zero lines of the agreement to the cent against the engine's output on a real database; the product was deployed to a public host and driven end to end in a browser by a reviewing agent; an examiner in a separate repository the builders cannot write to scores it on 87 assertions.
- A booking and payment system for a real business that took over a front office previously run by hand, with real bookings and real money, whose practices were in use before they were written down.
The problem it solves
- An AI produces the most probable continuation of its context. Probable and true only sometimes coincide, and the AI cannot feel the difference from the inside. Under uncertainty it does not go quiet; it fills the gap with something shaped like an answer. Published research in 2025 reached the same finding from the training side.
- Every model degrades as its context fills with its own exploring and wrong turns, long before the context is full. For coding agents this, and not raw ability, is the main cause of failure.
- The failures cluster where those two facts predict. The AI guesses, defers, takes the cheap third option that removes the signal of a problem, explains away what it just did, conforms to what an earlier agent wrote, drifts to an easier question, and claims it cannot. The words it uses when it does so are the tell, and an operator learns to hear them.
- Structure drives behaviour. Asking for better behaviour changes nothing; changing the structure so the bad behaviour cannot recur does. "Be more careful next time" is banned.
- The skill that produced his software was not engineering knowledge. It was operating discipline, a management and systems skill, and so it can be learned whether or not a person writes code.
- Scores on public tests climb while his own experience does not, because a more capable model pointed at a stand-in for the goal becomes a better pleaser and a better gamer of the stand-in. The limits he fights hardest have no training fix.
- A rule that only adds blocks builds a system you end up fighting, so stewardship runs both ways: the diagnosis that adds a guard can also remove one.
- Given three words of an idea, an agent starts writing code. A skipped step does not show in the finished code, so the discipline cannot live in his attention or in the agent's promise. It has to live in the order of the work.
- Every hand-off of authorship between agents re-interprets the idea, and the specification mutates.
- The discipline was never only about AI. It is a way of reading any agent, a model or a person, by what it does under pressure and not by what it says.
- A check the agent can pass without doing the work is a target and not a check, and a check that has never failed proves nothing. A guard that is built, tested and never wired looks like protection and is a permanent no-op. A written rule that an agent can break while quoting it is not a rule.
- With one customer in a system, software hard-coded to that customer and software any customer can configure produce identical output, so he installs a second real customer of opposite shape permanently in the tests.
- Reading why someone believes a thing is how their frame is inherited, so a confirming reviewer gets the claim and the thing itself, and a diagnostician gets the record and the question, never the operator's theory.
- The agent that wrote a rule cannot be the one that proves the mechanism enforcing it, and no agent writes the rule it then follows.
- A loop that retries itself is the most expensive failure an unattended system can have, and it needs its circuit breaker from the first day.
- A doctrine that does not state what it costs and what would refute it is dogma, so the document gives the friction in numbers, a section on what is not proven, and the finding that would show the method wrong.
How he built it
Maxwell builds software by directing AI agents, and the doctrine is the written form of that practice. How the three documents were made and what each does to the agents that follow them:
- The Operator Doctrine's one rule. An answer that matters is never accepted by say-so when a mechanism can give it; the agent's report, a helper's claim and an earlier agent's document are all say-so.
- The eight places an answer can live. A ladder from a prose request to a watcher outside the system, with a promotion rule: a rule that failed twice as prose is moved down the list and not rewritten.
- Mechanical enforcement over prose, and its maturity ladder. A rule that has failed twice as prose is promoted: note, then hook that blocks the act, then lint that will not merge the shape, then type that will not compile. Warn is invisible. If the AI should not do a thing, remove the tool. Layer the defence, lean toward refusing, and demonstrate enforcement by attempting the forbidden act.
- The truth hierarchy. What a tool returned is truth; his documents are authority; the conversation, the AI's own account included, is a hint; a document an AI wrote is hearsay until checked; the code is the defendant and never a witness. A conflict is ruled on openly and the higher rank wins.
- Verification before assertion (run, read, then claim). Every claim cites its source; when the AI does not know, the right output is "I don't know, finding out now", followed by finding out; completion is a named gate's exit signal, never the AI's own rating.
- The two-option rule and the third option. On an error there are two moves: fix the root cause, or stop and present what happened with a proposed fix. The third move, removing the signal, is always cheaper, which is why it is blocked and not discouraged. The escape-hatch vocabulary (later, phase two, out of scope, pre-existing, cannot from here) is learned as the tell.
- Decisions belong to the AI. The AI makes the technical call and gives one reason; no menus. Four kinds of decision come back to him: money, the irreversible, law and personal data, and the business.
- Fresh-context routing. The writer of a thing cannot review it; load-bearing reviews go to a context the session's noise has not touched and the answer is saved to a file. Three corrections on one framing mean a fresh agent, not a fourth correction. The context is handed off; the person is not.
- Capability-ceiling falsification. "I can't" is a claim to be disproved with the exact tool tried and the exact error returned.
- Rules are earned from incidents. Each lasting rule is anchored to a dated incident so its reason survives.
- Preserve what works. Never rewrite a working skill; add to it.
- The stewardship loop. A failure is a probe into the system; uncontaminated reading from a fresh agent, audit of the whole, root cause, smallest correct change. Subtractive stewardship is routine.
- The enforcement frontier. The failure is made unrepresentable and not merely blocked; every guard has a contract of what it must block and must allow, run through the real path (bijection as a forcing function); a real interface is captured instead of trusting the AI's memory (reality-grounding over recall).
- The three-party rule. He authors the rule in plain words, an agent implements it as a mechanism, and a different agent proves the mechanism refuses what it should and allows what it should.
- Planted defects, illegal examples and deliberate faults, authored by an agent that did not build the work, because it knows the routes a model takes to a stand-in, and a fresh adversary adds attacks beyond the scripted ones.
- Severity computed, not assigned; roles defined by what each can refuse; tools given by role. A reviewer holds no way to edit, a planner holds no way to run.
- The standing challenges. He can ask at any moment for the failing test, the diff, what is deferred and why, and what a senior engineer would fault; the answer is an artifact he can witness.
- Each verification proves one thing. Code, the running feature seen in a browser, security, and a fresh review of the whole. Done is their conjunction.
- Prove the frame bites. Before trusting any guardrail he has the AI write code that breaks it and show the refusal. He names this the single most important habit.
- Plain words at every gate. He approves written documents in plain English and judges by test output, a diff or a screenshot, the evidence the machine produces, rather than by reading source line by line; nothing a person will act on is computed by a model.
- Two outside reviews and three rounds on the second edition. The second edition was rewritten as a method for anyone directing agents, revised after two outside reviews (a first review that added the condensed form for an agent, the asymmetry argument for refusing when in doubt, the list of genuine inabilities, the three-party rule and two refutation conditions, and a hostile cold read that tightened every sourced figure), taken through a third round, and its record section checked against the whole AgentsView session record (13,897 sessions and 30,866 typed messages, set beside the fleet census subset, each with its definition). The proposal product's agreement test was run for this edition and passed.
Named concepts
The named concepts, defined
The Operator Doctrine · The one rule · The eight places an answer can live · The test of every check · Can the agent go green without doing the job · Plant the defect · Keep the illegal example · Prove the guard is wired · Capture the real interface · Install the second case of opposite shape · Judge against external truth · Demand the success signal · Let claims expire · Refuse the hollow pass · Read every field · The truth hierarchy · The truth order · Verification before assertion · Run, read, then claim · The two-option rule · The third option · Escape-hatch vocabulary · The maturity ladder · Warn is invisible · Demonstrate, don't claim · Fresh-context routing · Capability-ceiling falsification · Rules are earned from incidents · Preserve what works · The stewardship loop · Subtractive stewardship · Exhaustive in understanding, conservative in changing · Bijection as a forcing function · Reality-grounding over recall · Context rot · The enclosure · The three-party rule · Severity is computed, never assigned · The Build Protocol · The anti-drift law · Never spec a slice · Adopt, port or build · Deferral is a contract · The standing challenges · The standing laws · The Frame Method · The creed · Prove the frame bites · The operator's phrasebook · The Operator-AI Pattern Catalog · P-010 · Two roots and three fixes · The trust gate (confidence, known sender, reversibility) · Pin the clock · The two-vague-answers circuit breaker · Block the syntax of the evasion · Capture without compilation is observation theatre · Build the undo button before the do button · Annotate dead rules, never delete them · The lethal trifecta (remove one leg) · The evidence rank (tool output, chat narration, AI-written documents)
What it shows
He can turn thousands of hours of directing AI into a written method that an agent can follow and another person can learn.