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 / docs / CANONICAL_TOPOLOGY.md

42 lines · 2213 bytes Raw Blame History Rendered
1# Canonical Topology: Source of Truth and Composition Root
2
3## Source of truth
4
5`aien-sovereign-core` is the canonical source for every crate it contains:
6runtime, scheduler, KV cache, inference ABI, Cortex, protocols, worlds, CLI.
7
8Satellite repositories (`cortex-rs`, `spark-hive`, `spark-supervisor`,
9`spark-dream`, `spark-debugger`, `spark-adapters`, `spark-crumbs`,
10`spark-inquisitor`, `aien-harness`, `rad-id-sync`) are archived, read-only
11snapshots on GitHub as of 2026-09-23. Each one's final commit ("docs: archival
12pointer to canonical home") points back at its crate in this repository.
13They are not parallel implementations and nothing mirrors into them; a
14satellite that disagrees with the monorepo is stale by definition. The
15monorepo wins.
16
17`scripts/sync-standalone-repos.sh --check --all` is the drift check for anyone
18who still holds the local `<name>-publish` checkouts: it diffs each crate's
19`src/`, `tests/`, `schemas/` and `[package]` manifest fields against the
20monorepo and exits non-zero on any difference. `AIEN_MIRROR_WORKSPACE` points
21it at the directory holding those checkouts. The sync mode of the same script
22is the mirror pipeline should the satellites ever be unarchived (that is a
23GitHub-side decision for the project owner, together with relicensing them to
24the workspace licence); until then there is no satellite automation to run.
25
26## Canonical process model
27
28Exactly one long lived composition root owns inference plus scheduler plus KV
29plus Cortex plus AEGIS plus worlds plus the action executor plus operator
30control: the `aien` daemon (`aien start`, `run_daemon_server`).
31
32`aien-local-stack` composes the same pieces for integration proofs. It must
33not grow a second, divergent process model. If it needs to serve traffic, it
34does so by launching the canonical daemon path, not a parallel one.
35
36## Checkout rules
37
38No crate may assume a sibling checkout layout (`../sibling-repository`). All
39cross crate references resolve through the workspace or published versions.
40No absolute developer home paths in loaders, manifests, or tests. Model
41locations resolve through `AIEN_MODEL_DIR`, `./models`, or `~/models`, in
42that order, and every fallback is reported, never silent.