aien-receipts
Append-only AIEN verification receipts, indexed by repository and exact source commit. Read verdicts, signatures and retained logs before making a claim.
Brought by drakestapleton
aien-receipts / README.md
| 1 | # aien-receipts |
| 2 | |
| 3 | Published signed verification summaries for the AIEN repositories. When the Spark judge (the |
| 4 | verification pipeline on the project's NVIDIA DGX Spark) checks a commit, it signs a bundle and |
| 5 | publishes that bundle here. Readers can verify its signature, commit binding, declared gate |
| 6 | verdicts and receipt digests. This shelf does **not** contain the underlying per-gate receipt |
| 7 | bodies, commands, stdout, stderr or raw logs; a signature alone cannot re-run or audit the tests. |
| 8 | This repository holds data only: no code, no workflows, no secrets. The single exception is the |
| 9 | org audit under [`audit/`](audit/README.md), which carries its own checker and two workflows. |
| 10 | |
| 11 | Supports [Sovereign Intelligence (SI)](https://github.com/aien-dev/sovereign-intelligence). |
| 12 | Every claim the project makes is meant to resolve to a bundle on this shelf. |
| 13 | |
| 14 | **Status (2026-10-26): in use.** The first bundles were published on 2026-10-16, and |
| 15 | the Spark publishes signed bundles when it verifies commits. The shelf includes |
| 16 | historical receipts for `aegis-runtime`, `aien-architecture`, `aienos`, |
| 17 | `aien-protocols`, `benchmarks`, `omega`, `physics` and other enrolled repositories; |
| 18 | the presence of a bundle for an older commit says nothing about current |
| 19 | qualification or merge authorization. |
| 20 | |
| 21 | Since the 2026-10-24 policy change, the hosted **AIEN Checks** job on PRs and |
| 22 | `main` is advisory and runs portable smoke gates; it does not read this shelf. |
| 23 | Only the **AIEN Alpha** job on an `alpha/*` tag requires a full signed Spark |
| 24 | bundle for the tagged commit on `main`. The earlier `AIEN Verification` hosted |
| 25 | receipt bridge and required-PR-check policy are historical, not current. |
| 26 | |
| 27 | ## Layout |
| 28 | |
| 29 | ``` |
| 30 | <repo>/<sha>/bundle.json |
| 31 | ``` |
| 32 | |
| 33 | - `<repo>` is the GitHub repository name under `aien-dev`. |
| 34 | - `<sha>` is the full 40-character commit hash of the verified commit in that repository. |
| 35 | - `bundle.json` is the signed summary bundle produced by `aien-test bundle-sign` on the machine |
| 36 | that ran the gates (the DGX Spark). It carries a receipt **digest** and verdict per gate, |
| 37 | not the full per-gate receipt or log, plus a signature over the bundle. |
| 38 | |
| 39 | Only signed summary bundles are published on this shelf. Underlying gate evidence must be |
| 40 | located separately in a repository's retained `evidence/` paths when published, or requested |
| 41 | from the run operator when it is not public; this shelf supplies no universal artifact URL. |
| 42 | Do not interpret a digest without its corresponding bytes as an independently audited gate run. |
| 43 | |
| 44 | ## How a bundle is checked |
| 45 | |
| 46 | The consuming repository verifies the bundle with `aien-test verify-bundle`, using |
| 47 | |
| 48 | - the repository name and commit under test, |
| 49 | - the public key committed in that repository as `.aien/verify.pub`, read from the base |
| 50 | branch (never from the commit under test), and |
| 51 | - the always-run gate list `.aien/always` from the same base branch, passed as `--require`. |
| 52 | |
| 53 | The signing key never leaves the verification machine. This repository only receives the |
| 54 | signed output, so anyone can read and re-verify a bundle with the public key. |
| 55 | |
| 56 | ## Receipt index |
| 57 | |
| 58 | [`index/receipt_index.json`](index/receipt_index.json) lists the receipts that may be cited, from |
| 59 | this shelf and from `aien-dev/omega-evidence`, with pinned commits, live SHA-256 digests, the |
| 60 | correction that applies and the effective verdict. `tools/replay_receipt.py replay --all` |
| 61 | refetches every entry, checks the shelf HEAD for a correction added later, and refuses any |
| 62 | drift or any field it does not check. A correction file outranks the historical status, so the |
| 63 | omega-evidence M8 and M9 receipts are indexed as `REFUSED_UNSUPPORTED_PROVENANCE`. The admission |
| 64 | check, and the few values taken on trust, are described in |
| 65 | [`docs/receipt-index.md`](docs/receipt-index.md). |
| 66 | |
| 67 | ## How it works / How I built it |
| 68 | |
| 69 | The [pipeline design record](https://github.com/aien-dev/aien-architecture/blob/efbba982f5c095e3ae71c057b22faaafc11ed84d/docs/adr/0033-aien-verification-pipeline.md) |
| 70 | identifies the problem: repeated hosted setup and hardware tests that need Spark. |
| 71 | The worker publishes a signed, commit-bound bundle; an independent consumer uses |
| 72 | base-branch trust anchors to check it rather than trusting the candidate's own key |
| 73 | or gate list. The signature authenticates the recorded statement, not the |
| 74 | correctness or sufficiency of the underlying tests. |
| 75 | |
| 76 | **[Walk through one immutable real bundle](docs/verify-one-bundle.md)**: exact |
| 77 | source, shelf and verifier pins; base-ref public key and gate list; official |
| 78 | `aien-test verify-bundle` commands; and a disposable tamper/refusal case. It links |
| 79 | the implementation and existing tests. The optional OpenSSL signature-only |
| 80 | exercise was reproduced; the full verifier recipe is explicitly **not yet |
| 81 | reproduced** in the documentation review environment because Cargo is unavailable. |
| 82 | Neither a signature-only check nor a green advisory PR check replaces the full signed Alpha verdict. |
| 83 | |
| 84 | ## Rules |
| 85 | |
| 86 | - Append only (a convention: the branch has no protection rule that enforces it). A bundle for a |
| 87 | given `<repo>/<sha>` is published once and never rewritten. |
| 88 | A new verification of the same commit is a new commit here that must carry the same bytes. |
| 89 | - No workflows run on the bundles. The only workflows are the two org-audit jobs scoped to |
| 90 | `audit/` (I approved them on 2026-10-26; ADR 0033 addendum, aien-dev/aien-architecture-mv#337). |
| 91 | - Published by the AIEN verification pipeline on the DGX Spark; see the `aien-architecture` |
| 92 | repository for the pipeline doctrine (ADR 0033, manifest v2). |
| 93 | |
| 94 | ## License |
| 95 | |
| 96 | Apache-2.0. See `LICENSE`. |
| 97 | |
| 98 | ## Human-Directed Agentic Engineering |
| 99 | |
| 100 | Current repository maintenance follows Human-Directed Agentic Engineering (HDAE): |
| 101 | humans define goals, architecture, constraints, acceptance criteria, and stopping |
| 102 | points; agents implement, execute checks, diagnose failures, and revise within those |
| 103 | boundaries. Human review retains responsibility for claims, acceptance, and release decisions. |
| 104 | |
| 105 | For the documented method and a systems-software case study, see Gregory M. Kurtzer, |
| 106 | [*Ginux: Building an Independent Kernel That Runs Linux Userspace through |
| 107 | Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.23682548). |
| 108 | Historical evidence retains its original wording and scope; this section does not |
| 109 | retroactively characterize the method used to produce earlier records. |