a11oy Operator — receipt orchestration
a11oy Operator is the admission-control & receipt-DAG vertical of a11oy. (Internal codename:
rosie.)
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:
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
| File | Purpose |
|---|---|
src/khipu-receipt.ts | Three-tier pendant-cord receipt DAG with sum-of-sums invariant |
src/qec/css_ingress.ts | CSS ingress: QEC-governed admission control (v17, PR #6) |
src/qec/qec_lineage.ts | QEC lineage tracking and provenance chain (v17, PR #6) |
tests/khipu-receipt.test.ts | 10 runtime tests: TH11 failure modes, dual-attestation, R1/R2 smoke |
src/qec/css_ingress.test.ts | CSS ingress tests |
API / install
git clone https://github.com/szl-holdings/a11oy.git
cd a11oy
pnpm install
pnpm test # 10 runtime testsExample — verify the invariant
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 requiredSource & evidence
- Repo:
a11oy - Live 3D showcase: Rosie-3D
- Proof:
Lutar/Khipu/SummationInvariant.leaninlutar-lean - DOI: 10.5281/zenodo.20434276
- License: Apache-2.0