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/patches/199890a5e24cb920 # 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 ## GitHub aien-dev/aien-sovereign-core-mv#95 (code only) closed derived `199890a5e24cb920` #95 Imported from GitHub aien-dev/aien-sovereign-core-mv#95 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `8bd9b21c1a376def37a0e69bbae411d8ce2aa870` · Head `862ef95cb6696766a8599683b4781324c551490f` ### Apply it ``` git checkout -b patch-199890a5e24cb920 8bd9b21c1a376def37a0e69bbae411d8ce2aa870 curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/199890a5e24cb920.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aien-sovereign-core-mv 95 862ef95cb6696766a8599683b4781324c551490f ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":95,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/95","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:16Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/docs/CANONICAL_TOPOLOGY.md b/docs/CANONICAL_TOPOLOGY.md new file mode 100644 index 00000000..44d84e32 --- /dev/null +++ b/docs/CANONICAL_TOPOLOGY.md @@ -0,0 +1,33 @@ +# Canonical Topology: Source of Truth and Composition Root + +## Source of truth + +`aien-sovereign-core` is the canonical source for every crate it contains: +runtime, scheduler, KV cache, inference ABI, Cortex, protocols, worlds, CLI. + +Satellite repositories (`cortex-rs`, `spark-hive`, `spark-supervisor`, +`spark-debugger`, `spark-adapters`, `spark-crumbs`, `spark-inquisitor`, +`rad-id-sync`) are published mirrors, not parallel implementations. Changes +land in the monorepo first, then mirror out by automation. Manual +synchronization between the monorepo and a satellite is a bug, not a workflow. + +Until the mirror pipeline exists, any satellite that disagrees with the +monorepo is stale by definition. The monorepo wins. + +## Canonical process model + +Exactly one long lived composition root owns inference plus scheduler plus KV +plus Cortex plus AEGIS plus worlds plus the action executor plus operator +control: the `aien` daemon (`aien start`, `run_daemon_server`). + +`aien-local-stack` composes the same pieces for integration proofs. It must +not grow a second, divergent process model. If it needs to serve traffic, it +does so by launching the canonical daemon path, not a parallel one. + +## Checkout rules + +No crate may assume a sibling checkout layout (`../sibling-repository`). All +cross crate references resolve through the workspace or published versions. +No absolute developer home paths in loaders, manifests, or tests. Model +locations resolve through `AIEN_MODEL_DIR`, `./models`, or `~/models`, in +that order, and every fallback is reported, never silent. diff --git a/docs/NATIVE_GOLDEN_PATH.md b/docs/NATIVE_GOLDEN_PATH.md new file mode 100644 index 00000000..087bd1d4 --- /dev/null +++ b/docs/NATIVE_GOLDEN_PATH.md @@ -0,0 +1,35 @@ +# AIEN 0.1 Native Golden Path: Release Gate + +The 0.1 release is a single whole system acceptance test. It passes +reproducibly from a clean checkout, or 0.1 does not ship. + +## Acceptance sequence + +1. Boot from a clean checkout with one command. The daemon starts the native + transformer backend, never the mock. +2. Load a real model on GB10. Blackwell path when hardware is present, + explicit CPU fallback otherwise. The active path is printed, never silent. +3. Accept an operator prompt and retrieve Cortex memory for it. +4. Branch several agents with physical KV sharing (zero copy fork). +5. Stream tokens end to end through scheduler, KV, and backend. +6. Invoke one policy approved tool. It executes and records provenance. +7. Attempt one policy denied tool. It is blocked before any effect, with a + reason returned to the operator. +8. Commit a World effect with provenance. The content hash is SHA-256 over + canonical bytes. +9. Restart the process. Operator idempotency holds: replayed operation IDs + are rejected, not re executed. +10. Shut down with zero leaked KV blocks and zero retained branch worlds. + +## Current blockers + +- PR 68 rebase: end to end completion primitives (`run_until_complete`, + completion sinks, streamed routing). One file conflicts. +- PR 30 review: AEGIS pre-dispatch membrane wired for skills and shell. + Mail, Git publishing, and network effects still need the same gate. +- PR 25 review: RSI envelope wired into promotion. Needs rebase and CI green. +- PR 74 split: cockpit rewrite must land as small scoped PRs, not one giant. +- PR 84 gate: mail send must sit behind the action policy boundary before it + ships as agent capability. +- Packaging: one checkout, one command distribution. No sibling layout + assumptions, no developer paths. ```