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#596 (code only)

closed derived 122f6f68f3f731d2 #596

Imported from GitHub aien-dev/aien-sovereign-core-mv#596 (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 bdd58a2b8fc873deecc06871809817801ac8b1e2 · Head b8d71267ea87b59cb5a909c7e063a97d394f5b18

Apply it

git checkout -b patch-122f6f68f3f731d2 bdd58a2b8fc873deecc06871809817801ac8b1e2
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/122f6f68f3f731d2.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
596
b8d71267ea87b59cb5a909c7e063a97d394f5b18
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":596,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/596","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:37Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 08ee53fc..41c036d4 100644
--- a/.crumb
+++ b/.crumb
@@ -65,68 +65,68 @@
       "children": [
         {
           "digest": "4e7f370019e67f6c71565d1544530851eb1b3b1bed61c2712f4ac7d9614a89bf",
-          "last_commit": "6bbe2ec",
+          "last_commit": "6bbe2ec2",
           "name": "crates/aien-allen",
           "purpose": "ALLEN identity gate: resolve-only subject check, host pin record, deployment record (ADR 0035). "
         },
         {
           "digest": "40a231c50dba92af7de2527ab33879c5d1eaaa6e7ea5d6a5ebaa9d60c7542075",
-          "last_commit": "b9b52f9",
+          "last_commit": "b9b52f9c",
           "name": "crates/aien-allen-memory",
           "purpose": "ALLEN scoped memory store: scopes enforced at recall, inspect/correct/export, key-destroying for"
         },
         {
           "digest": "44dc482b8c9db8919a68ec69b019cd77967232a6ec8b1910c0dfe3cd4d71f141",
-          "last_commit": "b9b52f9",
+          "last_commit": "b9b52f9c",
           "name": "crates/aien-allen-profile",
           "purpose": "ALLEN persona profile v1: versioned, user-editable profile bound to the engaged ALLEN identity; "
         },
         {
           "digest": "f5571bcc0bb95b44dd8bf8f0b47ded3bcb1e1ee76c81b4ff5edb87ac237d66d8",
-          "last_commit": "f8eea42",
+          "last_commit": "f8eea420",
           "name": "crates/aien-cli",
           "purpose": ""
         },
         {
           "digest": "25fd9f8afbea19702750f8ddba2ef4aeafc5bc4515aa695340a5af6931989c03",
-          "last_commit": "8cca802",
+          "last_commit": "8cca8020",
           "name": "crates/aien-scheduler/src/bin",
           "purpose": ""
         },
         {
           "digest": "a0a981f6168d15e43a6b036c3aa82d44547aadfc3b6c62139a5a3afab0644514",
-          "last_commit": "8cca802",
+          "last_commit": "8cca8020",
           "name": "crates/spark-cockpit-rs",
           "purpose": ""
         },
         {
           "digest": "f38ccede5d794040581cf48d409424c923d705a2fc206140b52691ef7fb186ef",
-          "last_commit": "deff6f7",
+          "last_commit": "deff6f7a",
           "name": "scripts",
           "purpose": ""
         },
         {
           "digest": "75e439cb2ae120e1807af894b70b6454971028f5527f56451f9d6558f503c88b",
-          "last_commit": "fa73e77",
+          "last_commit": "fa73e778",
           "name": "skills",
           "purpose": ""
         },
         {
           "digest": "b95ea9baa15ce7ddc69a3ef4dc25cdcccba52ec1f5fd99e19f0f24af9181a306",
-          "last_commit": "247e092",
+          "last_commit": "247e0927",
           "name": "tools/aien-local-ci",
           "purpose": "Local CI sandbox exec contract (C8), aien-run user/caches install, Forgejo trigger hook, health "
         }
       ],
       "children_root": "sha256:7d8cf5937a13dd896fe511aee80a0873f4917a0a5eb07cbe0fe3690c0c878cbb",
-      "compiled_at": "2026-10-16T10:56:35Z",
+      "compiled_at": "2026-10-16T15:26:03Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:465b497c444698ff5ff701c52b5835526c9e7bf1bdb5bf9b3805e3753d369dd8",
+      "digest": "sha256:783a5b010b857c0c32a0d3f40e8ca90a25d829f0271203955d699bd30118cbaa",
       "evidence_files": 1578,
       "evidence_root": "sha256:135e27a1a0704c4a8371cd2c1eb555f2b5beec61c212949b029a5457418a7160",
       "files": 5889,
-      "generated_at_commit": "a78ee68ab9a1285a7d4e8a983a7738ff2e1b7d4a",
-      "source_tree": "sha256:d2f1c2a7c6e804ba394685c392e84936afceeee5c6bf795bc5f3903b9113d8e2"
+      "generated_at_commit": "cd04389326267bd8600952cf3e65e70aa4837dad",
+      "source_tree": "sha256:7b34e557b7fae1a44c454c3588b18f3700c1d8896266ec368ffac702fedf7ff9"
     }
   },
   "history": [],
diff --git a/crates/aien-runtime/tests/kv_park_restore_test.rs b/crates/aien-runtime/tests/kv_park_restore_test.rs
index e6ae4162..fbd6cded 100644
--- a/crates/aien-runtime/tests/kv_park_restore_test.rs
+++ b/crates/aien-runtime/tests/kv_park_restore_test.rs
@@ -1011,13 +1011,27 @@ async fn restore_retry_window_prefills_without_lookup_after_two_failures() {
 
 /// ADR 2.4 / METRICS `kv_park_indeterminate_total`: a publication whose
 /// directory sync failed after the rename is served but counted indeterminate.
+///
+/// Dispatch stays paused until both park jobs are submitted. The faulted first
+/// job puts the fake store into `Degraded`, and a store in that state refuses
+/// new submissions (`DeviceUnavailable`); with a running worker the second
+/// submission raced that terminal and lost about one time in six (one job
+/// counted, two failures), so the race is removed rather than tolerated.
 #[tokio::test]
 async fn indeterminate_park_publication_is_counted() {
-    let mut r = rig();
+    let mut r = rig_with(0, true);
     r.fake.script(JobScript::fault(Fault::RenameOkDirsyncFail));
-    park_turn(&mut r, &prompt14(), 3).await;
+    let seq = r.spine.submit_request(request(&prompt14(), 3));
+    step(&mut r).await;
+    paint(&r, seq);
+    step_until(&mut r, "turn finished with both parks submitted", |r| {
+        finished(r, seq) && status(r).parking_jobs == 2
+    })
+    .await;
+    r.worker.resume_dispatch();
+    step_until(&mut r, "parks terminal", |r| status(r).parking_jobs == 0).await;
     let s = status(&r).stats;
-    assert_eq!(s.park_jobs_total, 2);
+    assert_eq!(s.park_jobs_total, 2, "{s:?}");
     assert_eq!(s.park_indeterminate_total, 1, "{s:?}");
     // The object is published and served, its durability unknown (the fake
     // reports it on a failed terminal and the store goes Degraded).