interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

GitHub aien-dev/aien-architecture-mv#228 (code only)

closed derived 02366f91cd2218d1 #228

Imported from GitHub aien-dev/aien-architecture-mv#228 (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 765ecbda42b24bda86c17f39313f904f1ff993a3 · Head baa46f04fed80ed918530d562b7e4362c3b0b544

Apply it

git checkout -b patch-02366f91cd2218d1 765ecbda42b24bda86c17f39313f904f1ff993a3
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/02366f91cd2218d1.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-architecture-mv
228
baa46f04fed80ed918530d562b7e4362c3b0b544
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":228,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/228","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:58Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 489ee4f..a461876 100644
--- a/.crumb
+++ b/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "06aa51801706b3b203e2b8582cd3acbc96dc52c5ac19d19e5e260da80459303a",
-          "last_commit": "8ee13a5",
+          "digest": "ebee15262172a6cf8b94918dc375c0f5d411ab33ad23fca5b2dc8925cfd812d1",
+          "last_commit": "4de457b",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
@@ -45,15 +45,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:c1628c9e93d5c1a6e59379a28297fc474701895f2aea297951b1eb016e666558",
-      "compiled_at": "2026-10-16T01:01:52Z",
+      "children_root": "sha256:bb3e1f4310ab3fc947ee5a4943f2cd271e3a745c0191e939c3c33419a870eb67",
+      "compiled_at": "2026-10-16T07:40:02Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:f348d438e204592eaba30e2c39b7151e98a31f85a2816a3933899b0add0a7e2c",
+      "digest": "sha256:34300f9a4e26a2906a6cf5f591350b9b775cb6d6bf37dad05453ea64cd6daba0",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 309,
-      "generated_at_commit": "a98a8100d5a5da235e8283c4992ae0be5693e87e",
-      "source_tree": "sha256:21369853ff3a0a68fd56ace7ac8e185ab4aa5d609c0fc770475af78bb04717f5"
+      "generated_at_commit": "4de457b65fe64a43deeb19ae495243ae63a44409",
+      "source_tree": "sha256:713fd9b0543a6834899f08ab18e7273b0a540d42fefbbd0f3048b3a32e4f4dde"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/.crumb b/docs/.crumb
index 673f932..33a92f9 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -61,8 +61,8 @@
           "purpose": "Directory docs/errata. Purpose not yet described by a human."
         },
         {
-          "digest": "45204fc636e02f928c92229eb34fd918d3e45e84bf43e5ab367ad28e8b5c3e8f",
-          "last_commit": "b5cac8c",
+          "digest": "e0520531574f3936bfe2031fdae0eb5c3ea63c696d5277e87a84128555055215",
+          "last_commit": "4de457b",
           "name": "plans",
           "purpose": "Directory docs/plans. Purpose not yet described by a human."
         },
@@ -79,15 +79,15 @@
           "purpose": "Directory docs/specs. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:88ce37084e5e7aec35d53c7e39eb824fe58121ac2bef72b9ce25300e3b93f526",
-      "compiled_at": "2026-10-16T01:01:52Z",
+      "children_root": "sha256:0babf7ad7fcdb434dfa5b0533a1dad4770b0d12f8da6a0eb4a4d1c10f45dc58e",
+      "compiled_at": "2026-10-16T07:40:02Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:06aa51801706b3b203e2b8582cd3acbc96dc52c5ac19d19e5e260da80459303a",
+      "digest": "sha256:ebee15262172a6cf8b94918dc375c0f5d411ab33ad23fca5b2dc8925cfd812d1",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 173,
-      "generated_at_commit": "a98a8100d5a5da235e8283c4992ae0be5693e87e",
-      "source_tree": "sha256:691dc87f9bd4eac96dd1009595e75e8dba3aad09b3a604f56f1233a4a255617f"
+      "generated_at_commit": "4de457b65fe64a43deeb19ae495243ae63a44409",
+      "source_tree": "sha256:78344812c0a65be9b2824e989b39430569be6fb0fcb2a84b9e4db3ba77f3fd35"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/02-implementation-status.md b/docs/02-implementation-status.md
index 2bceb33..c0ee43d 100644
--- a/docs/02-implementation-status.md
+++ b/docs/02-implementation-status.md
@@ -3,6 +3,8 @@
 **Snapshot date:** 2026-09-23. Cortex and Fabric rows updated 2026-10-01 (Lane 33).  
 This is a review snapshot, not a permanent truth source.
 
