Steward and Sync

Technical Foundation

The TAO, the framework,
and the mathematics.

Most governance systems make probabilistic arguments: the guardrail catches most violations, the classifier flags most anomalies. STS-001 makes a different kind of argument — a mathematical one. This page explains what that means, where it comes from, and how it becomes a protocol.

I. The Mathematical Tradition

Finite chain rings: from error-correcting codes to authorization structures

In 1948, Shannon established the mathematical foundations of information theory — proving that reliable communication across noisy channels was possible, and bounding exactly how reliable it could be. The problem that followed was constructive: how do you actually build codes that approach that bound?

For decades, the dominant substrate was the finite field — arithmetic modulo a prime, where every nonzero element has a multiplicative inverse. Reed-Solomon codes, BCH codes, and the codes inside every QR code, CD, and satellite transmission are built over finite fields. They are elegant, well-understood, and provably optimal for many channel models.

In 1994, a result by Hammons, Kumar, Calderbank, Sloane, and Solé changed the picture. They showed that two families of binary codes — the Kerdock codes and the Preparata codes — known since the late 1960s and 1970s but resistant to algebraic explanation, had a natural and elegant description over a different structure: Z/4Z, the integers modulo 4. Not a field — a ring. Specifically, a finite chain ring.

A finite chain ring is a ring where the ideals form a single chain: each ideal contains the next, down to zero. In Z/4Z, the chain is {Z/4Z, {0, 2}, {0}}. The structure is richer than a field precisely because it has zero divisors — elements that multiply to zero without either being zero. That richness is what produces codes with properties unreachable over fields alone.

The 1994 result opened a field. Through the late 1990s and 2000s, researchers established that linear codes over finite chain rings — particularly over Z/p²Z for odd primes p — exhibited distance properties and structural invariants that made them candidates for cryptographic and error-correcting applications. The same algebraic machinery that makes these codes robust against channel noise turns out to make them robust against a different kind of adversary: the system trying to authorize its own actions.

Why this matters for governance

Error-correcting codes solve a structural problem: ensure that valid codewords are sufficiently far apart in the space of all possible words that noise cannot move one valid codeword close enough to another to cause a decoding error. The authorization problem is structurally analogous: ensure that authorized states are sufficiently separated from unauthorized states that no actor — including the system itself — can construct a path from one to the other without traversing the authorization gate. The mathematical tool is the same. The application is new.

II. The Structure

Z/p²Z, circulant codes, and the minimum distance ceiling

The specific structure at the core of STS-001's authorization mathematics is Z/p²Z — the integers modulo p², where p is an odd prime. For p=3 this is Z/9Z. For p=5, Z/25Z. For p=7, Z/49Z. Each is a finite chain ring with the same essential shape: a maximal ideal generated by p, containing p² = 0.

Over these rings, we study circulant systematic codes — linear codes where each codeword is generated by cyclically shifting a base row, and where the code is systematic in the sense that the original message appears explicitly within the codeword. The systematic property matters for authorization: the authorized action must be recoverable from the receipt without ambiguity.

The fundamental question for such a code is its minimum distance: what is the smallest number of positions in which any two distinct codewords differ? Minimum distance is the measure of a code's separation — higher distance means authorized and unauthorized states are further apart, and a larger perturbation is required to move between them.

For codes over finite fields, the Singleton bound establishes a theoretical maximum for minimum distance. Reed-Solomon codes meet this bound exactly — they are optimal. For codes over Z/p²Z, the analogous question turns out to have a surprising answer.

III. The Discovery

The Gap-3 phenomenon: a hard ceiling, exhaustively verified

Theoretical analysis of circulant systematic codes over Z/p²Z suggests that minimum distances up to 7 should be achievable for certain parameter ranges. The exhaustive computation found otherwise.

Across every odd prime tested — p = 3, 5, 7, 11, and beyond — the maximum achievable minimum distance for these codes is 4. Not 5. Not 6. Not 7. Uniformly 4, regardless of prime, regardless of code parameters within the studied family. The theoretical bound and the achievable maximum diverge by exactly 3. This is the Gap-3 phenomenon.

At p = 7, exhaustive computation over 13.8 billion seeds — every possible starting configuration — confirmed the ceiling with zero exceptions. This is not statistical sampling. It is complete enumeration: every case that could produce a violation was evaluated, and none did.

To confirm the boundary is specific to odd-prime rings rather than a general ring property, two-power rings (Z/16Z) were tested separately. There, exceptions appear — confirming that the Gap-3 ceiling is a structural property of the odd-prime family specifically, not an artifact of the computation.

p = 3, 5, 7, 11+
Odd primes tested
Uniform ceiling across all
13.8B+
Seeds evaluated at p=7
Complete enumeration, not sampling
0
Violations found
Zero exceptions to the separation property
"Most mathematical conjectures live in the land of 'probably true.' This one didn't get to stay there."— The Gap-3 Phenomenon, Substack

IV. The Theorem

The deterministic separation property

The Gap-3 phenomenon establishes a hard ceiling on code distance. The deterministic separation theorem derives from this: in an authorization structure built over Z/p²Z with the circulant systematic construction, the authorized states and unauthorized states are algebraically separated by a distance that cannot be bridged by any transformation available to the actor proposing an action.

