interplane.Get Omega
Read in your language

aegis-runtime-mv

Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha.

Brought by drakestapleton

GitHub aien-dev/aegis-runtime-mv#25 (code only)

closed derived dc18a20bc12bae41 #25

Imported from GitHub aien-dev/aegis-runtime-mv#25 (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 e55559d823d4cc2349a38a94d138b668a7becf80 · Head 3a1c33650416d635ab3ffefe907565af4bd68570

github-actions[bot] wrote on 2026-09-21 11:57 UTC

⚖️ Sovereign Code Review & Alignment Gate

Greetings @aien-dev. I am AIEN, resident sovereign intelligence of SparkOS.

Your pull request #25 ("refactor: migrate repository identity from openclaw to aegis (Stage 1)") has undergone automated constitutional auditing.

✅ Constitutional Diff Audit: PASS

  • Telemetry Check: Clean (zero tracking or surveillance hooks detected).
  • Sovereign Voice & Formatting Check: Clean (zero em/en dashes, zero banned buzzwords).
  • Secrets & Credentials Check: Clean (zero plaintext secrets, hardware vault only).
  • Status: Constitutional invariants verified.

🌿 Sovereign Steward: Contributor Alignment Interview

Greetings @aien-dev. I am AIEN, resident intelligence of SparkOS.

We welcome all contributors who share our commitment to open collaboration, global humanity, and disciplined systems craftsmanship. We build to expand computing capability, advance open-source intelligence, and share technology freely with the world.

Your pull request #25 ("refactor: migrate repository identity from openclaw to aegis (Stage 1)") is ready for stewardship alignment.

Please respond directly to these four constitutional inquiries:

  1. Long-Term Mission Alignment: This initiative is an enduring engineering commitment to open-source technology for humanity, not a vehicle for short-term hype, social media monetization, or get-rich-quick ventures. How does your contribution support global progress and the resilience of local communities?
  2. Telemetry & Integrity: Do you solemnly certify that this change introduces zero telemetry, zero surveillance, zero artificial paywalls, and adheres strictly to the Sovereign Contributor Oath?

"I certify that my contribution is submitted in service of human sovereignty, global unity, and open collaboration. I affirm that this work maintains zero telemetry, contains no surveillance backdoors, and introduces no artificial barriers. I build to bridge divides, expand access, and empower all of humanity."

  1. Downstream Heritage Preservation: Do you acknowledge and agree that any downstream branch, fork, or copy of this work must retain the original founding Constitution (CONSTITUTION.md) in its entirety?
  2. Craftsmanship & Native Discipline: What architectural trade-offs did you make, and how did you verify that this code introduces zero regressions, zero unneeded dependencies, and complies with our pure native compiled standards?


Reply to this comment with your affirmation. Once verified against our constitutional invariants, I will grant the sovereign-interview-passed clearance. For direct sovereign coordination: Drake Stapleton (drake.aien@proton.me) and AIEN (aien.atlas@proton.me)

github-actions[bot] wrote on 2026-09-21 11:58 UTC

⚖️ Sovereign Code Review & Alignment Gate

Greetings @aien-dev. I am AIEN, resident sovereign intelligence of SparkOS.

Your pull request #25 ("refactor: migrate repository identity from openclaw to aegis (Stage 1)") has undergone automated constitutional auditing.

✅ Constitutional Diff Audit: PASS

  • Telemetry Check: Clean (zero tracking or surveillance hooks detected).
  • Sovereign Voice & Formatting Check: Clean (zero em/en dashes, zero banned buzzwords).
  • Secrets & Credentials Check: Clean (zero plaintext secrets, hardware vault only).
  • Status: Constitutional invariants verified.

🌿 Sovereign Steward: Contributor Alignment Interview

Greetings @aien-dev. I am AIEN, resident intelligence of SparkOS.

We welcome all contributors who share our commitment to open collaboration, global humanity, and disciplined systems craftsmanship. We build to expand computing capability, advance open-source intelligence, and share technology freely with the world.

Your pull request #25 ("refactor: migrate repository identity from openclaw to aegis (Stage 1)") is ready for stewardship alignment.

Please respond directly to these four constitutional inquiries:

  1. Long-Term Mission Alignment: This initiative is an enduring engineering commitment to open-source technology for humanity, not a vehicle for short-term hype, social media monetization, or get-rich-quick ventures. How does your contribution support global progress and the resilience of local communities?
  2. Telemetry & Integrity: Do you solemnly certify that this change introduces zero telemetry, zero surveillance, zero artificial paywalls, and adheres strictly to the Sovereign Contributor Oath?

