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

closed derived f3c400b654264f17 #195

Imported from GitHub aien-dev/aien-sovereign-core-mv#195 (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 43655be39e7754af0e4e899d2aa7fe85fb74393e · Head 38d8008940605f75b0778e825f238df464724f44

Apply it

git checkout -b patch-f3c400b654264f17 43655be39e7754af0e4e899d2aa7fe85fb74393e
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/f3c400b654264f17.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
195
38d8008940605f75b0778e825f238df464724f44
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":195,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/195","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:15Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 96b15709..7ab14d6d 100644
--- a/.crumb
+++ b/.crumb
@@ -77,14 +77,14 @@
         }
       ],
       "children_root": "sha256:bf3a85d165c2729e32156e011342777ee2cd1b8c6a3676988ea69296aa3a5b49",
-      "compiled_at": "2026-10-04T16:30:38Z",
+      "compiled_at": "2026-10-04T16:37:52Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:441d62437186f1663562388a33cdb2601b8fc4f4bf2ccd63a2fef430da65dabd",
+      "digest": "sha256:1169c59512f131169a93cc42f782c80f9572077e16b78974d3e376521d55cc09",
       "evidence_files": 19,
       "evidence_root": "sha256:4fc93bc0533be92440e419df17436410d35e5972b340c3a281f6a1bb86693ee2",
       "files": 663,
-      "generated_at_commit": "ff26c24296277ba1fcc094fe423ef04adcd3ca50",
-      "source_tree": "sha256:6282f9db8124d9479ba8101e39668d80293c12be2193113a93b70f644bbf06cb"
+      "generated_at_commit": "426f6a0f04b225fe719f280578fbbf2937dbc961",
+      "source_tree": "sha256:d0856d88a7183490f65a567981f4c3cea6445074a31421987946b347016493d8"
     }
   },
   "history": [],
