DT+EPISTEMIC INSTRUMENTATION / SHORELINE STUDY

It knows when not to act.

Open-source epistemic instrumentation for LLM agents. No answer without evidence, every verdict auditable, failures published.

01 / THE PHASE BOUNDARYSYNTHETIC FIELD

The premise

ILLUSTRATIVE FINITE DIFFERENCES · y = x²
1, 4, 9, 16 → Δ 3, 5, 7 → Δ² 2, 2

Trust is measured disagreement.

AI systems fail confidently: models grade their own work favorably, panels of judges make the same mistakes together, and a wrong answer with good posture beats a refusal every time. Adding more judges adds confidence, not correctness. Agreement is cheap when everyone shares the same blind spots.

Difference Theory builds the instruments that make disagreement measurable: does your second opinion ever disagree with your first? When it does, who was right? And when the evidence isn't there: does anything in your stack have the standing to say refused?


The name

Babbage built the engine. This is the theory.

The Difference Engine was the first machine designed so calculation couldn't lie: no tired clerk, no transcription slip, no wishful arithmetic. Truth, computed from differences. A hundred and sixty years later the machines are fluent, and the failure has moved up a level: they can be wrong eloquently now. Difference Theory is the same bet at the new level. Build the mechanism so the system cannot certify itself.

"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' … I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question." Charles Babbage, Passages from the Life of a Philosopher, 1864

Wrong figures in, right answers out. The question hasn't changed since 1864, and neither has the answer.

differencetheory.com · registered April 17, 2008. This idea didn't chase the boom; the boom caught up.


The instruments

semantic-entropy

INTERACTIVE EXAMPLE01 / ENTROPY

Synthetic cluster counts, not model outputs. Agreement is not correctness.

Answer-stability screening: measures whether a model's answers scatter across meanings. An embedding-cluster approximation of semantic entropy (Farquhar et al., Nature, 2024), implemented with Python's standard library. The failed extension is published; consistent answers can still be wrong.

● built · self-testing

verifier-independence ledger

INTERACTIVE EXAMPLE02 / CORRELATION

Pearson correlation of 128 samples. Low correlation does not establish verifier independence.

Logs every time two "independent" checkers agree or disagree, per claim class. Verifiers that never disagree are flagged; zero disagreement is a correlation signal, not cleanliness.

● live since June 2026

boring-baselines harness

INTERACTIVE EXAMPLE03 / BASELINE

Illustrative thresholds: 0.60 / 0.72 / 0.80. Not published benchmark results.

Every proposed detector must beat majority vote, answer-string uniqueness, and a confidence threshold before it counts. Applied to our own tools first.

◐ in build · cross-framework replication in progress

fail-closed gates

INTERACTIVE EXAMPLE04 / REFUSAL
Synthetic prerequisites

A truth-table example only. These switches do not verify evidence or change the original claim readout.

An evaluator hierarchy that removes self-review from the path to "verified": self-assessment is weight-capped, contested claims route to decorrelated reviewers, and the audit layer is structurally forbidden from certifying its own runtime.

● running as governance · docs in release


We publish our failures

A system that only reports wins is a confirmation engine with a marketing budget. These are real entries from the working ledger, kept because the discipline is the product.

2026-07-03 · FAIL · PUBLISHED

We built a v0.2 upgrade to our confabulation detector, pre-registered its pass/fail criteria before writing code, and ran it once. It failed: local model families share training cutoffs, so they agreed on the one genuinely stale fact. We kept v0.1 and published the verdict. No tune-until-pass.

2026-07-07 · FLAW CAUGHT · REDESIGNED SAME DAY

Our own verification panel returned verdicts that tracked the side each model was assigned to argue, six calls out of six. Advocacy capture, measured in our own instrument. The panel was redesigned verdict-first and re-run; conclusions were revised in both directions.

2026-06-16 · AUTHOR OVERRULED

On a question where the author and the assisting model shared the same prior, a four-model cross-family panel unanimously overturned the conclusion and named the shared bias explicitly. The machinery is allowed to win the argument.


The demo

LOCAL BYTE-CHECK EXAMPLENOT A HISTORICAL REPLAY
INPUTCHECKOUTPUT
Not checked

SHA-256 checks three synthetic payloads against pinned digests. Altering a node must produce a mismatch. This browser does not execute the published command or verify its historical result.

First public case study: Iran-Contra, 1986.

A famous scandal, fully in the historical record, and the system's verdict is CONTAINED: a firewalled operation, not systemic capture. That's the point. An instrument that can't return "no coupling here" isn't measuring anything. The demo is byte-reproducible from a hashed seed; the ground truth is public record; you can audit whether the null was right.

$ ./demo --case iran-contra-1986 --verify-hashes  →  CONTAINED · reproducible · sources cited

Toolkit release pending final review. Public tools are linked above.

See a sample snapshot  →  Boundary Snapshot 01 · synthetic demonstration · no client data


About

Difference Theory is built by Reg Saddler. He brings eighteen years of curating technology on X and experience building analytical systems for situations where getting it wrong matters. He came to this work as a conversationalist, not a credentialed ML researcher. The discipline he built holds the machines to account, and gives them room to challenge his own conclusions. The framework speaks the syntax. He speaks the why.

About this visual instrument

All interactive data is synthetic. The phase boundary selects particle identifiers divisible by five; it does not classify claims. Entropy is computed from displayed cluster counts. Wave correlation is not evidence of checker independence. No visitor profiling, analytics, storage, or server-side inference is used.

Motion pauses when this tab is hidden. Reduced-motion preferences produce static diagrams, without changing the meaning or status of any claim.

Not checked

Compares text and link targets with the captured public page, allowing only the approved About paragraph edit. A change detector, not a security or truth attestation. Capture SHA-256: 83f791e93299870ab66e2dd409ec3ded7f66df7374579d905b3e02a73ac3331c