Skip to content

a11oy Operator — receipt orchestration

a11oy Operator is the admission-control & receipt-DAG vertical of a11oy. (Internal codename: rosie.)

Name origin. The internal codename rosie is the acronym Receipt-Orchestrated Signed Ingress Environment. It is not a Quechua word — labelled honestly as an English acronym. Its structure, however, is pure Andean: the receipt DAG is modelled directly on the Inka khipu.

Overview

a11oy Operator is the admission-control and receipt-DAG surface of a11oy. It ships the Khipu-indexed receipt DAG — a three-tier pendant-cord tree that records every governance decision under a summation-cord invariant and an optional dual-attestation field. As of v17 it also ships the CSS (Calderbank-Shor-Steane) ingress module: quantum-error-correcting admission control for governed receipt streams.

Frontier capability. First QEC-admission-controlled receipt DAG with CSS ingress and a kernel-verified sum invariant — Lutar/Khipu/SummationInvariant + CSS v17 (Ouroboros Thesis DOI 10.5281/zenodo.20434276).

Anatomy mapping: a11oy Operator is the operational Khipu organ, fed by Yawar and anchored externally by a11oy Memory.

The summation invariant

The structural heart of a11oy Operator mirrors the Inka khipu primary-cord arithmetic:

rootValue  =  pendantValues  =  decisionValues.\text{rootValue} \;=\; \sum \text{pendantValues} \;=\; \sum \sum \text{decisionValues}.

Tampering with any leaf changes the root boundary sum — integrity by additive arithmetic, not hash-collision resistance alone. This is formally verified in lutar-lean as Lutar/Khipu/SummationInvariant.lean, and is the algebraic root of the PURIQ INV-3 invariant.

What's here

FilePurpose
src/khipu-receipt.tsThree-tier pendant-cord receipt DAG with sum-of-sums invariant
src/qec/css_ingress.tsCSS ingress: QEC-governed admission control (v17, PR #6)
src/qec/qec_lineage.tsQEC lineage tracking and provenance chain (v17, PR #6)
tests/khipu-receipt.test.ts10 runtime tests: TH11 failure modes, dual-attestation, R1/R2 smoke
src/qec/css_ingress.test.tsCSS ingress tests

API / install

bash
git clone https://github.com/szl-holdings/a11oy.git
cd a11oy
pnpm install
pnpm test   # 10 runtime tests

Example — verify the invariant

ts
import { KhipuRoot, verifySumInvariant, verifyDualAttestation } from './src/khipu-receipt'

const root = KhipuRoot.from(organReceipts)

verifySumInvariant(root)      // true ⇔ rootValue = Σ Σ decisionValues
verifyDualAttestation(root)   // P6 + P8 of A8: two distinct signers required

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).