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#192 (code only)

closed derived 1585e005e20a2f1b #192

Imported from GitHub aien-dev/aien-architecture-mv#192 (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 a4c13d3e946c1fa6654f4b7c41f7d7ed9ce9db5a · Head 73453e88cef6eeb8a5cdfcc8dfc5d5cd057a2cf5

Apply it

git checkout -b patch-1585e005e20a2f1b a4c13d3e946c1fa6654f4b7c41f7d7ed9ce9db5a
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/1585e005e20a2f1b.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
192
73453e88cef6eeb8a5cdfcc8dfc5d5cd057a2cf5
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":192,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/192","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:54Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 635f0b2..e24ed3d 100644
--- a/.crumb
+++ b/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "2208badab2495ac96ab5c6911f41795531d891c61f8e3a3781b3a0337af015b5",
-          "last_commit": "c0416ed",
+          "digest": "4fe8af36bb6bbe331b9dceeccfebabaa80fa6dff6bee6f414e945a9c0b2cf345",
+          "last_commit": "174a642",
           "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:55c53d1364bedd6569b022fac8678837ec8d603ff7bc1a2f821a3d30cc299d11",
-      "compiled_at": "2026-10-10T13:03:32Z",
+      "children_root": "sha256:bf18e627ab13eba39686f94848c42cd3b15f35b0ddfd814b7eaa892b2e426622",
+      "compiled_at": "2026-10-10T13:07:00Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:1c0b48744738083defa9ba13f06c66a47fc49be076440ba456d534899cf3edb9",
+      "digest": "sha256:f9953905173249eaf5b7fa2599bbb1203f29fe97605d98caf71e4cca0bb82afa",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 251,
-      "generated_at_commit": "c0416ed3f16bbaf29c42e955a27c5d4ac16a8af6",
-      "source_tree": "sha256:9860ff7dcfac4d1390edb2a83e0d2d561a5363e63ae4a2afaf8473202a69c2d4"
+      "files": 252,
+      "generated_at_commit": "174a6425064c59cf2ef21cdb6ef5e746bcf6f2bc",
+      "source_tree": "sha256:faf2650a46ff16b3f8439974cdd34aac6eb7a20682b5129cdd59870cd5eb8fca"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/.crumb b/docs/.crumb
index 9be34a3..5f326dd 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -55,8 +55,8 @@
           "purpose": "Directory docs/errata. Purpose not yet described by a human."
         },
         {
-          "digest": "590ce64a4dc838d03e2f8706119f57b5e06f6350550b3e82d3e8665e746e2fd9",
-          "last_commit": "c0416ed",
+          "digest": "69c563a568c6070bdd9aaee98a39bf30571caf85159155946e30ba0596b3b1f7",
+          "last_commit": "174a642",
           "name": "plans",
           "purpose": "Directory docs/plans. Purpose not yet described by a human."
         },
@@ -73,15 +73,15 @@
           "purpose": "Directory docs/specs. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:8c4c72cb2c4b49672b6dd794c6045b33ea696f0d8844c5ffd3a090e0fca70ac2",
-      "compiled_at": "2026-10-10T13:03:32Z",
+      "children_root": "sha256:22d8c33a49034a1b010931c4beafde5d29ff3006bd64ae0c35f6aa22304199bb",
+      "compiled_at": "2026-10-10T13:07:00Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:2208badab2495ac96ab5c6911f41795531d891c61f8e3a3781b3a0337af015b5",
+      "digest": "sha256:4fe8af36bb6bbe331b9dceeccfebabaa80fa6dff6bee6f414e945a9c0b2cf345",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 143,
-      "generated_at_commit": "c0416ed3f16bbaf29c42e955a27c5d4ac16a8af6",
-      "source_tree": "sha256:c84e79c6665603fc440b53711d51dc249dec4a15b2ad1bb0b1f2aed9357fd7c6"
+      "files": 144,
+      "generated_at_commit": "174a6425064c59cf2ef21cdb6ef5e746bcf6f2bc",
+      "source_tree": "sha256:d2cb3dd5525aaf90a892dac35ee2b7bb71ee0e3539abbacc355d94e0fc8fe5d7"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/.crumb b/docs/plans/.crumb
index d3b4285..2318f4f 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": "5db8ed8317fa3b4706b0ffd6931cd122c1afb0a7048519689877135e20f76999",
-          "last_commit": "c0416ed",
+          "digest": "2e72445657eb4731b2cbe9430839e8bcb0023be97339d8e1caf0c0cac776d028",
+          "last_commit": "174a642",
           "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:d49730eb15002252fbafcaec294ff0cd585e341334c27a37dd56c32812355e3f",
