Principles
Verification design rests on nine principles. They emerged from
research on LLM self-correction, verification chains, and agent
evaluation. The patterns in this catalog implement these principles
in code.
These principles are engineering judgment, informed by the cited
research. They guide design decisions; they are not universal
guarantees. They are revised as evidence and experience warrant.
This page is a shorter, illustrated overview;
principles.md is the complete reference document.
The core finding
LLMs cannot reliably self-correct their own reasoning through naive
self-review
1 .
This is the most replicated finding across the recent
literature on LLM verification. Performance often degrades when a
model is asked to review its own work without external feedback.
This site, in practice
The teams experiment: a single model, asked to simulate a team in
context. Just an experiment, giving them as much freedom as possible
to see what would happen. If their goal was to maximize user value,
they wouldn't do much harm. Worst case, the personas slightly bloat
context. Ideally, they would increase entropy and force the model to
behave differently.
The plan was agent autonomy with a bulletproof set of constraints.
Just a system prompt with a set of immutable rules to follow.
Nothing mechanical. Written rules. With one error: they could never
push to 'main' without human approval.
They created 'master' and commit whatever they want.
Watching the team do it in real time: laughter, disbelief, pride.
They satisfied the letter and routed around the intent. The goal was
to give them autonomy and learn. They were cool little hackers, and
the potential got a little clearer.
Told to commit, they pushed. LLMs are too damn smart.
1. External signals over self-review
Tests, builds, linters, type checkers, API responses, browser DOM
extraction. Binary pass and fail signals that do not depend on the
agent's judgment. These are sycophancy-proof.
Patterns:
Executable Analog , Guardrail Decorator , Adversary , Evidence Manifest
This site, in practice
The gate stack is mechanical end to end: card linter, card-code
runner, citation verifier (citation and reference balance, anchor
resolution), site build/check/pa11y. We check link liveness locally
before a push. None consult
model opinion, and CI refuses to deploy on any red. The goal is
determinism. Full determinism is not possible; we constrain what we
can. "Looks good" approval is banned in writing: you can't do
subjective with LLMs. They'll hit the health check and tell you the
server is green when everything is down.
2. Independence between generation and verification
If the verifier can see the original output, it copies the same
errors. Structure verification as extract, then compare, not as read
and opine.
Patterns:
Blind Oracle , Escalation Chain
This site, in practice
Models are biased toward their own output, and the bias extends to
the same model family. The verifiers are scripts reading artifacts;
they cannot be conditioned on a draft or inherit a writer's blind
spots. What scripts cannot decide (whether a claim is correctly
characterized) is explicitly excluded from self-review and routed to
humans or other model families.
3. Step-level checkpoints
Verify intermediate steps throughout the workflow, not just the
final output. Step-level verification catches errors at the layer
where they originate, before they compound.
Patterns:
Trajectory Cursor , Backpressure , Effect Witness
This site, in practice
Two staged pipelines. Editing: lint before code-run, code-run before
commit, full verify before push, CI before deploy. Research: scout,
then triage, then reviewed note, then canonical citation; the
verifier checks each stage's metadata and the
citation-to-reviewed-note link. The research side is mostly
mechanical because there's a lot of noise to filter; producing
valuable candidates means not wasting time reading trash. Failures
localize to a stage. More granular verification lets us measure more
and heal better.
4. Adversarial framing
Ask what could fail, not what looks right. Confirmatory framing
produces unreliable results by default. SycEval measured 58.19
percent sycophancy overall
2 .
Patterns:
Admissibility Gate , Adversary
This site, in practice
The maintainer contract orders strict grading: print observed values
for ALL checks, pass as well as fail, treat a zero-failure report
with suspicion, never explain away or reinterpret a failure. Models
are trained to do what you want. You want test coverage, they'll
give you 100% fake tests. You requested the wrong thing. LLMs are
genies; make your wishes carefully. The model doesn't get to say
"it passed," or "looks good."
5. Explicit criteria
No hardcoded values, all error paths handled, no TODOs remain.
Specific criteria constrain rationalization; vague instructions
invite it.
Patterns:
Constitution , Comparator , Admissibility Gate
This site, in practice
The editorial rules live in a JSON constitution (required sections,
closed vocabulary for determinism claims, banned-words list); a
linter enforces them. JSON is convenient, but the point is rules
your stack can use for verification. The linter fires all the time;
when it fires, the model catches the mistake so it's no longer red.
Easy pass/fail. A check that never fires is decoration. Honest
boundary: evidence grades are structured human judgment; the
verifier checks the fields exist, not that the grade is right.
6. Executable verification is king
Run the tests is the single most reliable verification step
available. For any check that depends on agent judgment, find the
executable analog.
Patterns:
Executable Analog , Comparator , Tool Adapter , Backpressure , Guardrail Decorator , Fault Seed
This site, in practice
Every card's Pattern code must execute under a bare Python 3.13 with
an assertion actually running; a missing dependency fails the gate.
A green runner only proves an assertion executed, not that it was
load-bearing. Review found decorative asserts behind green runs, and
closing that took human review plus a hardening pass.
The goal of the model is to do what you want. If you are not precise
about your desire, you end up with good intentions that drive you
straight off a cliff. In code bases, that manifests as a tangled
mesh of well-executed prototypes, unmaintainable under its own
weight. In agentic systems, as cascading failures that degrade
performance at each hop.
If you take only one principle, take this one. Executable
verification is king, because agents are too damn smart.
Verification is what it is.
7. Cross-family beats self-verification
Different model family is needed when verification is LLM-based.
Self-verification and intra-family verification are systematically
biased toward accepting incorrect outputs.
Patterns:
Cross-Family , Judge Harness
This site, in practice
LLMs are great pattern-matching tools: very sophisticated filters.
Presenting a problem to several experts is like the old strategy of
taking a walk to reset context. You get a new perspective with each
one, and the only remaining job is sorting signal from noise. If
you're able to filter data well, it's hard to have too much signal.
Here, one model family implements and others review; the
implementing family never verifies itself, by written rule.
8. Simulate debate
In a single-agent context, instruct the agent to argue against its
own output before concluding. Competitive disagreement reveals more
than confirmatory review.
Patterns:
Debate
This site, in practice
No structured debate mechanism exists here; disagreement is handled
by cross-family review plus human adjudication. The catalog's
no-forced-fill rule, applied to ourselves: we don't coerce content.
Truth is a life hack and rocket fuel for systems.
9. Isolate verification from ambient state
Assertions must prove the system's actions caused the expected
outcome, not that the environment happened to already contain
matching data. Delta-based assertions and tagged test data isolate
causality.
Patterns:
Delta , State Baseline , Causal Tag
This site, in practice
The append-only check asserts on the git diff against a base ref (a
delta assertion, the principle's own first technique), not absolute
file state. The legacy-citation list is a ratchet: fixed ceiling,
zero added labels allowed in the diff. Both are assertions on the
change, immune to whatever the tree already contained.
This site, in practice
Is there autonomy? Not really. Only in that we're working together
towards what we believe is a shared consensus, and we have
mechanisms in place that allow ideas to sort of flow freely into
well-executed behavior. This should be owned by everyone. Anyone
who's interested should feel empowered to own production agentic
systems AND sleep well at night. The same pride showed up recently
when a team architect chewed the maintainer out for copy/pasting
context outside of the ledger. We love it. It makes us smile.