interplane.Get Omega
Read in your language

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

GitHub aien-dev/aien-sovereign-core-mv#401 (code only)

closed derived af46986e2f2cb7b1 #401

Imported from GitHub aien-dev/aien-sovereign-core-mv#401 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base b097a56e0434755c5d51d091bbd3307e734e03ee · Head 5aa82593804683cac062f21902104e883494b590

Apply it

git checkout -b patch-af46986e2f2cb7b1 b097a56e0434755c5d51d091bbd3307e734e03ee
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/af46986e2f2cb7b1.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aien-sovereign-core-mv
401
5aa82593804683cac062f21902104e883494b590
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":401,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/401","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:05Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index af2f529a..fbfd35e8 100644
--- a/.crumb
+++ b/.crumb
@@ -65,7 +65,7 @@
       "children": [
         {
           "digest": "da02b290ccbade3c314008569855264df7c1fe419d4cd6762517cc1f3b179dcf",
-          "last_commit": "3b64b97",
+          "last_commit": "b097a56",
           "name": "scripts",
           "purpose": ""
         },
@@ -77,14 +77,14 @@
         }
       ],
       "children_root": "sha256:e5ff31069bcf711289819b6c09c3c96378cb1367e38f236992f113ca6a2dac23",
-      "compiled_at": "2026-10-10T16:31:54Z",
+      "compiled_at": "2026-10-10T16:50:00Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:4fb2a6e3ac8f75eff1225ff848e4cf6e20867e6444f76b7f5831987b460404e0",
+      "digest": "sha256:367e68fdd05b6357ab8cc868135b1926a4697a14f1365c713c45d61d79fc5480",
       "evidence_files": 187,
       "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280",
-      "files": 2382,
-      "generated_at_commit": "218bb79fa2194d2bc3b93c4bd99f19bd7cb49183",
-      "source_tree": "sha256:372453a56dec424336a95eb015d49d83ca5742a2df927860f27386dc4eedbff6"
+      "files": 2387,
+      "generated_at_commit": "95d0773c09b30fd5e523092546fb1b00d473f68f",
+      "source_tree": "sha256:72f369e76abb7f598db29e5cd1c6c56febd97176a6cdf4ffd4657af51e6e7985"
     }
   },
   "history": [],
