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-architecture-mv/patches/07e485e878b6fcc2 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aien-architecture-mv#142 (code only) closed derived `07e485e878b6fcc2` #142 Imported from GitHub aien-dev/aien-architecture-mv#142 (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 `014159ef77bd4899753026a3f3a7f8ca11331de7` · Head `abd04daf54b7bcf8b7f7911ad168d2dcb697af08` ### Apply it ``` git checkout -b patch-07e485e878b6fcc2 014159ef77bd4899753026a3f3a7f8ca11331de7 curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/07e485e878b6fcc2.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 142 abd04daf54b7bcf8b7f7911ad168d2dcb697af08 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":142,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/142","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:47Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index d9c2f20..36fa851 100644 --- a/.crumb +++ b/.crumb @@ -46,14 +46,14 @@ } ], "children_root": "sha256:efc732facfc8380986a44ccf869d480965f0f4e27af5593e1e27fc66a04bcd1c", - "compiled_at": "2026-10-05T19:24:41Z", + "compiled_at": "2026-10-06T00:38:09Z", "compiler": "crumb-compile/1", - "digest": "sha256:649f1294729ebd727819e4e04b826dd222a0806eac9236cc832d0ad60b849c09", + "digest": "sha256:4eab4b1687419feb8ca13006c104a74b843c4d1bbf12190bb27aa6de8ce686b3", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 223, - "generated_at_commit": "92e3c865f7e69b956c0c160d629bfcd1454417c8", - "source_tree": "sha256:16a9318d59aa96d8537399331f08991056c4a0555c597720a19d5f101b788a9e" + "generated_at_commit": "144ff541182acce387c3abfdc4d10952c8a44144", + "source_tree": "sha256:7f3418f5348a940dd0364d7966e175624ade28a8927b7f2519c97a9f50f2eab1" }, "owner_lane": "", "provenance": { diff --git a/CURRENT_EXECUTION_PLAN.md b/CURRENT_EXECUTION_PLAN.md index 3095d8a..22c35e4 100644 --- a/CURRENT_EXECUTION_PLAN.md +++ b/CURRENT_EXECUTION_PLAN.md @@ -717,3 +717,71 @@ The ADR 0031 workstream runs as Lane 8 and does not reorder these gates; its pro ## Addendum 2026-10-01: language course correction (ADR 0024) By operator decision of 2026-10-01, [ADR 0024](docs/adr/0024-rust-scaffolding-omega-destination.md) supersedes the Rust-to-C migration plan. Rust is scaffolding, Omega is the destination, and C stays only where hardware, boot, ABI or freestanding-kernel reasons justify it. Wherever this plan says the "Rust-to-C port" or "no new Rust", read it as superseded by that ADR. No merged work is reverted; the C kernel and its gates stay. This addendum changes no gate order. + +## Addendum 2026-10-06: next implementation phase (NEXT-PHASE-1 to NEXT-PHASE-5) + +This addendum orders the next implementation work. It adds no master plan (`PLAN_AUTHORITY.md`), changes no gate order in section 17 and raises no milestone status; milestone status changes only in `doctrine/ROADMAP.md`, which this addendum does not touch. The five slices below are not roadmap milestones. All five are NOT STARTED. + +### Baseline + +- CAND-2 is the frozen candidate: `qualification/candidates/CAND-2.toml`, `id = "CAND-2"`, `status = "frozen"`, `created = "2026-10-05"`. +- Its `[commits]` table: omega `79a805d162bfded8c5ce5a4c14f7c29e79025f39`; aienos `bbad5e4250e57f8cbd1be4cf1390109aa65ef92c`; aien-sovereign-core `286fa9b7afbc71f06ed7e1dd29f68f36714fd92a`; aien-protocols `7ac6facb630ca7e9a6ab4125b292203fe2bb6687`; aien-architecture `7390f5d963c54984b89c8a3d6dee4ab0e990b6c5`; physics `6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf`; interplane `204996832b1810673644169716518d42dcda3e0a`. +- Its nine `[executables]`: omega-runtime, omega-gpu-engine-lib, aien-cli-native-release, aien-proof, aien-test, aienos-boot-image, aienos-ck-core-image, physics-boot-bin, atlas-m2-boot-bin (digests in the manifest). +- Model inputs (`[model]`): `model-id = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"`, `model-safetensors-sha256 = "6e6001da2106d4757498752a021df6c2bdc332c650aae4bae6b0c004dcf14933"`. +- CAND-2 verdict in `CAND-2.gates.md` section 3: "not qualified". +- No CAND-3 manifest exists on main as of 2026-10-06T00:30Z (checked: `qualification/candidates/` holds CAND-0, CAND-1 and CAND-2 only). The cand3-integ lane expects to freeze CAND-3 after omega #309 (R16 G6 operator stop/status/resume, open) and the CAND-3 double build. Until then CAND-2 is the baseline, and every result recorded under this addendum binds to CAND-2 or to a later named, frozen candidate, never to an unfrozen tree. + +### Environments, kept separate + +- Linux-hosted execution: sovereign-core `aien-cli` with `OmegaGb10Backend` on the Spark, and the omega R13 production program on the host. These are results about Linux processes. +- Emulator results: every AIENOS gate is QEMU. `CAND-2.gates.md` section 4: "every AIENOS result is QEMU. Nothing here qualifies the Spark booting AIENOS." +- Native hardware qualification: none exists for AIENOS booting the Spark. GB10 chip receipts are hardware results for omega kernels, not for AIENOS. + +### Limitations carried from CAND-2.gates.md section 4 + +- R16 G6: the operator emergency stop exists in the runtime (omega #300, host-tested) but the production program does not wire it and has no operator entry point; the item reads MISSING_IMPLEMENTATION. No silicon run exercises a stop. +- R15 and R16 G7: the SPBM energy reader is not loaded (operator action), so R15 refuses to start (BLOCKED_INSTRUMENT) and G7 cannot pass. CAND-1's R15 FAIL (G15 residency 0.849, one stalled trial) is unexplained; a later 30-trial diagnostic is "a clue, not a verdict". +- AIENOS: no USB keyboard driver in the C kernel; C loader A/B and rollback are parked (MISSING_IMPLEMENTATION). +- TRUST-1 M5: attended hardware boots and owner-key ceremonies are blocked on the operator; Secure Boot is off. +- Physical machine: every AIENOS result is QEMU. +- Toolchain: no rust-toolchain file pins the compiler (gap G4). + +### Known architectural split (OBSERVED 2026-10-06, sovereign-core 286fa9b and omega main 21092e0; verified by a scout) + +Sovereign-core (the Linux stack with the real model): + +- No J-Space: "JSpace" appears only in `crates/aien-cli/src/nesting.rs`, `walkthrough.rs`, `commands.rs` (prose) and `crates/aien-replay/src/lib.rs`. No World-commit code on the live path. +- The effect receipt is `record_effect_receipt` in `crates/aien-cli/src/tools.rs` (l.440), which writes sha256 digests to `$AIEN_PROVENANCE_DIR`. +- `scripts/golden_path.sh` step 8 runs unit tests of `crates/aien-runtime/src/world.rs` `commit_draft`, not a live daemon call. Step 9's idempotency ledger is `crates/aien-runtime/src/control.rs` l.97-130 (`processed_operations.json`), checked in `spine.rs` `handle_control_command` l.341-348. The gate is `docs/NATIVE_GOLDEN_PATH.md`. +- `spark-aegis` is a scanner and audit subprocess: no crate depends on it, and it is invoked from `commands::handle_aegis_command` (l.1727). The effect membrane is `crates/aien-cli/src/safety.rs` `validate_path` plus policy rules, not `spark-aegis`. +- `skills.rs` is markdown prompt-skill discovery, not executable AG_SKILL nodes. +- `crates/aien-cli/src/cortex.rs` talks HTTP to 127.0.0.1:18080, served by `crates/cortex-rs` (SQLite `~/.config/cortex/cortex.db`); its README says non-authoritative, and ADR 0022 (`docs/adr/0022-canonical-cortex-owner.md`) says adding a caller to it is a violation. + +Omega (the canonical causal path World -> J-Space -> AEGIS -> commit -> Cortex, `rx_compose`, COMPOSITION-2, and the ADR 0022 canonical Cortex `rx_cortex`): + +- `src/runtime` is not in `libomega_gpu.a` (Makefile SRCS l.15-26, GPU_API_OBJS l.2205-2208), and `crates/aien-omega-gpu/src/ffi.rs` declares only GPU symbols. +- The R13 production program `tests/runtime/rx_r13_living.c` `main` (l.1826-1834) accepts only `--argus-probe` and has no stdin, socket or task input. It runs no model. +- `rx_compose.h` provides `rx_compose_open/run/close` (l.243-251); skills are `RxcContract` callbacks (l.128). The Cortex journal is `