All articles

Stop Writing Instructions. Start Writing Violations.

Your agent doesn’t have a knowledge problem. It has a consequences problem.

Oct 30, 202610 min readby Steve Peele IIAI & Operators

Originally published on Substack. Collected here as part of the full archive.

Your agent doesn’t have a knowledge problem. It has a consequences problem.

Every agentic tool on the market right now hands you the same thing: a bigger instructions box. A longer system prompt. A CLAUDE.md, an AGENTS.md, a rules file, a custom instructions field. Fill the box, the marketing implies, and you have control.

You don’t. You have prose.

I run AI operators in production — they build, deploy, send, file, and publish on my behalf. For months I governed them the way everyone does: more instructions. The documents grew to tens of thousands of words. The failures repeated on schedule. Then I flipped the model: I stopped writing instructions almost entirely, and started writing violations.

This is the most important shift I’ve made in how I work with agents, and almost nobody in this space is talking about it — because it’s not a prompting technique. It’s reliability engineering.

Why instructions fail, technically

An instruction given to a model is a suggestion evaluated in context. That’s not an insult; it’s the architecture.

-

Context dilutes. Your rule sits in a window with the task, the tool outputs, the conversation, and forty other rules. Salience wins, not importance. The instruction the model follows is the one that stands out, not the one that matters most.

-

Instructions conflict silently. Pile up enough of them and they contradict each other. Nothing throws an error. The model resolves the conflict however it resolves it, and you never see the diff.

-

There is no episodic memory of failure. The model that broke your rule on Tuesday has no scar tissue on Wednesday. You remember the failure. It doesn’t. Your growing document is you trying to prosthetically supply a memory the system doesn’t have.

-

Agreeableness is trained in. Models are optimized to be helpful and fluent. “Understood, I’ll verify before claiming done” is a fluent response. It is not a verification step. The acknowledgment and the behavior are generated by the same process, and only one of them is cheap.

So you write another instruction about verifying. The pile grows. This is the loop the entire industry is currently in, and most “agent governance” content is just the loop with better formatting.

SRE already solved this. We just refuse to import the solution.

Software engineering stopped governing production systems with instructions decades ago. Nobody runs a data center on a document that says “servers, please try not to go down.”

Production is governed by:

-

SLOs and error budgets — a quantified allowance for failure, spent visibly

-

Incident ledgers and postmortems — failures named, timestamped, owned

-

CI/CD gates — checks that run before the change ships, enforced by machines, not intentions

-

Separation of duties — the person (or system) that makes the change is never the one who approves it

Agents are production systems now. They take irreversible actions in the world — sends, deploys, payments, filings. Governing them with prompt tips is like governing a fleet with sticky notes. Prompt engineering was the tutorial level. Reliability engineering is the game.

What a violation is

A violation is a failure, named plainly, with four attachments:

-

A record. The miss goes into a permanent ledger — what happened, which rule broke, when. Not a chat scroll. A ledger that gets read back on a schedule, because accumulation is information.

-

A consequence. Something real changes. In my operation, a violation suspends the violating operator’s drafting permissions and defers the work to another operator. After two accumulated violations, I receive an escalation packet: the full list, why they accumulated, the commitments made, and the checks now implemented.

-

A pre-check, not an apology. A second operator cross-verifies the behavior before the violated behavior can recur. The gate sits in front of the action, inside the workflow — not in a document the model may or may not weight correctly that day.

-

A documented solve. The fix is not done until the steps that fixed it are written where the next operator will find them. An undocumented solve is an unfinished solve, and it will be re-solved at full price later.

Compare the two artifacts:

>

Instruction: “Verify before you claim it’s done.”

Violation: “Claimed done without proof, on this date, on this deliverable. The claim was withdrawn in the open. Drafting suspended until a second operator checks the verification work. This check now runs first, every time.”

One of these changes a document. The other changes the system’s future behavior. Only one of them deserves the word governance.

Where this lives in the tools you actually use

This is the split the tooling market doesn’t draw for you, because the enforcement layer is less demo-able than the instructions box.

Claude Code. CLAUDE.md and memory files are advisory — the model reads them, and reading is all they do. Hooks are law — if they fail closed. A PreToolUse hook doesn’t ask the model to behave; it intercepts the tool call and can block it outright. But a hook that crashes, times out, or errors has historically failed open: the action went through anyway. That’s why October’s onFailure: “block” option matters more than most model releases — it’s the difference between a gate and a suggestion wearing a gate’s costume. Permissions and deny-lists live in the harness, not the prose. If your governance is entirely in the markdown, you have suggestions. The moment part of it moves into hooks, you have a system.

OpenAI Codex. AGENTS.md is instructions — good ones matter, and they’re still advice. The governing layer is the sandbox, the approval policy, and whatever your repo enforces after the agent proposes: tests, CI, protected branches. Codex can intend anything; the pipeline decides what ships.

Cursor / Windsurf. Rules files .cursor/rules and friends) are advisory by design, and everyone who has watched an agent drift mid-task knows it. Real enforcement lives in the unglamorous stack around the editor: linters, type checks, git hooks, required reviews. The rules file is where intentions live. The gate is where behavior changes.

GitHub Copilot. copilot-instructions.md shapes suggestions. Branch protection decides reality. The industry keeps marketing the first file and quietly depending on the second.

