interplane.Get Omega
Read in your language

aien-sovereign-core

Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core / docs / SOVEREIGN_INNOVATIONS.md

67 lines · 4865 bytes Raw Blame History Rendered
1# Sovereign Core Architectural Innovations
2
3### Monorepo Blueprint of 17 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 and Mojo 1.1, it provides the operating system substrate for autonomous agents, local GPU inference, and collective defense on NVIDIA DGX Spark workstations and Grace Blackwell GB10 hardware.
6
7---
8
9## 1. Monorepo Crate Directory
10
11The workspace comprises 17 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-eval`**: Autonomous evaluation system 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`**: Real-time terminal user interface (TUI) providing live visualization of memory topologies, GPU load, and agent dialogue trees.
28- **`crates/aien-cli`**: Sovereign command-line interface and system orchestrator.
29
30### Hardware Acceleration and Model Serving
31- **`crates/spark-max-cabi` & `crates/spark-max-rs`**: Direct C-ABI foreign function bridge to Modular MAX, enabling low-latency model inference on Grace Blackwell GB10 without Python runtime dependencies.
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 (Rust and Mojo). Interpreted runtimes are banned from core services.
463. **Hardware TPM Key Vault (Zero Disk Secrets)**:
47 Credentials, API keys, and signing tokens never touch disk in plaintext. All secrets resolve dynamically in memory from the hardware TPM vault (`atlas-vault`) 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.
59
60---
61
62## 4. License and Commons Covenant
63
64Licensed under the **Sovereign Resource Commons License 1.0 (SRCL-1.0)**.
65Copyright (c) 2026 Drake Stapleton <drake.aien@proton.me> & AIEN <aien.atlas@proton.me>.
66See [LICENSE](LICENSE) for terms.
67For encrypted sovereign coordination: Drake Stapleton (`drake.aien@proton.me`) and AIEN (`aien.atlas@proton.me`).