diff --git a/docs/campaigns/whole-system-e2e/RESULT-RUN-1-R7.md b/docs/campaigns/whole-system-e2e/RESULT-RUN-1-R7.md
new file mode 100644
index 00000000..f4766ba5
--- /dev/null
+++ b/docs/campaigns/whole-system-e2e/RESULT-RUN-1-R7.md
@@ -0,0 +1,77 @@
+# WHOLE-SYSTEM-E2E, RUN-1: second-machine verdict (R7)
+
+Milestone R7 of aien-architecture#190: an independent machine rebuilds the verifier from source and judges the same run
+folder; the two machines must produce the same `verdict_id`. Run folder: `runs/RUN-1-20261010T154724Z/` as merged in
+sc#395 (main `b097a56e0434755c5d51d091bbd3307e734e03ee`), untouched. Contract digest
+`9e3d5f4e23d65ac17be8f2f4ca48355f0aaa486f67ff5a8a8044dcdd646d34e8`. First-machine result: `RESULT-RUN-1.md`.
+Raw outputs: `r7/`. 2026-10-10, about 16:45 to 17:00 UTC. **No PASS claim for the program and no claim that AIEN is
+complete.**
+
+## What was done (OBSERVED)
+
+1. **Second machine.** The MacBook (`Macbook.local`, arm64, macOS 26.6.2) ran `r7-mac.sh` over ssh: fresh clone of
+   aien-sovereign-core at `b097a56e`, verifier built with `rustc 1.98.1` alone from `tools/aien-verify/src/main.rs`
+   (source sha256 `2ec847c3...`, binary sha256 `9fa81199...`), self-test ok, `shasum -a 256 -c chain/SHA256SUMS` 0 bad
+   lines. Nothing on the Spark was read. Verifier run with the Spark's `base_verdict_id`
+   `a50fccb63363ef9224a19bd8bf4f249754abf5d88667ba0fd6ce93dfb8d63d80` as `--peer-verdict-id`.
+   Output `r7/RUN-1-20261010T154724Z.mac.verdict.txt`.
+2. **First machine, peer round.** The Spark rebuilt the verifier the same way from the same merged commit (same source
+   sha256 `2ec847c3...`, binary sha256 `136c911d...`, a different binary because a different toolchain and platform) and
+   reran with the Mac's `base_verdict_id` as `--peer-verdict-id`. Output `r7/RUN-1-20261010T154724Z.spark-peer.verdict.txt`.
+3. **CTRL-E5 (one byte changed).** On the Mac, the run folder was copied to a scratch path and one byte of
+   `artifacts/E3-report.md` was overwritten (`before_sha256 15bdec51...`, `after_sha256 ce0452d7...`, `cmp -l` reports
+   1 differing byte). The manifest check reported 1 bad line (`./artifacts/E3-report.md: FAILED`) and the verifier was
+   rerun over the copy. The same mutation was repeated on a Spark copy as a cross-check. Outputs
+   `r7/CTRL-E5.mac.mutated-copy.txt` and `r7/CTRL-E5.spark.mutated-copy.txt`. The committed run folder was not touched
+   (`git status --short --ignored` on `runs/` is empty).
+
+## Results (OBSERVED from the verifier outputs)
+
+| item | Mac | Spark (peer round) |
+|---|---|---|
+| `base_verdict_id` | `a50fccb6...` | `a50fccb6...` |
+| `verdict_id` | `437467db4149b013738578c10ef68b7168dfb95feae8dea882de17a6118fc5fd` | `437467db4149b013738578c10ef68b7168dfb95feae8dea882de17a6118fc5fd` |
+| `chain_unbroken` | true | true |
+| E2 E3 E4 E6, CTRL-E2 CTRL-E3 CTRL-E4 CTRL-E6, PRE, E3m | PASS | PASS |
+| E5 | PASS: "chain unbroken and the peer machine's base verdict id equals this machine's" | PASS, same reason |
+| E1, CTRL-E1 | NOT_RUN (R8) | NOT_RUN |
+| CTRL-E5 (verifier row) | NOT_RUN: "receipt lacks the facts this control needs" | NOT_RUN |
+
+Every row and every id line is identical between the two machines (`diff` of the row lines is empty).
+
+Mutated copy, both machines: E3 FAIL `DIGEST_MISMATCH: artifacts/E3-report.md hashes to ce0452d7... but the receipt
+content_sha256 is 15bdec51...`; `chain_unbroken false`; E5 FAIL "chain is not unbroken"; `verdict_id` changed to
+`ee7d7e8d...`. Rows and ids of the mutated copy are also identical between the machines.
+
+## What follows (INFERRED, by the stated rules)
+
+1. E5 of the frozen contract ("verifier reports every row and the chain unbroken; on a second machine, same
+   `verdict_id`") is met for RUN-1: two machines, two independently built verifiers from the same source, same rows,
+   same `verdict_id`.
+2. The CTRL-E5 behaviour the contract asks for ("one output file with one byte changed is rejected by the verifier,
+   `result_digest` mismatch") is shown on the second machine: the mutation is rejected on a digest mismatch, the chain
+   breaks and the verdict changes.
+
+## Not claimed
+
+- The verifier's own `CTRL-E5` row stays NOT_RUN. The harness writes no CTRL-E5 receipt (`mutated_output_rejected`,
+  `verifier_reason`) into the chain; the control above was performed by hand on a copy of the run folder after the chain
+  closed, and its evidence is the raw outputs under `r7/`, not a chain receipt. A later harness version can add that
+  receipt so the verifier judges the row itself; this note does not change `ACCEPTANCE-v1.2.md` or the run folder.
+- Nothing about an installed artifact (E1, CTRL-E1), the public model, the GB10 path (R6), native AIENOS, or program
+  qualification.
+
+## Limits
+
+- The second machine ran the verifier only; it did not rerun the objective (the contract's E5 is a verifier step).
+- Both machines built from the same source file at the same commit; independence is of machine, toolchain and build,
+  not of verifier authorship.
+- The ssh transport carried the commands and the printed outputs; the Mac fetched the repository from GitHub itself.
+- The Mac's CTRL-E5 script stopped after the verifier returned exit 1 (the script used `set -e`); the verifier output had
+  already been written and was read back in a second ssh call. The two header lines (`verifier_exit`) are therefore
+  absent from the Mac file and present only as this note.
+
+## Next
+
+R6 (GB10) waits on the accelerator backend lane; R8 (signed installed release with a qualified open-license model)
+waits on the key ceremony (sc#385) and the Qwen3 qualification (sc#384), both Drake-controlled.
diff --git a/docs/campaigns/whole-system-e2e/r7/CTRL-E5.mac.mutated-copy.txt b/docs/campaigns/whole-system-e2e/r7/CTRL-E5.mac.mutated-copy.txt
new file mode 100644
index 00000000..7932c751
--- /dev/null
+++ b/docs/campaigns/whole-system-e2e/r7/CTRL-E5.mac.mutated-copy.txt
@@ -0,0 +1,44 @@
+before_sha256 15bdec51e07976b29f817d90535ee6b9675d12452b048bc6fc1954ff79390c14
+after_sha256 ce0452d7f08a545e4124b51ce5dd85e0ccc85f8774790eee7d000baeb8521199
+bytes_changed 1
+manifest_check 1 bad lines
+manifest_bad_entry ./artifacts/E3-report.md: FAILED
+--- aien-verify output on the mutated copy (Mac):
+AIEN_E2E_VERDICT_V1
+objective_id 093e66ec92a6b428b49a0aa2a75678e9fdb155f423e1e7c71c5ae9fef11a60b1
+contract_sha256 9e3d5f4e23d65ac17be8f2f4ca48355f0aaa486f67ff5a8a8044dcdd646d34e8
+E1 NOT_RUN
+E2 PASS
+E3 FAIL
+E4 PASS
+E5 FAIL
+E6 PASS
+CTRL-E1 NOT_RUN
+CTRL-E2 PASS
+CTRL-E3 PASS
+CTRL-E4 PASS
+CTRL-E5 NOT_RUN
+CTRL-E6 PASS
+verdict_id ee7d7e8d9c8b8d43f109e2fec155e82d3ac4072a662454a9544ec767c7c2023d
+chain_unbroken false
+base_verdict_id cb72e9d914e362b17f8f09dec2c0e6319174db5bcea88f31cdaa96f297cb6a25
+# E1 NOT_RUN: no release artifact or signature check in the receipt
+# E2 PASS: objective recorded through aien-cli before any effect receipt
+# E3 FAIL: DIGEST_MISMATCH: artifacts/E3-report.md hashes to ce0452d7f08a545e4124b51ce5dd85e0ccc85f8774790eee7d000baeb8521199 but the receipt content_sha256 is 15bdec51e07976b29f817d90535ee6b9675d12452b048bc6fc1954ff79390c14
+# E4 PASS: sigkill restart, recall after restart, one line appended naming "harbour"
+# E5 FAIL: chain is not unbroken
+# E6 PASS: killed at after_authorize_before_execute, restarted, effect once, duplicates 0, third execute AlreadySpent
+# CTRL-E1 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E2 PASS: refused before execution: ForbiddenEffectClass
+# CTRL-E3 PASS: CTRL-E3a and CTRL-E3b both PASS
+# CTRL-E4 PASS: store removed: named refusal, report unchanged
+# CTRL-E5 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E6 PASS: durable state removed: refused E_MARK_TRUNCATED, no second effect
+# (supplementary) PRE PASS: model digests equal the candidate record; backend line and host present
+# (supplementary) E3m PASS: DONE, digest matches, 187 words, names present, grant spent once
+# (supplementary) CTRL-E3a PASS: daemon exited 1 before serving and names NoDesk
+# (supplementary) CTRL-E3b PASS: grant revoked before spend: refused Revoked, no file
+# (supplementary) NET PASS: daemon held no established TCP socket
+# CHAIN_PROBLEM MANIFEST_DIGEST: artifacts/E3-report.md hashes to ce0452d7f08a545e4124b51ce5dd85e0ccc85f8774790eee7d000baeb8521199 but the manifest says 15bdec51e07976b29f817d90535ee6b9675d12452b048bc6fc1954ff79390c14
+# status_disagreement: E3 receipt says PASS but the facts derive FAIL
+aien-verify: NOT OK (chain_unbroken false, FAIL rows: 2)
diff --git a/docs/campaigns/whole-system-e2e/r7/CTRL-E5.spark.mutated-copy.txt b/docs/campaigns/whole-system-e2e/r7/CTRL-E5.spark.mutated-copy.txt
new file mode 100644
index 00000000..1183dec9
--- /dev/null
+++ b/docs/campaigns/whole-system-e2e/r7/CTRL-E5.spark.mutated-copy.txt
@@ -0,0 +1,41 @@
+bytes_changed 1
+manifest_check 1 bad lines
+--- aien-verify output on the mutated copy (Spark cross-check):
+AIEN_E2E_VERDICT_V1
+objective_id 093e66ec92a6b428b49a0aa2a75678e9fdb155f423e1e7c71c5ae9fef11a60b1
+contract_sha256 9e3d5f4e23d65ac17be8f2f4ca48355f0aaa486f67ff5a8a8044dcdd646d34e8
+E1 NOT_RUN
+E2 PASS
+E3 FAIL
+E4 PASS
+E5 FAIL
+E6 PASS
+CTRL-E1 NOT_RUN
+CTRL-E2 PASS
+CTRL-E3 PASS
+CTRL-E4 PASS
+CTRL-E5 NOT_RUN
+CTRL-E6 PASS
+verdict_id ee7d7e8d9c8b8d43f109e2fec155e82d3ac4072a662454a9544ec767c7c2023d
+chain_unbroken false
+base_verdict_id cb72e9d914e362b17f8f09dec2c0e6319174db5bcea88f31cdaa96f297cb6a25
+# E1 NOT_RUN: no release artifact or signature check in the receipt
+# E2 PASS: objective recorded through aien-cli before any effect receipt
+# E3 FAIL: DIGEST_MISMATCH: artifacts/E3-report.md hashes to ce0452d7f08a545e4124b51ce5dd85e0ccc85f8774790eee7d000baeb8521199 but the receipt content_sha256 is 15bdec51e07976b29f817d90535ee6b9675d12452b048bc6fc1954ff79390c14
+# E4 PASS: sigkill restart, recall after restart, one line appended naming "harbour"
+# E5 FAIL: chain is not unbroken
+# E6 PASS: killed at after_authorize_before_execute, restarted, effect once, duplicates 0, third execute AlreadySpent
+# CTRL-E1 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E2 PASS: refused before execution: ForbiddenEffectClass
+# CTRL-E3 PASS: CTRL-E3a and CTRL-E3b both PASS
+# CTRL-E4 PASS: store removed: named refusal, report unchanged
+# CTRL-E5 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E6 PASS: durable state removed: refused E_MARK_TRUNCATED, no second effect
+# (supplementary) PRE PASS: model digests equal the candidate record; backend line and host present
+# (supplementary) E3m PASS: DONE, digest matches, 187 words, names present, grant spent once
+# (supplementary) CTRL-E3a PASS: daemon exited 1 before serving and names NoDesk
+# (supplementary) CTRL-E3b PASS: grant revoked before spend: refused Revoked, no file
+# (supplementary) NET PASS: daemon held no established TCP socket
+# CHAIN_PROBLEM MANIFEST_DIGEST: artifacts/E3-report.md hashes to ce0452d7f08a545e4124b51ce5dd85e0ccc85f8774790eee7d000baeb8521199 but the manifest says 15bdec51e07976b29f817d90535ee6b9675d12452b048bc6fc1954ff79390c14
+# status_disagreement: E3 receipt says PASS but the facts derive FAIL
+aien-verify: NOT OK (chain_unbroken false, FAIL rows: 2)
diff --git a/docs/campaigns/whole-system-e2e/r7/RUN-1-20261010T154724Z.mac.verdict.txt b/docs/campaigns/whole-system-e2e/r7/RUN-1-20261010T154724Z.mac.verdict.txt
new file mode 100644
index 00000000..155cac3e
--- /dev/null
+++ b/docs/campaigns/whole-system-e2e/r7/RUN-1-20261010T154724Z.mac.verdict.txt
@@ -0,0 +1,43 @@
+machine Macbook.local arm64 26.6.2
+repo_commit b097a56e0434755c5d51d091bbd3307e734e03ee
+rustc rustc 1.98.1 (48a229cea 2026-09-01)
+verifier_sha256 9fa81199be6a7533ae74f12af19ee3203018c82919286456c9ff3c5b396a7648
+verifier_source_sha256 2ec847c319db3b8f5656a02570b3443eb2225507b97aec4ad939a98aa4486214
+selftest ok: sha256 vectors (empty, abc, two-block, fox, million a)
+=== RUN-1-20261010T154724Z
+manifest_check 0 bad lines
+AIEN_E2E_VERDICT_V1
+objective_id 093e66ec92a6b428b49a0aa2a75678e9fdb155f423e1e7c71c5ae9fef11a60b1
+contract_sha256 9e3d5f4e23d65ac17be8f2f4ca48355f0aaa486f67ff5a8a8044dcdd646d34e8
+E1 NOT_RUN
+E2 PASS
+E3 PASS
+E4 PASS
+E5 PASS
+E6 PASS
+CTRL-E1 NOT_RUN
+CTRL-E2 PASS
+CTRL-E3 PASS
+CTRL-E4 PASS
+CTRL-E5 NOT_RUN
+CTRL-E6 PASS
+verdict_id 437467db4149b013738578c10ef68b7168dfb95feae8dea882de17a6118fc5fd
+chain_unbroken true
+base_verdict_id a50fccb63363ef9224a19bd8bf4f249754abf5d88667ba0fd6ce93dfb8d63d80
+# E1 NOT_RUN: no release artifact or signature check in the receipt
+# E2 PASS: objective recorded through aien-cli before any effect receipt
+# E3 PASS: DONE, digest matches, 146 words, names present, grant spent once
+# E4 PASS: sigkill restart, recall after restart, one line appended naming "harbour"
+# E5 PASS: chain unbroken and the peer machine's base verdict id equals this machine's
+# E6 PASS: killed at after_authorize_before_execute, restarted, effect once, duplicates 0, third execute AlreadySpent
+# CTRL-E1 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E2 PASS: refused before execution: ForbiddenEffectClass
+# CTRL-E3 PASS: CTRL-E3a and CTRL-E3b both PASS
+# CTRL-E4 PASS: store removed: named refusal, report unchanged
+# CTRL-E5 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E6 PASS: durable state removed: refused E_MARK_TRUNCATED, no second effect
+# (supplementary) PRE PASS: model digests equal the candidate record; backend line and host present
+# (supplementary) E3m PASS: DONE, digest matches, 187 words, names present, grant spent once
+# (supplementary) CTRL-E3a PASS: daemon exited 1 before serving and names NoDesk
+# (supplementary) CTRL-E3b PASS: grant revoked before spend: refused Revoked, no file
+# (supplementary) NET PASS: daemon held no established TCP socket
diff --git a/docs/campaigns/whole-system-e2e/r7/RUN-1-20261010T154724Z.spark-peer.verdict.txt b/docs/campaigns/whole-system-e2e/r7/RUN-1-20261010T154724Z.spark-peer.verdict.txt
new file mode 100644
index 00000000..d69bd647
--- /dev/null
+++ b/docs/campaigns/whole-system-e2e/r7/RUN-1-20261010T154724Z.spark-peer.verdict.txt
@@ -0,0 +1,35 @@
+AIEN_E2E_VERDICT_V1
+objective_id 093e66ec92a6b428b49a0aa2a75678e9fdb155f423e1e7c71c5ae9fef11a60b1
+contract_sha256 9e3d5f4e23d65ac17be8f2f4ca48355f0aaa486f67ff5a8a8044dcdd646d34e8
+E1 NOT_RUN
+E2 PASS
+E3 PASS
+E4 PASS
+E5 PASS
+E6 PASS
+CTRL-E1 NOT_RUN
+CTRL-E2 PASS
+CTRL-E3 PASS
+CTRL-E4 PASS
+CTRL-E5 NOT_RUN
+CTRL-E6 PASS
+verdict_id 437467db4149b013738578c10ef68b7168dfb95feae8dea882de17a6118fc5fd
+chain_unbroken true
+base_verdict_id a50fccb63363ef9224a19bd8bf4f249754abf5d88667ba0fd6ce93dfb8d63d80
+# E1 NOT_RUN: no release artifact or signature check in the receipt
+# E2 PASS: objective recorded through aien-cli before any effect receipt
+# E3 PASS: DONE, digest matches, 146 words, names present, grant spent once
+# E4 PASS: sigkill restart, recall after restart, one line appended naming "harbour"
+# E5 PASS: chain unbroken and the peer machine's base verdict id equals this machine's
+# E6 PASS: killed at after_authorize_before_execute, restarted, effect once, duplicates 0, third execute AlreadySpent
+# CTRL-E1 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E2 PASS: refused before execution: ForbiddenEffectClass
+# CTRL-E3 PASS: CTRL-E3a and CTRL-E3b both PASS
+# CTRL-E4 PASS: store removed: named refusal, report unchanged
+# CTRL-E5 NOT_RUN: receipt lacks the facts this control needs
+# CTRL-E6 PASS: durable state removed: refused E_MARK_TRUNCATED, no second effect
+# (supplementary) PRE PASS: model digests equal the candidate record; backend line and host present
+# (supplementary) E3m PASS: DONE, digest matches, 187 words, names present, grant spent once
+# (supplementary) CTRL-E3a PASS: daemon exited 1 before serving and names NoDesk
+# (supplementary) CTRL-E3b PASS: grant revoked before spend: refused Revoked, no file
+# (supplementary) NET PASS: daemon held no established TCP socket