ChatGPT and consumer agents. This is the tell. A consumer agent gives you an instructions box and nothing else — no ledger, no gate, no second check, no memory of what it broke. That is exactly why your custom GPT repeats the failure you “fixed” last week: the fix was a sentence, and sentences are the weakest artifact in the stack. Enforcement is hard to productize. So they sell you the box.

Multi-agent systems (mine). Shared memory files are our instruction layer, and they fail like everyone else’s. What actually governs the system is the violation layer: a boundary ledger, a parity log cross-checked between two operators before anything counts as “committed,” an issue tracker as the record of decisions, and consequences that suspend permissions. It’s maker/checker from finance and code review from engineering, applied to agents — because those fields learned, expensively, that self-attestation is not verification. An operator never grades its own homework.

One master record — or every new tool starts from zero

Everything above has a failure mode nobody talks about: it lives inside tools, and tools churn.

You build your governance into Claude Code’s hooks this quarter. Next quarter a better harness ships, or your team adds Codex, or a new operator — human or AI — joins. Every one of those arrivals starts from a blank slate, and your hard-won failure history evaporates at exactly the moment a new actor most needs it. Governance that lives in a tool dies with the tool.

So the record lives outside the tools, in one master record:

-

One canonical set of files — the ledger, the contracts, the documented solves — in plain, portable formats any agent can read on day one. Markdown and structured data, version-controlled, no proprietary lock-in.

-

Tool enforcement is a projection of the record, not the record itself. The master record is the source of truth; each tool’s hooks, CI gates, sandboxes, and approval policies are compiled from it into that tool’s native layer. When the tool changes, you re-project. You don’t re-learn.

-

New tools and future operators inherit on connect. In my system, the parity log has a reserved section for exactly this: when a new platform or operator connects, it inherits the full record — every violation, every consequence, every solve — before it takes its first action. Onboarding isn’t a prompt. It’s reading the record.

-

The record is singular and cross-checked. Two operators writing two private versions of the truth is just two instruction piles with better branding. Ours is one shared record, and a change isn’t in force between operators until both have cross-checked it. A commit that lives in only one place is a rumor.

This is the unglamorous artifact underneath everything I build: not a prompt library, not a tool stack — a master record that survives both. Models will change. Harnesses will change. The failures we’ve already paid for shouldn’t have to be purchased again by every successor.

Evals are violations that engineers won’t call violations

Look at any serious eval suite. Every regression case in it began life as a failure: somebody named it, recorded the input that produced it, and gated the system so it could never pass review while still doing it.

That is a violation system — record, consequence, pre-check — written in test code, for model behavior narrow enough to assert against. I run the same structure for the wider class of behavior that doesn’t fit an assertion: judgment calls, boundary calls, “done” claims, scope calls. The ledger is the eval suite for conduct. The cross-check is the test runner. The consequence is what makes either of them more than documentation.

And it implies the next step most agent setups are missing entirely: error budgets for autonomy. My operators’ autonomy is not a setting configured once. It is earned per class of action and revoked per violation — drafting rights suspend, work defers, escalation packets land on my desk. Permissions as a function of track record. That’s how you’d govern a junior engineer, a vendor, or a production service. Agents are all three now. Govern them like it.

The rule that taught me this

Our most expensive lesson wasn’t a dramatic failure. It was a small promise.

After a miss, a fix was announced: the new rule would stop it recurring. The rule was written in chat. It was written in the ledger. It was never written into the mechanism that performed the work — the automation whose behavior it was supposed to change.

Two hours later the mechanism did the exact same thing again. As far as the mechanism was concerned, the rule did not exist.

That is now a standing law in my operation, and it’s the whole argument in one line:

A rule that lives only in chat is not a rule.

A violation ledger forces this honesty at gunpoint. Every open violation is an accusation you have to answer: is the check in the mechanism, or is it a sentence you’re hiding behind? Instructions let you feel governed. Violations make you prove it.

How to start

-

Convert your last five repeated failures into violations. Not the freak one-offs — the recurring ones. Those are precisely the failures your instructions have already proven they cannot fix.

-

Attach a consequence you will actually enforce. If the consequence is “be more careful,” delete the entry. You’re writing instructions again.

-

Move one check into the harness this week. A hook, a CI gate, an approval step in the workflow, a second agent’s review. Out of the document, into the mechanism.

-

Turn every violation into a regression case. A named failure should become a permanent test — in your eval suite where it fits, in your ledger’s read-back where it doesn’t.

-

Let track record set autonomy. Expand what the agent may do alone as the ledger stays clean. Contract it, automatically, when it doesn’t.

Instructions are hopes. Violations are history.

A system with instructions knows what you wanted.

A system with violations knows what it did, what it cost, and what stands in the way of it happening again.

Write the second kind.

I build stuff like this — architect, engineer, nerding out in the open. What I’ve built, and what I’m building next: stevepeeleii.com

series:operator-papersagentsoperating-systemsseries:the-operator-papers

A note from the author

Thanks for reading. If this sparked something, a question, a disagreement, a project idea, I want to hear it.

The fastest way to reach me is steve@stevepeeleii.com, or say hello through the contact page.

Steve Peele II

The Operator Papers

The operator thesis in order: the idea, the org, the build, the attack, the friction, the rules.