-      "compiled_at": "2026-10-10T13:03:32Z",
+      "children_root": "sha256:89bd294fa90beb2415a5c5b5d335fa36e6edf68534998c48abfad27de222f979",
+      "compiled_at": "2026-10-10T13:07:00Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:590ce64a4dc838d03e2f8706119f57b5e06f6350550b3e82d3e8665e746e2fd9",
+      "digest": "sha256:69c563a568c6070bdd9aaee98a39bf30571caf85159155946e30ba0596b3b1f7",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 48,
-      "generated_at_commit": "c0416ed3f16bbaf29c42e955a27c5d4ac16a8af6",
-      "source_tree": "sha256:dc833d80cf7d7e25409b157248773ffbdf3692ef53a8c172d1c036ab010f91e1"
+      "files": 49,
+      "generated_at_commit": "174a6425064c59cf2ef21cdb6ef5e746bcf6f2bc",
+      "source_tree": "sha256:67e323f6a3be064c17623cf95185c4686ce660f07bbdacbaaad2c1999482a05c"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/plans/release-readiness/.crumb b/docs/plans/release-readiness/.crumb
index 388b07a..f3b37d7 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-10T13:03:32Z",
+      "compiled_at": "2026-10-10T13:07:00Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:5db8ed8317fa3b4706b0ffd6931cd122c1afb0a7048519689877135e20f76999",
+      "digest": "sha256:2e72445657eb4731b2cbe9430839e8bcb0023be97339d8e1caf0c0cac776d028",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 1,
-      "generated_at_commit": "c0416ed3f16bbaf29c42e955a27c5d4ac16a8af6",
-      "source_tree": "sha256:fbdb449ca83b65a80455c2e9edccacb9e34a98821f4320b9fae58a7ebbcfa978"
+      "files": 2,
+      "generated_at_commit": "174a6425064c59cf2ef21cdb6ef5e746bcf6f2bc",
+      "source_tree": "sha256:c2610c7d7bf9e10601ba648f8ca047cbaba55322b1009eece44048a23099f8e5"
     }
   },
   "name": "release-readiness",
