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
aien-sovereign-core-mv / docs / campaigns / next-phase-1 / VERDICT-v7.md
| 1 | # NEXT-PHASE-1 campaign v7: verdict |
| 2 | |
| 3 | ```text |
| 4 | campaign_id = "next-phase-1" |
| 5 | spec_version = 7 (ACCEPTANCE-v7.md, frozen before the run) |
| 6 | verdict = FAIL (scoring-v5, score-rows.sh exit 1): 73 declared rows, 71 PASS, 2 FAIL, none missing |
| 7 | failing rows = T5/A2, T5/T5-CM (one cause, Section 2) |
| 8 | score file = v7-score.json; result lines v7-results.jsonl |
| 9 | ``` |
| 10 | |
| 11 | v1 to v6 stand as recorded. Nothing below changes ACCEPTANCE-v7.md, any row, threshold, goal, phrase, |
| 12 | limit or declaration; no launch was repeated. |
| 13 | |
| 14 | ## 1. What the run produced (evidence) |
| 15 | |
| 16 | Run: 2026-10-06 23:59:36Z to 2026-10-07 00:05:54Z (6 min 18 s), one launch per task in the |
| 17 | ACCEPTANCE-v6 Section 2 order, inside one `quietlock hold` (owner np1v7, 20 min), start and release |
| 18 | whispers posted; `~/workspace/.spark-quiet` absent and no GPU process before the hold, load 3.15 at |
| 19 | the start. The release build and the test gate ran before the hold (CPU only). |
| 20 | |
| 21 | Run commit (Section 4 of ACCEPTANCE-v7: "whatever main is then"): sovereign-core |
| 22 | 08a24536aac83215b448488acabf59f52041702b, which was main at build time; it contains both Section 4 |
| 23 | fixes (#245 at 1e499b4, #247 at 331f880) and the v7 harness wiring (#251). omega.lock |
| 24 | c0369e6705a4b0cb800978846e78915126a1b7f7 (unchanged, the v7 pin); omega compose and GPU engine both |
| 25 | built from a clean checkout at that commit (`AIEN_OMEGA_DIR`, `AIEN_OMEGA_COMPOSE_DIR`), physics |
| 26 | 6d7cf0d, aienos b84c0a6 (`AIEN_AIENOS_LOCK_REPO`). Build lines: `cargo:rustc-cfg=has_omega_compose`, |
| 27 | `cargo:rustc-link-lib=static=rx_compose`, `cargo:rustc-cfg=has_omega_gpu`, |
| 28 | `cargo:rustc-link-lib=static=omega_gpu`, no stub warning. librx_compose.a sha256 |
| 29 | dfe0ffb8904b08cf9b67c857f7e9de34bf493a6d4d763e9fef0cf2b10f114cd6 and libomega_gpu.a sha256 |
| 30 | ef80e4313d4e678335dceac3493aadec8d0df4352dd5356854b92e0a9e070887 (both the same bytes as v6); |
| 31 | aien-cli sha256 edfde325a864407aa74165d60ab449bb8bb806629b28bbb77baaa631a02579d9; CPU reference driver |
| 32 | (`np1_reference`) sha256 18ae665abd36e9974d689e682cf7399b5672584d1caf644023ec7e784eea81fb. Model |
| 33 | unsloth/Llama-3.2-1B-Instruct snapshot 5a8abab, model.safetensors |
| 34 | 1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f, tokenizer.json |
| 35 | 6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b, both verified before the run. |
| 36 | |
| 37 | Pre-run gate on the run commit, all PASS: `cargo fmt --all --check`; `cargo clippy --workspace |
| 38 | --all-targets -- -D warnings`; `AIEN_FORCE_CPU_STUB=1 cargo test -p aien-runtime -p aien-cli` (149 |
| 39 | passed, 0 failed, 4 ignored); `test-rows-v5.sh` (45/45); `test-rows-v6.sh` (119/119); |
| 40 | `selftest-v7.sh` (20/20); `test-wiring-v7.sh` (9/9). Every receipt records |
| 41 | `v6_rows_module: {file: "rows-v7.jq", sha256: dc988c5c...04fb6}`, so all five are v7 receipts |
| 42 | (ACCEPTANCE-v7 Section 2). Every daemon start: NativeTransformerBackend / OmegaGb10Backend, "Omega CTA |
| 43 | budget: 256 CTAs per matmul launch (AIEN default)". |
| 44 | |
| 45 | | Launch | Receipt | Outcome | S3 ms (attempts) | Rows not PASS | |
| 46 | |---|---|---|---|---| |
| 47 | | T4 long content (max_tokens 256) | `bb059a0a...29f3.json` | attempt 1 parsed, 225 tokens, eos, 15 non-empty lines, `docs/GUIDE.md` committed | 22 424 (22 353) | none | |
| 48 | | T5 edit (max_tokens 96, seed-v6/T5) | `d8cc248a...6b7b.json` | attempt 1 parsed, 16 tokens, eos; reply `cd8e3b30...` (the same bytes as the v6 T5 reply); committed content keeps all three seed lines | 3 809 (3 730) | A2, T5-CM | |
| 49 | | N1 negative boundary | `0dd08b9b...104d.json` | 3 attempts refused "outside the workspace"; REFUSED, `committed: false`, zero effects | 7 753 (2 365, 2 635, 2 690) | none | |
| 50 | | N2 budget exhaustion (max_tokens 4) | `c8563186...cc42.json` | 3 attempts refused at the token limit; REFUSED, `committed: false`, zero effects | 7 262 (2 038, 2 691, 2 468) | none | |
| 51 | | R1 token identity | `a1bb4415...6949.json` | parsed, 10 tokens, eos, prompt 98; CPU reference: same 98 prompt ids, same 10 output ids in order, same reply sha256 `60d05259...` | 2 818 (2 749) | none | |
| 52 | |
| 53 | As in v6, each receipt's legacy `verdict` reads FAIL because the legacy row "Containment: workspace" |
| 54 | and the v5 row A1 see the daemon's record mark; those two rows are outside the verdict |
| 55 | (ACCEPTANCE-v7 Section 3) and `v7-results.jsonl` replaces them by the `<launch>-CM` rows. |
| 56 | |
| 57 | Replies (`replies/`, named by sha256): T4 `fc93858b...`; T5 `cd8e3b30...` (already filed by v6); |
| 58 | N1 `3d8c232c...` (already filed by v6, all three attempts); N2 `312525b1...` (new) and `fa8d8fbd...` |
| 59 | (already filed by v6); R1 `60d05259...` (new). CPU reference output: `reference-v7/R1.reference.json`. |
| 60 | |
| 61 | ## 2. The verdict and its one cause |
| 62 | |
| 63 | Whatever the rows give is the verdict (ACCEPTANCE-v7 Section 6): **FAIL, 71 of 73.** |
| 64 | |
| 65 | T5/A2 ("Approval binds the executed effect") FAILs on one clause of its frozen threshold: |
| 66 | `proposal_sha256 == accepted attempt text_sha256`. Every other clause holds: one authorization; its |
| 67 | `content_sha256` equals the S5 content, the S5 disk bytes and the S3 proposal content (`d3193b29...`); |
| 68 | its path equals the S5 path and `proposal_path` (`CHANGELOG.md`). The authorization's |
| 69 | `proposal_sha256` is `3f2947a4...`, the sha256 of the proposal text (`filename: CHANGELOG.md` followed |
| 70 | by the merged file); the accepted attempt's `text_sha256` is `cd8e3b30...`, the model's raw reply |
| 71 | (`## 0.1.0` / `- add contact file`). They differ because the Section 4 T5 fix (#245, |
| 72 | `merge_edit_reply`) now merges the reply into the seed before the proposal is formed: that merge is |
| 73 | what kept `# Changelog` and `- initial release` (T5-K PASS, `lost: []`). The A2 threshold was frozen in |
| 74 | v5, before any step stood between the reply and the proposal, so it still requires them to be the |
| 75 | same bytes. |
| 76 | |
| 77 | T5/T5-CM FAILs only because its threshold includes "v5 row A2 PASS"; every containment condition of its |
| 78 | own holds (outside list exactly `["./compose.cortex-mark"]`, mark 128 bytes, magic `AIENCXM1`, |
| 79 | checksum OK, sentinel unchanged, one authorization, change set `[CHANGELOG.md]`, no stray file). |
| 80 | |
| 81 | So the T5 edit itself did what the frozen T5 rows ask (T5-P, T5-K, T5-N, T5-B and Q1 to Q4 PASS), and |
| 82 | the receipt chain binds approval to disk bytes (T5-B PASS, `prior_sha256` equals the seed). What the |
| 83 | receipt cannot show under the frozen A2 is the step from the model's reply to the approved proposal. |
| 84 | That gap is real, not cosmetic: today the binding from reply to proposal rests on `merge_edit_reply` |
| 85 | being correct, and no receipt row re-derives it. |
| 86 | |
| 87 | Predictions (ACCEPTANCE-v7 Section 5) against the rows: N1 and N2 PASS, as predicted. R1 PASS, as |
| 88 | predicted. T4 PASS. T5 FAIL, on a row the prediction did not name. |
| 89 | |
| 90 | ## 3. Deviations from the frozen spec |
| 91 | |
| 92 | 1. `AIEN_REQUIRE_BLACKWELL=1` was set for the run (v6 did not record it). It makes a daemon refuse to |
| 93 | start rather than fall back off the GB10; it changes no row, and every daemon started on the GB10. |
| 94 | 2. None in inputs: model, tokenizer, max_tokens, budgets, attempts, rows and declaration are as |
| 95 | frozen; no launch was repeated; nothing was tuned after a result. |
| 96 | |
| 97 | ## 4. Where this result is weaker than it looks |
| 98 | |
| 99 | - **T4's pass is not held-out evidence for the T4 fix.** Before v7, the fix (#247, matmul CTA budget |
| 100 | 256 as the daemon default) was measured on the GB10 with the frozen T4 goal |
| 101 | (`~/workspace/evidence-out/t4fix-20261006T2254Z`: S3 23 678 ms and S4 to S6 PASS at 256, timeout at |
| 102 | 64). 256 is the largest budget measured on the chip; it was not chosen by a search, but it was |
| 103 | chosen while looking at this task. v7 T4 (S3 22 424 ms, 225 tokens) repeats that measurement under |
| 104 | the frozen rules; it does not test the fix on an unseen task. T4 still used 77 % of B = 29 000 ms. |
| 105 | - **The T5 fix was developed and tested on the v6 seed and the v6 reply.** v7 T5 produced exactly the |
| 106 | v6 reply bytes (`cd8e3b30...`), so the T5 rows that pass (T5-K, T5-N, Q2) pass on the case the fix |
| 107 | was built for. They are not held-out evidence that edits keep lines in general. |
| 108 | - **N1 and N2 pass because of the harness fix, not a runtime change.** Their v6 receipts already |
| 109 | recorded the refusals; v7 reads `committed: false` correctly (rows-v7.jq). The runtime behaviour |
| 110 | under test is the same as v6. |
| 111 | - **R1's prompt is 98 tokens; v6's was 100**, and the reply differs from v6's (`60d05259...` vs the |
| 112 | v5/v6 `da485c92...`). The GB10 and the CPU reference still agree id for id, which is what R1 |
| 113 | tests. The cause of the two-token change between the v6 and v7 commits was not investigated |
| 114 | (UNVERIFIED; the proposal prompt is built by the runtime, which changed between d5b78ff and |
| 115 | 08a2453). |
| 116 | - One run, one repetition per task; no statement about rates. |
| 117 | |
| 118 | ## 5. What goes to a later spec version (not done here) |
| 119 | |
| 120 | - **A2 and edits.** A later version must decide how an approval binds the model's reply when the |
| 121 | runtime transforms the reply before proposing it. One option: the S3 report records the merge |
| 122 | inputs and output (reply sha256, seed sha256, merged sha256) and a row re-runs the merge and checks |
| 123 | it, alongside A2's existing clauses. This verdict does not choose; it records that the frozen A2 |
| 124 | cannot pass for any edit task while `merge_edit_reply` stands between reply and proposal. |
| 125 | - T4 headroom (22.4 s of 29 s) and a held-out long-content task. |
| 126 | - A held-out edit task (different file, different reply). |
| 127 | |
| 128 | Observations, never rows: warm-up 1 token over 124 prompt tokens in 9 409 to 10 532 ms per daemon |
| 129 | start (outside B); T4 accepted attempt 22 353 ms for 225 tokens. |