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 / whole-system-e2e / VERIFIER-v1.1-e3m.md
| 1 | # aien-verify v1.1: E3m topic words follow the rule the run was judged under (sc#423, R6 #402) |
| 2 | |
| 3 | Committed before the verifier change that implements it. `VERIFIER-v1.md` stays as written; this file adds to it. |
| 4 | Contract: `ACCEPTANCE_E2E.md` FROZEN at aien-architecture b2400fe, sha256 `9e3d5f4e...`, unchanged. |
| 5 | |
| 6 | ## Why |
| 7 | |
| 8 | `ACCEPTANCE-v1.3.1-e3m.md` (sc#416) changed the harness's check D4 of the supplementary row E3m to case-insensitive |
| 9 | whole-word matching of the topic words and left the verifier on exact matching, so RUN-3-GB10 recorded |
| 10 | `status_disagreement: E3m receipt says PASS but the facts derive FAIL` (its report names `Windmill` only in the heading). |
| 11 | The verifier should judge each folder by the rule that folder was judged under, so recorded folders keep their results. |
| 12 | |
| 13 | ## E3m D4 rule (new) |
| 14 | |
| 15 | The harness writes the rule it used into the E3m receipt as `d4_rule` (since v1.3.1; inside the hash chain, so it cannot |
| 16 | be changed without breaking a link). The verifier reads that fact: |
| 17 | |
| 18 | | E3m receipt `d4_rule` | D4 topic-word rule the verifier applies | |
| 19 | |---|---| |
| 20 | | absent (RUN-1, RUN-2-GB10 and every folder before v1.3.1) | exact, case-sensitive substring, as v1 | |
| 21 | | exactly `case-insensitive whole word: LC_ALL=C grep -q -i -w (ACCEPTANCE-v1.3.1-e3m.md)` | case-insensitive whole word, the v1.3.1 rule: a topic word counts when it occurs in any ASCII letter case with no ASCII letter, digit or underscore directly before or after it (GNU `grep -w` under `LC_ALL=C`) | |
| 22 | | any other value | E3m NOT_RUN, naming the unknown rule (never a guess) | |
| 23 | |
| 24 | The `ACCEPTANCE-v1.3.1-e3m.as-run.md` copy in a run folder is NOT the key: it is not inside the chain and says what was |
| 25 | in force, not what the receipt was judged by. Check D4 of E3 (file names) is unchanged: exact, case-sensitive. |
| 26 | |
| 27 | E3m is a supplementary row. It is not one of the twelve rows that make the `verdict_id`, so this change cannot move any |
| 28 | recorded verdict id; it changes only the E3m line and the status disagreements in `VERIFIER_VERDICT.txt`. |
| 29 | |
| 30 | ## CTRL-E4: the disagreement with the harness stays, and why |
| 31 | |
| 32 | The harness (ACCEPTANCE-v1.2.md CTRL-E4) passes CTRL-E4 on a refusal by name with the report unchanged. The verifier |
| 33 | (VERIFIER-v1.md, pre-registered) also requires E4 itself to have shown a recall; otherwise CTRL-E4 is NOT_RUN. That stays: |
| 34 | |
| 35 | 1. The frozen contract pairs CTRL-E4 with E4 ("with the store's files removed ... the second objective fails with a |
| 36 | named refusal"). A negative control shows that the success depends on the thing removed. Without a success there is |
| 37 | nothing to contrast: in RUN-3-GB10 the second objective was refused with the store intact (a path-form refusal), so a |
| 38 | refusal with the store removed shows only that the daemon refuses, not that memory was what it needed. |
| 39 | 2. NOT_RUN is never a PASS, and the case cannot change a program outcome: whenever the two disagree, E4 is not PASS, so |
| 40 | the run already fails the contract. When E4 recalls, the two rules give the same answer. |
| 41 | 3. Changing it would move recorded verdict ids (RUN-3-GB10 CTRL-E4 NOT_RUN is inside its id), which this lane must not do. |
| 42 | |
| 43 | ## Regression (filled in after the change, on scratch copies) |
| 44 | |
| 45 | | folder | recorded `verdict_id` (its `VERIFIER_RECEIPT.json`) | expected after | |
| 46 | |---|---|---| |
| 47 | | RUN-1-20261010T154724Z | base `a50fccb6...`; with that base as peer `437467db...` | same, E3m PASS as before | |
| 48 | | RUN-2-GB10-20261011T030554Z | `af9e744c...` | same, E3m FAIL as before (no `d4_rule`, exact rule) | |
| 49 | | RUN-3-GB10-20261011T045450Z | `9ca9b7af...` | same; E3m PASS under its `d4_rule`, its E3m disagreement gone, CTRL-E4 disagreement stays | |
| 50 | |
| 51 | ## Results (2026-10-11, branch e2e/r6-verify, verifier built with `tools/aien-verify/build.sh`, rustc only, 0 warnings) |
| 52 | |
| 53 | | check | result | |
| 54 | |---|---| |
| 55 | | `tools/aien-verify/tests/run.sh` | passed 51, failed 0 (was 43; eight new checks below plus one new unit test) | |
| 56 | | the same tests against the main verifier (8c09217) | 3 FAIL: RUN-3 E3m PASS under its `d4_rule`, RUN-3 E3m disagreement gone, unknown `d4_rule` NOT_RUN (red before green) | |
| 57 | | `rustc --test` unit tests | 3 passed (new: `whole_word_ci_is_grep_i_w`) | |
| 58 | | `scripts/whole_system_e2e.sh selftest` | PASS | |
| 59 | | RUN-1-20261010T154724Z, scratch copy | `verdict_id a50fccb63363ef9224a19bd8bf4f249754abf5d88667ba0fd6ce93dfb8d63d80`; with it as peer `verdict_id 437467db4149b013738578c10ef68b7168dfb95feae8dea882de17a6118fc5fd`; E3m PASS (unchanged) | |
| 60 | | RUN-2-GB10-20261011T030554Z, scratch copy | `verdict_id af9e744cc3187400e00599159999f357f53c1df867556f62c8f71a552662800c` (as recorded); E3m FAIL `["windmill"]` (unchanged) | |
| 61 | | RUN-3-GB10-20261011T045450Z, scratch copy | `verdict_id 9ca9b7af6f9255fc7247acae33492768252d5f2017b40c29c159e04fbca833d5` (as recorded); E3m PASS under its `d4_rule`; the E3m disagreement is gone; the CTRL-E4 disagreement stays | |
| 62 | | RUN-3 copy with `d4_rule` removed, links and manifest repaired | chain unbroken, E3m FAIL `windmill` (exact rule) | |
| 63 | | RUN-3 copy with an unknown `d4_rule`, repaired | E3m NOT_RUN naming the unknown rule | |
| 64 | |
| 65 | `runs/` was not modified (the test's tree digest before and after is equal). The recorded `VERIFIER_VERDICT.txt` files keep |
| 66 | the text the older verifier wrote; they are evidence of that run and are not regenerated. |