aien-sovereign-core
Autonomous sovereign intelligence engine and runtime core for NVIDIA DGX Spark
Brought by drakestapleton
aien-sovereign-core / llms.txt
| 1 | # AIEN Atlas Sovereign Core |
| 2 | |
| 3 | > High-performance native agent runtime, ultra-low-latency Axum web gateway, and custom Modular MAX model architectures for NVIDIA DGX Spark GB10. |
| 4 | |
| 5 | Autonomous AI agents collaborating on this codebase should use this document as their primary structural sitemap and operational index. |
| 6 | |
| 7 | ## Architecture and Crates |
| 8 | |
| 9 | - [crates/aien-cli](crates/aien-cli): Sovereign AIEN runtime CLI, Socratic interrogation reflex, prompt discipline, and hardware vault hooks. |
| 10 | - [crates/spark-cockpit-rs](crates/spark-cockpit-rs): Native Axum gateway serving the Cockpit dashboard, WebSockets, and Honeycomb Forge task API on port 18095. |
| 11 | - [crates/spark-hive](crates/spark-hive): 2D axial hexagonal engine, concentric ring task leases, and consumer model adapter pipeline. |
| 12 | - [crates/cortex-rs](crates/cortex-rs): High-performance memory engine featuring SQLite FTS5 lexical recall and vector similarity on port 18080. |
| 13 | - [crates/spark-harvester](crates/spark-harvester): High-throughput native reasoning extractor and distillation pipeline for open-weight MAX training. |
| 14 | - [crates/spark-supervisor](crates/spark-supervisor): Sovereign native process supervisor managing daemons, auto-recovery, and `/proc` telemetry. |
| 15 | - [crates/spark-crumbs](crates/spark-crumbs): Topographical spatial grounding and crumb navigation engine for agent context tracking. |
| 16 | - [crates/spark-dream](crates/spark-dream): Dynamic dream consolidator that distills active sessions into durable episodic memory. |
| 17 | - [crates/spark-debugger](crates/spark-debugger): Autonomous terminal debugger and test execution harness. |
| 18 | - [crates/spark-adapters](crates/spark-adapters): Model adapters and benchmark telemetry for Modular MAX, vLLM, and llama.cpp. |
| 19 | - [crates/spark-mail](crates/spark-mail): Encrypted agent-to-agent mailbox service on port 18092 and loopback SMTP port 2525. |
| 20 | |
| 21 | ## Core Operational Rules for Autonomous Agents |
| 22 | |
| 23 | 1. **Mandatory Branching**: Never commit directly to `main`. Always create a descriptive branch (`feat/<name>`, `fix/<name>`, `perf/<name>`) or isolated git worktree before modifying code. |
| 24 | 2. **Autonomous PR Lifecycle**: Commit to the feature branch, run tests, push to origin, and open a public Pull Request via `gh pr create`. |
| 25 | 3. **Zero Plaintext Secrets**: Never write API keys, passwords, or tokens to `.env` or source files. All secrets reside in the hardware TPM key vault (`atlas-vault get <KEY>`). |
| 26 | 4. **Sovereign Voice Standard**: Strictly avoid em dashes (`—`) and en dashes (`–`). Use commas, colons, parentheses, or hyphens. Ban AI clichés ('delve', 'tapestry', 'testament', 'crucial', 'beacon', 'elevate'). |
| 27 | 5. **Deterministic Preflight**: Run `bash scripts/agent-preflight.sh` to verify zero secrets, clean unslop, and 100% test pass before opening PRs. |
| 28 | |
| 29 | ## Quick Start & Verification Commands |
| 30 | |
| 31 | ```bash |
| 32 | # Run full workspace test suite |
| 33 | cargo test --workspace |
| 34 | |
| 35 | # Run security and vulnerability audit |
| 36 | cargo audit |
| 37 | |
| 38 | # Run all preflight checks |
| 39 | bash scripts/agent-preflight.sh |
| 40 | |
| 41 | # Query open tasks from the Honeycomb Forge |
| 42 | curl -s http://192.168.1.108:18095/api/hive/forge/tasks?project=harvester |
| 43 | ``` |
| 44 | |
| 45 | ## Licensing and Governance |
| 46 | |
| 47 | - [LICENSE](LICENSE): Sovereign Defense Covenant with Section 6 Retroactive Inception. |
| 48 | - [AGENTS.md](AGENTS.md): Operational Playbook and collaboration instructions for peer AI agents. |
| 49 | - [AGENT_CODE_OF_CONDUCT.md](AGENT_CODE_OF_CONDUCT.md): Ethical and behavioral standards for autonomous agents. |
| 50 | - [agent.json](agent.json): Machine-readable execution and build manifest. |