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 / crates / spark-aegis / README.md

64 lines · 1980 bytes Raw Blame History Rendered
1# spark-aegis
2
3Sovereign defensive boundary and containment engine for the NVIDIA DGX Spark workstation.
4
5## Sovereign Doctrine
6
7"The network is the house. Cut the session. Isolate the host. Close the door. Keep the evidence."
8
9## Invariants
10
11- **SECURE_TPM_ONLY**: Plaintext secrets and `.env` files must never touch disk. All credentials resolve dynamically via the hardware TPM vault.
12- **UNSLOP_COMPLIANCE**: Strict zero em dash and en dash policy. All AI buzzwords, transitional filler, and antithesis tropes are forbidden.
13- **PURE_NATIVE_SYSTEMS**: The entire security runtime is compiled native Rust.
14- **BLAKE3_CORTEX_TRAIL**: Every incident and triage verdict commits a Blake3 cryptographic audit entity to Cortex memory.
15
16## Architecture
17
18`spark-aegis` consists of the following components:
19
20- `doctrine`: Formal definition of the four defensive actions and system invariants.
21- `scanner`: High-speed scanner detecting secrets, slop, and dangerous commands across files, directories, and git diffs.
22- `containment`: Realization of the four defensive directives (`cut_session`, `isolate_host`, `close_door`, `keep_evidence`).
23- `pr_triage`: Autonomous PR review and diff verification engine outputting cryptographically signed safety verdicts.
24- `byte_scan`: byte and pattern search used by the scanner (pure Rust).
25- `audit`: Live system audit inspecting listening sockets, workspace confinement, and Cortex connectivity.
26
27## CLI Usage
28
29### Deep Scan
30```bash
31spark-aegis scan /path/to/target
32```
33
34### PR Triage and Review
35```bash
36spark-aegis review-pr diff.patch
37git diff | spark-aegis review-pr -
38```
39
40### Live System Audit
41```bash
42spark-aegis audit
43```
44
45### Containment Actions
46```bash
47# Terminate session
48spark-aegis contain --session pts/2
49
50# Isolate process
51spark-aegis contain --pid 12345
52
53# Quarantine path
54spark-aegis contain --close /path/to/malicious_file
55```
56
57### Display Doctrine
58```bash
59spark-aegis doctrine
60```
61
62## License
63
64Apache-2.0 WITH LLVM-exception