CAND-0: build recipe, reproducibility gaps and required gates
Manifest: qualification/candidates/CAND-0.toml (schema CandidateManifestV1, spec docs/qualification/CANDIDATE.md).
Written by lane L1-CAND on 2026-10-05 from clean worktrees at the pinned commits. Every claim is tagged OBSERVED (seen
in a command or file, named), INFERRED, or UNVERIFIED. Nothing here relaxes a gate or counts a skipped check as a pass.
1. Which existing mechanism defines what
Question
Defined in
Candidate manifest, freeze rules, required result fields
docs/qualification/CANDIDATE.md (C2), manifest qualification/candidates/CAND-<n>.toml, checker scripts/check_candidate.sh, test scripts/test_check_candidate.sh
Result record
EvidenceReceiptV1 in aien-sovereign-core crates/aien-proof/src/evidence.rs (cand:<id> and exe:<name>=<digest> go in external_refs)
Gate manifest v1 and the runner receipt
ADR 0028 (docs/adr/0028-aien-test-runner-and-evidence-contract.md), implemented by tools/aien-test in aien-sovereign-core; v2 additions in ADR 0033 (PROPOSED)
Committed .gate manifests at the pinned commit
9 in aien-sovereign-core (crates/aien-runtime/tests/prefill_e2e2*.gate); none in omega, physics, aienos, aien-protocols, aien-architecture, interplane (OBSERVED, find -name '*.gate')
Other gate dialects still in use
omega tools/manifests/*.chiprun (run by tools/chip_run.sh), aienos scripts/ck_gates.sh table, aien-proof crates/aien-proof/gates/*.json (closure manifests for phases, not CAND-0 gates), CI workflows
Who reads CAND-0 today
omega tools/c4_requal.sh reads qualification/candidates/CAND-0.toml from aien-architecture origin/main; it reports BOUND only when status is frozen and the omega commit and aienos.lock equal the manifest (OBSERVED, tools/c4_requal.sh lines 31-37 and 63-64). Keep the [commits] key format.
A multi-repo candidate has a place already: the manifest lists seven repos. No new schema was added; this PR adds two
optional [commits] keys (physics, interplane) that the checker validates when present, plus informational sections
(consumed_pins, model, toolchain, build, env, hardware) that the checker ignores.
2. Clean-worktree builds (host only, no chip, no QEMU)
Worktrees at the pinned commits: ~/workspace/overnight-1005/wt-L1-CAND-<repo>. Every build was run twice, the second
time after deleting the build outputs. Logs: ~/workspace/overnight-1005/logs/L1-CAND-*.log. Copies of the first-run
binaries: ~/workspace/overnight-1005/artifacts-L1-CAND/. All seven worktrees were clean (git status --short empty) after building.
Item
Command
Result
physics boot artifacts
./m2_build.sh (physics has no Makefile)
PASS twice; physics.bin4b22a08c... and atlas_m2.bin1d6d75a6... are byte for byte equal to the committed files (OBSERVED, cmp)
omega
make -j6 PHYSICS_DIR=<physics wt> OUT_DIR=<omega wt>/build all libomega_gpu
PASS twice; omegatoole702447f... and libomega_gpu.ae24cbfc9... identical across runs
PASS twice (2m13s and 2m23s from an empty target directory, warm cargo cache); aien-cli8b24a5bb... identical across runs at the same target path; native engine linked (cargo:rustc-cfg=has_omega_gpu in the build output; the binary carries "OmegaGb10Backend (native Omega engine, no CUDA, NVIDIA GB10 sm_121)"); the libomega_gpu.a that cargo built through build.rs equals the one built with make
aienos C kernel
make -C native/kernel -j4 then make -C native/kernel -j4 full
PASS twice; both BOOTAA64.EFI images identical across runs
Zero-CUDA gate
bash scripts/zero-cuda-gate.sh --self-test then bash scripts/zero-cuda-gate.sh <release aien-cli>
PASS: self-test caught the CUDA probe and accepted the clean library; aien-cli needs only libm, libssl, libcrypto, libgcc_s, libc (OBSERVED)
Zero-CUDA gate on the Mojo bridge
same script on libspark_max.so
PASS (extra, see gap G7)
Strict mode
default features, AIEN_DEV_FALLBACK unset
dev-fallback is declared only in crates/aien-inference-abi/Cargo.toml and no other crate enables it (OBSERVED, grep), so the build is strict. The strict refusal at run time was NOT exercised by this lane.
Not built by this lane: the aienos Rust kernel and its cargo crates, the QEMU test-variant images, aien-protocols,
aien-architecture and interplane (no executables in the manifest for them). aienos QEMU and every chip run are NOT_RUN.
3. Reproducibility gaps (precise)
G1, aienos pin. omega aienos.lock holds d39dd5bc3deb (an ancestor of the CAND-0 aienos 9d41efc9d1be). The omega gates that build the aienos capability library bind to d39dd5b, and c4_requal.sh will print NOT_BOUND for CAND-0 until omega's aienos.lock equals the candidate or a new candidate is cut. omega argus.lock pins b375dcaa2887 on branch feat/argus-0 (OBSERVED, file contents).
G2, aien-protocols pin (closed in the manifest). The CAND-0 pin is 7ac6facb630ca7e9a6ab4125b292203fe2bb6687, the revision aien-sovereign-core 0c1d249Cargo.lock consumes through git dependencies (4 entries; the same lock also holds crumb-spec 24194d1b7917 and spark-crumbs 9355a92bc9ad, which the [contracts] pins follow). aien-protocols main, 3a4cdbe8d360, is 8 commits later (mostly specs/ and licence changes) and is not what the build uses; it is not in the candidate.
G3, crumb compiler. omega and aienos crumb.lock pin aien-architecture d0f0b95d344b; CAND-0 pins c5d80978c7a2. git diff d0f0b95c5d80978 -- tools/crumb is empty (OBSERVED), so the crumb tool source is identical.
G4, no toolchain pin. No rust-toolchain file in any pinned repo; CI uses the floating stable channel. This lane used rustc 1.98.1.
G5, network and cache. The builds used --offline and succeeded only because ~/.cargo already holds the crates and the three git checkouts (no vendor/ directory). A cold machine needs crates.io and GitHub. UNVERIFIED on a cold cache.
G6, path baked into artifacts. omega compiles -DOMEGA_PHYSICS_DIR=<absolute physics path> into libomega_gpu.a. Identical digests were obtained only with the same physics path both times. INFERRED that a different checkout path gives different bytes (not tested). omega's default PHYSICS_DIR=../physics is a sibling-directory dependency; build.rs refuses an omega checkout whose HEAD differs from omega.lock, and omega refuses a physics HEAD that differs from physics.lock unless PHYSICS_LOCK_CHECK=0.
G7, Mojo and MAX in the Rust build. crates/spark-max-cabi/build.rs runs mojo build whenever a mojo binary is on PATH and ignores a missing one with only a warning. Here mojo is ~/.local/bin/mojo, a symlink into ~/max-env (a Python virtual environment). The resulting libspark_max.so (3630076d...) needs libKGENCompilerRTShared.so and libAsyncRTMojoBindings.so from that environment; it is copied into the source tree (git-ignored) and its build path is compiled into aien-cli through option_env!("SPARK_MAX_SO_BUILT"). Two consequences: the aien-cli digest is tied to the target directory path, and the build depends on a Modular install outside the pinned set. Whether the production GB10 path ever loads this library is UNVERIFIED. zero-cuda-gate.sh is only run on aien-cli in CI, not on this library.
G8, unpinned CI inputs. physics host-gates.yml checks out omega and aien-architecture at ref: main. omega host suites run with PHYSICS_DIR=/nonexistent PHYSICS_LOCK_CHECK=0 (OBSERVED), so those gates do not exercise the pinned physics. For CAND-0 runs the physics lock check should stay on (recommendation).
G9, CI tests the stub configuration. aien-sovereign-core CI runs cargo test --workspace with AIEN_DEV_FALLBACK=1 and no native engine link (OBSERVED, ci.yml lines 44-47). That is host evidence for the dev configuration, not for the strict native aien-cli hashed above.
G10, aienos images. The C kernel QEMU gates build their own test-variant images (fw_cfg, SMP skip, store crash, stale handoff, xHCI mutations) through native/kernel/Makefile flags. Only the core and full images are in the manifest. The receipt of ck_gates.sh carries its own physical: NOT_RUN.
G11, model location. The checkpoint lives outside every repo (~/models/TinyLlama-1.1B-Chat-v1.0). Its sha256 equals model_sha256 in the committed oracle fixture manifest, which is the only in-repo pin (OBSERVED). The Hugging Face revision is recorded in the directory's .cache/huggingface metadata.
G12, interplane. Its CI uses pip, pytest and Python scripts. That is the "yardstick outside AIEN" arrangement; the commit is pinned but its gates are not AIEN-native.
4. Required gates for CAND-0
Evidence classes: host (this machine's CPU, no device), simulator (host software model of a device, for example omega --sim, physics analog-sim),
QEMU (emulated machine, qualifies nothing physical), physical (GB10 chip or real hardware). Commands come from the repositories' own CI workflows,
scripts and test headers. Status for every row except the zero-CUDA rows: NOT_RUN by lane L1-CAND (not this lane's job). Chip, QEMU and aien-test rows go through
~/.claude/skills/orchestrate-lanes/lanes.sh queue --heavy. Run each gate from a clean worktree at the pinned commit and bind the receipt to cand:CAND-0.
host-suites-3.yml: test-numeric-lifecycle test-numeric-transc test-numeric-transc-digest test-language, plus the per-milestone matrix test-${m} defined in that file
make test-turing-yield test-turing-energy; pr-smoke.yml: test test-language test-numeric-transc
host
GPU engine without the chip
make PHYSICS_DIR=<physics wt> test-gpu-matmul-api test-gpu-elementwise test-gpu-attention (host-only refusals plus the IR simulator battery, including --sweep --sim)
simulator
C4 requalification
tools/c4_requal.sh --mutants (refuses a dirty tree; BOUND needs gap G1 closed)
./run_m2_gates.sh (leaves the committed receipt untouched)
QEMU
M3 PHYSICS_EFFECTS (19 gates)
m3/tests/run_m3_gates.sh
QEMU
GB10 gates, declared SKIP in CI
tests/run_forge_gates.sh, tests/run_m15_gates.sh, tests/run_m16_requalification.sh, tests/run_nvrm_lifecycle_gates.sh, tests/run_submission_visibility_gates.sh (one at a time, never killed)
physical
aienos (9d41efc)
Gate
Command
Class
capability and store suites
make -C native/capability test; make -C native/store test mutants
host
native suites
make -C native/<suite> <targets> for net, sig, crypto, m5, disk (test sanitize mutants), argus (test sanitize), capability (mutants)
host
C kernel unit tests
make -C native/kernel test sanitize stage-test stage-sanitize
bash scripts/ck_gates.sh --out <dir>: M1 M3 SMMU NVME_SHUTDOWN P2_ARTIFACT M0_ROLLBACK M4_NVME M4_STORE M4_STORE_CRASH M4_CONTINUITY M4_RECOVERY M4_ALLEN ARGUS1_REVOKE KEYBOARD NET SMP DISK_LAYOUT FPU INFER SCREEN (a gate with no C implementation prints NOT_RUN, never PASS)
QEMU
end to end harness
bash scripts/verify_all.sh (AIENOS_STRICT=1 turns a skipped step into a failure)
QEMU
Machine 1 and hardware
any physical aienos claim
BLOCKED_OPERATOR / BLOCKED_HARDWARE until Drake provides the machine; never inferred from QEMU