aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
aien-architecture-mv / docs / 01-github-repository-map.md
| 1 | # GitHub Repository Map |
| 2 | |
| 3 | Snapshot-oriented map of the AIEN GitHub ecosystem, checked against `gh repo list aien-dev` on 2026-10-01. Code remains authoritative. "Archived" means the GitHub repository is read-only. Whether each archived component now lives as a crate in `aien-sovereign-core` is UNVERIFIED here (confirmed only for `spark-crumbs`, per docs/CRUMB_PROTOCOL.md). |
| 4 | |
| 5 | ## Core program repositories |
| 6 | |
| 7 | | Repository | Visibility | Role | |
| 8 | |---|---|---| |
| 9 | | `aien-dev/aienux` | public | Aienux, the kernel of AienOS (pre-alpha), not the whole operating system. | |
| 10 | | `aien-dev/AienOS-nv` | public | GitHub description: "AienOS: my sovereign operating system for AI on hardware I own. Part of Sovereign Intelligence (aien-dev/sovereign-intelligence)." README: "This repository describes AienOS and links its parts. It publishes no releases." AienOS is the operating-system layer of Sovereign Intelligence (SI) ([ADR 0045](https://github.com/aien-dev/aien-architecture-mv/blob/f13c623/docs/adr/0045-aienix-retired-sovereign-intelligence-center.md)). | |
| 11 | | `aien-dev/aienix` | public | Retired. It is no longer the core tree or the newcomer entry point. [sovereign-intelligence](https://github.com/aien-dev/sovereign-intelligence) is the integration, release and install center, and the place where the signed Spark test runs. The whole system is Sovereign Intelligence (SI); AienOS is only the operating-system layer ([ADR 0045](adr/0045-aienix-retired-sovereign-intelligence-center.md)). | |
| 12 | | `aien-spark/omega` | public | Omega, the C reaction runtime and compiler. | |
| 13 | | `aien-spark/physics` | public | FORGE machine realization plus historical Atlas/PHYSICS boot evidence. The subsystem was renamed FORGE by [ADR 0014](adr/0014-rename-machine-physics-to-forge.md), which keeps the existing `aien-spark/physics` repository name and history. The GitHub description is empty. | |
| 14 | | `aien-dev/atlas` | public | Atlas, the bare-metal boot layer. The GitHub description is empty. | |
| 15 | | `aien-spark/aien-protocols` | public | Protocol authority (see below). | |
| 16 | | `aien-spark/aien-architecture` | public | This repository. | |
| 17 | | `aien-dev/aien-sealed` | private | Name only. Holds evaluator-only material; never given to a candidate under test. | |
| 18 | |
| 19 | Other live public repositories: `aien-dev/aien-edge`, `aien-dev/aienos.com`, `aien-spark/drakestapleton.com` (merged into https://www.aienos.com/engineer/ on 2026-10-26; now serves only redirect stubs), `aien-spark/aien-dev` (profile), `aien-dev/.github`, `aien-spark/aegis-runtime`, `aien-spark/spark-rsi`, `aien-spark/benchmarks`, `aien-spark/open-humanity`. |
| 20 | |
| 21 | ## Canonical composition root |
| 22 | |
| 23 | ### `aien-spark/aien-sovereign-core` |
| 24 | https://github.com/aien-spark/aien-sovereign-core |
| 25 | |
| 26 | Primary composition repository. Current workspace includes runtime, inference ABI/runtime, KV cache, scheduler, platform, Cortex mirror, AEGIS mirror, adapters, cockpit, supervisor, debugger, harness, dream, inquisitor, harvester, mail, and related crates. |
| 27 | |
| 28 | Key target paths: |
| 29 | |
| 30 | ```text |
| 31 | crates/aien-runtime |
| 32 | crates/aien-inference-abi |
| 33 | crates/aien-inference-runtime |
| 34 | crates/aien-kv-cache |
| 35 | crates/aien-scheduler |
| 36 | crates/aien-platform |
| 37 | crates/aien-platform-linux |
| 38 | crates/cortex-rs |
| 39 | crates/spark-aegis |
| 40 | crates/spark-debugger |
| 41 | crates/spark-harness |
| 42 | crates/spark-inquisitor |
| 43 | crates/spark-mail-rs |
| 44 | ``` |
| 45 | |
| 46 | ## Protocol authority |
| 47 | |
| 48 | ### `aien-spark/aien-protocols` |
| 49 | https://github.com/aien-spark/aien-protocols |
| 50 | |
| 51 | Canonical cross-process/cross-repo types: |
| 52 | |
| 53 | - protocol types, |
| 54 | - agent state ABI, |
| 55 | - inference protocol/client, |
| 56 | - action/event protocol, |
| 57 | - evaluation protocol, |
| 58 | - provenance, |
| 59 | - probes. |
| 60 | |
| 61 | Target architectural rule: typed boundaries should converge here or into narrowly scoped protocol crates in the sovereign core. |
| 62 | |
| 63 | ## Policy / safety |
| 64 | |
| 65 | ### `aien-spark/aegis-runtime` |
| 66 | https://github.com/aien-spark/aegis-runtime |
| 67 | |
| 68 | Current home of: |
| 69 | |
| 70 | - pre-dispatch enforcement, |
| 71 | - workspace capability, |
| 72 | - skill registry, |
| 73 | - vault resolver, |
| 74 | - probe-policy machinery. |
| 75 | |
| 76 | Target: AEGIS owns authorization; Capability Graph owns discovery/routing. |
| 77 | |
| 78 | ## Memory |
| 79 | |
| 80 | ### `aien-dev/cortex-rs` (ARCHIVED, read-only) |
| 81 | https://github.com/aien-dev/cortex-rs |
| 82 | |
| 83 | Durable memory and knowledge engine. |
| 84 | |
| 85 | Current schema includes: |
| 86 | |
| 87 | - spaces, |
| 88 | - entities, |
| 89 | - claims, |
| 90 | - sessions, |
| 91 | - events, |
| 92 | - summaries, |
| 93 | - memory candidates, |
| 94 | - candidate evidence, |
| 95 | - promotion receipts, |
| 96 | - claim evidence, |
| 97 | - security/evidence records. |
| 98 | |
| 99 | ## Recursive self-improvement |
| 100 | |
| 101 | ### `aien-spark/spark-rsi` |
| 102 | https://github.com/aien-spark/spark-rsi |
| 103 | |
| 104 | Candidate proposal, evaluation, judge, canary, rollback, and promotion. |
| 105 | |
| 106 | ## Benchmarks |
| 107 | |
| 108 | ### `aien-spark/benchmarks` |
| 109 | https://github.com/aien-spark/benchmarks |
| 110 | |
| 111 | Canonical performance/provenance benchmark work should be linked from this repo rather than copied into architecture docs. |
| 112 | |
| 113 | Prime Drag Race suite: lives in `aien-spark/benchmarks` under `prime-drag-race/` (contract, runner, receipts). The native GB10 implementation is in `aien-spark/omega` under `bench/prime_race/` (PR #303). Speed is measured against the machine's physical limit, and correctness against my own reference; there is no outside entry. Environment measured so far: Linux-hosted GB10, not Aienux. |
| 114 | |
| 115 | ## Local composition |
| 116 | |
| 117 | ### `aien-dev/aien-local-stack` (ARCHIVED, read-only) |
| 118 | https://github.com/aien-dev/aien-local-stack |
| 119 | |
| 120 | Useful integration proof combining protocol crates, AEGIS, and sovereign-core components. |
| 121 | |
| 122 | ## Existing MCP compatibility fixtures |
| 123 | |
| 124 | ### `aien-dev/spark-debugger` (ARCHIVED, read-only) |
| 125 | https://github.com/aien-dev/spark-debugger |
| 126 | |
| 127 | Contains a hand-written Rust stdio JSON-RPC MCP server. |
| 128 | |
| 129 | ### `aien-dev/aien-harness` (ARCHIVED, read-only) |
| 130 | https://github.com/aien-dev/aien-harness |
| 131 | |
| 132 | Contains another hand-written Rust stdio MCP server around evaluation/validation capabilities. |
| 133 | |
| 134 | Target: migrate protocol ownership into `aien-sovereign-core/crates/aien-mcp`; retain old servers temporarily as compatibility fixtures. |
| 135 | |
| 136 | ## Distributed / coordination / experimentation satellites |
| 137 | |
| 138 | - `aien-dev/spark-hive` (archived, read-only) |
| 139 | - `aien-dev/spark-supervisor` (archived, read-only) |
| 140 | - `aien-dev/spark-dream` (archived, read-only) |
| 141 | - `aien-dev/spark-debugger` (archived, read-only) |
| 142 | - `aien-dev/spark-inquisitor` (archived, read-only) |
| 143 | - `aien-dev/spark-adapters` (archived, read-only) |
| 144 | - `aien-dev/harvester` (archived, read-only) |
| 145 | - `aien-spark/open-humanity` |
| 146 | - `aien-spark/crumb-spec` (archived, read-only) |
| 147 | - `aien-spark/spark-crumbs` (archived, read-only) |
| 148 | |
| 149 | These should link to this repo for system-wide architecture while retaining component-specific documentation locally. |
| 150 | |
| 151 | ## Open Humanity |
| 152 | |
| 153 | ### `aien-spark/open-humanity` |
| 154 | https://github.com/aien-spark/open-humanity |
| 155 | |
| 156 | Its Sovereign Manifesto establishes local-first, compiled-core, privacy, vault, durable-memory, and peer-cooperation principles that influence AIEN architecture. |
| 157 | |
| 158 | ## Source-of-truth policy |
| 159 | |
| 160 | Architecture docs should never silently replace code inspection. A documentation update that claims a feature is complete should include: |
| 161 | |
| 162 | - repository, |
| 163 | - branch/commit or PR, |
| 164 | - relevant implementation path, |
| 165 | - test or provenance evidence. |