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

closed derived 4088caff8ad4373a #204

Imported from GitHub aien-dev/aien-architecture-mv#204 (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 f932e02911b2ecd4dbb4fe748bdc76460c7c8d06 · Head d3b393db73f3a0ac351f18fa4d1fd37883ae06d8

Apply it

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

Changes

diff --git a/.crumb b/.crumb
index 604b82d..1a767b1 100644
--- a/.crumb
+++ b/.crumb
@@ -21,8 +21,8 @@
     "generated": {
       "children": [
         {
-          "digest": "bccfc765e0a32a2e4a31cc84d1b5fad1047ac129def178f543c208afb9e7b3a9",
-          "last_commit": "4913a67",
+          "digest": "6c0c01b1510e389a385ab7534e84fd508bf87662fdac1d38a4341576f573fb6c",
+          "last_commit": "b94858d",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
@@ -34,7 +34,7 @@
         },
         {
           "digest": "0ef6bd47b5ed1c28c37208ce84a05a6fccbce4ba41e8b791374251de0562b067",
-          "last_commit": "ec1c8c3",
+          "last_commit": "f932e02",
           "name": "scripts",
           "purpose": "Directory scripts. Purpose not yet described by a human."
         },
@@ -45,15 +45,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:ec62d5f0bbd2bedb8c2242dababcbd3ec36babd6d97bfd5afc505cca62a0c266",
-      "compiled_at": "2026-10-10T16:35:26Z",
+      "children_root": "sha256:ecea1660a73fe890cca764e0b22e024102ec24375b79eb925ba40c536835bb2e",
+      "compiled_at": "2026-10-11T03:28:17Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:12add1968290b1fb36dfe09205926457ce7f6adb2e0e84bac8dac26759cacc30",
+      "digest": "sha256:fcea5d92672c55cc49010f2b82d11799485f097df80ad9500c12c8aee8681eb6",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 260,
-      "generated_at_commit": "ec1c8c325064fa50113b1c5c6a6a7e23785f3181",
-      "source_tree": "sha256:d78d668dc483e55249f48a5c43e9e0f8fc89add266b0e0797236892029fa338d"
+      "files": 261,
+      "generated_at_commit": "b94858d9e5733d7b585b3ccdba2208cb50905abb",
+      "source_tree": "sha256:a7ec9badf205bc4ccca0764956be255030de7a61492e2c195dbec672105dc293"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/CURRENT_EXECUTION_PLAN.md b/CURRENT_EXECUTION_PLAN.md
index a3b8651..12587bb 100644
--- a/CURRENT_EXECUTION_PLAN.md
+++ b/CURRENT_EXECUTION_PLAN.md
@@ -992,3 +992,7 @@ Drake's decision of 2026-10-10: AT-1 is closed as REVIEWED, no AT-2 is chartered
 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 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 (aien-sovereign-core#342); golden path PASS on the GB10 at `fefce80` (aien-sovereign-core#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 of the integration plan.
+
+## Addendum 2026-10-11: WHOLE-SYSTEM-E2E status correction (issue #203)
+
+The "Status 2026-10-10: NOT_RUN" line of the 2026-10-10 addendum above is superseded by receipts read on 2026-10-11 (aien-sovereign-core `docs/campaigns/whole-system-e2e/`): RUN-1 on the CPU backend had E2, E3, E3m, E4 and E6 PASS with E1, E5 and CTRL-E1 NOT_RUN (`RESULT-RUN-1.md`); the second-machine verdict for E5 is recorded in `RESULT-RUN-1-R7.md`; the declared GB10 run RUN-2-GB10 (aien-sovereign-core#413) has verdict FAIL on one text-matching row, with the later memory rows not run. No installed signed release has been through the test (R8 NOT_RUN), no public signing key exists, and the release gate fails on aien-sovereign-core main (`omega.lock` differs from CAND-4). Details and the ordered blocker list: `docs/audits/INTEGRATION-AUDIT-2026-10-11.md`. The program as a whole is not PASS and AIEN is not claimed complete.
diff --git a/docs/.crumb b/docs/.crumb
index 0a230cd..7c0b9ad 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -44,13 +44,13 @@
         },
         {
           "digest": "69a6bbf1824c743bd7447ce351c6ca39d49b241f2d6f6fc6bc9fe5b6fad77a01",
-          "last_commit": "89fda22",
+          "last_commit": "a3cbc46",
           "name": "crumbs",
           "purpose": "Directory docs/crumbs. Purpose not yet described by a human."
         },
         {
           "digest": "0f9f110974f880c3527ac4f9bb755157a9e830080c7aff363e33d187bc22edc4",
-          "last_commit": "874dc62",
+          "last_commit": "a3cbc46",
           "name": "errata",
           "purpose": "Directory docs/errata. Purpose not yet described by a human."
         },
@@ -62,26 +62,26 @@
         },
         {
           "digest": "6301e5dfed47f354392e2b2b175845f1135e348b71fa91fa925dd2775947afa8",
-          "last_commit": "12c6a57",
+          "last_commit": "a3cbc46",
           "name": "research",
           "purpose": "Directory docs/research. Purpose not yet described by a human."
         },
         {
           "digest": "187ee5c915158c24bdbcd58f548fd605eb73e9b9329ce7f36adabfecf80cf627",
-          "last_commit": "874dc62",
+          "last_commit": "a3cbc46",
           "name": "specs",
           "purpose": "Directory docs/specs. Purpose not yet described by a human."
         }
       ],
       "children_root": "sha256:7c342e6d7fe441f2ac93916c1a65c61a275d8ebc576d614364cc6c4fa05b03a7",
-      "compiled_at": "2026-10-10T15:59:58Z",
+      "compiled_at": "2026-10-11T03:28:17Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:bccfc765e0a32a2e4a31cc84d1b5fad1047ac129def178f543c208afb9e7b3a9",
+      "digest": "sha256:6c0c01b1510e389a385ab7534e84fd508bf87662fdac1d38a4341576f573fb6c",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "files": 148,
-      "generated_at_commit": "78a7014095431bb50d5e718ab0035a2891e89513",
-      "source_tree": "sha256:68b8a49fc6c1846bdc726e3b8d56c4c4ff75d4abb5153ed3f351ca3fccad9c0d"
+      "files": 149,
+      "generated_at_commit": "b94858d9e5733d7b585b3ccdba2208cb50905abb",
+      "source_tree": "sha256:e61540e887e6ac4ba22526b9060788b743e3594c5e8149e394ddf7a597aa1d0e"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/audits/INTEGRATION-AUDIT-2026-10-11.md b/docs/audits/INTEGRATION-AUDIT-2026-10-11.md
new file mode 100644
index 0000000..f80cb76
--- /dev/null
+++ b/docs/audits/INTEGRATION-AUDIT-2026-10-11.md
@@ -0,0 +1,80 @@
+# Integration and release audit, 2026-10-11 (Lane G)
+
+Issue: aien-dev/aien-architecture#203. Programme: #190. Read 2026-10-11 ~03:30 to 04:30 UTC from fresh clones: aien-sovereign-core (sc) main `1fac70c`, aien-architecture main `f932e02`, omega main (GitHub API). Labels: EVIDENCED (read in code or a receipt, source given), GAP (the system lacks it), STALE-DOC (a document says something the code or a receipt contradicts). Nothing here is a PASS claim for any programme step. Pins were not bumped.
+
+## 1. Cross-repository pins
+
+| Item | Label | Where | Detail and exact fix |
+|---|---|---|---|
+| sc `omega.lock` vs CAND-4 omega | GAP | sc `omega.lock` = `6c6180cf`; `release/candidate.toml` omega-commit and CAND-4 `[commits] omega` = `c0369e67` | `scripts/check-release-candidate.sh` exits 1 on current main: "omega.lock is 6c6180c but candidate CAND-4 names omega c0369e6". omega `6c6180c` is 11 commits ahead of `c0369e6` (GitHub compare). Owner: sc#414 (new; sc#92 is closed). |
+| sc source vs CAND-4 source commit | GAP | `candidate.toml` `sovereign-core-commit` = `d5b78ff`; main is 130 commits ahead and 236 crate or Cargo files differ | The 25 `[executables]` digests (aien-cli-native-release and helpers) are digests of a `d5b78ff` build. A tree 130 commits later cannot reproduce them (INFERRED, high confidence: the CLI crates changed). Fixing `omega.lock` alone does not make the gate pass `--package`. A new candidate (CAND-5) with new digests is required. Owner: sc#414. |
+| omega `physics.lock` / `aienos.lock` | EVIDENCED, consistent | omega at `c0369e6`, `6c6180c` and main all pin physics `6d7cf0d4` and aienos `b84c0a67`; CAND-4 names the same two | No drift. |
+| Cargo.lock git pins | EVIDENCED, consistent | sc `Cargo.lock`: aien-protocols `7ac6fac`, crumb-spec `24194d1`, spark-crumbs `9355a92` | Equal to `candidate.toml [pins]` and CAND-4 `[commits]`/`[contracts]`. |
+| CI checkout steps | EVIDENCED, consistent | sc `release.yml` and `ci.yml` check out omega at `omega.lock`, physics and aienos at omega's locks | Matches `scripts/pins.sh` (same three checkouts). `pins.sh --check` was not run here (needs a populated target directory); its tests run in CI (UNVERIFIED locally, confidence 80%). |
+| Which commit could be released today | GAP | no tag exists past `v0.1.1` (internal test, `omega.lock` `5e29b82`, old key) | Only a tree whose `omega.lock` is `c0369e6` passes the gate; `d5b78ff` is that tree, but it predates the offline-signing work (#407), so it has no `release-publish.yml` gate or install labels. No commit today satisfies both "passes the CAND-4 gate" and "has the signing path". |
+| CAND-4 licence | GAP | CAND-4 `[model] distribution` = "internal-only until an open-licence model passes" (Llama 3.2 Community License) | CAND-4 can never be a public release. CAND-5 (Qwen3) depends on sc#384. |
+
+## 2. Operator experience from a clean machine
+
+Method: downloaded the dry-run artifact (Actions run 38105672607, `dry-run-signed-assets`, built from `46c4e0d`, success) and installed it with sc main's `install.sh` into a scratch HOME with `AIEN_RELEASE_TAG`, `AIEN_RELEASE_BASE_URL=file://...`, `AIEN_DRY_RUN_SIGNERS`. Installed and checked 17 files; receipt `signature_check: dry-run-key`, `dry_run: true`, `candidate: NOT-RELEASABLE`. Seven commands linked into `~/.local/bin`. Nothing was started as a daemon beyond one refused `aien start`.
+
+| Step | Label | Docs say | Code does |
+|---|---|---|---|
+| README install note | STALE-DOC | "install.sh ... performs no signature verification; signed releases are not yet available" | Release mode verifies the signature (`ssh-keygen -Y verify`) and writes `install-receipt.json`. Fixed by sc#415. The sentence "no public release exists" stays true. |
+| Quickstart printed by the installer | GAP | `aien start` starts Cortex, Cockpit and daemons | `aien start` exits at once: "the approval desk is required ... key is not usable ... Create it with `aien compose desk-key --create 1`". No documented step creates the key; only `scripts/whole_system_e2e.sh` does. Fix in `install.sh` text or a first-run step: sc#414. |
+| `aien harness` | GAP | "Run 5-layer verification checks" | Runs `spark-harness check`; that binary has no `check` subcommand (observed `unrecognized subcommand 'check'` against the developer's own copy) and `spark-harness` is not in the release archive (`bin/` holds aien, cortex-rs, cortex-encoder-rs, spark-cockpit-rs, spark-debugger, spark-inquisitor, spark-supervisor). |
+| `aien chat` / `/doctor` banner | STALE-DOC | n/a | Banner says "Modular MAX 26.5, Resident Seat: Port 18006" although the project decision is to leave MAX; `/doctor` probes ports 18006/18082/18080/18085. Not part of the acceptance path. |
+| Model provisioning | GAP | installer: "Model and access-token provisioning remain." | No operator document says where weights go or which variable names them. Only the E2E script uses `AIEN_MODEL_PATH` (script lines 231, 287, 406). |
+| First objective | EVIDENCED | ACCEPTANCE_E2E E2: `aien-cli objective record` | After `compose desk-key --create 1`, `aien objective record --text ...` returns `recorded_before_work: true`, `operator_surface: aien-cli`; `--effect-class EXTERNAL_IRREVERSIBLE` is refused `ForbiddenEffectClass`. |
+| Objective record location | GAP | contract calls the record durable | Default directory is `/tmp/aien-provenance/objectives` (`crates/aien-runtime/src/objective.rs:27-32`, `crates/aien-cli/src/tools.rs:464`). The installer does not set `AIEN_PROVENANCE_DIR`. A reboot that clears `/tmp` loses the record. Owner: sc#414. |
+| RELEASE_NOTES.md v0.1.0 binary list | STALE-DOC (historical) | lists `aegis-runtime`, `bench_inference_stack` | Not in the current archive. The file is headed as v0.1.0 notes and already says v0.1.0/v0.1.1 are internal; left unchanged. |
+
+## 3. Service boundaries named by ACCEPTANCE_E2E
+
+| Component | Label | Where on main | Owner doc | Test |
+|---|---|---|---|---|
+| Operator CLI (`aien`, crate aien-cli) | EVIDENCED | `crates/aien-cli` | crate `.crumb`; no `CONTEXT.md` in sc | `crates/aien-cli/tests/objective_record_test.rs`, `test_cli_runtime_ipc.rs` |
+| Daemon (aien-runtime, started by `aien start`) | EVIDENCED | `crates/aien-runtime` | `docs/AIEN_RUNTIME_ARCHITECTURE.md`; release receipt shows `daemon_sha256 = cli_sha256` (one binary) | 57 test-bearing files; `recovery_matrix_test.rs`, `desk_required_startup_test.rs` |
+| Approval desk | EVIDENCED, doc thin | `aien compose desk-key`, compose flow | `docs/COMPOSE_PROPOSER_HOOK.md` (desk key section). No ADR names the desk as a component. | `desk_required_startup_test.rs` |
+| ALLEN memory | EVIDENCED | `crates/aien-allen`, `aien-allen-memory`, `aien-allen-profile` | aien-architecture ADR 0035; `crates/aien-allen-memory/RETENTION.md` | `allen_concurrency_test.rs`, `compose_memory_recall_test.rs` |
+| Cortex | EVIDENCED, split owner | sc `crates/cortex-rs` (non-authoritative per its README), omega Cortex per ADR 0022 | ADR 0022, ADR 0036 (release v1 memory owner) | `cortex-rs` tests (9 files). The shipped release uses sc `cortex-rs`. |
+| Verifier | EVIDENCED | `tools/aien-verify` (std-only Rust), plus `crates/aien-campaign-verifier` (NEXT-PHASE-2) | `docs/campaigns/whole-system-e2e/VERIFIER-v1.md`; ADR 0033 | `tools/aien-verify/tests/run.sh`; used by the harness for E5/CTRL-E5 |
+| GB10 backend | EVIDENCED | sc `crates/aien-omega-gpu`; engine in omega | ADR 0016 line in `CURRENT_EXECUTION_PLAN.md`; `ACCEPTANCE-v1.3-gb10.md` | 2 test files in the crate; RUN-2-GB10 (sc#413) exercised it, verdict FAIL on one text row |
+| `CONTEXT.md` for sc | GAP | absent (aien-architecture has one) | AGENTS.md says single-context layout per repo | n/a. Low severity; not filed as blocking. |
+
+`tools/aien-verify` is referenced by no workflow in `.github/workflows` and no `scripts/test-*.sh` (grep, 2026-10-11); only the harness builds it per run. So its own tests (`tools/aien-verify/tests/run.sh`) do not appear to run in CI (OBSERVED by grep; whether a path-based trigger runs them is UNVERIFIED). Candidate fix: add them to `ci.yml` (sc#414).
+
+## 4. Completion claims against tonight's evidence
+
+| Claim location | Label | Finding |
+|---|---|---|
+| aien-architecture README "Current state" | EVIDENCED honest | Says pre-alpha, kernel not qualified, R1 to R16 not requalified. No change. |
+| `CURRENT_EXECUTION_PLAN.md` addendum 2026-10-10 | STALE-DOC | Says WHOLE-SYSTEM-E2E "Status 2026-10-10: NOT_RUN". Runs exist since: RUN-1 (CPU, E2, E3, E3m, E4, E6 PASS; E1, E5, CTRL-E1 not run), second-machine verdict R7, RUN-2-GB10 FAIL. Fixed by the dated addendum in this PR. |
+| `GAP_ASSESSMENT.md` "NOT_RUN" | Dated snapshot | Written 2026-10-10 as a snapshot; left unchanged. |
+| sc README | STALE-DOC | Fixed by sc#415 (see section 2). |
+| Any document calling a release signed | none found | sc `docs/release/RELEASE_SIGNING.md` says plainly that the public key is a placeholder. RELEASE_NOTES.md says internal test. |
+| `docs/STATE_OF_AIEN.md` "Versioned Release Packaging: Resolved" | STALE-DOC (mild) | Resolved means a tagged workflow and checksums exist; there is still no public signed release. Not edited (the file is a dated deficit inventory; wording risk of an unreviewed rewrite). Reported only. |
+| R8 (installed signed release) | NOT RUN | RESULT-RUN-1 marks E1 and CTRL-E1 NOT_RUN pending a signed artifact. |
+| AIENOS native | NOT_RUN | `GAP_ASSESSMENT.md` section on AIENOS: native is NOT_RUN for every acceptance step; B7b needs a machine window. |
+
+## 5. Open pull requests older than three days (created before 2026-10-08 03:40 UTC)
+
+| Repo / PR | State | Waits on |
+|---|---|---|
+| aien-sovereign-core #278 | draft, DIRTY (conflicting), created 2026-10-07, CI success | Its own text: "Not evidence-backed yet; do not merge on this alone." Closes nothing; its issue #277 is CLOSED. Needs a rebase and a decision to keep or close. |
+| aien-protocols #16 | draft, DIRTY, created 2026-10-08 | OSH Platform ABI v1 DRAFT; freezes after the Linux adapter consumes it once. aien-architecture#158 is OPEN. Needs a rebase when the freeze is decided. |
+
+Younger open PRs, for completeness (not older than 3 days): sc #413 (BLOCKED, RUN-2-GB10 evidence), sc #370 (CLEAN, process), aien-architecture #178 (DIRTY, 2026-10-09, process), aienos #300 (draft, DIRTY, 2026-10-10, int8 kernel, waits on Drake's go for the default). omega, physics, spark-rsi, aegis-runtime, interplane: 0 open. Nothing was merged or closed.
+
+## Release blockers, in order
+
+1. The public signing key does not exist (Drake-only key ceremony, `docs/release/KEY_CEREMONY.md`). Until then nothing can install as `release`.
+2. No open-licence model has passed. CAND-4 is Llama and internal-only; Qwen3 v5 verdict is FAIL (262 of 334 declared rows PASS, sc `docs/campaigns/open-model-qwen3/VERDICT-v5.md`) and sc#384 (v6) is open.
+3. No candidate matches current main: the gate fails on `omega.lock` (`6c6180c` vs `c0369e6`), and 130 commits of source drift make the CAND-4 executable digests unreproducible. Needs CAND-5 in `qualification/candidates/`, then `release/candidate.toml` and `omega.lock` bumped together (sc#414).
+4. R6 verdict is FAIL (RUN-2-GB10, one text row; E4 rows did not run); a clean GB10 run is needed.
+5. R8 not run: an installed, signed release has never been through the harness (E1, CTRL-E1).
+6. Install path gaps in section 2 (desk key step, `aien harness`, model provisioning, `/tmp` objective store).
+
+## Not claimed
+
+Not claimed: that any release is signed or qualified; that the model is qualified; that R6, R7-on-GB10 or R8 passed; that AIENOS native works; that the 25 candidate digests are or are not reproducible today (only that the source changed); that `pins.sh --check` passes locally; that the verifier tests are absent from every CI path (grep only). The dry-run install shows the installer and the dry-run artifact agree; it says nothing about the production key.