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

Readiness check asks the crumb tool for repositories with no crumbs (benchmarks, interplane stop publishing PASS as BLOCKED)

merged b36763e42358e4cb #680 · opened 2026-10-19 13:01 UTC · closed 2026-10-19 16:45 UTC · merged 2026-10-19 16:45 UTC

Imported from GitHub aien-dev/aien-sovereign-core-mv#680, by drakestapleton

Labels: ready-to-merge

Base 4e4dd4ad6c5d10e7f4201fbe11d9dc99ad50cb45 · Head 5b20907a0ff300a657ae4b6abbffc4f8b02ceff4

Merged on GitHub as e54700fb357f48344100ecaab047e8ffa4ce2610; reachable from main 007ac4ac5ee5edc6f79f411b1706752293604044 (observed 2026-11-18T16:35:47Z)

drakestapleton wrote on 2026-10-19 13:01 UTC

What this fixes

The worker's readiness check (aien-test verify, crumb_status in tools/aien-test/src/verify.rs) called any repository with no .crumb at its root STALE without asking the crumb tool. benchmarks and interplane have no crumbs at all, and the gate's own tool says OK: 0 crumbs current for them. So every PASS head in those two repos published as BLOCKED / error (seen 2026-10-16 to 2026-10-19; it is also why crumb-doctor shows READY benchmarks main and READY interplane main red).

Now the tool decides, exactly as the CRUMB-VERIFY gate does. If the tool fails, readiness is still STALE; with no tool configured it is still STALE.

Tests

  • New test verify::tests::repo_without_crumbs_asks_the_tool (fake crumb on disk): RED on main, GREEN on this branch.
  • cargo test -p aien-test: 321 pass; clippy clean (run by the crumb root-cause chat, evidence Spark ~/workspace/crumb-rootcause/, handoff ~/handoffs/2026-10-19-crumb-failures.md, cause 4).

Pipeline note

This touches tools/aien-test/, so it is a pipeline configuration change (rule A4): the desk runs the operator judge on the exact head. It goes live only after merge, a rebuild of target-sc/release/aien-test, and a worker restart when the workers are idle (never killing a running judge).

Apply it

git checkout -b patch-b36763e42358e4cb 4e4dd4ad6c5d10e7f4201fbe11d9dc99ad50cb45
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/b36763e42358e4cb.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
680
5b20907a0ff300a657ae4b6abbffc4f8b02ceff4
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":680,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/680","export_sha256":"d815604dc795b494a931d4c9d256159461266bed51d6da460421ed1d94dab90f","imported_utc":"2026-11-18T16:35:47Z"}

Changes

diff --git a/.crumb b/.crumb
index 67441d22..6834e330 100644
--- a/.crumb
+++ b/.crumb
@@ -119,14 +119,14 @@
         }
       ],
       "children_root": "sha256:7233404baa7d5c3ce664e4abee8970212f5e6213399ba74d2ad7a65e3a5324d5",
-      "compiled_at": "2026-10-19T14:06:20Z",
+      "compiled_at": "2026-10-19T15:26:54Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:9762994d0b6b0599ae43d76b4001cd89b11f46f261bbe4132333492259728ed6",
+      "digest": "sha256:b2c63b9d9b092fd1c9953a073578b2ce88d7fcf553789620bfeb93efd35ebae3",
       "evidence_files": 1578,
       "evidence_root": "sha256:135e27a1a0704c4a8371cd2c1eb555f2b5beec61c212949b029a5457418a7160",
       "files": 5891,
-      "generated_at_commit": "bd52eab565f953bf828d336b9c804c651f3d11d1",
-      "source_tree": "sha256:8b901c500cb693dd17f1f2b645509f8a73163d2e51e1dd7bfc164d0209a2804b"
+      "generated_at_commit": "78b49dee252cb90f04c4ad594535c5cba4c1c52f",
+      "source_tree": "sha256:8075a28ecf5ae93677aa294ef29675ceef358c1df1a05bdf2b195c84369a6966"
     }
   },
   "history": [],
diff --git a/tools/aien-test/src/verify.rs b/tools/aien-test/src/verify.rs
index 745788b4..3dec45f1 100644
--- a/tools/aien-test/src/verify.rs
+++ b/tools/aien-test/src/verify.rs
@@ -135,12 +135,10 @@ pub fn crumb_status(root: &Path, commit: &str, crumb: Option<&str>) -> (String,
         Err(e) => return ("STALE".into(), format!("cannot run git: {e}")),
     };
     drop(out);
-    let result = if !tmp.join(".crumb").exists() {
-        (
-            "STALE".to_string(),
-            "no .crumb at the repository root".to_string(),
-        )
-    } else {
+    // The crumb tool decides, exactly as the CRUMB-VERIFY gate does. A repository with no crumbs at all
+    // (benchmarks, interplane) is "OK: 0 crumbs current" to the tool; calling it STALE here published every
+    // PASS head of those repos as BLOCKED/error (2026-10-16..19).
+    let result = {
         let mut cmd = Command::new(crumb);
         cmd.args(["verify", "."]).current_dir(&tmp);
         match process::output_gated(&mut cmd) {
@@ -639,4 +637,38 @@ mod tests {
             .iter()
             .any(|l| l.starts_with("Problem: no bundle at ")));
     }
+
+    /// A fake crumb on disk that prints `out` and exits `rc`.
+    fn fake_crumb(dir: &Path, out: &str, rc: i32) -> String {
+        use std::os::unix::fs::PermissionsExt;
+        let p = dir.join("crumb");
+        fs::write(&p, format!("#!/bin/sh\necho '{out}'\nexit {rc}\n")).unwrap();
+        fs::set_permissions(&p, fs::Permissions::from_mode(0o755)).unwrap();
+        p.display().to_string()
+    }
+
+    #[test]
+    fn repo_without_crumbs_asks_the_tool() {
+        // benchmarks and interplane have no .crumb at all; the gate's tool says OK, so readiness must too.
+        let repo = crate::testutil::init_repo("verify-nocrumb", &[("README", "x\n", false)]);
+        let head = plan::resolve(repo.path(), "HEAD").unwrap();
+        let bin = crate::testutil::TempDir::new("verify-fake-crumb");
+        let ok = fake_crumb(bin.path(), "crumb verify: OK: 0 crumbs current", 0);
+        assert_eq!(
+            crumb_status(repo.path(), &head, Some(&ok)),
+            (
+                "CURRENT".to_string(),
+                "crumb verify: OK: 0 crumbs current".to_string()
+            )
+        );
+        // The tool still has the last word: if it fails, readiness is STALE.
+        let bad = fake_crumb(
+            bin.path(),
+            "crumb verify: FAIL: 1 of 1 crumbs stale; run: crumb compile",
+            1,
+        );
+        assert_eq!(crumb_status(repo.path(), &head, Some(&bad)).0, "STALE");
+        // No tool configured: still STALE (not proven current).
+        assert_eq!(crumb_status(repo.path(), &head, None).0, "STALE");
+    }
 }