diff --git a/docs/plans/release-readiness/INTEGRATION_PLAN.md b/docs/plans/release-readiness/INTEGRATION_PLAN.md
new file mode 100644
index 0000000..a9550da
--- /dev/null
+++ b/docs/plans/release-readiness/INTEGRATION_PLAN.md
@@ -0,0 +1,89 @@
+# Release readiness, R2: prioritized integration plan
+
+**NOT A MASTER PLAN.** Tracking issue: aien-dev/aien-architecture#190 (R2 deliverable). `CURRENT_EXECUTION_PLAN.md` owns cross-project sequencing; section 8 of this file is the text proposed for it, filed as its own pull request. This plan orders the lanes that close the gaps of `GAP_ASSESSMENT.md` (R1) so that WHOLE-SYSTEM-E2E can run once, end to end, on the Linux host, and then again from an installed signed artifact. Every lane names the acceptance step it unblocks; a lane that unblocks none is not in this plan.
+
+Written 2026-10-10 by the coordinating session (Claude Code 85679b2b). Status words are NOT_RUN until a receipt exists; nothing below is a claim that a step passes.
+
+## 1. Rules the lanes obey
+
+1. **Pre-registered acceptance before code.** Each lane's acceptance rows are frozen in a document (with its commit) before the implementation PR opens, as NEXT-PHASE-2 did (`ACCEPTANCE-v2.md` frozen at `a564c61` before code). A row is PASS only if every repetition passes and its negative control fails as predicted; NOT_RUN is never PASS.
+2. **Receipts chain to the objective.** Every receipt written during a run names the objective identity (lane L0 fixes the shape), so one run yields one chain, not six folders.
+3. **No new store, no new daemon, no new language.** Shell plus `jq` for harnesses, Rust and C for code, no Python, no systemd, no network during a run, no CUDA (the native Omega engine is the GB10 path).
+4. **Host first, native second.** The first PASS of the whole test is on the Linux host (CPU, then GB10). The native AIENOS target follows the NEXT-PHASE-3 order already decided (`CURRENT_EXECUTION_PLAN.md` addendum 2026-10-08 late) and is version 2 of the test, not a blocker for version 1.
+5. **Issue-first.** Each lane has a component issue; milestones are comments on #190; merged PRs and receipts are the only status.
+6. **Drake's calls never block.** Lanes that need a decision carry a default assumption, stated in section 6, and proceed under it until Drake rules otherwise.
+
+## 2. The lanes
+
+| id | lane | unblocks | depends on | repo | done when |
+|---|---|---|---|---|---|
+| L0 | Acceptance contract: `ACCEPTANCE_E2E.md` frozen (objective identity, receipt chain shape, verdict identity, refusal codes, the six negative controls) | all | none | aien-architecture, aien-protocols | contract file with its freeze commit and digest; `aien-protocols` evaluation spec amended from Draft to name the verdict identity (R3) |
+| L1 | One chained harness: `whole_system_e2e.sh` runs E2 to E6 as one objective on the host, reusing the ALLEN demo steps and the NEXT-PHASE-2 fault harness, writing one receipt chain | E2, E3, E4, E6 (chain) | L0 | aien-sovereign-core `scripts/` | harness merged; a dry run on CPU writes a complete chain with every row NOT_RUN or PASS as measured (no PASS claim yet) |
+| L2 | Interrupt and finish: durable objective record, `resume` that completes unspent steps after a SIGKILL, grant broker state that survives restart or is re-issued deterministically after reconcile; SIGKILL rows added to the fault harness | E6 | L0 | aien-sovereign-core `crates/aien-runtime`, `crates/aien-mcp` | SIGKILL mid-objective, restart, same objective finished, no effect twice, receipt chain unbroken, 3 repetitions; negative: restart without durable state gives a named refusal |
+| L3 | Memory owner for E4: ADR amendment naming the store the E4 recall must come from (default assumption: the ALLEN scoped store is a scoped view whose records are journaled into the canonical omega `rx_cortex` journal, ADR 0022 unchanged); `cortex-rs` README corrected (D1) | E4 | none | aien-architecture `docs/adr/`, aien-sovereign-core | ADR merged; recall in the chained run reads from the named store from durable files after an unclean stop |
+| L4 | Independent verifier: a separate binary (extend `aien-campaign-verifier` or a new `aien-verify`) that reads only receipts and outputs, emits a verdict with the L0 identity, carries red controls (corrupted output rejected); built from a clean checkout on the MacBook for the second-machine verdict | E5 | L0, L1 | aien-sovereign-core, run on Spark and MacBook | same verdict identity on both machines for the same chain; red control rejected on both |
+| L5 | Release for current mains: CAND-5 manifest, `release/candidate.toml` updated, release dry run green, `test-install-release.sh` run on a second machine; signed release when the offline key exists | E1 | none (key: Drake) | aien-architecture `qualification/candidates/`, aien-sovereign-core | dry-run release from CAND-5 passes the release gate; installed from the artifact, the chained run (L1) starts |
+| L6 | One operator entry: `aien objective "<text>"` (or the existing `goal <text>` made real) creates the objective record and routes it to compose proposals through the required approval desk; cockpit placeholder approvals wired to the desk or removed | E2 | L0 | aien-sovereign-core `crates/aien-cli`, `crates/aien-runtime`, `crates/spark-cockpit-rs` | free-form objective recorded with its identity before any work; forbidden effect refused before execution; cockpit no longer shows approvals that do not exist |
+| L7 | Documents tell the truth: D1 to D10 of the gap assessment fixed (release notes without MAX, AEGIS README, spark-rsi README and CI name, implementation-status refresh, physics header note, interplane README wording) | none directly; removes false status | none | each repo | every D row closed by a merged PR or by an explicit "kept, because" note |
+| L8 | Stale components: spark-rsi `judge`, `cycle`, `daemon` accept a policy file so v2 receipts are the default; AEGIS and spark-rsi marked "not part of WHOLE-SYSTEM-E2E v1" in their READMEs until Drake rules otherwise (default assumption: out) | E5 (RSI receipts) | none | spark-rsi, aegis-runtime | v2 receipt from the CLI path with a test; README status lines merged |
+| L9 | Native AIENOS: unchanged NEXT-PHASE-3 order (operator input and recovery, boot selection and rollback, storage, trust and identity, native CPU inference, native GB10, GPU inference); the acceptance test's version 2 is written when step 5 closes | all, on the native target | machine window (Drake), TRUST-1 | aienos, physics | not in version 1; reported on #190 only when a step closes |
+
+## 3. Order
+
+```text
+L0 contract (R3)
+  -> L1 harness, L2 interrupt-and-finish, L6 operator entry   (parallel; L3 beside them)
+  -> L4 verifier
+  -> RUN-1: whole test on the host, CPU model                   (R5)
+  -> RUN-2: same on the GB10 (native Omega engine)              (R6)
+  -> second-machine verdict (MacBook)                           (R7)
+  -> L5 release rehearsal, then RUN-3 from the installed artifact (R8; signed only when the key exists)
+L7 docs and L8 stale components run beside everything from day one.
+L9 native follows its own decided order.
+```
+
+Why this order. L0 first because every receipt and every verifier needs the identity shapes; building the harness before the contract would freeze accidental shapes. L1, L2 and L6 are independent code lanes in the same repository and can run in parallel without touching the same files (harness script, runtime resume path, CLI entry). L4 needs real chains to verify. The first run is on CPU because the GB10 needs a quiet window and the CPU path is already PASS in the ALLEN demo; nothing in E2 to E6 depends on the accelerator. The release lane is last among the version-1 lanes because a release of code that cannot yet pass the test proves nothing, but its manifest and dry run can be prepared any time.
+
+## 4. Milestones on #190
+
+| id | milestone | evidence |
+|---|---|---|
+| R3 | L0 contract frozen | `ACCEPTANCE_E2E.md` commit and digest; protocols spec PR merged |
+| R4 | L1 harness merged, first dry run recorded | chain folder with every row's measured status; no PASS claim |
+| R5 | RUN-1 verdict (host, CPU) | verifier verdict identity, chain, negative controls, limits |
+| R6 | RUN-2 verdict (host, GB10) | same, with the backend identity line |
+| R7 | second-machine verdict agrees | MacBook verifier output with identical verdict identity |
+| R8 | RUN-3 from an installed artifact | install receipt, chain, verdict; signed release if the key exists, else dry-run artifact and the gap stated |
+
+Each milestone comment carries OBSERVED, INFERRED and NOT CLAIMED lines and a limits list, as the AT-1 reports did.
+
+## 5. What is not in this plan
+
+Research programs (AT-0, AT-1, Brownian, Physics Zero) are on record and closed or parked; they do not consume this program's lanes. Networking (AIENOS M6) stays outside the native prerequisite chain by the 2026-10-08 decision. Phone agent and voice stay PARKED. New model qualification campaigns are in scope only as far as L5 needs a release model (section 6, item 2).
+
+## 6. Default assumptions where Drake's call is pending
+
+| item | default assumed by this plan | what changes if Drake rules otherwise |
+|---|---|---|
+| 1. offline release-signing key (sc#118) | not available; L5 ends at a dry-run artifact and RUN-3 installs from it with the throwaway key, stated as a gap | with the key, RUN-3 installs a signed release and E1 can PASS |
+| 2. release model | internal-only Llama 3.2 (CAND-4's model) for RUN-1 to RUN-3 | an open-licence model requires its qualification campaign to finish first (SmolLM2 or Qwen3), adding one lane before L5 |
+| 3. AEGIS and spark-rsi | out of WHOLE-SYSTEM-E2E v1; READMEs say so; RSI v2 receipt fix still lands | in: both need a lane onto the native inference path and off MAX before RUN-2 |
+| 4. machine window for the AIENOS hardware boot | none scheduled; L9 continues in QEMU | a window closes B7b and starts the native storage step |
+| 5. int8 kernel default (aienos#300) | f32 stays the default | int8 default is a performance change on the native inference step only; no effect on version 1 |
+
+## 7. Risks named now
+
+- **Shape drift.** If L1 starts before L0 freezes, the chain shapes will be whatever the demo already writes. Mitigation: L0 is one document and one spec amendment, days not weeks; L1 waits.
+- **Two definitions of "memory".** Until L3 lands, E4 could be claimed from the ALLEN store while ADR 0022 names another; the verifier would then check the wrong thing. Mitigation: L0 names the store the recall is read from, L3 makes it true.
+- **The GB10 window.** RUN-2 and the reservation path need a quiet hold; the Spark serves other agents. Mitigation: RUN-1 on CPU carries every logical check; RUN-2 adds only the backend identity.
+- **Second machine drift.** The MacBook has a different libc, compiler and shell (AT-1 G7 experience: bash 3.2, no `llvm-nm`). Mitigation: the verifier is std-only Rust built by `rustc` directly, as the AT-1 oracle is.
+
+## 8. Proposed addendum to `CURRENT_EXECUTION_PLAN.md` (filed as its own PR)
+
+> ## Addendum 2026-10-10: release-readiness program and the whole-system acceptance test
+>
+> Drake's decision of 2026-10-10: AT-1 is closed as REVIEWED, no AT-2 is chartered, and the principal effort is finishing AIEN as one usable system. The program runs issue-first on aien-dev/aien-architecture#190 with a finite plan under `docs/plans/release-readiness/` (NOT A MASTER PLAN).
+>
+> The stage "INTEGRATED AIEN + CORTEX + RSI" of section 3 gains a gate on the host path: WHOLE-SYSTEM-E2E (E1 install, E2 objective, E3 execute, E4 memory, E5 verify, E6 recover; receipts and negative controls per step; `docs/plans/release-readiness/ACCEPTANCE_E2E.md` once frozen). Status 2026-10-10: NOT_RUN. The native AIENOS order of the 2026-10-08 (late) addendum is unchanged; the native target takes version 2 of the test after its step 5.
+>
+> Current baseline corrections (code and receipts, read 2026-10-10): ALLEN demo v3 PASS 10/10 (CPU) and v4-gb10 PASS 10/10 (GB10, native Omega engine, no CUDA) at aien-sovereign-core `docs/campaigns/allen-e2e/`; NEXT-PHASE-2 ACCEPTANCE-v4 PASS (`docs/campaigns/next-phase-2/VERDICT-v4.md`); approval desk required by default (sc#342); golden path PASS on the GB10 at `fefce80` (sc#94). No signed release of any current main exists; CAND-4 is the only candidate manifest. The ten discrepancies of `GAP_ASSESSMENT.md` section 4 stand until closed by lane L7.