interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / ROADMAP.md

203 lines · 16373 bytes Raw Blame History Rendered
1# AIENOS Roadmap
2
3> **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](docs/PLAN_AUTHORITY.md).
4
5AIENOS is an agent-native operating system built in the open. This file is the
6public map: where the project is, what is next, and where you can help.
7**Live progress** is on the GitHub milestone pages linked below: each progress
8bar moves as issues close. This file is updated at every gate.
9
10## Status (updated 2026-10-01)
11
12This block is newer than the 2026-09-27 block below, which is kept as history.
13Nothing in AIENOS is physically qualified. Verdict vocabulary: PASS, FAIL,
14NOT_RUN, BLOCKED_HARDWARE, BLOCKED_OPERATOR, MISSING_IMPLEMENTATION.
15
16```text
17C kernel series #194 34c6053 .. #204 c3878bb IMPLEMENTED / NOT QUALIFIED
18 evidence class: QEMU, plus GitHub ARM64 CI (which is still QEMU).
19 No physical boot of the C kernel has happened ("physical": NOT_RUN).
20 newest ck_gates receipt: evidence/ck_gates_05762a0f09ee9ca1453ebc80b1ee904a92de8cd6a73e2012e1bed7eeda0f8089.json
21 run at b79954c (NEXT-PHASE-3 cut 2, platform xHCI discovery from ACPI); verdict NOT_ALL_GATES_PASS
22 19 PASS / 0 FAIL / 1 NOT_RUN of 20 gates
23 NOT_RUN: M0_ROLLBACK
24 KEYBOARD PASS in QEMU only. The C driver now finds the Spark's six ACPI
25 platform xHCI controllers (from its firmware tables, hardware NOT_RUN),
26 but the SMMU service refuses the Spark IORT (15 root-complex mappings,
27 limit 8; stream ids past its linear table), so every one is denied
28 and fails closed (native/kernel/README.md, "Operator input and
29 recovery access").
30 M0_ROLLBACK is still MISSING_IMPLEMENTATION in the C kernel (the C loader
31 BootNext / A-B / rollback is parked, native/boot/README.md), despite
32 the title of #204 ("P2_ARTIFACT loader and M0_ROLLBACK gates"). #204
33 added the P2_ARTIFACT loader gate; M0_ROLLBACK reports NOT_RUN.
34
35Native networking #200 d75a266 (virtio-net attach + split virtqueue driver),
36 #203 9807281 (kernel hook + NET gate)
37 NET gate PASS in QEMU only. SMMU window programmed but not enforced
38 (VIRTIO_F_ACCESS_PLATFORM not negotiated); polled, no IRQs, no physical
39 NIC; TEST keys.
40
41TRUST-1 / M5 NOT_QUALIFIED, receipt is STALE
42 newest receipt: evidence/trust1_m5_qualification_3358bc2585f0982e1dfbcd0f5ed2fe077847332591782edff8974f0da9caeded.json
43 37 rows: pass 20, fail 0, not_run 1, blocked 11, missing 5
44 verdict NOT_QUALIFIED
45 STALE: it ran at 5a3a05c, before #197 (SMMU), #199 (Store record v2),
46 #201, #203 and #204, and its ck_store_kernel_qemu row used the
47 QEMU-only unsafe DMA bypass. A rerun on current main is owed.
48 Older receipts (6fd36c30, cbdb2fe7, f21f2c03, e916472d, 5a5de9c1) are
49 history; all are NOT_QUALIFIED.
50```
51
52## Status (updated 2026-09-27, history)
53
54```text
55M0 PARTIAL Reference freeze
56 reference snapshot PASS
57 benchmark evidence PASS 54.2 tokens/s CPU decode baseline
58 native-boot rollback (QEMU) PASS M0_NATIVE_ROLLBACK_QEMU: PASS (AAVMF BootNext/NVRAM verified)
59 native-boot rollback (HW) BLOCKED M0_NATIVE_ROLLBACK_MACHINE1: BLOCKED
60 (reason = HARDWARE_QUALIFICATION_BLOCKED_BY_TRUST_CHAIN)
61 bootable recovery media PASS: attended USB boot, read-only root/ESP
62 inspection, tools present, return to Linux
63 (issue #17; evidence/recovery_boot_machine1.md)
64
65M1 PASS Emulator boot
66 automated QEMU boot PASS CI automation (#44)
67
68M2 PASS First native Spark boot (2026-09-24)
69 follow-ups: observability, console, GB10 discovery, keyboard,
70 test rig (design: docs/HARDWARE_TEST_RIG.md)
71
72M3 PASS Kernel isolation, in QEMU (2026-09-24; not run on Machine 1)
73 EL1h on own page tables, MMU on PASS (#108)
74 GICv3 timer interrupts at EL1 PASS (#95)
75 preemptive scheduler PASS (#105, closes #29)
76 SMMUv3 DMA confinement in QEMU PASS (#103, #110)
77 EL0 tasks, capability-checked calls PASS (#104)
78 ABI v1 frozen (ADR 0013), IPC PASS (#106, #107, #109, closes #30)
79 verify_all green on main PASS (6ef8dde)
80
81SEED-0B PASS Native capability admission, in QEMU (2026-09-25; TEST-ONLY keys)
82 SEED_0B_QEMU: PASS (#118-#122, #124, #127, #128, #138;
83 evidence/seed0b_qemu_2026-09-25.md)
84 P2-9 Machine 1 qualification prepared, not run; blocked on
85 TRUST-1 (docs/SEED0B_MACHINE1_QUALIFICATION.md)
86
87M4 QUALIFIED IN QEMU Storage, continuity, and recovery
88 NVMe read QEMU_NVME: PASS (#129)
89 NVMe write + flush QEMU_NVME_RW: PASS (#132)
90 4K root-write atomicity QEMU_NVME_ATOMICITY_4K: PASS (#133); the Machine 1
91 SSD is 512-byte LBA and does not meet it
92 (NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL)
93 Store v1 format + engine ADR 0015 frozen (#130), engine host-tested (#131),
94 STORE_MALFORMED_PEER_RECOVERY: PASS (#135)
95 Store over NVMe crash/reboot STORE_V1_QEMU: PASS (#134, 4K LBA)
96 STORE_512B_CRASH_RECOVERY_QEMU: PASS (#136)
97 Continuity objects CONTINUITY_QEMU: PASS (#142, #143;
98 evidence/continuity_qemu_2026-09-25.md)
99 Recovery Core RECOVERY_CORE_QEMU: PASS (#144;
100 evidence/recovery_core_qemu_2026-09-25.md)
101 gated in verify_all step 6e (#137, #142, #144)
102 open: Machine 1 native storage & continuity (SSD 512B LBA; waits on TRUST-1)
103
104NEXT:
105M5: Encryption and identity (key hierarchy, sealed keys, encrypted Store v1 objects)
106```
107
108The first native boot on the NVIDIA DGX Spark ("Machine 1") passed on
1092026-09-24: the machine left firmware, ran AIENOS code at EL2 with no Linux
110underneath (`kernel: alive`), left a report that Linux read after the reset,
111and returned to Linux undamaged. Full record:
112[evidence/m2_first_boot_2026-09-24.md](evidence/m2_first_boot_2026-09-24.md).
113
114## Critical path
115
116```text
117M0 Reference freeze
118 -> M1 Emulator boot
119 -> M2 Spark bring-up
120 -> SEED-0A Self-construction lab agent-built candidates proven in QEMU, never admitted
121 -> M3 Kernel isolation the enforcement substrate
122 -> SEED-0B Native capability admission
123 -> M4 Storage and recovery
124 -> M5 Encryption and identity
125 -> M6 Minimal networking
126 -> M7 Native CPU inference
127 -> M8 Persistent agent first vision proven
128```
129
130SEED-0A and SEED-0B come from [ADR 0012](docs/adr/0012-self-construction-capability-growth-and-generations.md):
131each machine grows the capabilities it needs as reversible, numbered
132Generations admitted by deterministic gates. Generated native code reaches the
133physical machine only after M3 can confine it. SEED-0A experiment #1 is
134`input.keyboard.usb` ([#58](https://github.com/aien-dev/aienux/pull/58)).
135
136The first public demonstration is M8: power on, AIENOS boots, you talk to the
137local agent, power off, power on, and it remembers.
138
139## Gates
140
141| Gate | Milestone (live progress) | Open work | Done so far |
142| --- | --- | --- | --- |
143| M0 Reference freeze | [M0](https://github.com/aien-dev/aienux/milestone/1) | 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](docs/RECOVERY_MEDIA_MACHINE1.md), [evidence](evidence/recovery_boot_machine1.md)) | [#12](https://github.com/aien-dev/aienux/pull/12) Rust evidence tooling and clean snapshot ([9bd233d](https://github.com/aien-dev/aienux/commit/9bd233d)) |
144| M1 Emulator boot | [M1](https://github.com/aien-dev/aienux/milestone/2) | [#18](https://github.com/aien-dev/aienux/issues/18) QEMU boot, [#19](https://github.com/aien-dev/aienux/issues/19) CI | QEMU 8.2 and AAVMF chosen as the emulator |
145| M2 Spark bring-up | [M2](https://github.com/aien-dev/aienux/milestone/3) | [#20](https://github.com/aien-dev/aienux/issues/20) pre-exit file, [#21](https://github.com/aien-dev/aienux/issues/21) screen evidence, [#22](https://github.com/aien-dev/aienux/issues/22) UART via SPCR, [#23](https://github.com/aien-dev/aienux/issues/23) GB10 discovery, [#24](https://github.com/aien-dev/aienux/issues/24) USB keyboard, [#25](https://github.com/aien-dev/aienux/issues/25) test rig ([design](docs/HARDWARE_TEST_RIG.md)) | Gate passed: [#10](https://github.com/aien-dev/aienux/pull/10) memory handoff, [#11](https://github.com/aien-dev/aienux/pull/11) GB10 identity, [#13](https://github.com/aien-dev/aienux/pull/13) visible report ([a22b1d8](https://github.com/aien-dev/aienux/commit/a22b1d8)), [#14](https://github.com/aien-dev/aienux/pull/14) CPU topology ([44fcba7](https://github.com/aien-dev/aienux/commit/44fcba7)), [#15](https://github.com/aien-dev/aienux/pull/15) first-boot image ([52109bc](https://github.com/aien-dev/aienux/commit/52109bc)), [#16](https://github.com/aien-dev/aienux/pull/16) evidence ([f376589](https://github.com/aien-dev/aienux/commit/f376589)) |
146| M3 Kernel isolation | [M3](https://github.com/aien-dev/aienux/milestone/4) | 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 |
147| M4 Storage and recovery | [M4](https://github.com/aien-dev/aienux/milestone/5) | Machine 1 native storage & continuity (SSD is 512-byte LBA: `NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL`, [evidence](evidence/p3_nvme_atomicity_2026-09-25.md); waits on TRUST-1). `P3_STORE_QEMU` and `P3_STORE_NATIVE` are not claimed | In QEMU: [#129](https://github.com/aien-dev/aienux/pull/129) NVMe read (`QEMU_NVME: PASS`), [#132](https://github.com/aien-dev/aienux/pull/132) write and flush (`QEMU_NVME_RW: PASS`), [#133](https://github.com/aien-dev/aienux/pull/133) 4K atomicity (`QEMU_NVME_ATOMICITY_4K: PASS`), [#134](https://github.com/aien-dev/aienux/pull/134) Store 4K crash/reboot (`STORE_V1_QEMU: PASS`), [#136](https://github.com/aien-dev/aienux/pull/136) 512-byte LBA crash/reboot (`STORE_512B_CRASH_RECOVERY_QEMU: PASS`), [#142](https://github.com/aien-dev/aienux/pull/142)/[#143](https://github.com/aien-dev/aienux/pull/143) continuity objects (`CONTINUITY_QEMU: PASS`, [evidence](evidence/continuity_qemu_2026-09-25.md)), [#144](https://github.com/aien-dev/aienux/pull/144) Recovery Core scenarios (`RECOVERY_CORE_QEMU: PASS`, [evidence](evidence/recovery_core_qemu_2026-09-25.md)), all gated by `verify_all` step 6e ([#137](https://github.com/aien-dev/aienux/pull/137), [#142](https://github.com/aien-dev/aienux/pull/142), [#144](https://github.com/aien-dev/aienux/pull/144)). Host-tested: [#130](https://github.com/aien-dev/aienux/pull/130) Store v1 format frozen in [ADR 0015](docs/adr/0015-system-store-v1-format.md), [#131](https://github.com/aien-dev/aienux/pull/131) mount and transaction engine, [#135](https://github.com/aien-dev/aienux/pull/135) malformed-peer amendment (`STORE_MALFORMED_PEER_RECOVERY: PASS`) |
148| M5 Encryption and identity | [M5](https://github.com/aien-dev/aienux/milestone/6) | [#32](https://github.com/aien-dev/aienux/issues/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](https://github.com/aien-spark/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md)) |
149| M6 Minimal networking | [M6](https://github.com/aien-dev/aienux/milestone/7) | [#33](https://github.com/aien-dev/aienux/issues/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](https://github.com/aien-spark/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md)) |
150| M7 Native CPU inference | [M7](https://github.com/aien-dev/aienux/milestone/8) | [#34](https://github.com/aien-dev/aienux/issues/34) | Linux baseline recorded in M0 |
151| M8 Persistent agent | [M8](https://github.com/aien-dev/aienux/milestone/9) | [#35](https://github.com/aien-dev/aienux/issues/35) | Host-tested Cortex store |
152
153Separate lanes that never block the critical path:
154[#36](https://github.com/aien-dev/aienux/issues/36) GB10 characterization (read-only
155Linux characterization merged in [#125](https://github.com/aien-dev/aienux/pull/125);
156no native GB10 observation and no GPU execution yet) and [#37](https://github.com/aien-dev/aienux/issues/37) Fabric
157(after native networking; early design in
158[ADR 0010](docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md)).
159
160Related repositories: [aien-sovereign-core](https://github.com/aien-spark/aien-sovereign-core)
161holds the AIEN runtime, Cortex, AEGIS and `aien-proof`, the shared test board
162and hardware-test ledger ([#124](https://github.com/aien-spark/aien-sovereign-core/pull/124),
163[#126](https://github.com/aien-spark/aien-sovereign-core/pull/126)).
164
165## Help build it
166
167AIENOS is a lot of low-level Rust, and most of it does not need my hardware.
168Everything labelled [`emulator-ok`](https://github.com/aien-dev/aienux/labels/emulator-ok)
169can be built and tested in QEMU on any machine. Good places to start:
170
171- [`good first issue`](https://github.com/aien-dev/aienux/labels/good%20first%20issue):
172 small, self-contained changes.
173- [`help wanted`](https://github.com/aien-dev/aienux/labels/help%20wanted):
174 kernel, boot, evidence and tooling work that is ready for a contributor.
175- Phase 2 executable identity: SEED-0B is qualified in QEMU
176 (`SEED_0B_QEMU: PASS`): Binary Artifact v0, Ed25519 trust, admission
177 policy, the P2-5 loader, Admission Receipt v0 (P2-6A), the first SEED-0B
178 capability artifact with kernel receipts (P2-6B) and the negative matrix
179 (P2-7); see
180 [evidence/seed0b_qemu_2026-09-25.md](evidence/seed0b_qemu_2026-09-25.md).
181 Machine 1 qualification (P2-9) is prepared, not run, and blocked on the
182 TRUST-1 owner-signed boot chain
183 ([procedure](docs/SEED0B_MACHINE1_QUALIFICATION.md)). M3 kernel
184 isolation is done in QEMU; see the M3 row above.
185- M4 storage & recovery: the native NVMe driver, System Store v1, continuity
186 objects (same identity and memory across cold restarts), and the deterministic
187 Recovery Core are qualified in QEMU (see the M4 row above). Next is M5
188 encryption and identity.
189
190Work labelled [`needs-hardware`](https://github.com/aien-dev/aienux/labels/needs-hardware)
191runs on Machine 1; maintainers execute it and publish the evidence. Read
192[CONTRIBUTING.md](CONTRIBUTING.md) before your first pull request.
193
194## Ground rules
195
196- Language rule ([aien-architecture ADR 0024](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0024-rust-scaffolding-omega-destination.md), 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.
197- ~~Rust throughout, with small amounts of AArch64 assembly where the hardware
198 requires it. No Python, no CUDA, and no CUDA-shaped APIs.~~ SUPERSEDED 2026-10-01 by [ADR 0024](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0024-rust-scaffolding-omega-destination.md) for the language part only. No Python, no CUDA, and no CUDA-shaped APIs still hold (kept in the rule above).
199- The trusted base builds from inspectable source, offline, with an
200 independently obtainable toolchain.
201- Evidence earns claims: a boot, benchmark or fix counts when its output is
202 recorded and reproducible.
203- Experimental and pre-alpha: no support, stability or compatibility promises.