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 / 11-gap-analysis.md
| 1 | # Gap Analysis |
| 2 | |
| 3 | **Status (2026-10-16, aien-spark/aien-architecture#198 D5).** This list was written on 2026-09-22 and last reconciled on 2026-09-30. It is the long-range architecture gap list, not current release status. The current, evidence-tied assessment against the whole-system acceptance test is `docs/plans/release-readiness/GAP_ASSESSMENT.md` (2026-10-10); current per-area status is in `docs/02-implementation-status.md`. |
| 4 | |
| 5 | ## Strong today |
| 6 | |
| 7 | - native Rust runtime composition, |
| 8 | - scheduler, |
| 9 | - branchable inference state, |
| 10 | - KV prefix sharing, |
| 11 | - streaming, |
| 12 | - Cortex evidence/memory, |
| 13 | - AEGIS enforcement primitives, |
| 14 | - signed evaluation receipts, |
| 15 | - RSI judge/canary/rollback, |
| 16 | - Rust MCP proofs, |
| 17 | - benchmark discipline. |
| 18 | |
| 19 | ## Fragmented |
| 20 | |
| 21 | - MCP ownership, |
| 22 | - tools vs skills, |
| 23 | - secret policy, |
| 24 | - effect gating, |
| 25 | - signed runtime provenance, |
| 26 | - model loading/packing, |
| 27 | - accelerator abstraction, |
| 28 | - operator composition. |
| 29 | |
| 30 | ## Missing as first-class subsystems |
| 31 | |
| 32 | 1. Capability Graph (2026-09-30: authority root exists as aienos `native/capability/aienos_capability.c`, hosted only; the runtime graph is still missing, see `02-implementation-status.md`) |
| 33 | 2. Skill Router |
| 34 | 3. canonical `aien-mcp` |
| 35 | 4. production `VaultOnly` |
| 36 | 5. Effect Broker |
| 37 | 6. signed World Commit |
| 38 | 7. Model Capsule |
| 39 | 8. portable accelerator contract |
| 40 | 9. AIEN Fabric |
| 41 | 10. Machine identity/placement |
| 42 | 11. J-Space (2026-09-30: host reference omega `src/runtime/rx_jspace.{c,h}` exists in one test target; not on the production path, see `02-implementation-status.md`) |
| 43 | 12. distributed branch execution |
| 44 | 13. content-addressed model distribution |
| 45 | 14. Relational Path Engine |
| 46 | 15. one observability vocabulary |
| 47 | |
| 48 | ## Market opportunity |
| 49 | |
| 50 | The compelling combination is not any one item. It is: |
| 51 | |
| 52 | ```text |
| 53 | heterogeneous local Fabric |
| 54 | + branch-native state |
| 55 | + J-Space |
| 56 | + capability routing |
| 57 | + secure MCP/tool compatibility |
| 58 | + transactional effects |
| 59 | + signed provenance |
| 60 | + durable memory |
| 61 | + gated self-improvement |
| 62 | ``` |
| 63 | |
| 64 | Existing projects solve pieces of this. AIEN should own the integration semantics. |