Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/release/repro/RECHECK.md # aien-sovereign-core-mv AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / release / repro / RECHECK.md` 110 lines ยท 12033 bytes Raw Blame History Rendered 1 # Recheck kit: the SI engine sha256 2 3 This file lets a person outside the project rebuild one receipt and compare it byte for byte, with public URLs only, without my machines, my keys or my word. 4 5 **The claim being rechecked.** The Sovereign Core engine `aien-serve-http` built from Core commit ``d3dec0eb18818808212bdf99db5c8612bcfcb9ef`` with the container recipe in this directory has 6 7 ``` 8 sha256 `6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9` aien-serve-http 9 ``` 10 11 This is the `ENGINE_SHA256` that sovereign-intelligence pins in `installer/build.sh` (pull request aien-dev/sovereign-intelligence#67, head ``be7b3b3f516ef220ae46ead8849790f527211472``). 12 13 **Status.** Independent rechecks: 0 (as of 2026-10-31). The one run on record, [recheck-transcripts/2026-10-31-agent.txt](recheck-transcripts/2026-10-31-agent.txt), was made by an agent under the same operator as the original build, following the steps below verbatim from a fresh clone at kit commit ``acc5b5fc`` with a freshly built image, 15:32Z to 15:38Z. It observed ``6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9`` (match, `exit=0`). That run is EXERCISED, not independent, and it does not change the count. 14 15 Two further agent runs on 2026-11-04, after every Ubuntu package was pinned by sha256 (DRA-108), followed the steps below verbatim from fresh clones at kit commit ``cdc4398a`` with all build images removed first: [recheck-transcripts/2026-11-04-pinned-a.txt](recheck-transcripts/2026-11-04-pinned-a.txt) and [recheck-transcripts/2026-11-04-pinned-b.txt](recheck-transcripts/2026-11-04-pinned-b.txt). Both observed ``036b7491d85a2d0781360c194402f345ad2f63720dab1b8f6d0cbc5c09f87d3e`` `libomega_gpu.a` and ``6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9`` `aien-serve-http` (match, `exit=0`), so the pinned image reproduces the pinned engine. [recheck-transcripts/2026-11-04-negative-controls.txt](recheck-transcripts/2026-11-04-negative-controls.txt) shows the image build failing on a changed `.deb` sha256 and on a changed package manifest. These runs are EXERCISED, not independent, and do not change the count. 16 17 ## What a receipt must declare 18 19 The Crumb Doctrine defines a receipt (aien-dev/aienos.com `public/research/crumb-doctrine/paper.tex:25` and `:27`, commit ``763a8ac1334926338ab3560d8a925a7a51f56288``): 20 21 > A receipt must be recheckable by an independent party under fully declared prerequisites, without asking us for permission or for our word. If an independent party cannot recheck it, it is not a receipt. 22 23 > A receipt records at minimum: the digest of the verifier that ran, the digest of the specification it checked against, the closure of dependencies the result depends on, the execution environment, the architecture assumptions, the randomness and seeds, the resource bounds, the timeout semantics, the nondeterminism policy, the input corpus or a commitment to it, and the exact result. A receipt that omits any of these is incomplete. 24 25 Each field for this receipt: 26 27 | Field | This recheck | 28 |---|---| 29 | Verifier (digest) | The recipe is the verifier. sha256 ``f420c34f42a4d481df2ddfa0cb770fec859c1562e0df258e3f2845d508f6738f`` `scripts/repro-container-build.sh`, ``2ceaf3425793eafc820a6cf9d96a9fef84117e04ce308e396da73010608d4360`` `release/repro/Dockerfile`, ``5a09da775509ace488f4fb732a40837c6636bb7d884d3e24b904d822f37cdae1`` `release/repro/inside.sh`, ``8af366d6048f04100db172056d06ab6f5d99346dba3007005d1a1de8a745cd18`` `release/repro/apt-install.sh`, ``83e3746c349661fa70da2c3fe06b68e5803fe6d469f95e50a96e43f2c24a8a25`` `release/repro/apt-packages.lock`, ``98783cf8d41d108fca0839fb663fdfd67aad3b0f5cc2b8acd76a5f6e3a4d0ec5`` `release/repro/dpkg-manifest.tsv`. Step 2 checks these before anything runs. The comparison itself is `sha256sum` from GNU coreutils inside the build image. | 30 | Specification (digest) | The pinned claim: `installer/build.sh` of aien-dev/sovereign-intelligence at ``be7b3b3f516ef220ae46ead8849790f527211472``, sha256 ``2e060c50dcdd3058a43af5a9805e404e748802ec0b9ccb606c2ff75d2c250953``, which sets `CORE_REV=`d3dec0eb`...` and `ENGINE_SHA256=`6fb04197`...`. The build method is `docs/release/BUILD_RECIPE.md` in this repository. | 31 | Dependency closure | Core ``d3dec0eb18818808212bdf99db5c8612bcfcb9ef``; its `Cargo.lock` (sha256 ``c62d08a276690de3eeaa25e646be41106d0ad32ba49bd1da6e2abb0ba8e9eb33``) pins every crates.io crate by checksum and every git crate by commit (aien-protocols-mv ``28bc49ec``, aien-protocols ``7ac6facb``, crumb-spec-mv ``24194d1b``, spark-crumbs-mv ``9355a92b``, all public under github.com/aien-dev); Omega ``a647b6a9821fffcf52ba9ce813f75afa4b84be62`` (Core's `omega.lock`); physics ``048e5f5e881b092733baaf65d0ace46abda7f908`` (Omega's `physics.lock`); base image `ubuntu:24.04@sha256:`fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852``; the 64 Ubuntu packages the image adds, each `.deb` by exact version and sha256 in `release/repro/apt-packages.lock` (resolved by `apt-lock.sh` against snapshot.ubuntu.com `20261031T120000Z`), with the image's whole package list (156 packages, 92 of them from the base image) required to equal `release/repro/dpkg-manifest.tsv`; rustup-init 1.29.1 checked by sha256 in the Dockerfile; Rust 1.98.1 from static.rust-lang.org (rustup checks the dist manifest hashes). | 32 | Environment | Linux on arm64 (aarch64) with Docker (the agent runs used Docker 29.2.1), git, bash, GNU coreutils and util-linux (`timeout`, `nice`, `ionice`). Network access to github.com, registry-1.docker.io, snapshot.ubuntu.com (if it does not serve a locked file, `apt-install.sh` tries ports.ubuntu.com, then launchpad.net and launchpadlibrarian.net; any of them is accepted only at the locked sha256), static.rust-lang.org, index.crates.io and static.crates.io. No apt index is fetched. About 3 GB of free disk. No GPU, no NVIDIA software, no account and no key. | 33 | Architecture assumptions | aarch64 host and aarch64 target (`aarch64-unknown-linux-gnu`). The Dockerfile downloads the aarch64 rustup-init. On an x86_64 host the result is undeclared: emulation is not part of this recipe. The engine's GPU code is compiled in but never executed by this check. | 34 | Randomness and seeds | None. The build uses no random input. `SOURCE_DATE_EPOCH=`1793446268`` (the Core commit time) is set by `inside.sh`, and paths are remapped (`mode=remap`) so the work directory does not reach the binary. | 35 | Resource bounds | CPU only. `REPRO_CPUS=2-4` (three cores, `docker --cpuset-cpus`), `REPRO_JOBS=3`, `REPRO_MEMORY=3g` (`docker --memory` and `--memory-swap`), all under `nice -n 19 ionice -c3`. Any three cores work; the bounds change only whether and how fast the build finishes, never the bytes. If the build is killed for memory, raise `REPRO_MEMORY` and say so in the report. | 36 | Timeout semantics | `timeout 3h` around the build. On expiry `timeout` exits 124 and the result is NOT_RUN, not a mismatch. The agent run on the operator's host took 6 minutes 15 seconds for steps 1 to 5, including the cold image build; the two pinned runs took 5 minutes 20 seconds and 5 minutes 9 seconds. | 37 | Nondeterminism policy | Exact bytes. The result is a match only if the full sha256 is identical; there is no tolerance. The Ubuntu packages are no longer taken from the archive on the day the image is built (DRA-108): the image installs exactly the `.deb` files `apt-packages.lock` names, by sha256, and the build fails if any file differs or if the image's `dpkg-query` listing differs from `dpkg-manifest.tsv`. The lock gives gcc 13.3.0-6ubuntu2~24.04.1, binutils 2.42-4ubuntu2.10, make 4.3-4.1build2 and libc6-dev 2.39-0ubuntu8.9, the versions the original build used, and step 3 prints the comparison. A source that stops serving a locked file makes the image build fail (`no source served ...`); that is NOT_RUN, not a mismatch. | 38 | Inputs | The three source commits above, fetched by full sha over https by the script, plus the crates named in Core's `Cargo.lock`. Nothing else is read from the host. | 39 | Exact expected result | ``036b7491d85a2d0781360c194402f345ad2f63720dab1b8f6d0cbc5c09f87d3e` libomega_gpu.a` and ``6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9` aien-serve-http`, printed in `out/BUILD-INFO.txt`; the script exits 0 only if both match. | 40 | How to report | See [Report your result](#report-your-result). | 41 42 ## Steps 43 44 Run these in a POSIX shell on the arm64 Linux host. They are the exact commands the agent run followed. 45 46 1. Fetch the kit into a fresh directory. 47 48 ```sh 49 R=$(mktemp -d /tmp/recheck-XXXXXX); echo "$R" 50 git clone https://github.com/aien-dev/aien-sovereign-core-mv.git "$R/kit" 51 cd "$R/kit" 52 git checkout dra-108-apt-pins 53 git rev-parse HEAD 54 ``` 55 56 Once this kit is merged, check out `main` instead. The branch name does not pin the kit; step 2 does. 57 58 2. Check the verifier digests. Stop if any line is not `OK`. 59 60 ```sh 61 sha256sum -c <<'EOF' 62 `f420c34f42a4d481df2ddfa0cb770fec859c1562e0df258e3f2845d508f6738f` scripts/repro-container-build.sh 63 `2ceaf3425793eafc820a6cf9d96a9fef84117e04ce308e396da73010608d4360` release/repro/Dockerfile 64 `5a09da775509ace488f4fb732a40837c6636bb7d884d3e24b904d822f37cdae1` release/repro/inside.sh 65 `8af366d6048f04100db172056d06ab6f5d99346dba3007005d1a1de8a745cd18` release/repro/apt-install.sh 66 `83e3746c349661fa70da2c3fe06b68e5803fe6d469f95e50a96e43f2c24a8a25` release/repro/apt-packages.lock 67 `98783cf8d41d108fca0839fb663fdfd67aad3b0f5cc2b8acd76a5f6e3a4d0ec5` release/repro/dpkg-manifest.tsv 68 EOF 69 ``` 70 71 3. Build the image from scratch and record what it contains. The image build installs only the locked `.deb` files and fails unless the image's package list equals `dpkg-manifest.tsv`; the `diff` below shows the same comparison from outside. The script reuses an image with this tag if one exists, so building it here with `--no-cache` makes the run clean. 72 73 ```sh 74 TAG="aien-repro-build:$(cd release/repro && cat Dockerfile apt-install.sh apt-packages.lock dpkg-manifest.tsv | sha256sum | cut -c1-12)" 75 nice -n 19 ionice -c3 docker build --pull --no-cache -q -t "$TAG" release/repro 76 docker run --rm --network none "$TAG" dpkg-query -W -f='${Package}\t${Version}\t${Architecture}\n' | LC_ALL=C sort | diff release/repro/dpkg-manifest.tsv - && echo "packages: equal to release/repro/dpkg-manifest.tsv" 77 docker run --rm --network none "$TAG" sh -c 'uname -m; dpkg-query -W -f="\${Package}=\${Version}\n" gcc gcc-13 binutils libc6-dev make; rustc -V; cargo -V' 78 ``` 79 80 4. Rebuild and compare. The script fetches the three commits, builds inside the container and checks both hashes. 81 82 ```sh 83 CORE_REV=`d3dec0eb18818808212bdf99db5c8612bcfcb9ef` \ 84 OMEGA_REV=`a647b6a9821fffcf52ba9ce813f75afa4b84be62` \ 85 PHYSICS_REV=`048e5f5e881b092733baaf65d0ace46abda7f908` \ 86 EXPECT_LIB_SHA256=`036b7491d85a2d0781360c194402f345ad2f63720dab1b8f6d0cbc5c09f87d3e` \ 87 EXPECT_ENGINE_SHA256=`6fb04197c272aa1d0235e7644b6e91953ff9b90f5145b250d674ff9fe41806e9` \ 88 REPRO_CPUS=2-4 REPRO_JOBS=3 REPRO_MEMORY=3g \ 89 nice -n 19 ionice -c3 timeout 3h bash scripts/repro-container-build.sh "$R/work"; echo "exit=$?" 90 ``` 91 92 5. Read the result. 93 94 ```sh 95 cat "$R/work/out/BUILD-INFO.txt" 96 sha256sum "$R/work/out/aien-serve-http" 97 ``` 98 99 `exit=0` and the expected engine hash is a match. A nonzero exit after the build finished, with a different hash in BUILD-INFO.txt, is a mismatch. `exit=124` is a timeout: NOT_RUN. 100 101 ## Report your result 102 103 Open an issue on https://github.com/aien-dev/aien-sovereign-core-mv/issues titled `Recheck: engine sha256 `d3dec0eb` (match)` or `(mismatch)` and attach: 104 105 - the full terminal output of steps 1 to 5 (for example from `script -q recheck.txt`), 106 - `$R/work/out/BUILD-INFO.txt`, 107 - `uname -a` and `docker version`, 108 - whether you are connected to the project (an outside recheck counts only if you are not). 109 110 A public gist or a signed note works too; link it in an issue so it can be found. A mismatch is as useful as a match. The independent recheck count changes only when an outside person's recheck is linked.