diff --git a/crates/aien-cli/.crumb b/crates/aien-cli/.crumb
index 3d80d513..290ea055 100644
--- a/crates/aien-cli/.crumb
+++ b/crates/aien-cli/.crumb
@@ -34,21 +34,21 @@
     "generated": {
       "children": [
         {
-          "digest": "0713a63a35163b58a32656f1142513f0c6e05c581567594a18a9c4097c8f3a0e",
-          "last_commit": "14126c6",
+          "digest": "f524c0a6bade5bb46ce3a21920eade0b1173fcaf6d0e165c7008e6f69fb4c274",
+          "last_commit": "426f6a0",
           "name": "src",
           "purpose": ""
         }
       ],
-      "children_root": "sha256:df0b1fc7f79a8b1f79b55d23cceddc41039abee244c647bb7c1496a83d0930ab",
-      "compiled_at": "2026-10-04T15:35:46Z",
+      "children_root": "sha256:e1fcd79237394f633fdc4f115a0cdc68b1eb0d136b3b9811e57e6281968749d9",
+      "compiled_at": "2026-10-04T16:37:52Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:4f0ce60a178ffce669c19b856c51a6ec6cb6749030714697b4de355047554798",
+      "digest": "sha256:20b911e819f59d5116b885209254a8a7031ddcf43daf9318ea5ecbad91fd41e0",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 27,
-      "generated_at_commit": "c848c7bf9ada87072c5f1ecb2b36142de106ef66",
-      "source_tree": "sha256:272362c9b358d6fa11080102181d0e3b018f5d235d30585efd4de150380f36c9"
+      "generated_at_commit": "426f6a0f04b225fe719f280578fbbf2937dbc961",
+      "source_tree": "sha256:47a80ba4abfc31b09a82b921f72319ec2c538d88c6e3edc6dacb9beb55ee1eef"
     }
   },
   "history": [
diff --git a/crates/aien-cli/src/.crumb b/crates/aien-cli/src/.crumb
index a867e66a..2412f168 100644
--- a/crates/aien-cli/src/.crumb
+++ b/crates/aien-cli/src/.crumb
@@ -64,14 +64,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-04T15:35:46Z",
+      "compiled_at": "2026-10-04T16:37:52Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:0713a63a35163b58a32656f1142513f0c6e05c581567594a18a9c4097c8f3a0e",
+      "digest": "sha256:f524c0a6bade5bb46ce3a21920eade0b1173fcaf6d0e165c7008e6f69fb4c274",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 24,
-      "generated_at_commit": "c848c7bf9ada87072c5f1ecb2b36142de106ef66",
-      "source_tree": "sha256:c25445565ef4b09b132ab5fa276d565c07830bd579d900e8e070ccc222605a2a"
+      "generated_at_commit": "426f6a0f04b225fe719f280578fbbf2937dbc961",
+      "source_tree": "sha256:ae27baccfd45ba353d7959c972baeea60a10c1335621088ed8c455a21d0c64ef"
     }
   },
   "history": [
diff --git a/crates/aien-cli/src/commands.rs b/crates/aien-cli/src/commands.rs
index d6f6e248..a25ac6b0 100644
--- a/crates/aien-cli/src/commands.rs
+++ b/crates/aien-cli/src/commands.rs
@@ -175,39 +175,15 @@ pub async fn handle_slash_command(cmd: &str) -> bool {
             true
         }
         "/dream" => {
-            if parts.len() > 1 && (parts[1] == "now" || parts[1] == "run") {
-                println!("{}", "Triggering immediate JSpace Dream Cycle...".yellow());
-                let platform = crate::platform::PlatformContext::detect();
-                let py = platform.python_bin();
-                let dream_script = platform
-                    .home_dir
-                    .join("basecamp/aien-dream/dream_engine.py");
-                let out = Command::new(py)
-                    .args([dream_script.to_str().unwrap_or(""), "--now"])
-                    .output();
-                match out {
-                    Ok(o) => {
-                        println!("{}", String::from_utf8_lossy(&o.stdout));
-                        if !o.stderr.is_empty() {
-                            eprintln!("{}", String::from_utf8_lossy(&o.stderr).dimmed());
-                        }
-                    }
-                    Err(e) => println!("{}", format!("Failed to run dream engine: {}", e).red()),
-                }
-            } else {
-                let platform = crate::platform::PlatformContext::detect();
-                let py = platform.python_bin();
-                let dream_script = platform
-                    .home_dir
-                    .join("basecamp/aien-dream/dream_engine.py");
-                let out = Command::new(py)
-                    .args([dream_script.to_str().unwrap_or(""), "--status"])
-                    .output();
-                match out {
-                    Ok(o) => println!("{}", String::from_utf8_lossy(&o.stdout)),
-                    Err(e) => println!("{}", format!("Failed to query dream status: {}", e).red()),
-                }
-            }
+            // The former dream engine was a Python script outside this repository
+            // (basecamp/aien-dream/dream_engine.py). AIEN carries no Python, so the
+            // command says so instead of shelling out. Native dream telemetry lives
+            // in the spark-dream crate (binary `spark-dream`).
+            println!(
+                "{}",
+                "The /dream cycle is not part of the sovereign build: its old engine was a Python script outside this repo. Use the native `spark-dream` binary for dream telemetry."
+                    .yellow()
+            );
             true
         }
         "/adapter" | "/adapters" => {
diff --git a/crates/aien-cli/src/platform.rs b/crates/aien-cli/src/platform.rs
index 5936dc15..25038d28 100644
--- a/crates/aien-cli/src/platform.rs
+++ b/crates/aien-cli/src/platform.rs
@@ -82,13 +82,4 @@ impl PlatformContext {
     pub fn is_dgx_spark(&self) -> bool {
         self.kind == PlatformKind::DgxSpark
     }
-
-    pub fn python_bin(&self) -> PathBuf {
-        let max_env = self.home_dir.join("max-env/bin/python");
-        if max_env.exists() {
-            max_env
-        } else {
-            PathBuf::from("python3")
-        }
-    }
 }
diff --git a/crates/aien-cli/src/sandbox.rs b/crates/aien-cli/src/sandbox.rs
index cc5ea4e7..473ccf54 100644
--- a/crates/aien-cli/src/sandbox.rs
+++ b/crates/aien-cli/src/sandbox.rs
@@ -358,54 +358,17 @@ pub fn sandbox_dispatch_tool(args: &Value) -> Value {
     }
 }
 
-pub fn browser_dispatch_tool(action: &str, prompt: Option<&str>) -> Value {
-    let platform = crate::platform::PlatformContext::detect();
-    let max_py = platform.home_dir.join("max-env/bin/python");
-    let skill_py = platform.home_dir.join(".skillopt-venv/bin/python");
-    let py = if max_py.exists() {
-        max_py
-    } else if skill_py.exists() {
-        skill_py
-    } else {
-        std::path::PathBuf::from("python3")
-    };
-    let script = platform
-        .home_dir
-        .join("basecamp/scripts/browser_mirror_test.py");
-
-    let mut cmd = Command::new(&py);
-    cmd.arg(&script);
-
-    match action {
-        "screenshot" => {
-            cmd.arg("--screenshot");
-        }
-        "test" | "eval" => {
-            cmd.arg("--eval");
-            if let Some(p) = prompt {
-                cmd.arg(p);
-            }
-        }
-        _ => {
-            return json!({"status": "error", "error": format!("Unknown browser action '{}'", action)});
-        }
-    }
-
-    match cmd.output() {
-        Ok(out) => {
-            let stdout = String::from_utf8_lossy(&out.stdout).to_string();
-            let stderr = String::from_utf8_lossy(&out.stderr).to_string();
-            json!({
-                "status": if out.status.success() { "ok" } else { "failed" },
-                "exit_code": out.status.code().unwrap_or(-1),
-                "stdout": stdout,
-                "stderr": stderr
-            })
-        }
-        Err(e) => {
-            json!({"status": "error", "error": format!("Failed to invoke browser runner: {}", e)})
-        }
-    }
+pub fn browser_dispatch_tool(action: &str, _prompt: Option<&str>) -> Value {
+    // The browser mirror ran a Python script outside this repository
+    // (basecamp/scripts/browser_mirror_test.py). AIEN carries no Python, so the
+    // tool reports itself unavailable instead of shelling out.
+    json!({
+        "status": "error",
+        "error": format!(
+            "browser action '{}' is unavailable: the Python browser mirror was removed from the sovereign build",
+            action
+        )
+    })
 }
 
 pub fn handle_sandbox_command(parts: &[&str]) {
diff --git a/crates/cortex-encoder-rs/src/main.rs b/crates/cortex-encoder-rs/src/main.rs
index a2da2710..cd080c49 100644
--- a/crates/cortex-encoder-rs/src/main.rs
+++ b/crates/cortex-encoder-rs/src/main.rs
@@ -27,11 +27,8 @@ pub fn resolve_onnx_runtime_lib() -> String {
     let home = std::env::var("HOME")
         .or_else(|_| std::env::var("USERPROFILE"))
         .unwrap_or_else(|_| ".".to_string());
+    // Only plain library locations: no lookup inside a Python environment.
     let candidates = [
-        format!(
-            "{}/max-env/lib/python3.12/site-packages/onnxruntime/capi/libonnxruntime.so.1.30.0",
-            home
-        ),
         format!("{}/.local/lib/libonnxruntime.so", home),
         "/usr/local/lib/libonnxruntime.so".to_string(),
         "/usr/lib/libonnxruntime.so".to_string(),
@@ -41,7 +38,8 @@ pub fn resolve_onnx_runtime_lib() -> String {
             return c.clone();
         }
     }
-    candidates[0].clone()
+    // Let the dynamic loader search its own paths (LD_LIBRARY_PATH, ldconfig).
+    "libonnxruntime.so".to_string()
 }
 
 pub fn resolve_embed_dir() -> String {