The Honest Machine · Lesson 4
What you'll be able to do: explain the difference between a check that happened and a law that holds — and enact a real law change on a protected repo using nothing but a browser.
By July 2026, a tool I built had 45+ tests — but CI only ran nine of them (the
tests/invariants/ folder). The rest had been run by an agent, once, on the day they
were written. Passing yesterday is not a law; it's a memory.
The fix was option 4: change one line in the CI recipe —
tests/invariants/ → tests/ — so the machine runs the whole test
tree on every proposal, forever. I enacted it myself from the GitHub website: pencil icon, edit one
line, commit. Main is protected, so GitHub forced the edit onto a branch and opened a PR; CI ran; I
merged. Zero terminal. The law changed hands from agent-memory to
machine-enforcement in one line.
A classroom rule that lives in the teacher's head works — while that teacher is in the room.
Write it into the school handbook and wire it to the bell schedule,
and it holds through substitutes, new students, and the teacher's sick days. "An agent checked once"
is the teacher remembering. CI running tests/ is the handbook plus the bell: nobody has
to remember, because the building itself enforces it.
Where the analogy ends: a handbook still needs humans to read and choose to obey it — enforcement is social. CI's enforcement is mechanical: the merge button physically refuses until checks pass. There is no "we'll let it slide today" in a locked branch. That's also the warning label: the machine enforces your law exactly as written, including its mistakes — which is why writing the law (Lesson 3) is the human's job and stays one.
.github/workflows/ folder on GitHub and find the verify/test
workflow file. Read the last lines — find which paths the tests run on. That scope IS the
law's reach.Three regimes of rule-keeping, in ascending strength:
| Regime | Rule lives in | Fails when |
|---|---|---|
| 1. Intention | someone's head | they forget, leave, or get busy |
| 2. Inspection | a check someone ran once | the world changes after the check |
| 3. Enforcement | the machine, on every change | only if the written law itself is wrong |
The whole trick of the truth machine is pushing every rule from regime 1 and 2 into regime 3.
Note the division of labor it creates: agents may propose laws (a
PROPOSED_INVARIANTS.md file), but only the human enacts them — because
regime 3 is absolute, the choice of what becomes absolute must stay with the human. You can't feel
the law when it's working; you only feel it when it refuses you. That refusal is the product.
Lesson complete — you can now tell a memory from a law, and change a law with a pencil icon. Next: Lesson 5 — even a lawful machine can't grade its own homework.