The Honour Rule: Written Rules Versus Enforced Ones

Ten minutes after a new control went live, it blocked the person who wrote it.
The control was small. It refused any shell command that carried prose, because shell quoting silently eats backticks, halves backslashes and corrupts file paths. The rule behind it had been written down for six weeks. It sat in the operating manual, in plain language, with six documented incidents attached. The author knew it by heart. Ten minutes after the rule became a hook that the system enforced, the author tried to pass a ticket body through a heredoc, and the hook said no.
That event holds the whole argument. A written rule and an enforced rule are different kinds of object, and most of what we call governance in agent systems is the first kind dressed as the second.
The manual and the gate
Every accountant has seen this distinction, even if nobody named it for them.
Policy control: a rule written in a manual that relies on a person reading it, remembering it and choosing to follow it at the moment it applies.
System control: a rule the system enforces whether or not anyone remembers it. The transaction cannot post without the approval. The payment cannot release without the second signatory.
Auditors rank these differently for a reason. A policy control tells you what the organisation intends. A system control tells you what the organisation does. When an auditor tests a policy control, the test is to sample it and ask for evidence that someone followed it. When an auditor tests a system control, the test is to try to break it once, then check the configuration has not changed. The second is cheaper to assure and harder to erode.
Agent operating layers are almost all policy manual. The standing instruction file, the rules file, the learned rules and the skill documentation are each prose that a model reads at the start of a session and is trusted to apply later. That trust is the honour system. It works most of the time, which is why its failures are hard to see.
Five layers, two that bind

A recent talk by an engineer whose team merges around 2,500 agent-authored pull requests a month gave the clearest version of this I have seen. Her team's trust in agent output comes from five layers, in order:
- The codebase itself: types, structure, and names that make wrong code look wrong.
- Static analysis: linters, type checks, and tests that fail the build.
- Rules: written instructions to the agent.
- Skills: packaged procedures.
- Style guide.
Her claim, and I agree with it, is that only the first two bind. Layers three to five are advice. They shape behaviour on average. They do not stop the specific bad action at the specific moment.
I ran that lens over my own operating layer, and the result was uncomfortable. The weight sat almost entirely in layer three. Rules were heavy and hooks were light. Four of my learned rules had each recurred after being written down, some more than once. A learned rule is by definition a lesson paid for once already. Paying for it again is the honour system failing in the place it was supposed to be strongest.
Then I ran the same audit on a commerce codebase that agents contribute to daily. About 45 rules sat in its agent instruction file. Six of them had been breached again after being written. Three were not rules at all but environment caches: facts about the machine that go stale. Every "Never" in the file was an honour rule. The one real gate, the verify script, was not running, because the continuous integration minutes had run out that morning.
What promotion looks like
Moving a rule from the manual to the gate is not a rewrite. It is a small, specific engineering act, and it has a shape worth copying.
Pick rules with a mechanical signature. "Write clearly" cannot be a hook. "Never pass prose through a shell command" can, because prose in a shell command has a detectable form. So can "never curl localhost", "never grep the whole tree without excluding the agent worktrees", "never write an em dash into client text" and "never edit the task file by hand". Each has a pattern a script can see before the action runs.
Ship the control with its own test. Every hook installed in this round carries a selftest: a set of cases it must block and a set it must allow. There are nine hooks, and all nine pass their selftests. The selftest is the evidence an auditor would ask for.
Count a control as installed only after it fires once on real work. This became a learned rule recently, and it is the one I would carry into any client engagement. A hook that has never blocked anything is indistinguishable from a hook that is misconfigured. Until the fire log shows one legitimate deny, the control is not in place; it is a claim that a control is in place. Every deny now goes to a log file, and the weekly audit prints fires per hook and marks any hook with no exercised path as NOT INSTALLED. That is the same absence-watching idea behind twelve routines going dark while the dashboard stayed green.
Scope the gate to the act, not the file. The em-dash hook first fired on the operating manual's ten pre-existing dashes, none of which the current edit had written. That is a gate blocking legitimate work on history it did not cause. It was rescoped to check only the text just written. A gate that punishes the wrong person gets bypassed, and a bypassed gate is worse than a written rule because it teaches people the gates do not mean it.
The trade-off
Hooks have a cost, and ignoring it is how a control estate turns into bureaucracy.
The em-dash scanner flagged the multiplication and division signs as dashes, and some Chinese text too. The prose-in-shell hook blocks a legitimate short snippet now and then. Each false positive costs a minute and a small amount of trust in the gate. A control estate with a 5% false positive rate across nine hooks will annoy someone most days.
So the decision rule is an accountant's one: promote a rule to a gate when the expected cost of the breach exceeds the expected cost of the friction. A shell command that corrupts a Windows path into control bytes inside the master task file has a real breach cost, and two live corruptions were found in August. A slightly clumsy sentence does not. The first gets a hook. The second stays advice.
Outside a solo workspace
This part is inference, not observed fact: the same pattern should hold in any firm that deploys agents against its own processes.
The instinct, when an agent does something wrong, is to write a better instruction. That produces a longer manual. The manual gets loaded into every session, costs tokens every time, and binds nothing. Six weeks later the same failure recurs, and the response is another paragraph. An earlier post, a rule that lives only in prose does not fire, makes the same case from the failure side. The same logic sits behind silence is not consent, where the fix was to build the gate so that no answer blocks the action.
The better question, which I now ask at every rule promotion, is whether it can be a hook. If yes, write the hook, write its selftest, and delete the paragraph or shrink it to a pointer. If no, keep it as advice and stop pretending it is a control.
For finance teams the frame is already familiar. You would never accept "staff are instructed not to approve their own expense claims" as the control over self-approval. You would ask where the system blocks it. Ask the same of your agent estate. For each rule that matters, find the place the system says no. Where there is no such place, you have a policy, and you should price it as one. The verifier problem that loop engineering describes is the same problem seen from the agent side.
Recommendation
- Audit the weight. List every rule your agents operate under and tag each one: codebase, static check, hook, written rule, style. Most estates will find the weight in written rules.
- Promote the mechanical ones. Any rule with a detectable signature and a real breach cost becomes a gate with a selftest.
- Log the fires. A control with no fire log cannot be assured. One real deny is the installation test.
- Shrink the manual. Every promoted rule leaves behind one line pointing at its hook, not the paragraph that used to carry it.
The honour system is a design choice, usually an unexamined one. The fix is to examine it.
Part of the Operating Principles series from KG Consultancy.
Strategy and technology are the same decision. Over 15 years in fintech (CTOS, D&B), prop-tech (PropertyGuru DataSense), and digital startups, I have built frameworks that help founders and executives make both moves at once. Based in Kuala Lumpur.
Working on a 0→1 product?
I help founders and operators go from idea to validated product. Let's talk about yours.
Get in touch →