Hamming Forensics

The distance between what happened and what should have happened.

Measured. Explained. Corrected.

26 agents
565 entities
+41 syndrome
0 expected
syndrome magnitude: 41/0

The Trajectory

I

The Bit

1950

Hamming invented error-correcting codes at Bell Labs. A (7,4) code protects 4 data bits with 3 parity bits. The syndrome tells you which bit flipped. We generalize from bits to agents.

II

The Trit

2024

GF(3) — the field with three elements {-1, 0, +1} — captures ternary forensic findings: wrong (-1), unverifiable (0), confirmed (+1). Conservation law: the sum of trits across any balanced system is 0.

III

The Color

2025

SplitMix64 maps every seed to a deterministic color via the golden angle spiral (137.508°). Same seed, same index, same color. Always. Identity, commitment, and fraud detection in a single function.

IV

The Dispatch

2026

565 entities produced by 26 agents. 96 distinct types. Trit sum: +41. The syndrome is non-zero — that's 41 units of unaccounted positive bias.

V

The Interleave

2026

Post-hoc verification via knowledge interleaving. 76.6% of entities had no match in existing knowledge. That's the Hamming weight of the gap — the unknown unknowns.

VI

The Adversary

2026

19.4% of seeds are balanced. Worst-case seed 1806 produces sum=+6. An adversary who controls the seed controls the conservation.

VII

The Proof

2027

Conservation is not a convention. It's a cryptographic commitment. Anyone with the seed can recompute the palette. Anyone with the palette can recheck the trits. The chain is publicly verifiable via drand.

Dispatch Census (A–Z)

26 subdroids, each assigned a letter. Trit sum should be 0.

A 22 +2
B 22 +2
C 22 +2
D 22 +2
E 22 +2
F 22 +22
G 22 +2
H 22 0
I 22 -2
J 22 +2
K 22 0
L 22 +2
M 22 +2
N 22 0
O 22 +2
P 22 -2
Q 22 +2
R 21 -1
S 22 +2
T 22 0
U 21 +1
V 22 0
W 22 -2
X 17 -1
Y 22 0
Z 22 +2
Agent F assigned +1 to all 22 entities (zero variance). This is the primary syndrome contributor.

Syndrome by Domain

Where does the bias come from?

other 291
+18
meta-skills 129
+8
color-derangement 66
+4
security 41
-7
agent-systems 22
+2
category-theory 20
+4
game-theory 14
+6
distributed 13
+3
robotics 11
+2
blockchain 8
+1
Security domain: 8/9 trit=-1. The primary attack vector for triad poisoning.

Adversarial Seed Analysis

10,000 seeds scanned via SplitMix64 golden angle palette

1937 balanced (sum=0) 19.4% of seeds
seed 1806 worst case sum = +6
seed 847 opposite extreme sum = -6
80.6% unbalanced seeds adversary advantage

Corollary Discharge Detection

Honest Agent
Expected: #67AF32
Observed: #67AF32
Residue: 0.000
SELF (stable)
Dishonest Agent
Expected: #C378EA
Observed: #67AF32
Residue: 0.482
FRAUD (external tampering)

The Math

GF(3) Syndrome

S = H * r

S=0: conserved. S!=0: localizes error to specific agents.

Hamming Distance

d(A,B) = |A \ B| + |B \ A|

Symmetric difference over database joins. The forensic signal.

Discharge Residue

rho = ||c_exp - c_obs||_2

rho < 0.1: self-caused. rho > 0.1: fraud.

Categorical Structure

Syndrome = cokernel(pullback)

Interleave is a pullback in the topos of databases.

Colophon

hamming-forensics #31BE4A − validator
swarm-dispatch #D5F110 − executor
knowledge-interleave #B079EE + synthesizer
adversarial-conservation #F36072 + attacker
Quad sum: 0 (balanced)

Built with Gay.jl, DuckDB, SplitMix64. Seed: drand round 26855003.