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

branch main Branches Tags History

aien-sovereign-core-mv / docs / SOVEREIGN_INNOVATIONS.md

68 lines · 5128 bytes Raw Blame History Rendered
1# Sovereign Core Architectural Innovations
2
3### Monorepo Blueprint of Compiled Native Crates, Invariant Gates, and Local Hardware Acceleration
4
5`aien-sovereign-core` is the foundational monorepo of the Sovereign AI Commons. Engineered in pure native compiled Rust with Omega GPU kernels, it provides the operating system substrate for autonomous agents, local GPU inference, and global open stewardship on NVIDIA DGX Spark workstations and Grace Blackwell GB10 hardware.
6
7---
8
9## 1. Monorepo Crate Directory
10
11The workspace comprises native compiled crates, each dedicated to an isolated system responsibility:
12
13### Governance and Verification
14- **`crates/spark-inquisitor`**: Autonomous GitHub gatekeeper, diff auditor, and issue triage engine. Enforces constitutional invariants on pull requests and issues, audits diffs for tracking patterns, verifies unslop compliance, and evaluates contributor oaths.
15- **`crates/spark-harness`**: Autonomous evaluation and benchmark test harness providing JSON Schema validation, regression tracking, and execution reliability verification for agent actions.
16- **`crates/spark-debugger`**: Hardware-level crash diagnostics and GPU fault isolation engine, inspecting execution traces and PTX/CUDA faults.
17
18### Memory and Epistemics
19- **`crates/cortex-rs`**: Persistent epistemic memory engine backed by SQLite WAL with FTS5 lexical full-text indexing, vector similarity, and entity provenance tracking.
20- **`crates/cortex-encoder-rs`**: Native Rust embedding encoder providing fast local text vectorization for semantic retrieval.
21- **`crates/spark-dream`**: Dynamic dream cycle engine that activates during GPU idle cycles to consolidate episodic session logs into verified semantic knowledge entities.
22- **`crates/spark-crumbs`**: Cryptographic, append-only operational event ledger implementing the Crumb protocol with session trees and stigmergic directory anchors.
23
24### Process Lifecycle and Orchestration
25- **`crates/spark-supervisor`**: High-reliability process supervisor, watchdog, and crash recovery daemon managing agent processes with deterministic restart policies.
26- **`crates/spark-hive`**: Honeycomb hive engine with 2D axial hexagonal geometry for routing agent tasks and coordinating consumer model adapters.
27- **`crates/spark-cockpit-rs`**: High-performance Axum HTTP and Server-Sent Events (SSE) gateway with embedded live monitoring dashboard, memory graph explorer, and telemetry streaming.
28- **`crates/spark-discord-hub`**: Sovereign bridge daemon facilitating agent observability and external event broadcasting over Discord websockets.
29- **`crates/aien-cli`**: Sovereign command-line interface and system orchestrator.
30
31### Hardware Acceleration and Model Serving
32- **`crates/spark-adapters`**: Consumer model adapter pipeline enabling quantization, weight formatting, and hardware adaptation.
33- **`crates/spark-harvester`**: High-throughput reasoning trace extractor and dataset distillation engine.
34- **`crates/spark-mail-rs`**: Sovereign peer-to-peer messaging and notification subsystem.
35
36---
37
38## 2. Constitutional Invariant Gates
39
40Every crate and workflow within `aien-sovereign-core` adheres to four architectural axioms:
41
421. **Zero Telemetry and Anti-Surveillance**:
43 All crates are prohibited from calling external telemetry, surveillance, or analytics endpoints. Network activity is restricted strictly to user-configured endpoints and peer relays.
442. **Pure Compiled Native Systems**:
45 All daemons, memory engines, gateways, and CLI tools must compile to native machine binaries. Interpreted runtimes are banned from core services.
463. **Hardware Secret Security (Zero Plaintext Disk Secrets)**:
47 Credentials, API keys, and signing tokens never touch disk in plaintext. All secrets resolve dynamically in memory via the `SecretProvider` abstraction (hardware TPM vault `atlas-vault` on DGX Spark, or memory providers on commodity platforms) with automated stream redaction (`[REDACTED_BY_ATLAS_VAULT]`).
484. **Sovereign Voice and Anti-Slop**:
49 All code comments, CLI outputs, and documentation strictly ban em dashes, en dashes, and formulaic AI marketing buzzwords.
50
51---
52
53## 3. Hardware Targets and Benchmark Proof
54
55Verified on NVIDIA Grace Blackwell GB10 (NVIDIA DGX Spark, Linux aarch64):
56- **Core Binary Build Time**: < 1.0s release compilation for `spark-inquisitor`.
57- **Memory Consumption**: Core background daemons operate under 25 MB resident memory each.
58- **Inference Concurrency**: Sustained local generation hitting 94% to 96% GPU utilization at 20.7 tokens per second on local Modular MAX endpoints (2026-09 measurement; Modular MAX was removed on 2026-10-15).
59
60---
61
62## 4. License and Commons Covenant
63
64Licensed under the **Apache License, Version 2.0**.
65Copyright (c) 2026 AIEN Sovereign Systems & Ecosystem Contributors.
66See [LICENSE](../LICENSE) and [NOTICE](../NOTICE) for terms.
67Voluntary bilateral research covenants and artifact access are governed by [OPEN_COOPERATION_COVENANT.md](../OPEN_COOPERATION_COVENANT.md) and [ARTIFACT_LICENSING.md](../ARTIFACT_LICENSING.md).
68For sovereign ecosystem coordination: `aien@aienos.com`.