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/aienux/blob/main/ROADMAP.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / ROADMAP.md` 203 lines ยท 16373 bytes Raw Blame History Source # AIENOS Roadmap Plan authority: This is the current AIENOS component roadmap. Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See docs/PLAN_AUTHORITY.md . AIENOS is an agent-native operating system built in the open. This file is the public map: where the project is, what is next, and where you can help. Live progress is on the GitHub milestone pages linked below: each progress bar moves as issues close. This file is updated at every gate. ## Status (updated 2026-10-01) This block is newer than the 2026-09-27 block below, which is kept as history. Nothing in AIENOS is physically qualified. Verdict vocabulary: PASS, FAIL, NOT_RUN, BLOCKED_HARDWARE, BLOCKED_OPERATOR, MISSING_IMPLEMENTATION. ``` C kernel series #194 34c6053 .. #204 c3878bb IMPLEMENTED / NOT QUALIFIED evidence class: QEMU, plus GitHub ARM64 CI (which is still QEMU). No physical boot of the C kernel has happened ("physical": NOT_RUN). newest ck_gates receipt: evidence/ck_gates_05762a0f09ee9ca1453ebc80b1ee904a92de8cd6a73e2012e1bed7eeda0f8089.json run at b79954c (NEXT-PHASE-3 cut 2, platform xHCI discovery from ACPI); verdict NOT_ALL_GATES_PASS 19 PASS / 0 FAIL / 1 NOT_RUN of 20 gates NOT_RUN: M0_ROLLBACK KEYBOARD PASS in QEMU only. The C driver now finds the Spark's six ACPI platform xHCI controllers (from its firmware tables, hardware NOT_RUN), but the SMMU service refuses the Spark IORT (15 root-complex mappings, limit 8; stream ids past its linear table), so every one is denied and fails closed (native/kernel/README.md, "Operator input and recovery access"). M0_ROLLBACK is still MISSING_IMPLEMENTATION in the C kernel (the C loader BootNext / A-B / rollback is parked, native/boot/README.md), despite the title of #204 ("P2_ARTIFACT loader and M0_ROLLBACK gates"). #204 added the P2_ARTIFACT loader gate; M0_ROLLBACK reports NOT_RUN. Native networking #200 d75a266 (virtio-net attach + split virtqueue driver), #203 9807281 (kernel hook + NET gate) NET gate PASS in QEMU only. SMMU window programmed but not enforced (VIRTIO_F_ACCESS_PLATFORM not negotiated); polled, no IRQs, no physical NIC; TEST keys. TRUST-1 / M5 NOT_QUALIFIED, receipt is STALE newest receipt: evidence/trust1_m5_qualification_3358bc2585f0982e1dfbcd0f5ed2fe077847332591782edff8974f0da9caeded.json 37 rows: pass 20, fail 0, not_run 1, blocked 11, missing 5 verdict NOT_QUALIFIED STALE: it ran at 5a3a05c, before #197 (SMMU), #199 (Store record v2), #201, #203 and #204, and its ck_store_kernel_qemu row used the QEMU-only unsafe DMA bypass. A rerun on current main is owed. Older receipts (6fd36c30, cbdb2fe7, f21f2c03, e916472d, 5a5de9c1) are history; all are NOT_QUALIFIED. ``` ## Status (updated 2026-09-27, history) ``` M0 PARTIAL Reference freeze reference snapshot PASS benchmark evidence PASS 54.2 tokens/s CPU decode baseline native-boot rollback (QEMU) PASS M0_NATIVE_ROLLBACK_QEMU: PASS (AAVMF BootNext/NVRAM verified) native-boot rollback (HW) BLOCKED M0_NATIVE_ROLLBACK_MACHINE1: BLOCKED (reason = HARDWARE_QUALIFICATION_BLOCKED_BY_TRUST_CHAIN) bootable recovery media PASS: attended USB boot, read-only root/ESP inspection, tools present, return to Linux (issue #17; evidence/recovery_boot_machine1.md) M1 PASS Emulator boot automated QEMU boot PASS CI automation (#44) M2 PASS First native Spark boot (2026-09-24) follow-ups: observability, console, GB10 discovery, keyboard, test rig (design: docs/HARDWARE_TEST_RIG.md) M3 PASS Kernel isolation, in QEMU (2026-09-24; not run on Machine 1) EL1h on own page tables, MMU on PASS (#108) GICv3 timer interrupts at EL1 PASS (#95) preemptive scheduler PASS (#105, closes #29) SMMUv3 DMA confinement in QEMU PASS (#103, #110) EL0 tasks, capability-checked calls PASS (#104) ABI v1 frozen (ADR 0013), IPC PASS (#106, #107, #109, closes #30) verify_all green on main PASS (6ef8dde) SEED-0B PASS Native capability admission, in QEMU (2026-09-25; TEST-ONLY keys) SEED_0B_QEMU: PASS (#118-#122, #124, #127, #128, #138; evidence/seed0b_qemu_2026-09-25.md) P2-9 Machine 1 qualification prepared, not run; blocked on TRUST-1 (docs/SEED0B_MACHINE1_QUALIFICATION.md) M4 QUALIFIED IN QEMU Storage, continuity, and recovery NVMe read QEMU_NVME: PASS (#129) NVMe write + flush QEMU_NVME_RW: PASS (#132) 4K root-write atomicity QEMU_NVME_ATOMICITY_4K: PASS (#133); the Machine 1 SSD is 512-byte LBA and does not meet it (NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL) Store v1 format + engine ADR 0015 frozen (#130), engine host-tested (#131), STORE_MALFORMED_PEER_RECOVERY: PASS (#135) Store over NVMe crash/reboot STORE_V1_QEMU: PASS (#134, 4K LBA) STORE_512B_CRASH_RECOVERY_QEMU: PASS (#136) Continuity objects CONTINUITY_QEMU: PASS (#142, #143; evidence/continuity_qemu_2026-09-25.md) Recovery Core RECOVERY_CORE_QEMU: PASS (#144; evidence/recovery_core_qemu_2026-09-25.md) gated in verify_all step 6e (#137, #142, #144) open: Machine 1 native storage & continuity (SSD 512B LBA; waits on TRUST-1) NEXT: M5: Encryption and identity (key hierarchy, sealed keys, encrypted Store v1 objects) ``` The first native boot on the NVIDIA DGX Spark ("Machine 1") passed on 2026-09-24: the machine left firmware, ran AIENOS code at EL2 with no Linux underneath (`kernel: alive`), left a report that Linux read after the reset, and returned to Linux undamaged. Full record: evidence/m2_first_boot_2026-09-24.md . ## Critical path ``` M0 Reference freeze -> M1 Emulator boot -> M2 Spark bring-up -> SEED-0A Self-construction lab agent-built candidates proven in QEMU, never admitted -> M3 Kernel isolation the enforcement substrate -> SEED-0B Native capability admission -> M4 Storage and recovery -> M5 Encryption and identity -> M6 Minimal networking -> M7 Native CPU inference -> M8 Persistent agent first vision proven ``` SEED-0A and SEED-0B come from ADR 0012 : each machine grows the capabilities it needs as reversible, numbered Generations admitted by deterministic gates. Generated native code reaches the physical machine only after M3 can confine it. SEED-0A experiment #1 is `input.keyboard.usb` (#58 ). The first public demonstration is M8: power on, AIENOS boots, you talk to the local agent, power off, power on, and it remembers. ## Gates Gate Milestone (live progress) Open work Done so far M0 Reference freeze M0 native boot rollback proven in QEMU (M0_NATIVE_ROLLBACK_QEMU: PASS); physical qualification BLOCKED (M0_NATIVE_ROLLBACK_MACHINE1: BLOCKED, reason = HARDWARE_QUALIFICATION_BLOCKED_BY_TRUST_CHAIN, docs/NATIVE_BOOT_ONE_TIME.md); recovery media is PASS (procedure , evidence ) #12 Rust evidence tooling and clean snapshot (`9bd233d` ) M1 Emulator boot M1 #18 QEMU boot, #19 CI QEMU 8.2 and AAVMF chosen as the emulator M2 Spark bring-up M2 #20 pre-exit file, #21 screen evidence, #22 UART via SPCR, #23 GB10 discovery, #24 USB keyboard, #25 test rig (design ) Gate passed: #10 memory handoff, #11 GB10 identity, #13 visible report (`a22b1d8` ), #14 CPU topology (`44fcba7` ), #15 first-boot image (`52109bc` ), #16 evidence (`f376589` ) M3 Kernel isolation M3 none; #26 vectors, #27 MMU, #28 timer and GIC, #29 scheduler, #30 IPC and capabilities all closed Frame allocator, bounded UART, fault capture used on the first boot; M3 merged as #103 SMMU, #104 EL0, #105 preemption, #106 IPC, #107 ABI freeze plus ADR 0013, #108 MMU and timer reconcile, #109 ABI unification, #110 fail-closed DMA, #111 and #114 device authority, #112 PCI ECAM, #113 strict verify, #115 ABI conformance; receipts in evidence/m3_canonical_receipt.md; verify_all green at `6ef8dde` M4 Storage and recovery M4 Machine 1 native storage & continuity (SSD is 512-byte LBA: `NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL`, evidence ; waits on TRUST-1). `P3_STORE_QEMU` and `P3_STORE_NATIVE` are not claimed In QEMU: #129 NVMe read (`QEMU_NVME: PASS`), #132 write and flush (`QEMU_NVME_RW: PASS`), #133 4K atomicity (`QEMU_NVME_ATOMICITY_4K: PASS`), #134 Store 4K crash/reboot (`STORE_V1_QEMU: PASS`), #136 512-byte LBA crash/reboot (`STORE_512B_CRASH_RECOVERY_QEMU: PASS`), #142 /#143 continuity objects (`CONTINUITY_QEMU: PASS`, evidence ), #144 Recovery Core scenarios (`RECOVERY_CORE_QEMU: PASS`, evidence ), all gated by `verify_all` step 6e (#137 , #142 , #144 ). Host-tested: #130 Store v1 format frozen in ADR 0015 , #131 mount and transaction engine, #135 malformed-peer amendment (`STORE_MALFORMED_PEER_RECOVERY: PASS`) M5 Encryption and identity M5 #32 Host-tested agent identity (ADR 0007). Update 2026-10-01: native C crypto, envelope and anchors are merged and host-tested; TRUST-1 and M5 are IMPLEMENTED / NOT QUALIFIED (see CURRENT_EXECUTION_PLAN.md ) M6 Minimal networking M6 #33 Update 2026-10-01: native C M6-A UDP path and virtio-net driver pass in QEMU only; IMPLEMENTED / NOT QUALIFIED, not on hardware (see CURRENT_EXECUTION_PLAN.md ) M7 Native CPU inference M7 #34 Linux baseline recorded in M0 M8 Persistent agent M8 #35 Host-tested Cortex store Separate lanes that never block the critical path: #36 GB10 characterization (read-only Linux characterization merged in #125 ; no native GB10 observation and no GPU execution yet) and #37 Fabric (after native networking; early design in ADR 0010 ). Related repositories: aien-sovereign-core holds the AIEN runtime, Cortex, AEGIS and `aien-proof`, the shared test board and hardware-test ledger (#124 , #126 ). ## Help build it AIENOS is a lot of low-level Rust, and most of it does not need my hardware. Everything labelled `emulator-ok` can be built and tested in QEMU on any machine. Good places to start: - `good first issue` : small, self-contained changes. - `help wanted` : kernel, boot, evidence and tooling work that is ready for a contributor. - Phase 2 executable identity: SEED-0B is qualified in QEMU (`SEED_0B_QEMU: PASS`): Binary Artifact v0, Ed25519 trust, admission policy, the P2-5 loader, Admission Receipt v0 (P2-6A), the first SEED-0B capability artifact with kernel receipts (P2-6B) and the negative matrix (P2-7); see evidence/seed0b_qemu_2026-09-25.md . Machine 1 qualification (P2-9) is prepared, not run, and blocked on the TRUST-1 owner-signed boot chain (procedure ). M3 kernel isolation is done in QEMU; see the M3 row above. - M4 storage & recovery: the native NVMe driver, System Store v1, continuity objects (same identity and memory across cold restarts), and the deterministic Recovery Core are qualified in QEMU (see the M4 row above). Next is M5 encryption and identity. Work labelled `needs-hardware` runs on Machine 1; maintainers execute it and publish the evidence. Read CONTRIBUTING.md before your first pull request. ## Ground rules - Language rule (aien-architecture ADR 0024 , which supersedes the earlier "Rust throughout" and "C is the target" wording): Rust is scaffolding, Omega is the destination, and C or assembly stay only where hardware, boot, ABI or measurement justifies them. No Python, no CUDA, and no CUDA-shaped APIs. - ~~Rust throughout, with small amounts of AArch64 assembly where the hardware requires it. No Python, no CUDA, and no CUDA-shaped APIs.~~ SUPERSEDED 2026-10-01 by ADR 0024 for the language part only. No Python, no CUDA, and no CUDA-shaped APIs still hold (kept in the rule above). - The trusted base builds from inspectable source, offline, with an independently obtainable toolchain. - Evidence earns claims: a boot, benchmark or fix counts when its output is recorded and reproducible. - Experimental and pre-alpha: no support, stability or compatibility promises.