Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/docs/CANONICAL_TOPOLOGY.md # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers 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: 6 runtime, scheduler, KV cache, inference ABI, Cortex, protocols, worlds, CLI. 7 8 Satellite 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 11 snapshots on GitHub as of 2026-09-23. Each one's final commit ("docs: archival 12 pointer to canonical home") points back at its crate in this repository. 13 They are not parallel implementations and nothing mirrors into them; a 14 satellite that disagrees with the monorepo is stale by definition. The 15 monorepo wins. 16 17 `scripts/sync-standalone-repos.sh --check --all` is the drift check for anyone 18 who still holds the local `-publish` checkouts: it diffs each crate's 19 `src/`, `tests/`, `schemas/` and `[package]` manifest fields against the 20 monorepo and exits non-zero on any difference. `AIEN_MIRROR_WORKSPACE` points 21 it at the directory holding those checkouts. The sync mode of the same script 22 is the mirror pipeline should the satellites ever be unarchived (that is a 23 GitHub-side decision for the project owner, together with relicensing them to 24 the workspace licence); until then there is no satellite automation to run. 25 26 ## Canonical process model 27 28 Exactly one long lived composition root owns inference plus scheduler plus KV 29 plus Cortex plus AEGIS plus worlds plus the action executor plus operator 30 control: the `aien` daemon (`aien start`, `run_daemon_server`). 31 32 `aien-local-stack` composes the same pieces for integration proofs. It must 33 not grow a second, divergent process model. If it needs to serve traffic, it 34 does so by launching the canonical daemon path, not a parallel one. 35 36 ## Checkout rules 37 38 No crate may assume a sibling checkout layout (`../sibling-repository`). All 39 cross crate references resolve through the workspace or published versions. 40 No absolute developer home paths in loaders, manifests, or tests. Model 41 locations resolve through `AIEN_MODEL_DIR`, `./models`, or `~/models`, in 42 that order, and every fallback is reported, never silent.