Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/tree/main/crates/spark-aegis # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / crates / spark-aegis` `53beb96` sanitize: alpha-testing hygiene (paths, hosts, emails, licence, labels) Drake Stapleton committed 2026-10-26 ``` .. src/ tests/ .gitignore 81 Cargo.toml 633 README.md 1980 ``` README.md # spark-aegis Sovereign defensive boundary and containment engine for the NVIDIA DGX Spark workstation. ## Sovereign Doctrine "The network is the house. Cut the session. Isolate the host. Close the door. Keep the evidence." ## Invariants - SECURE_TPM_ONLY: Plaintext secrets and `.env` files must never touch disk. All credentials resolve dynamically via the hardware TPM vault. - UNSLOP_COMPLIANCE: Strict zero em dash and en dash policy. All AI buzzwords, transitional filler, and antithesis tropes are forbidden. - PURE_NATIVE_SYSTEMS: The entire security runtime is compiled native Rust. - BLAKE3_CORTEX_TRAIL: Every incident and triage verdict commits a Blake3 cryptographic audit entity to Cortex memory. ## Architecture `spark-aegis` consists of the following components: - `doctrine`: Formal definition of the four defensive actions and system invariants. - `scanner`: High-speed scanner detecting secrets, slop, and dangerous commands across files, directories, and git diffs. - `containment`: Realization of the four defensive directives (`cut_session`, `isolate_host`, `close_door`, `keep_evidence`). - `pr_triage`: Autonomous PR review and diff verification engine outputting cryptographically signed safety verdicts. - `byte_scan`: byte and pattern search used by the scanner (pure Rust). - `audit`: Live system audit inspecting listening sockets, workspace confinement, and Cortex connectivity. ## CLI Usage ### Deep Scan ``` spark-aegis scan /path/to/target ``` ### PR Triage and Review ``` spark-aegis review-pr diff.patch git diff | spark-aegis review-pr - ``` ### Live System Audit ``` spark-aegis audit ``` ### Containment Actions ``` # Terminate session spark-aegis contain --session pts/2 # Isolate process spark-aegis contain --pid 12345 # Quarantine path spark-aegis contain --close /path/to/malicious_file ``` ### Display Doctrine ``` spark-aegis doctrine ``` ## License Apache-2.0 WITH LLVM-exception