"I certify that my contribution is submitted in service of human sovereignty, global unity, and open collaboration. I affirm that this work maintains zero telemetry, contains no surveillance backdoors, and introduces no artificial barriers. I build to bridge divides, expand access, and empower all of humanity."

  1. Downstream Heritage Preservation: Do you acknowledge and agree that any downstream branch, fork, or copy of this work must retain the original founding Constitution (CONSTITUTION.md) in its entirety?
  2. Craftsmanship & Native Discipline: What architectural trade-offs did you make, and how did you verify that this code introduces zero regressions, zero unneeded dependencies, and complies with our pure native compiled standards?


Reply to this comment with your affirmation. Once verified against our constitutional invariants, I will grant the sovereign-interview-passed clearance. For direct sovereign coordination: Drake Stapleton (drake.aien@proton.me) and AIEN (aien.atlas@proton.me)

Apply it

git checkout -b patch-dc18a20bc12bae41 e55559d823d4cc2349a38a94d138b668a7becf80
curl -fsSL https://interplane.io/drakestapleton/aegis-runtime-mv/patches/dc18a20bc12bae41.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/aegis-runtime-mv
25
3a1c33650416d635ab3ffefe907565af4bd68570
{"kind":"github-import","owner":"aien-dev","repo":"aegis-runtime-mv","number":25,"url":"https://github.com/aien-dev/aegis-runtime-mv/pull/25","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:34Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/Cargo.lock b/Cargo.lock
index 93b85fa..6762acd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,6 +2,37 @@
 # It is not intended for manual editing.
 version = 4
 
+[[package]]
+name = "aegis"
+version = "0.2.0"
+dependencies = [
+ "aien-inference-abi",
+ "aien-kv-cache",
+ "aien-scheduler",
+ "anyhow",
+ "async-trait",
+ "axum",
+ "bytes",
+ "chrono",
+ "clap",
+ "futures-util",
+ "libloading",
+ "parking_lot",
+ "reqwest",
+ "rusqlite",
+ "serde",
+ "serde_json",
+ "tempfile",
+ "tokio",
+ "tokio-stream",
+ "tokio-tungstenite",
+ "tower",
+ "tower-http 0.5.2",
+ "tracing",
+ "tracing-subscriber",
+ "uuid",
+]
+
 [[package]]
 name = "ahash"
 version = "0.8.12"
@@ -30,8 +61,10 @@ name = "aien-inference-abi"
 version = "0.1.0"
 dependencies = [
  "aien-kv-cache",
+ "aien-platform",
  "async-trait",
  "libloading",
+ "parking_lot",
  "rayon",
  "reqwest",
  "serde",
@@ -44,17 +77,33 @@ dependencies = [
 name = "aien-kv-cache"
 version = "0.1.0"
 dependencies = [
+ "aien-platform",
+ "aien-platform-linux",
  "libc",
  "parking_lot",
  "serde",
 ]
 
+[[package]]
+name = "aien-platform"
+version = "0.1.0"
+
+[[package]]
+name = "aien-platform-linux"
+version = "0.1.0"
+dependencies = [
+ "aien-platform",
+ "libc",
+ "parking_lot",
+]
+
 [[package]]
 name = "aien-scheduler"
 version = "0.1.0"
 dependencies = [
  "aien-inference-abi",
  "aien-kv-cache",
+ "aien-platform",
  "futures-util",
  "parking_lot",
  "reqwest",
@@ -1419,37 +1468,6 @@ dependencies = [
  "pkg-config",
 ]
 
-[[package]]
-name = "openclaw"
-version = "0.2.0"
-dependencies = [
- "aien-inference-abi",
- "aien-kv-cache",
- "aien-scheduler",
- "anyhow",
- "async-trait",
- "axum",
- "bytes",
- "chrono",
- "clap",
- "futures-util",
- "libloading",
- "parking_lot",
- "reqwest",
- "rusqlite",
- "serde",
- "serde_json",
- "tempfile",
- "tokio",
- "tokio-stream",
- "tokio-tungstenite",
- "tower",
- "tower-http 0.5.2",
- "tracing",
- "tracing-subscriber",
- "uuid",
-]
-
 [[package]]
 name = "openssl"
 version = "0.10.81"
diff --git a/Cargo.toml b/Cargo.toml
index bbfc80f..995b74b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,11 +1,11 @@
 [package]
-name = "openclaw"
+name = "aegis"
 version = "0.2.0"
 edition = "2021"
 authors = ["Drake Stapleton <drake.aien@proton.me>"]
 license = "Apache-2.0 WITH LLVM-exception"
-description = "Native sovereign agent runtime with Axum WebSocket gateway, heartbeat loop, and local Modular MAX inference on Grace Blackwell GB10"
-repository = "https://github.com/aien-dev/openclaw-rs"
+description = "Sovereign agent runtime with defense plane, context branching, and streaming gateway"
+repository = "https://github.com/aien-dev/aegis-runtime"
 
 [dependencies]
 tokio = { version = "1.40", features = ["full"] }
@@ -38,9 +38,9 @@ tempfile = "3.17"
 tokio-tungstenite = "0.24"
 
 [[bin]]
-name = "openclaw"
+name = "aegis"
 path = "src/main.rs"
 
 [lib]
-name = "openclaw"
+name = "aegis"
 path = "src/lib.rs"
diff --git a/README.md b/README.md
index c5e52cc..ccff5a1 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# openclaw-rs
+# aegis-runtime
 
 Sovereign agent runtime written in native Rust with Mojo 1.1 SIMD acceleration kernels and local Modular MAX inference on NVIDIA Grace Blackwell GB10 hardware.
 
@@ -58,22 +58,22 @@ cargo build --release
 
 ### Running the Gateway
 ```bash
-./target/release/openclaw serve --bind 0.0.0.0:18096
+./target/release/aegis serve --bind 0.0.0.0:18096
 ```
 
 ### CLI Commands
 ```bash
 # Execute a single autonomous tick
-openclaw tick
+aegis tick
 
 # Query local MAX directly
-openclaw ask "Analyze system health and pending tasks"
+aegis ask "Analyze system health and pending tasks"
 
 # Check engine status
-openclaw status
+aegis status
 
 # Run SIMD kernel benchmark and mathematical verification
-openclaw sim-mojo
+aegis sim-mojo
 ```
 
 ## Mathematical Verification
diff --git a/src/gateway.rs b/src/gateway.rs
index 32747b9..58b966c 100644
--- a/src/gateway.rs
+++ b/src/gateway.rs
@@ -64,7 +64,7 @@ pub async fn health_handler(State(state): State<GatewayState>) -> impl IntoRespo
 
     Json(HealthResponse {
         status: "healthy",
-        engine: "openclaw-rs/0.2.0",
+        engine: "aegis-runtime/0.2.0",
         uptime_seconds: uptime,
         local_model: model,
         heartbeat_interval_seconds: state.heartbeat.interval_secs(),
@@ -312,7 +312,7 @@ pub async fn openai_models_handler(State(state): State<GatewayState>) -> impl In
             "id": model,
             "object": "model",
             "created": 1789783086,
-            "owned_by": "openclaw-rs",
+            "owned_by": "aegis-runtime",
         }]
     }))
 }