+**Read this first (2026-10-16, aien-spark/aien-architecture#198 D5).** Rows below were last checked between 2026-09-23 and 2026-10-01. Code moved after that (ALLEN demo, NEXT-PHASE-2, approval desk required by default, OSH, AIENOS native GB10 bring-up, removal of Modular MAX and Mojo on 2026-10-15). For current state per acceptance step read `docs/plans/release-readiness/GAP_ASSESSMENT.md` (mains read 2026-10-10, every claim tied to a commit, PR or receipt); where it and this table differ, the gap assessment wins. Rows touched on 2026-10-16 say so.
+
 **Cross-repo update, 2026-09-30.** The J-Space, Cortex and Capability Graph rows below were re-checked against `main` of `aien-spark/omega` (`6d1ff1d`), `aien-spark/aienos` (`f0facc7`), `aien-spark/physics` (`f63a6ef`) and `aien-sovereign-core` (`0df7c32`). The other rows keep their 2026-09-23 basis. "Host reference" below means C code that builds and runs on Linux inside a named test target and is not on the production runtime path. Which implementation owns each concept is recorded in `doctrine/ARCHITECTURE.md` §2.8.
 
 Reviewed `aien-sovereign-core` `main` at `8d5f837` (merge of #98). That history includes #99 at `9cec202` (runtime change `7af0715`: CPU bf16 KV decode, a real child fork with shared KV page checks, Cortex record for an allowed mail effect), #100 (architecture roadmap), #101 (`aien-capability` and `aien-mcp`), and #102 (experimental PEARL harness). AEGIS `main` includes #32 at `6272261` (closed local-shell catalog, unadvertised unavailable tools, production secret resolution fails closed unless `AIEN_DEV_SECRET_FALLBACK` is set). RSI measured-canary promotion is `spark-rsi` #27.
@@ -18,7 +20,7 @@ Legend:
 | In-process runtime spine | ✅ | scheduler, transformer, KV, streaming, branching composed |
 | Physical prefix sharing / COW | ✅ | branch tests exist, including shared-page verification after a real child fork (#99) |
 | World drafts / staged effects | ✅ | core data structures exist |
-| Cortex entities/claims/evidence | ✅ | durable schema exists in sovereign-core `crates/cortex-rs` (the live Linux LLM-stack Cortex). 2026-09-30: two more Cortex implementations exist and no authoritative owner is recorded: omega `src/runtime/rx_cortex.{c,h}` (host reference, append-only, one in-memory tier, L1/L2/L3 tiers not implemented, built at the re-check only in the state-projection test, since omega#114 also in `test-cortex`, evidence `evidence/STATE_PROJECTION`) and aienos `crates/aienos-cortex` (Rust epistemic store). See `doctrine/ARCHITECTURE.md` §2.8. Update 2026-09-30: omega `rx_cortex` now has an append-only journal with verified replay, a single writer, typed recall, and World execution recording via `rx_cortex_record` (`aien-spark/omega#114`, `43dcb04`; `test-cortex` in rx-host CI). The PR declares it canonical; the §2.8 owner record is unchanged until an accepted ADR or R16 gate result. 2026-10-01: ADR 0022 (`aien-spark/aien-architecture#75`, `6c06e50`) records omega `rx_cortex` as the canonical Cortex owner (`doctrine/ARCHITECTURE.md` §2.8); `cortex-rs` and `aienos-cortex` are non-authoritative |
+| Cortex entities/claims/evidence | ✅ | durable schema exists in sovereign-core `crates/cortex-rs` (the live Linux LLM-stack Cortex). 2026-09-30: two more Cortex implementations exist and no authoritative owner is recorded: omega `src/runtime/rx_cortex.{c,h}` (host reference, append-only, one in-memory tier, L1/L2/L3 tiers not implemented, built at the re-check only in the state-projection test, since omega#114 also in `test-cortex`, evidence `evidence/STATE_PROJECTION`) and aienos `crates/aienos-cortex` (Rust epistemic store). See `doctrine/ARCHITECTURE.md` §2.8. Update 2026-09-30: omega `rx_cortex` now has an append-only journal with verified replay, a single writer, typed recall, and World execution recording via `rx_cortex_record` (`aien-spark/omega#114`, `43dcb04`; `test-cortex` in rx-host CI). The PR declares it canonical; the §2.8 owner record is unchanged until an accepted ADR or R16 gate result. 2026-10-01: ADR 0022 (`aien-spark/aien-architecture#75`, `6c06e50`) records omega `rx_cortex` as the canonical Cortex owner (`doctrine/ARCHITECTURE.md` §2.8); `cortex-rs` and `aienos-cortex` are non-authoritative. 2026-10-16: ADR 0036 (accepted 2026-10-10) names `aien-allen-memory` with an engaged ALLEN identity as the memory the v1 release tests (step E4); ADR 0022 is unchanged |
 | Signed evaluation receipts | ✅ | protocol layer includes signers and Merkle roots |
 | RSI canary/rollback | ✅ | implemented in RSI path; production quota counts measured observations only (#27) |
 | AEGIS pre-dispatch checks | ✅ | present |
@@ -26,8 +28,8 @@ Legend:
 | Canonical MCP broker | 🟡 | `aien-mcp` and `aien-capability` are workspace crates (#101): in-memory wire, speculative lane, effect lane, sealed `AuthorizedEffect`. rmcp transport and a single live broker are not there yet. `spark-debugger` and `spark-harness` remain separate servers |
 | Vault-first resolution | 🟡 | AEGIS fails closed unless `AIEN_DEV_SECRET_FALLBACK` is explicitly on (#32). That rule is not yet every resolver |
 | Tool/Skill semantic split | 🟡 | `SkillRegistry` still owns atomic handlers such as `bash_eval` and `read_file`. `cortex_recall` and `telemetry_ping` stay callable, are not advertised, and return unavailable. Local shell is a closed catalog of whole command forms |
-| Long-context production native model path | 🟡 | evolving; verify branch/commit before claiming |
-| Effect Broker | 🟡 | mail can check policy and record an allow in Cortex. There is still no single broker that every irreversible effect must pass through |
+| Long-context production native model path | 🟡 | evolving; verify branch/commit before claiming. 2026-10-16: real model inference runs on the GB10 through the native Omega engine (no CUDA), ALLEN demo `RESULT-v4-gb10.md` 10/10 in aien-sovereign-core; long-context production is not claimed |
+| Effect Broker | 🟡 | mail can check policy and record an allow in Cortex. There is still no single broker that every irreversible effect must pass through. 2026-10-16: the compose path requires the approval desk by default and refuses startup without a desk key (aien-sovereign-core#342); single-use grants with reserve, commit and release (`crates/aien-mcp/src/approval.rs`); grants live in memory only and a restart forgets them |
 | Signed World commits | 🟡 | provenance primitives exist; World commit is not yet universal signed envelope |
 | Portable accelerator ABI | 🟡 | multiple backends exist; core still contains hardware-specific history |
 | Capability Graph | 🟡 | `ToolDescriptor`, `ToolEffects`, and `CapabilitySnapshot` exist in `aien-capability` / `aien-mcp` (#101). This is not yet the runtime graph of providers, machines, credentials, and policy. RSI's `CapabilityGraph` is a different type. 2026-09-30: the capability authority root is aienos `native/capability/aienos_capability.c` (C, built hosted as `libaienos_capability.a` and linked into omega test targets through `AIENOS_CAP_LIB`; it does not yet run inside a natively booted AIENOS kernel). omega `src/runtime/rx_capq.{c,h}` is a capability query IR only (the build refuses admin symbols); omega `src/runtime/rx_caproot.c` is a host reference root that does not claim R7. aienos `crates/aienos-capability` is the legacy Rust twin, still a dependency of `crates/aienos-kernel`. The canonical runtime Capability Graph (CEP F1) is missing. Update 2026-09-30: a host-level F1 graph now exists (credentials/references not yet modelled): `rx_capq` promoted to the canonical Capability Graph (`aien-spark/omega#115`, `135d1c2`; stable keys, availability/withdraw, 188-byte wire record, machines keyed by `AienMachineId`), tested in `test-capability-graph` (rx-host CI), not in the R13 living-system build |
diff --git a/docs/11-gap-analysis.md b/docs/11-gap-analysis.md
index ff9a3eb..f4d1c2d 100644
--- a/docs/11-gap-analysis.md
+++ b/docs/11-gap-analysis.md
@@ -1,5 +1,7 @@
 # Gap Analysis
 
+**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`.
+
 ## Strong today
 
 - native Rust runtime composition,
diff --git a/docs/plans/.crumb b/docs/plans/.crumb
index 0e19beb..c0a8346 100644
--- a/docs/plans/.crumb
+++ b/docs/plans/.crumb
@@ -95,8 +95,8 @@
           "purpose": "Directory docs/plans/physics-zero. Purpose not yet described by a human."
         },
         {
-          "digest": "f852aec66468d7e7aad002315a225509c747dea23c115bb0a57739dc1ba4d21c",
-          "last_commit": "1c7141b",
+          "digest": "eac6d699107818822ec7c9acf8cb107ab8221f77783041db7c49a3c46e3a5d67",
+          "last_commit": "4de457b",
           "name": "release-readiness",
           "purpose": "Release-readiness finite workstream (aien-architecture#190): gap assessment, integration plan an"
         },
@@ -107,15 +107,15 @@
           "purpose": "VAC (Verifiable Autonomous Computing) finite workstream plan. NOT A MASTER PLAN."
         }
       ],
-      "children_root": "sha256:8f39522faec79fb22ea564b7454e5b5f5ac9521061165182f302884285c7eb6c",
-      "compiled_at": "2026-10-14T21:16:28Z",
+      "children_root": "sha256:094a3d682cf25c8519eafc56a03e9a24d37d55f0e19f643c855047f2a49026ce",
+      "compiled_at": "2026-10-16T07:40:02Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:45204fc636e02f928c92229eb34fd918d3e45e84bf43e5ab367ad28e8b5c3e8f",
+      "digest": "sha256:e0520531574f3936bfe2031fdae0eb5c3ea63c696d5277e87a84128555055215",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 69,
-      "generated_at_commit": "1c7141b29f8416e7b6a0c8cf34e32a38398952df",
-      "source_tree": "sha256:fcd899fbf819b41a85c62dcea402c11968d227aa7ad2b67f0cff66f1fdbafdf7"
+      "generated_at_commit": "4de457b65fe64a43deeb19ae495243ae63a44409",
+      "source_tree": "sha256:825d93be5161b35706fb5941509e5d1014a769ab896392b615db4efb1bf4da77"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/release-readiness/.crumb b/docs/plans/release-readiness/.crumb
index 59fa184..994c3f7 100644
--- a/docs/plans/release-readiness/.crumb
+++ b/docs/plans/release-readiness/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-14T21:16:28Z",
+      "compiled_at": "2026-10-16T07:40:02Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:f852aec66468d7e7aad002315a225509c747dea23c115bb0a57739dc1ba4d21c",
+      "digest": "sha256:eac6d699107818822ec7c9acf8cb107ab8221f77783041db7c49a3c46e3a5d67",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 3,
-      "generated_at_commit": "1c7141b29f8416e7b6a0c8cf34e32a38398952df",
-      "source_tree": "sha256:c1eabb9c53a06340cd1e4ab70b6ad57a560e6ba208109597ca3fbedca4afdf08"
+      "generated_at_commit": "4de457b65fe64a43deeb19ae495243ae63a44409",
+      "source_tree": "sha256:787d8b9aa98c40a11b2a21d211d2a8bc29e1f10ae3c8b418eb377c59c67f5e4d"
     }
   },
   "name": "release-readiness",
diff --git a/docs/plans/release-readiness/GAP_ASSESSMENT.md b/docs/plans/release-readiness/GAP_ASSESSMENT.md
index dba4c35..aa7f6d6 100644
--- a/docs/plans/release-readiness/GAP_ASSESSMENT.md
+++ b/docs/plans/release-readiness/GAP_ASSESSMENT.md
@@ -108,6 +108,8 @@ WHOLE-SYSTEM-E2E, as posted on aien-architecture#190: one installation, one run,
 | D9 | `DEMO-v1.md` requires a restart step | the restart receipts exist only from v3 onward (S5), and are graceful stops | aien-sovereign-core `docs/campaigns/allen-e2e/` |
 | D10 | interplane README: "no model, no GPU, no network" offline example | the example is `python3 examples/offline/run_offline.py`; the org rule is no Python | interplane `README.md` |
 
+Correction (2026-10-16, #198): the D9 row overstates the gap. In aien-sovereign-core `docs/campaigns/allen-e2e/`, S5 in v1 and v3 is a `kill -9` restart (exit 137, `receipts-v1.jsonl`, `receipts-v3.jsonl`, both PASS; v2 S5 is NOT_RUN). Only the v4-gb10 S5 is a graceful stop, by the chip safety rule, and `DEMO-v4-gb10.md` already says so and points to the CPU legs for `kill -9` evidence. No demo document needs a change for D9.
+
 ## 5. The gap list, ranked by what blocks the acceptance test
 
 1. **No single run chains the six steps.** The pieces exist on the Linux host for E2 to E6 in separate campaigns (ALLEN demo, NEXT-PHASE-2, golden path). The first integration lane is a harness that runs them as one objective with one receipt chain, and the acceptance contract (R3) that fixes receipt and verdict shapes.