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

closed derived cedfa12df9b7e128 #153

Imported from GitHub aien-dev/aien-architecture-mv#153 (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 4478c1a85c189875426e9ff57dfa4b2552b9d2c9 · Head 6e1dcb05f55c762174f842afa313bfb3e70a0af4

Apply it

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

Changes

diff --git a/.crumb b/.crumb
index fb1a79c..32a1aca 100644
--- a/.crumb
+++ b/.crumb
@@ -22,38 +22,38 @@
       "children": [
         {
           "digest": "920f4a700f4c4e191542c9fba3c81fbb26daad9726781d4d7f80b9544796c1c5",
-          "last_commit": "3341e98",
+          "last_commit": "4478c1a",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
         {
           "digest": "601ea0324ce6818cac09233c6f1af21e6a5a63bc92f472a3e543a89170be2b68",
-          "last_commit": "ca270ee",
+          "last_commit": "014159e",
           "name": "doctrine",
           "purpose": "Directory doctrine. Purpose not yet described by a human."
         },
         {
           "digest": "c34f88bb1ba323a3712efd9fd12cbefa5d0b8d92b3ea66375c5b0b916cfdebd7",
-          "last_commit": "3341e98",
+          "last_commit": "4478c1a",
           "name": "scripts",
           "purpose": "Directory scripts. Purpose not yet described by a human."
         },
         {
           "digest": "cdd14c4842f34bc96327321a87f1cd8a17a074966e0e25421da072bdbc249f8c",
-          "last_commit": "d0f0b95",
+          "last_commit": "014159e",
           "name": "tools",
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
       "children_root": "sha256:8069b728d3193a925a2fb78871efb08f2e321e57f287751684fa25ad46a9c777",
-      "compiled_at": "2026-10-06T20:50:43Z",
+      "compiled_at": "2026-10-06T21:54:27Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:68fb5c8964d1e014d4bf40b79b6078a82b2237c12edc6dae667a622f14760b05",
+      "digest": "sha256:b3bcf46e36b14627bd7f12aef59db58d5c187c30f746968f12d83c01e9f0e3ae",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 229,
-      "generated_at_commit": "3341e98f15d2daef96f534e32d03c9d2592eda2c",
-      "source_tree": "sha256:c08a388f4136a86de8a526a3fd410517d041e490e776a808cadff5c6354525fc"
+      "generated_at_commit": "90260051a4b6a9e6556497129c81e6187d469aeb",
+      "source_tree": "sha256:1b314693a4bc288e6f478a3fd87d264282bd80761490166ee34449eb7b6d17ed"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/CURRENT_EXECUTION_PLAN.md b/CURRENT_EXECUTION_PLAN.md
index e54b824..3ced676 100644
--- a/CURRENT_EXECUTION_PLAN.md
+++ b/CURRENT_EXECUTION_PLAN.md
@@ -774,28 +774,73 @@ One workflow with: a real local model and tokenizer with production inference; s
 
 *Status 2026-10-06 (afternoon).* Campaigns v1 to v4 have run and are recorded in sovereign-core under `docs/campaigns/next-phase-1/` (PR #223, open, branch `next-phase/compose-v4`, head `eecfb2c`). The index lists seven receipts: six with verdict FAIL and the v4 receipt with verdict PASS (8 of 8 rows). `VERDICT-v4.md` records the v4 campaign verdict as FAIL by reviewer judgement: the reply named the wrong path (not `NOTES.md`), contained the chat marker `<|user|>` and a half sentence, and was cut off at the 48-token limit. The receipt passed because its frozen rows compared digests only (the proposal equals what is on disk) and never checked what the content says; the receipt is not edited. A v5 is in progress (inference diagnostic, task-correctness rows, negative cases, possibly a stronger local model); that is UNVERIFIED here, not on main. The composition bridge exists: omega #311 (merged) adds `librx_compose.a` and a host ABI, and sovereign-core #217 (merged) adds the compose crate; sovereign-core main `omega.lock` pins `62b6a2899fa230e57fcf7855ea7e2c26404514b6`. The slice is not complete.
 
+*Status 2026-10-06 (evening).* The v5 campaign PASSED (sovereign-core #225) and v6, a wider correctness campaign, FAILED 52 of 73 rows on record (#235, merge `d6e102b`; long content, edit, refusal and budget rows; a `// null` boolean defect in its row script is disclosed in the PR). The composition bridge is pinned end to end: sovereign-core `omega.lock` -> omega `c0369e6` (#232, merge `d5b78ff`), omega `aienos.lock` -> aienos `b84c0a6` (omega #322). CAND-4 qualification (sovereign-core #234, merge `328a7e9`) reran the v5 tasks 3 times each on the GB10: Q1 9 of 9 PASS with limits under the frozen record-mark reading (see the CAND-4 addendum below). The slice is still not complete: the model is the only one that passes, it is not open-licence, and v6 fails.
+
 **NEXT-PHASE-2: continuity under failure.** NOT STARTED.
 Cases: kill before and after durable commit; interruption between an external effect and its recorded acknowledgment; accelerator unavailable; operator stop during in-flight work followed by authorized resume; stale or revoked capabilities; corrupted or partially written state. Exit criteria: no unauthorized effects, no silent duplicate effects, no false success, committed identity and memory preserved. An external operation whose outcome cannot be determined stays in an explicit unresolved state and is reconciled; no universal exactly-once promise is made. It uses the existing receipt format and failure vocabulary.
 
 *Status 2026-10-06 (afternoon).* The pre-registered acceptance document is merged: sovereign-core #219 (merge commit `cf34162`), `docs/campaigns/next-phase-2/ACCEPTANCE.md`. Implementation has not started. An amendment to fix assumptions in that document is pending (UNVERIFIED: not on main when checked).
 
+*Status 2026-10-06 (evening).* NEXT-PHASE-2 v2, v3 and v4 are merged (sovereign-core #227, #228, #229); v4 PASS with stated limits. The scoring contract v5 enforces every declared case times repetitions (#231, merge `44b73d7`), closing the fail-open shape found in the v4 review. CAND-4 qualification (sovereign-core #234, merge `328a7e9`) Q2 (NEXT-PHASE-2 v4 cases, 3 reps, fixture F0 on the GB10) PASS with limits: 34 rows PASS, C6d NOT_APPLICABLE (no spilled data, so recovery case 4 is NOT COVERED). Cases 2 and 5 are covered only at the harness side (Q2w). See the CAND-4 addendum below.
+
 **NEXT-PHASE-3: native AIENOS path.** NOT STARTED.
 Close in this order: operator input and recovery access (USB keyboard driver); boot selection and rollback (C loader A/B); real-device storage; owner identity and trust (TRUST-1 attended package, aienos #265, merged as "HOST VALIDATION ONLY"); native inference integration. Exit criteria: reproducible images, preflight checks, recovery procedures and explicit success criteria exist before any attended hardware work. Authorization boundaries for firmware, key ceremonies, destructive storage and reboots are respected. QEMU is never counted as physical.
 
 *Status 2026-10-06 (afternoon).* Merged in aienos, all QEMU or host only, none physical: #267 (`04cf78b`, operator keyboard input and recovery-access hook, cut 1), #268 (`6da9d58`, platform xHCI discovery from ACPI, cut 2), #269 (`2dffd97`, IORT stream ids per PCI segment, cut 3a), #270 (`3df181c`, two-level SMMU stream table, cut 3b). Remaining, in the order above: C loader boot selection and rollback, PCI discovery through to storage, real-device storage, the attended TRUST-1 hardware boots and key ceremonies, and native inference.
 
+*Status 2026-10-06 (evening).* aienos #273 (merge `61bd76a`): the C kernel image is the one-time BootNext rollback candidate, 8 QEMU rollback cases PASS (37 checks, 0 fail); hooks are TEST-only behind `#error` guards, no A/B slots. CI toolchain pinned to rustc 1.98.1 because 1.99.0 cannot link the UEFI rollback mock (aienos issue #274). Physical Spark rollback NOT_RUN; the recovery stick entry was not listed in the Spark firmware on 2026-10-06 (preflight). aienos main is `61bd76a`; CAND-4 pins aienos `b84c0a6` (the rollback cases are QEMU evidence outside the CAND-4 build).
+
 **NEXT-PHASE-4: reproducible, maintainable release.** NOT STARTED.
 Pin the toolchain (a `rust-toolchain` file closes gap G4); document the build and verify the install (sovereign-core `install.sh` release mode, `scripts/repro-build.sh`, both present at 286fa9b). Artifacts bind to the candidate, the executable digests, the model inputs and the receipts. CI enforces candidate consistency and evidence immutability. An explicit carry-forward rule covers an unchanged executable; `CAND-2.gates.md` section 2 is the precedent (identical digest and unchanged inputs). Status documents are reconciled. Exit criteria: install, execute, upgrade and rollback are demonstrated.
 
 *Status 2026-10-06 (afternoon).* sovereign-core #222 is open (head `a57da19`): atomic upgrade, one-version rollback, reproducible packages and a candidate-way release build. Its description says it supersedes #220. Its `release.yml` workflow has not been run in CI (stated in the PR). #220 is still open and is not closed by #222; closing it is pending. Not complete.
 
+*Status 2026-10-06 (evening).* The release gate fails closed on pin, digest, model and signature mismatches and has a dry-run mode (sovereign-core #230, merge `296c4ac`). `release/candidate.toml` names CAND-4 with its 25 digests, model, licence, internal-only distribution and the oracle fixture (#238, merge `7291fc1`). A local release demo PASSED on the Spark (reproducible package, local sign and verify, clean install of CAND-3, interrupted copy leaves the live release intact, upgrade to CAND-4, reinstall, rollback both ways, wrong digest and missing signature refused, installed binary gives the oracle sentence on GB10, NEXT-PHASE-1 driver S1 to S8 PASS; receipt in #238). Not done: `release.yml` has not run in CI; nothing is published; no signing key is on GitHub (Drake decision pending). UNVERIFIED: that the gate refuses a package built from sovereign-core main after `d5b78ff`. See the CAND-4 addendum below.
+
 **NEXT-PHASE-5: after the single-machine workflow is dependable.** NOT STARTED.
 (a) Smallest two-machine Fabric slice: authenticated membership, capability advertisement, one placed task, disconnect detection, recovery without unauthorized or duplicate effects; J-Space transport only as needed. (b) Predictive behaviour only within demonstrated calibration limits or under fresh preregistered evaluation. (c) One bounded learning experiment (tensor, autodiff, optimizer, evaluation, promotion) that must show fresh held-out improvement, preserved capabilities and a demonstrated rollback before any promotion.
 
 *Status 2026-10-06 (afternoon).* Unchanged: NOT STARTED. Its prerequisite, a dependable single-machine workflow, is not met (NEXT-PHASE-1 verdict FAIL so far).
 
+*Status 2026-10-06 (evening).* Still NOT STARTED. Its prerequisite now has evidence on both sides: NEXT-PHASE-1 v5 PASS and v6 FAIL (52 of 73 rows) on the same code, and CAND-4 qualification Q1 PASS on the v5 tasks. See the CAND-4 addendum below.
+
 ### Coordination
 
 No merge to sovereign-core main until the CAND-3 FROZEN whisper from cand3-integ (requested 2026-10-06). Omega PRs #303, #307, #309 (R16 G6 operator stop, open) and #310 are held by their owners. This addendum changes no gate order in section 17 and raises no milestone status.
 
 *Update 2026-10-06 (afternoon).* Merge authority is now held by the orchestrator session. The "no merge until the CAND-3 FROZEN whisper" note above is historical: CAND-3 was frozen by arch #144 and sovereign-core #217 and #219 have since merged. Omega #303, #307, #309 and #310 are merged.
+
+## Addendum 2026-10-06 (evening): CAND-4 consolidation
+
+Reconciliation of this plan against the merges of 2026-10-06 evening (UTC). Every PR below was checked with `gh pr view`; status words are the receipts' own. This addendum changes no gate order in section 17 and raises no milestone status.
+
+### Candidate
+
+CAND-4 is frozen (`qualification/candidates/CAND-4.toml`, #151, merge `7f99d7e`): omega `c0369e6705a4b0cb800978846e78915126a1b7f7`, aienos `b84c0a67590a934f3f3e001b12ec85ebc086a9eb`, aien-sovereign-core `d5b78ff7a6be14d23e3cb00d3f9c4b4751442ffa`, physics `6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf`. 25 artifact digests, reproduced in two clean-worktree builds (CAND4-BUILD-REAL3, 25 of 25 identical; `aien-cli` `ad6b7eb5...`). Model: unsloth/Llama-3.2-1B-Instruct snapshot `5a8abab`, Llama 3.2 Community License (not OSI open source); distribution internal-only until an open-licence model passes its own frozen campaign (Drake, Option 3). Amendment 1 (#152, merge `4478c1a`) records the oracle fixture (`bf1d83ed...`, `6df1b39e...`) in `CAND-4.amendment-1.toml`; the frozen manifest is byte-identical to `7f99d7e`.
+
+Merged into the candidate before the freeze: omega #321 (`a9ef42a`, lane receipt guard wired), omega #322 (`c0369e6`, aienos pin: the operator control capability can no longer operate the authority), sovereign-core #231 (`44b73d7`, scoring contract v5), #230 (`296c4ac`, release gate fails closed), #232 (`d5b78ff`, omega pin).
+
+### Results on CAND-4
+
+- Qualification (sovereign-core #234, merge `328a7e9`, docs only; `docs/campaigns/cand4-qualification/VERDICT-CAND4.md`): VERDICT PASS with limits on digests, hygiene, Q1, Q2 and Q2w, with the harness disclosures in that file (per-round attempt records carry empty digest lists because the child process reset them; the parent check before round 1 and the Q2w post-run check are the digest evidence; the record-mark reading needs hardening before reuse, sovereign-core issue #240). Q1: 9 of 9 launches (v5 tasks T1 to T3, 3 reps) plus two negative controls. All 9 underlying v5 receipts are FAIL on "Containment: workspace" and A1 only, because the daemon's own Cortex record mark (`compose.cortex-mark`, NEXT-PHASE-2 v3) sits outside the authorized path; they are kept unchanged, and Q1 is PASS only under the pre-registered record-mark reading (ACCEPTANCE 4.1), which checks the mark is the sole outside file, well formed, and the sentinel unchanged. Q2: 34 rows PASS, C6d NOT_APPLICABLE. Q2w: 3 controls, W2 3 of 3, W5 40 trials with 5 window hits and 0 inconsistent restarts. GPU work ran under the quiet lock in four holds (20:29 to 20:40Z), none overlapping other holds.
+- Release demo: PASS locally (see NEXT-PHASE-4 status above; receipt in sovereign-core #238, merge `7291fc1`).
+- Native rollback: 8 QEMU cases PASS (aienos #273, merge `61bd76a`), outside the CAND-4 build.
+
+### Open-licence model (SmolLM2-1.7B-Instruct, Apache-2.0)
+
+Campaign v1 on the CAND-4 code plus the ChatML template change: FAIL on record (sovereign-core #237, merge `5d13e61`, tag `campaign/smollm2-v1-run2`): T1 NOT_RUN (GB10 daemon crash at warm-up, driver status 0x51, issue #236), T2 FAIL (wrong path), T3 FAIL (heading list and the 64-token limit). A traced repro of #236 (21:02 to 21:05Z, quiet lock held, nothing else on the GPU) did not reproduce the crash: Llama control clean (peak 17.4 GB), SmolLM2 twice clean (peak 61.1 GB, a 51.1 GiB fixed-size KV pool mapping). Cause UNVERIFIED; #236 stays open "cause unknown, not reproduced"; issue #239 lists four fixes (size the KV pool from the model, free-memory pre-check, bounded retry of session open, log the allocation size), none implemented. The template change itself (#233, merge `a39c617`) keeps the Llama3 and Zephyr prefix byte-identical (9 of 9 identity tests). No open-licence model passes yet; CAND-4 stays internal-only.
+
+### Limits (none of these is raised by this addendum)
+
+- Recovery cases 1 (GPU loss), 3 (capability-root revocation) and 6 (coordinated rollback): OUT OF SCOPE of Q2. Case 4: NOT COVERED. Case 2: covered as W2 only. Case 5: non-deterministic coverage only. UNVERIFIED: that a real device loss reaches the strict failure path.
+- Q2 cases and Q2w run on the CPU fault build; only F0 and the C3 control ran on the GB10.
+- Qualification harness disclosures (sovereign-core `328a7e9`, VERDICT-CAND4.md): the 9 Q1 attempt records and the q2-fixture and q2-cases records carry empty digest lists (the per-round child process reset them); the digest evidence is the parent check before round 1 and the Q2w post-run check (14 of 14). The record-mark reading `a1_read` counts only rows marked exactly FAIL and treats a missing sentinel pair as unchanged; harmless on these receipts, to be hardened before reuse (sovereign-core issue #240). The rule 4.1 reading was written after a pre-freeze TRIAL and frozen before any evidence run. One NEXT-PHASE-2 receipt string hard-codes omega `62b6a28` while the run used `c0369e6`; the Q2w score has a null results digest (rows are in the results file). No receipt was edited.
+- Release: `release.yml` not run in CI; nothing published; no signing key on GitHub; gate refusal of a post-`d5b78ff` package UNVERIFIED.
+- Physical Spark rollback NOT_RUN; recovery stick not listed in firmware (2026-10-06 preflight).
+- NEXT-PHASE-1 v6 FAIL (52 of 73) stands against the same code; "useful workflow" is PASS on the v5 tasks only.
+- No chip performance result (R15) exists for CAND-4; R15 and R16 results belong to CAND-3 (`CAND-3.gates.md` section 8).
+- Toolchain: rustc 1.99.0 cannot link the aienos UEFI rollback mock (aienos #274); CI pinned to 1.98.1.
+
+### Lesson recorded
+
+Two CAND-4 double builds (REAL, REAL2) were voided when another lane raised the quiet flag mid-build and the GPU-library make steps refused (QUIETLOCK_REFUSED). Builds and campaigns now take their own hold or wait for a flag-free window; the build script should check the flag before starting.