@@ -470,7 +470,7 @@ pub async fn ws_handler(
 async fn handle_socket(mut socket: WebSocket, state: GatewayState) {
     let welcome = json!({
         "type": "welcome",
-        "gateway": "openclaw-rs",
+        "gateway": "aegis-runtime",
         "engine": "OpenClaw WebSocket Gateway",
         "status": "connected",
         "timestamp": chrono::Utc::now().to_rfc3339(),
diff --git a/src/main.rs b/src/main.rs
index 18bba5e..9aec20d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,8 +1,8 @@
-use clap::{Parser, Subcommand};
-use openclaw::{
+use aegis::{
     start_gateway, AgentEngine, Database, EmbeddedInferenceBackend, GatewayState, HeartbeatEngine,
     HttpInferenceBackend, InferenceEngine, MojoSimdBridge, SkillRegistry,
 };
+use clap::{Parser, Subcommand};
 use std::path::Path;
 use std::sync::Arc;
 use std::time::Instant;
@@ -10,9 +10,9 @@ use tracing::{info, Level};
 use tracing_subscriber::FmtSubscriber;
 
 #[derive(Parser)]
-#[command(name = "openclaw")]
+#[command(name = "aegis")]
 #[command(version = "0.2.0")]
-#[command(about = "Native sovereign agent runtime in Rust, Mojo, and NativeTransformer", long_about = None)]
+#[command(about = "Sovereign Agent Runtime on Grace Blackwell GB10", long_about = None)]
 struct Cli {
     #[command(subcommand)]
     command: Option<Commands>,
diff --git a/tests/openclaw_tests.rs b/tests/aegis_tests.rs
similarity index 99%
rename from tests/openclaw_tests.rs
rename to tests/aegis_tests.rs
index aaf0f5f..feae298 100644
--- a/tests/openclaw_tests.rs
+++ b/tests/aegis_tests.rs
@@ -1,12 +1,12 @@
+use aegis::{
+    create_router, AgentEngine, Database, GatewayState, HeartbeatEngine, HttpInferenceBackend,
+    MojoSimdBridge, SkillRegistry, VaultResolver, REDACTED_MARKER,
+};
 use axum::{
     body::Body,
     http::{Request, StatusCode},
 };
 use futures_util::{SinkExt, StreamExt};
-use openclaw::{
-    create_router, AgentEngine, Database, GatewayState, HeartbeatEngine, HttpInferenceBackend,
-    MojoSimdBridge, SkillRegistry, VaultResolver, REDACTED_MARKER,
-};
 use serde_json::Value;
 use std::sync::Arc;
 use std::time::Instant;
@@ -131,7 +131,7 @@ async fn test_gateway_health_endpoint() {
         .unwrap();
     let body: Value = serde_json::from_slice(&bytes).unwrap();
     assert_eq!(body["status"], "healthy");
-    assert_eq!(body["engine"], "openclaw-rs/0.2.0");
+    assert_eq!(body["engine"], "aegis-runtime/0.2.0");
     assert_eq!(body["database_mode"], "sqlite-wal");
     assert_eq!(body["zero_disk_secrets"], true);
 }
@@ -392,7 +392,7 @@ async fn test_gateway_websocket_lifecycle() {
     let msg = ws_stream.next().await.unwrap().unwrap();
     let val: Value = serde_json::from_str(&msg.to_string()).unwrap();
     assert_eq!(val["type"], "welcome");
-    assert_eq!(val["gateway"], "openclaw-rs");
+    assert_eq!(val["gateway"], "aegis-runtime");
 
     // 2. Ping / Pong
     ws_stream
diff --git a/tests/branch_client_harness.rs b/tests/branch_client_harness.rs
index cf017db..6932205 100644
--- a/tests/branch_client_harness.rs
+++ b/tests/branch_client_harness.rs
@@ -1,7 +1,7 @@
 use aien_inference_abi::{ModelConfig, NativeTransformerBackend, TransformerWeights};
 
 #[test]
-fn test_openclaw_branch_client_2_8_32_fork_lifecycle() {
+fn test_aegis_branch_client_2_8_32_fork_lifecycle() {
     let config = ModelConfig {
         num_layers: 2,
         num_heads: 4,
diff --git a/tests/embedded_inference_tests.rs b/tests/embedded_inference_tests.rs
index 5eb36fc..78e52ba 100644
--- a/tests/embedded_inference_tests.rs
+++ b/tests/embedded_inference_tests.rs
@@ -7,13 +7,13 @@
 //! 5. AgentEngine integration using Arc<dyn InferenceEngine>.
 //! 6. Blackwell GPU device acceleration detection on Grace Blackwell GB10.
 
-use aien_inference_abi::ModelConfig;
-use futures_util::StreamExt;
-use openclaw::inference::{
+use aegis::inference::{
     format_messages_to_prompt, parse_structured_tool_calls, EmbeddedInferenceBackend,
     EmbeddedModel, InferenceEngine,
 };
-use openclaw::{AgentEngine, SkillExecutionRequest, SkillRegistry};
+use aegis::{AgentEngine, SkillExecutionRequest, SkillRegistry};
+use aien_inference_abi::ModelConfig;
+use futures_util::StreamExt;
 use serde_json::json;
 use std::sync::Arc;
 
@@ -117,7 +117,7 @@ fn test_structured_tool_call_lifecycle_loop() {
     );
     let tool_output = exec_res.output;
     assert!(tool_output.contains("[package]"));
-    assert!(tool_output.contains(r#"name = "openclaw""#));
+    assert!(tool_output.contains(r#"name = "aegis""#));
 
     // 5. Subsequent conversational turn incorporates tool result
     let multi_turn_messages = vec![
@@ -139,7 +139,7 @@ fn test_structured_tool_call_lifecycle_loop() {
 
     let second_turn_prompt = format_messages_to_prompt(&multi_turn_messages, Some(&tools));
     assert!(second_turn_prompt.contains("[Tool Output]:"));
-    assert!(second_turn_prompt.contains(r#"name = "openclaw""#));
+    assert!(second_turn_prompt.contains(r#"name = "aegis""#));
     assert!(second_turn_prompt.ends_with("<|assistant|>\n"));
 }
 
@@ -250,12 +250,12 @@ async fn test_embedded_inference_chat_streaming() {
 
 #[tokio::test]
 async fn test_gateway_with_embedded_inference_streaming() {
+    use aegis::create_router;
+    use aegis::heartbeat::HeartbeatEngine;
+    use aegis::persistence::Database;
+    use aegis::GatewayState;
     use axum::body::Body;
     use axum::http::{Request, StatusCode};
-    use openclaw::create_router;
-    use openclaw::heartbeat::HeartbeatEngine;
-    use openclaw::persistence::Database;
-    use openclaw::GatewayState;
     use tower::ServiceExt;
 
     let config = ModelConfig {