Skip to content

a11oy Memory — provenance anchor

a11oy Memory is the provenance & receipt-anchoring vertical of a11oy. (Internal codename: amaru.)

Name origin. The internal codename amaru is Quechua for serpent (the Andean serpent of rivers and continuity). The metaphor is the unbroken chain: a11oy Memory threads governance receipts into a single, continuous, anchored line. Gloss: kaikki.org Quechua lexicon.

Overview

a11oy Memory handles blockchain anchoring of governance receipts with Shor-encoded provenance: provenance hashes are encoded with the 9-qubit Shor code before Cardano anchoring, giving single-qubit error correction on the immutable receipt chain. It performs convergent multi-source data sync with append-only delta logs and bounded-loop convergence guarantees.

Frontier capability. First Shor-encoded + Cardano-anchored governance-receipt minting pipeline.

Anatomy mapping: a11oy Memory sits across Yawar (the receipt ledger) and the Khipu DAG, providing the durable external anchor.

Mathematical foundation

PropertyGuaranteeSource
ConvergenceThe delta-log compression operator is a contraction mapping on hash-verified ingest sequences under the ℓ∞ normBanach, 1922
Error correctionProvenance hashes are Shor 9-qubit encoded for single-qubit correction on the anchor chainShor, 1995
Causal orderReceipt events carry Lamport timestamps for total causal order across nodesLamport, 1978

Banach contraction (the convergence guarantee): there exists q[0,1)q \in [0,1) such that for the compression operator TT,

d(T(x),T(y))qd(x,y),d\big(T(x), T(y)\big) \le q \cdot d(x, y),

so iterating TT converges to a unique fixed point — the canonical synced ledger state.

API / install

sh
git clone https://github.com/szl-holdings/a11oy.git
cd a11oy
pnpm install
pnpm test

Example — mint a receipt

ts
import { mintReceipt } from '@szl/a11oy'

const receipt = mintReceipt({
  payload: { decisionId: 'd-001', value: 1, organ: 'a11oy.policy' },
})

console.log(receipt.sha256)   // SHA-256 over the canonical JSON
console.log(receipt.lamport)  // Lamport timestamp for causal order
console.log(receipt.shorBlock)// Shor-9 encoded provenance block

In development

Cardano mainnet anchoring is in development (target: Series-A milestone). The local append-only delta log, Shor encoding, and Lamport ordering are live today and tested via pnpm test. The DSSE receipt signature field is a PLACEHOLDER until Sigstore CI lands (see Compliance).

Source & evidence

Doctrine v11 LOCKED · 749/14/163 · kernel c7c0ba17 · Λ = Conjecture 1 · SLSA L1 honest. Math-grounded, Quechua-rooted, zero mysticism (PURIQ v12 agentic layer is additive).