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 / 00-system-map.md
| 1 | # System Map |
| 2 | |
| 3 | AIEN is intended to operate as one logical system across multiple independent Machines. |
| 4 | |
| 5 | ```mermaid |
| 6 | flowchart TB |
| 7 | subgraph Intelligence |
| 8 | INF[Inference] |
| 9 | JS[J-Space] |
| 10 | SR[Skill Router] |
| 11 | end |
| 12 | |
| 13 | subgraph State |
| 14 | W[World] |
| 15 | CX[Cortex] |
| 16 | KV[Sequence / KV] |
| 17 | end |
| 18 | |
| 19 | subgraph Action |
| 20 | CG[Capability Graph] |
| 21 | MCP[MCP] |
| 22 | A[AEGIS] |
| 23 | EB[Effect Broker] |
| 24 | end |
| 25 | |
| 26 | subgraph Compute |
| 27 | F[Fabric] |
| 28 | M1[Machine 1] |
| 29 | M2[Machine 2] |
| 30 | M3[Machine 3] |
| 31 | MN[Machine N] |
| 32 | end |
| 33 | |
| 34 | subgraph Improvement |
| 35 | RSI[RSI] |
| 36 | H[Harness] |
| 37 | I[Inquisitor] |
| 38 | B[Benchmarks] |
| 39 | end |
| 40 | |
| 41 | INF <--> KV |
| 42 | JS --> W |
| 43 | JS --> SR |
| 44 | SR --> CG |
| 45 | CG --> MCP |
| 46 | CG --> F |
| 47 | F --> M1 |
| 48 | F --> M2 |
| 49 | F --> M3 |
| 50 | F --> MN |
| 51 | CG --> A |
| 52 | A --> EB |
| 53 | EB --> W |
| 54 | W --> CX |
| 55 | CX --> INF |
| 56 | RSI --> H |
| 57 | RSI --> I |
| 58 | RSI --> B |
| 59 | ``` |
| 60 | |
| 61 | ## Responsibility table |
| 62 | |
| 63 | | Concept | Owns | Must not own | |
| 64 | |---|---|---| |
| 65 | | Runtime | composition and execution loop | long-term knowledge | |
| 66 | | Sequence/KV | inference lineage and KV ownership | external effects | |
| 67 | | World | branchable transactional execution state | semantic memory | |
| 68 | | Cortex | durable knowledge/evidence/memory | live scheduler state | |
| 69 | | J-Space | alternatives, evaluation, selection | irreversible execution | |
| 70 | | Skill | reusable procedure/objective | authorization | |
| 71 | | Tool | atomic operation | global planning | |
| 72 | | Capability Graph | what exists and what it requires | execution authority | |
| 73 | | Fabric | where work runs | semantic tool choice | |
| 74 | | AEGIS | whether an action is permitted | transport | |
| 75 | | Effect Broker | irreversible execution | planning | |
| 76 | | MCP | protocol compatibility | core semantics | |
| 77 | | Provenance | evidence of what occurred | policy decisions | |
| 78 | | RSI | out-of-band optimization | direct hot-path mutation | |
| 79 | |
| 80 | This table defines responsibilities. Which code currently implements each one, and which alternates are legacy, reference oracle, maintenance or recovery, is recorded in `doctrine/ARCHITECTURE.md` ยง2.8 (Concept ownership). |
| 81 | |
| 82 | ## Core invariant |
| 83 | |
| 84 | The system can speculate freely inside reversible state. External reality changes only after selection, authorization, and effect execution. |