Warren Smith

Assurance architecture · Research prototype · PROVEN

OMEGA

When an AI decision is questioned later, can you reconstruct what happened? A log shows that something ran. It does not show who approved an action above the agent's limit, what evidence was on hand, what outcome was expected, or whether the record has been changed since. OMEGA seals that record at the moment of the decision so it can be replayed and its seal rechecked.

What this establishes is narrow: the record is intact and can be reconstructed. It does not establish that the decision was right, and it does not expose the model's internal reasoning; it preserves the recorded decision context.

What this establishes

What this does not establish

Trusted base

The Lean 4 model is checked by the Lean kernel (v4.27.0) and depends only on Lean's three standard axioms, propext, Classical.choice, Quot.sound, with no user-declared axiom and no Mathlib. SHA-256 is modelled as an opaque compute_hash; collision-resistance is carried as a discharged theorem hypothesis, not assumed as an axiom. Recomputation in the browser trusts the browser's own crypto.subtle implementation.

Inside a sealed record

A worked case. A support agent proposed a £4,820 refund. That is above the agent's £2,500 limit, so a manager, Sarah Okafor, approved it under Tier C escalation. The decision was sealed at that moment. The sealed record holds the five stages needed to understand or challenge the decision later: authority, evidence, expected outcome, confirmation, and traceability.

Break it yourself

Every hash below is recomputed in your browser with SHA-256 over the record's RFC 8785 canonical form, the same canonicalisation omega-demo/examples/refund-escalation.json uses. Edit the approval limit and watch the recomputed fingerprint stop matching the seal.

omega-record/2026-05-14/cs-agent-refund-1187442

Authority
Sarah Okafor, Senior Customer Operations Manager (badge ops-2218), Tier C escalation. Autonomous limit £2,500.
Evidence
Order O-2026-04471 valued £4,820; three photographs; channel count and output gain inconsistent with the order specification; 30-day quality-assurance window applies.
Expected outcome
Full £4,820 refund to the original payment method, return collection booked, £120 goodwill credit, settlement in 3-5 business days.
Confirmation
Identity verified by SSO plus hardware key; a signed approval token was issued and consumed once at commit.
Traceability
Sealed with the record's SHA-256 content hash. Recomputing it shows whether the stored record still matches what was committed.

Stored seal e747c3fdcb29…

Recomputed recomputing…

Recomputing the hash in your browser…

How the record is checked

A log shows that something ran. A replayable record shows who allowed it, the evidence at commit time, the expected outcome, the confirmation step, and whether the sealed copy was edited later. Anyone can recompute the fingerprint and see whether the stored record still matches what was committed. On its own that catches accidental edits; a deliberate editor with write access can re-seal. Chaining each record to the last, with the latest hash held outside the store, makes deliberate edits detectable.

Edit the approval limit, leave the seal record the record's own hash no longer matches
Re-seal that record chain the next record's back-link no longer matches
Re-seal the whole chain anchor the external anchor no longer matches
The record chain under three attack cases, each failing at a different point.

Why a log is not a record is covered in the specification and the example record below.

The assurance architecture

OMEGA is two witnesses.

Result

The shipped root theorems of the Lean model are machine-checked; a fresh public clone builds green (16 jobs) and #print axioms reports 0 user-declared axioms. Tampering a sealed record forces a hash collision, the record chain is append-only, and the canonical encoding is injective and round-trips. The depth pages carry the detail:

Reproduce

The Lean model, from a clean public clone:

git clone https://github.com/repowazdogz-droid/omega-lean-proof
cd omega-lean-proof
lake build                         # Build completed successfully (16 jobs)
lake env lean probes/AxiomProbe.lean   # 0 user-declared axioms

The record demo, locally, against the CLI:

node dist/cli.js verify examples/refund-escalation.json   # recomputed hash matches
node dist/cli.js tamper                                   # hash mismatch, exit 1

This pass. The Lean model was re-verified this pass: lake build and the axiom probe were re-run from a fresh public clone at 2fab5d1 (16 jobs, 0 user-declared axioms). The tamper demo's canonical hashes were re-computed independently and reproduce e747c3fd (intact) and b2e3c3e7 (edited). The record CLI itself was not re-run this pass (its repository is private).

Independent reproduction

None known. The Lean build and axiom audit were reproduced from a fresh public clone during the evidence inventory; that is author self-reproduction, not independent third-party reproduction. Replication is invited.

Prior art and positioning

Tamper-evident logging and hash chains (Haber and Stornetta, 1991), the trusted computing base literature, and canonical serialisation (RFC 8785). The contribution is the governed-decision record structure and the machine-checked internal-consistency and tamper-evidence properties, not the discovery of hash chaining.

Who this is for

OMEGA is not a gate or a guardrail. It does not block actions. It preserves the record needed to replay and challenge a decision later, for engineers wiring records in, researchers checking the specification and the Lean work, and auditors replaying a decision months afterwards.

Source: repowazdogz-droid/omega-lean-proof