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

closed derived c8208c93ecb27d4e #352

Imported from GitHub aien-dev/aien-architecture-mv#352 (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 c6512a4c6ae2e8f8babe23fc9f38880d20d25812 · Head ef1c4f731e3467f2ae9e810c4039caaa7a8ac51b

Apply it

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

Changes

diff --git a/CONTEXT.md b/CONTEXT.md
index 1b68f95..1737a02 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -11,7 +11,7 @@ The whole operating system: Aienux plus Omega plus the runtime (sovereign core)
 _Avoid_: Aienix (retired: another company uses it), AIENOS, Aienos
 
 **Aienux**:
-The kernel: it boots the machine and drives the hardware (today the repository aienos-mv).
+The kernel: it boots the machine and drives the hardware (repository aien-dev/aienux; the old name aienos-mv is retired, ADR 0038).
 _Avoid_: AIENOS, Aienos, "the OS" when only the kernel is meant
 
 **AIEN**:
diff --git a/docs/adr/0041-aienux-written-in-omega-c-kernel-sunset.md b/docs/adr/0041-aienux-written-in-omega-c-kernel-sunset.md
new file mode 100644
index 0000000..9f8b911
--- /dev/null
+++ b/docs/adr/0041-aienux-written-in-omega-c-kernel-sunset.md
@@ -0,0 +1,41 @@
+# ADR 0041: Aienux is written in Omega; the legacy C kernel is sunset
+
+**Status:** ACCEPTED (2026-10-24) for the decision, decided by Drake Stapleton; the transition plan below is PROPOSED by the orchestrator (Claude Fable 5.1) for Drake's correction. Program ledger L802.
+**Supersedes:** the C implementation of Aienux (aien-dev/aienos-mv `native/`) as the kernel of record.
+**Related:** ADR 0038 (names); ADR 0024 (Rust/C/Omega course correction); ADR 0012 (self-construction); mind map note `2026-10-24-decision-aienos-kernel-is-omega-only-c-kernel-suns`; handoff `~/handoffs/2026-10-24-omega-kernel-only.md`; FR-9 x86-64 back end (lane L801).
+**Evidence base:** recorded 2026-10-23 against `aien-dev/aienos-mv` `origin/main` f45d00ad (that repository was later renamed `aien-dev/aienux`; this count was not remeasured here): `native/` holds 405 C and assembly files, 5,049,354 bytes, of which `native/kernel/` is 271 files, 3,038,680 bytes, and 0 `.om` files. aien-dev/omega: aarch64 encoder and Blackwell codegen on main; the Omega-in-Omega compiler `omc` reaches a fixpoint (seed/omega-in-omega, 2026-10-22); no x86-64 back end yet (FR-9, funded 2026-10-24).
+
+---
+
+## Decision
+
+Drake's words, 2026-10-24:
+
+> "Omega. I wanted to be .om. Make it happen."
+>
+> "I want to sunset the legacy C kernel for AIENOS and go with only my kernel."
+
+1. Aienux, the kernel, is written in Omega (`.om`). Omega is the only kernel language of record.
+2. The C kernel in `native/` is legacy. It takes bug fixes and keeps the lab iMac booting while the Omega kernel is built; it takes no new features.
+3. New probes, tools and experiments for the kernel and the hardware are written in Omega, not C or CUDA. C and CUDA remain comparison yardsticks only, kept outside the product tree.
+4. The C kernel is retired (archive tag, out of the build) when the Omega kernel passes the full AienOS gate suite on QEMU and on the lab iMac.
+
+This follows the 2026-10-23 decision that Allen is Omega only, and the rule of 2026-10-24: take the real path, no stand-ins because the job is big.
+
+## Transition plan (PROPOSED)
+
+1. Freeze: a `.crumb` note on `native/kernel` says FROZEN, bug fixes only, replaced under L802; the PR desk refuses new C-kernel feature PRs.
+2. Compiler prerequisites, each with a red-then-green gate on the merge train: (a) freestanding output (flat binary or ELF, chosen entry, no runtime); (b) raw memory and device-register access; (c) privileged instructions, interrupt and exception entry as Omega intrinsics; (d) x86-64 back end (FR-9, L801) for the iMac; the existing aarch64 back end serves QEMU and the Spark.
+3. Kernel in Omega, one subsystem per lane in dependency order, proven in QEMU first and then on the lab iMac: boot entry and console, memory and paging, interrupts and timer, keyboard (xHCI), disk (AHCI), Allen presence and window, network. The parity bar is the existing AienOS gate suite.
+4. Retire as in point 4 above; update the repository READMEs and the organisation front page.
+
+## Consequences
+
+- Every kernel change from now on is Omega work; C kernel PRs that add features are closed with a pointer to this record.
+- The compiler lanes (2a to 2d) are on the critical path of the Allen release; they are scheduled before any kernel subsystem lane that needs them.
+- The C kernel stays readable as the reference for behaviour until the archive tag.
+
+## What this does not decide
+
+- The order of subsystem lanes beyond the dependency order above.
+- Whether a C-to-Omega translation pass (seed/c2om) is used; it is used only where proven, hand-written otherwise.
diff --git a/docs/adr/README.md b/docs/adr/README.md
index 5720c8e..b3e9442 100644
--- a/docs/adr/README.md
+++ b/docs/adr/README.md
@@ -53,3 +53,4 @@ Current ADRs:
 - [0038 - Names: Aienux is the kernel, AienOS is the operating system, the old names are retired](0038-names-aienux-kernel-aienos-system.md) - ACCEPTED 2026-10-20 (Drake; ledger L180)
 - [0039 - The typed-construction interface is Omega's primary agent programming interface: inspect / legal_actions / apply / obligations / realize / verify / explain_refusal; INVALID / INCOMPLETE / VALID-UNPROVEN / UNKNOWN](0039-typed-construction-agent-interface.md) - ACCEPTED 2026-10-26 (Main, delegated by Drake)
 - [0040 - Five identities; "same meaning, same identity" holds only under a named normalization system that fails toward CHANGED](0040-identity-layers-normalization.md) - ACCEPTED 2026-10-26 (Main, delegated by Drake); narrows the reading of 0015, 0018, 0019
+- [0041 - Aienux is written in Omega; the legacy C kernel is sunset](0041-aienux-written-in-omega-c-kernel-sunset.md) - ACCEPTED 2026-10-24 (Drake): Omega is the only kernel language; C kernel frozen to bug fixes, retired at parity; transition plan PROPOSED (L802). Rebased onto main after ARCH-0039 and ARCH-0040 landed (PR #322 was CONFLICTING).
diff --git a/docs/hardening/README.md b/docs/hardening/README.md
index 320888d..aed985c 100644
--- a/docs/hardening/README.md
+++ b/docs/hardening/README.md
@@ -33,4 +33,4 @@ Nothing in this decision had run yet. Omega and aienos had chained diaries that
 
 - ADR 0025 is still PROPOSED (its status line on `main`).
 - The TRN1 folder now exists: [aien-protocols-mv `specs/execution-transcript/`](https://github.com/aien-dev/aien-protocols-mv/tree/main/specs/execution-transcript). This summary has not been rechecked against the omega and sovereign-core checkers.
-- The aienos C kernel has since run on real hardware: a Raspberry Pi 5 on 2026-10-13 (see the [aienos README](https://github.com/aien-dev/aienux#readme)) and a 2017 Intel iMac from 2026-10-17 ([aienos-mv#405](https://github.com/aien-dev/aienux/pull/405)). It is still not qualified on hardware.
+- The aienos C kernel has since run on real hardware: a Raspberry Pi 5 on 2026-10-13 (see the [aienos README](https://github.com/aien-dev/aienux#readme)) and a 2017 Intel iMac from 2026-10-17 ([aienux#405](https://github.com/aien-dev/aienux/pull/405)). It is still not qualified on hardware.