More precisely: the structure cannot collapse to self-certification. An actor in the Reasoning Plane — the execution side — cannot construct a valid authorization receipt for its own proposed action. The mathematical gap between what the actor can compute and what constitutes a valid TAO is not a policy gap, not a configuration setting, not a probabilistic threshold. It is an algebraic invariant of the ring structure.

This is the property the exhaustive computation verified. Not "it is unlikely that self-certification occurs." Not "our classifier catches self-certification attempts with 99.9% accuracy." The structure cannot produce a self-certifying loop — and this has been verified for every case in the enumerable space.

The distinction that matters

Probabilistic governance

"The system is aligned. Our RLHF process, constitutional constraints, and output classifiers make unauthorized behavior unlikely. We have not observed self-authorization in our evaluations."

Deterministic separation

"The authorization structure is mathematically separated from the execution structure. Self-certification is not unlikely — it is algebraically unreachable. This has been verified by complete enumeration."

V. The Protocol

The TAO: the mathematical separation encoded as a protocol artifact

A Typed Authorization Object is the operational realization of the separation theorem. It is a cryptographically signed record generated by the Governance Plane — the only entity with standing to produce it — before any write to a system of record.

Each TAO commits a fixed set of fields at the moment of issuance:

TAO — field structure

actorCryptographically bound identity of the requesting principal. Human operator, AI agent, or automated pipeline — the gate does not distinguish.
roleAuthorization scope at the time of issuance. Bound at the moment of the TAO, not inferred from later state.
actionThe specific write operation being authorized. Scope is exact — a TAO for one action cannot authorize a different action.
policy_versionThe active governance policy evaluated to produce this TAO. Authorizations issued under superseded policy are detectable.
timestampIssued before the write. The receipt is contemporaneous with authorization, not reconstructed from a log after execution.
chain_hashHash of the preceding TAO in the ledger. Every receipt is linked. Altering any past record breaks the chain from that point forward.
signatureCryptographic signature from the Governance Plane. Produced using locally-anchored keys. Cannot be produced by the Reasoning Plane.

The TAO is single-use: consumed atomically with the write it authorizes. A captured TAO cannot be replayed — the ledger records consumption and the gate rejects a second presentation regardless of how recently the TAO was issued.

The chain hash structure means the ledger is tamper-evident without requiring a separate integrity monitor. The same append-only property that makes good error-correcting codes robust — each position in the codeword is committed and cannot be changed without invalidating the whole — applies to the TAO chain. Alter one receipt and every subsequent hash breaks.

VI. The Architecture

The three-plane framework: the theorem made operational

The deterministic separation theorem requires one structural condition above all others: the entity that proposes an action must be architecturally incapable of issuing the authorization for that action. This is not a policy. It is a topological requirement — the two functions must exist in separated spaces.

The three-plane framework enforces this:

Governance PlaneIssues TAOs. Cannot execute actions.

The sole source of authorization receipts. Evaluates proposals against policy, produces TAOs when authorized, produces signed refusals when not. Has no execution capability on systems of record. The approver cannot be the executor — not by convention, by architecture.

Reasoning PlaneProposes actions. Cannot issue TAOs.

Where AI agents, human operators, automated pipelines, and scripts run. Any actor may propose a write. No actor in this plane can produce a TAO — that capability does not exist here. Proposal is structurally separated from authorization.

Persistence PlaneAccepts writes only with valid TAOs.

The enforcement point. Operates below ordinary application policy — the gate is not a middleware rule, it is a structural constraint on what reaches durable state. Accepts TAO-bearing transactions. Rejects everything else. Appends a cryptographic receipt before the write completes.

The three-plane separation is the architectural encoding of what the mathematics requires. The Reasoning Plane and the Governance Plane cannot occupy the same trust domain — just as in error-correcting coding, the encoder and the decoder must operate with knowledge the channel does not have. The channel cannot correct its own errors without reference to a code structure it cannot modify. The actor cannot authorize its own actions without reference to a governance structure it cannot reach.

VII. The Complete Picture

From ring theory to operational governance

The chain from mathematics to protocol to architecture is direct:

01

Finite chain rings over Z/p²Z exhibit algebraic distance properties that cannot be reproduced in simpler structures.

02

Circulant systematic codes over these rings have a provable minimum distance ceiling — the Gap-3 phenomenon — verified exhaustively across 13.8B+ cases.

03

This ceiling produces a deterministic separation property: authorized and unauthorized states are algebraically separated in a way that cannot be bridged from the execution side.

04

The TAO encodes this separation as a protocol artifact: a signed, single-use, hash-chained receipt that can only be produced by the Governance Plane.

05

The three-plane framework makes the separation structural at the architectural level: the plane that proposes cannot produce TAOs, the plane that produces TAOs cannot execute, the plane that executes accepts only TAO-bearing transactions.

06

The result is a governance guarantee that is not probabilistic, not behavioral, not policy-based. It is mathematical — and the mathematics is public, peer-reviewed, and exhaustively verified.

Want to go deeper?

The architecture review maps these properties to your specific systems and write surface.

Request Briefing