aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
GitHub aien-dev/aien-architecture-mv#135 (code only)
Apply it
git checkout -b patch-1daeca51e917573d 9403e34568a2d7e95055ee0a1a827009c4d96887 curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/1daeca51e917573d.patch | git am
Provenance
github-import 1
aien-dev/aien-architecture-mv
135
2dcd75aa1bd41fc455d460fb6b75b703b50effb0
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":135,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/135","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:46Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/.crumb b/.crumb index 0663944..23893bb 100644 --- a/.crumb +++ b/.crumb @@ -22,7 +22,7 @@ "children": [ { "digest": "7a274e73dd98c83d87711fb503bf433361846084959462cc56e01a70b11f1871", - "last_commit": "d2a49e0", + "last_commit": "9403e34", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -46,14 +46,14 @@ } ], "children_root": "sha256:e06d2dd2d9c99dd3961b3578b2f5785aae4053595f77dffac35c710525764e0a", - "compiled_at": "2026-10-05T12:34:11Z", + "compiled_at": "2026-10-05T13:48:56Z", "compiler": "crumb-compile/1", - "digest": "sha256:0ddb790c82937a14397e75f80c715439e21bcf9feb53f0f2aab5eae965706749", + "digest": "sha256:60f1bf08056a1e4258558fa8aa376f120f4d762c452e2ddb8213e97f4327ddcb", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 219, - "generated_at_commit": "d2a49e0fb4dac777271bf7c184ff048d5c63b4ba", - "source_tree": "sha256:c544de73b0ec4a33662f301d7d8117fbd2917a16c17b185a7bc5efa4753a1a8c" + "generated_at_commit": "2a79728b0f8b2227a008c851fa9d44f14628b51f", + "source_tree": "sha256:8ef457d5c2ade14f50c3cd0eebcdf40a54bb23fb9b5eccc10dde477d93909870" }, "owner_lane": "", "provenance": { diff --git a/qualification/candidates/CAND-1.gates.md b/qualification/candidates/CAND-1.gates.md index 000f199..3dc6db0 100644 --- a/qualification/candidates/CAND-1.gates.md +++ b/qualification/candidates/CAND-1.gates.md @@ -24,7 +24,7 @@ built, hashed, deleted and built again. Evidence: `CAND1-BUILD-2eec75b/summary.t | Area | Gate | Status | Evidence / notes | |---|---|---|---| | R16 | G1/G2 loop inventory, every repo at its CAND-1 commit | PASS | 513 sites, 0 unclassified, 0 stale, no WARN; `CAND1-R16INV-cb06d08` (before the SC-126..129 rows: 4 unclassified, FAIL, kept) | -| CI | GitHub checks on the CAND-1 commits | PASS | omega 39/39 (2 skipped), aienos 14/14, interplane 8/8, sovereign-core 1/1 (Workspace Verification & Invariant Audit) | +| CI | GitHub checks on the CAND-1 commits | PASS | omega cb06d08 39 success, 2 skipped (map-only 80ca5d4: 30 success, 11 skipped), aienos 14/14 (2 skipped), interplane 8/8, sovereign-core 1/1 (Workspace Verification & Invariant Audit). Rechecked 2026-10-05 with all result pages; the CAND1-AUDIT-20261005 finding F6 ("28 success") read only the first page of 30 and is wrong | | AIENOS | ck_gates (QEMU) | 18 PASS, 0 FAIL, 2 MISSING_IMPLEMENTATION | `CAND1-CKGATES-bbad5e4`; KEYBOARD (no xHCI/USB HID driver in the C kernel), M0_ROLLBACK (C loader A/B parked) | | AIENOS | TRUST-1 M5 qualification | NOT_QUALIFIED: 20 PASS, 11 BLOCKED, 5 MISSING_IMPLEMENTATION, 1 FAIL (fix needs an operator action) | `CAND1-TRUST-bbad5e4`; the FAIL is `t1_gate7_preflight`: Secure Boot is off on this machine (operator setting since 2026-10-01), so the preflight correctly refuses | | Native model | strict real-model gate (TinyLlama, GB10, production build, 0 fallback) | PASS | `CAND1-NATIVE-2eec75b/receipt-strict-gate.json` | @@ -34,9 +34,11 @@ built, hashed, deleted and built again. Evidence: `CAND1-BUILD-2eec75b/summary.t | Native model | runtime e2e on chip | PASS | rerun with the same binary: both tests pass (`runtime_e2e_gb10-rerun.log`). The first run refused only because the batch script set AIEN_REQUIRE_RELEASE without AIEN_CHECKPOINT_ID (script defect, fixed: the label now names the test fixture weights); every functional check had passed | | Native model | daemon serves a turn; refuses to start without a checkpoint | PASS | `daemon_positive.log`, `daemon_missing_checkpoint.log` | | Native model | zero CUDA (script self-test, dynamic deps, symbols, strings) | PASS | `zero_cuda.log` | -| Living runtime | R16 harness `tools/r16_qualify.sh` (omega 80ca5d4, code = cb06d08) | NOT_RUN overall: G1-G5 PASS; G6 MISSING_IMPLEMENTATION; G7 NOT_RUN; G8 NOT_RUN | `CAND1-LIVING-cb06d08/R16-ladder`; G6 presence checks are not implemented; G7 waits on the R15 performance receipt (needs a quiet machine, operator); G8 is the merge-commit step outside the script | +| Living runtime | R16 harness `tools/r16_qualify.sh` (omega 80ca5d4, code = cb06d08) | NOT_RUN overall: G1-G5 PASS; G6 MISSING_IMPLEMENTATION; G7 FAIL (derived); G8 NOT_RUN | `CAND1-LIVING-cb06d08/R16-ladder`. G6 per-item checks now exist (omega #287, 12 items) but one item, operator emergency controls, has no implementation, so G6 cannot pass. The recorded run said G7 NOT_RUN (no R15 receipt supplied); the script passes G7 only with an R15 receipt whose outcome is PASS, and the only CAND-1 R15 acceptance receipt is FAIL (section 2a), so G7 is FAIL by that rule, not by a new R16 run. G8 is the merge-commit step outside the script | | Living runtime | R1-R10, R12-R14 host and silicon, R15 parity host and silicon | PASS | same run; receipts copied to `qual-runs-after-R16/` | -| Living runtime | R11 living under load | NOT_RUN (BLOCKED_OPERATOR) | the load phase skips on a busy machine and now says NOT_RUN instead of PASS (omega #283); needs a quiet window | +| Living runtime | R11 living under load | PASS (on tree 81efb09, source-equivalent; not bound by the receipt) | quiet window 2 (section 2a): living run exercised, 436 checks, 0 failures, receipt `R11-living/receipt/.../rx_aien_faculty_receipt.json` in `CAND1-WINDOW2-20261005T1259Z` (run_commit 81efb09, tree clean; the receipt has `candidate_bound: false`, so its tie to CAND-1 is the source equivalence in section 2a, not a field in the receipt). In window 1 it refused its own quiet hold (NOT_RUN, harness defect fixed by omega #286) | +| Living runtime | R15 performance acceptance | FAIL | quiet window 2, declared binding before the result: 13 of 16 gates PASS; G15 GPU residency 0.849 against 0.99 (one of 58 processes stalled); G9 energy and G16 metrics FAIL because the energy reader (SPBM driver) is not loaded since the 2026-10-03 reboot, so 17 metrics are missing (instrument absent, BLOCKED_OPERATOR to restore). Receipt `R15-silicon/receipt/f3c77266...json` | +| Attention | GB10 attention timing, TinyLlama shape, 100 calls | PASS | quiet window 1, CAND-1 tree 80ca5d4: medians 1.24, 1.21, 1.18 ms against 3.0 ms, 0 violations, worst scaled error 0.0032. Under the shared load before the window the same check read about 5.78 ms | | Living runtime | R13 test build on silicon, candidate bound | PASS | receipt `candidate_bound: true`, `candidate_commit: 80ca5d4...`, `silicon_observed: true` (unbound at CAND-0) | | Living runtime | production hygiene on silicon | PASS | ARGUS linked and observing; refuses to run unobserved | | Living runtime | COMPOSITION-2 GPU tier | PASS | 14/14 steps, chip failures 0 (FAIL at CAND-0: link error, fixed by omega #283) | @@ -45,16 +47,37 @@ built, hashed, deleted and built again. Evidence: `CAND1-BUILD-2eec75b/summary.t | Continuity | identity and memory restored after interruption (QEMU): M4_CONTINUITY, M4_RECOVERY, M4_ALLEN cold restore, M4_STORE_CRASH | PASS (QEMU only) | `CAND1-CKGATES-bbad5e4`; physical restore on Machine 1 is BLOCKED_HARDWARE (attended boots) | | INTERPLANE | trust gates with exit codes, injection coverage by name, empty and partial runs refused | PASS (offline gates) | interplane #48, #49 at 5330a1c; gate M on main is the interplane owner's run after its campaign | +## 2a. Quiet windows of 2026-10-05 (how the chip timing results bind to CAND-1) + +Both windows ran under an exclusive `quietlock` hold (no other GPU or build job; flag owner, start and end in each +window's `00-identity` and `99-identity`). The compiled candidate did not change: every fix made during the +campaign is harness, test or tool code (`git diff cb06d08 <harness commit> -- src physics.lock aienos.lock` is +empty), so there is no CAND-2 and no old result is relabelled. + +| Window | Tree run | Binding to CAND-1 | Results | Evidence | +|---|---|---|---|---| +| 1, 12:52Z | omega 80ca5d4 (the CAND-1 chip tree) | is CAND-1 (map-only descendant of cb06d08) | attention timing PASS 3 of 3; R11 NOT_RUN (refused its own hold); R15 INVALID (harness preflight crashed on SMMU cycle lines, no trial ran) | `CAND1-WINDOW-20261005T1252Z` | +| 2, 12:59Z | omega 81efb09 = cb06d08 plus the omega #286 harness fixes (branch `cand2/cand1-harness-overlay`) | no difference in `src`, `physics.lock`, `aienos.lock`; the R15 executables are byte-identical to the CAND-1 build | R11 PASS; R15 FAIL (binding) | `CAND1-WINDOW2-20261005T1259Z` | + +Harness fixes found by these windows: omega #286 (R11 recognises its own hold; R15 preflight counts CPU cycles only), +omega #290 (the R15 sampler no longer leaves a 24 h `sleep` holding the quiet flag). + ## 3. What CAND-1 does not prove (remaining gaps) -- **Quiet-machine gates.** R11 living under load, the R15 performance receipt (so R16 G7), and attention timing - need the GPU without the resident llama-server and atlas processes. The CAND-0 attention A/B gave the same - ~5.78 ms for two code versions under that load, so the timing FAIL measures the machine, not the code. BLOCKED_OPERATOR. -- **R16 G6** presence checks are not implemented (MISSING_IMPLEMENTATION). **G8** is the merge-commit step, outside the script. +- **R15 performance acceptance FAILED** (section 2a), so R16 G7 fails with it. Two separate causes: + the energy reader is not loaded, so energy (G9) and the metrics set (G16) cannot be measured (restoring it means + loading a signed kernel module, an operator action); and one trial process in 58 lost the GPU in about 15 % of its + liveness samples (16348 of 19253 live, trial SEQ-06; G15 = 0.849). The seat, sampler and reducer code is the same as in the 2026-09-29 runs that + scored 1.0. The cause of the one stall is not established; a later diagnostic run cannot replace this verdict. +- **R16 G6:** per-item checks exist (omega #287) but operator emergency controls have no implementation + (MISSING_IMPLEMENTATION), so G6 cannot pass. **G8** is the merge-commit step, outside the script. - **AIENOS** has no USB keyboard driver in the C kernel and the C loader A/B and rollback are parked (MISSING_IMPLEMENTATION). - **TRUST-1 M5:** 11 gates need attended hardware boots or operator ceremonies; 5 have no implementation; the Gate 7 preflight refuses because Secure Boot is off on this machine (operator setting). Not qualified. - **Physical machine:** every AIENOS result is QEMU. Nothing here qualifies the Spark booting AIENOS. -- **Path independence** of aien-cli is inferred (no home or registry path in the binary), not tested by a build at - a second path. +- **Path independence** tested 2026-10-05 by a build at a second checkout path (`CAND1-PATH2-2eec75b`): 8 of 9 + executables reproduce the CAND-1 digests, including aien-cli. omegatool (`omega-runtime`) does not: it embeds the + physics checkout path in three strings (control: the second-path omega checkout built with the physics path set + back to the original reproduced the CAND-1 digest, so that path alone makes the difference). FAIL for + omegatool; fixing it changes the binary and needs a new candidate. - **EST v5 D2** ran 2026-10-05 (clean window) and scored HELD_OUT_FAIL (PIT bin 0 = 0.0681, below 0.07; 22 of 23 statistics passed). It ran from omega branch `lane44/est-v5` and measures the machine's temperature forecasting, not the CAND-1 build, so it is not a CAND-1 gate result. Record: `docs/plans/belief-estimation/BELIEF_ESTIMATION_CURRENT_STATE.md` section 10. diff --git a/qualification/candidates/CAND-1.toml b/qualification/candidates/CAND-1.toml index fbc7d26..681a48a 100644 --- a/qualification/candidates/CAND-1.toml +++ b/qualification/candidates/CAND-1.toml @@ -34,8 +34,9 @@ omega-and-aienos-crumb-lock-aien-architecture = "d0f0b95d344b4c6628c3d868346932f # SHA-256 of each built binary or image under test. Built on the Spark, host only, at the commits above. # aien-cli contains no home-directory path and no cargo registry path (0 matches each; sovereign-core #212 closed -# G7 and G13). Both clean builds used the same target path, so independence from the build path is inferred from -# that scan, not tested by a build at a second path. +# G7 and G13). Second-path build 2026-10-05 (evidence CAND1-PATH2-2eec75b): 8 of these 9 digests are reproduced +# from a different checkout path; omega-runtime (omegatool) is not, because it embeds the physics checkout path in +# three strings (proven by a control build). Removing that path changes the binary, so it needs a new candidate. [executables] omega-runtime = "f96bdb7cd65e21bfed04532525ca424a810604b441d1cb1de70dbe1f6c0b6f30" omega-gpu-engine-lib = "a4af088104203c9ce1b92b6787f140d822a8039ac86349a0438fb7a379c0fc5c"