aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
GitHub aien-dev/aienux#347 (code only)
Apply it
git checkout -b patch-1cc7e79f448eb057 e262a060d0b6be8436bbd5507cd3619edbf449b2 curl -fsSL https://interplane.io/drakestapleton/aienux/patches/1cc7e79f448eb057.patch | git am
Provenance
github-import 1
aien-dev/aienux
347
f295fca0e15c5be9960d5f9b5a6d8b687786b704
{"kind":"github-import","owner":"aien-dev","repo":"aienux","number":347,"url":"https://github.com/aien-dev/aienux/pull/347","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:15Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/.crumb b/.crumb index 12a7a54d..7f83664f 100644 --- a/.crumb +++ b/.crumb @@ -34,26 +34,26 @@ }, { "digest": "f6dacf501f99cc29eabd70f9baa5f6bfe7ae76ee224a5e7f5094bf95f1668371", - "last_commit": "16cf1b2", + "last_commit": "e262a06", "name": "native", "purpose": "Directory native. Purpose not yet described by a human." }, { "digest": "197bb0910cb0164678c40a278c02240cd8f147d407d2322be38ce7a66289316e", - "last_commit": "27f24e8", + "last_commit": "e262a06", "name": "scripts", "purpose": "Directory scripts. Purpose not yet described by a human." } ], "children_root": "sha256:3ef11bc2637d50d288ed541ccd6f00c461d1480632f1af0497def463c28982db", - "compiled_at": "2026-10-13T07:56:49Z", + "compiled_at": "2026-10-13T10:40:53Z", "compiler": "crumb-compile/1", - "digest": "sha256:9bb4345a08dabb6f996dea01e74e79ab55b8b050ecee977ed148e57b08066a1e", + "digest": "sha256:a9251aae38cf18df59e05016cedfac798972f878842bcfb63d5904525f41d1b4", "evidence_files": 156, "evidence_root": "sha256:cd53ab119be9de6ce28c4f5949b106c9622f1fe105611de3de21c3bce7932694", "files": 3140, - "generated_at_commit": "16cf1b2353974f0f22f25fd2fc992d594271a2a7", - "source_tree": "sha256:77aefea2773ae6c4091a81cca2a50cff3793f11e31ced38d1dd1b14a076d9d00" + "generated_at_commit": "e262a060d0b6be8436bbd5507cd3619edbf449b2", + "source_tree": "sha256:e61d5450cc819cb4c9f2d38f1654e3e329ece2009d5bb23a81cbc490f7c30372" }, "owner_lane": "", "provenance": { diff --git a/README.md b/README.md index fdfff911..bce49ceb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # AIENOS -> **Status: experimental / pre-alpha. Nothing here is physically qualified.** The first native boot on the NVIDIA DGX Spark passed on 2026-09-24 ([evidence](evidence/m2_first_boot_2026-09-24.md)). Since then the work has run in an emulator (QEMU). No support, stability or compatibility promises. Expect breaking changes. +> **Status: experimental / pre-alpha. Nothing here is physically qualified.** The first native boot on the NVIDIA DGX Spark passed on 2026-09-24 ([evidence](evidence/m2_first_boot_2026-09-24.md)). Since then most of the work has run in an emulator (QEMU); the C kernel has also run on a Raspberry Pi 5 (see Current state). No support, stability or compatibility promises. Expect breaking changes. AIENOS is our own operating system kernel, built to replace Linux on the DGX Spark. It is agent-native: the agent is the control plane, and the model is never the kernel. The kernel stays small, deterministic and non-intelligent, and the agent is never the root of trust. @@ -10,9 +10,9 @@ Firmware -> AIEN Boot -> AIEN Kernel -> AIEN Runtime -> AIEN Agent -> You ## Current state -The kernel is being rewritten in C (the `native/` directory) and is IMPLEMENTED / NOT QUALIFIED: it passes a set of emulator gates (9 of 14 at the last receipt; the rest report NOT_RUN, never PASS) and has never been booted on real hardware. The earlier Rust kernel in `crates/` is legacy and is being replaced; it is not extended. Trust-chain and encrypted-storage work (TRUST-1 and M5) is NOT_QUALIFIED, with hardware and operator steps outstanding. Do not trust any number in this file over the live documents: +The kernel is being rewritten in C (the `native/` directory) and is IMPLEMENTED / NOT QUALIFIED: all 24 emulator gates pass in the [newest receipt](evidence/ck_gates_29ed03c97454354a18676f768273dd7f7a8e15462c4be1939d9994d277d0d639.json) (run at 7f0de7e on 2026-10-09, QEMU only), and `scripts/ck_gates.sh` now lists 26 gates, so a newer receipt is owed. It has not been booted on the DGX Spark. Its first runs on real hardware were on a Raspberry Pi 5 on 2026-10-13: a bring-up run that reached interrupts, four cores, user-mode tasks, scheduling and message passing and wrote its log to the SD card, then two runs that wrote and re-read a test region on the card's AIENOS partition (pull requests [#345](https://github.com/aien-dev/aienos/pull/345) and [#346](https://github.com/aien-dev/aienos/pull/346); the run logs are not stored in this repository). The earlier Rust kernel in `crates/` is legacy and is being replaced; it is not extended. Trust-chain and encrypted-storage work (TRUST-1 and M5) is NOT_QUALIFIED, with hardware and operator steps outstanding. Do not trust any number in this file over the live documents: -- [ROADMAP.md](ROADMAP.md): component status, updated at each gate +- [ROADMAP.md](ROADMAP.md): component status (its newest status block is dated 2026-10-01) - [native/kernel/GATES.md](native/kernel/GATES.md): what each emulator gate checks - [docs/TRUST-1-M5-GATE-MATRIX.md](docs/TRUST-1-M5-GATE-MATRIX.md) and [docs/TRUST-1-OPERATOR-STEPS.md](docs/TRUST-1-OPERATOR-STEPS.md) - [docs/PLAN_AUTHORITY.md](docs/PLAN_AUTHORITY.md): how this repository's plans relate to the whole-system plan in [aien-architecture](https://github.com/aien-dev/aien-architecture) @@ -47,14 +47,15 @@ make -C native/store test mutants # torn-write-safe Store record The emulator gates need `qemu-system-aarch64` and the AAVMF firmware (Ubuntu packages: `qemu-system-arm`, `qemu-efi-aarch64`): ```bash -bash scripts/ck_gates.sh # runs the C gates, writes a content-addressed receipt; its child scripts take the machine quiet flag and report NOT_RUN while another run holds it +bash scripts/ck_gates.sh # runs the C gates, writes a content-addressed receipt; refuses a dirty tree; its child scripts take a gate lock and report NOT_RUN while another gate run holds it or the machine quiet flag is set +bash scripts/ck_pi5_build_check.sh # builds the Raspberry Pi 5 image and checks the default image carries none of it (build only; the Pi image cannot boot in QEMU) ``` The legacy Rust workspace is still checked by `bash scripts/verify_all.sh` (needs a Rust toolchain with the `aarch64-unknown-uefi` and `aarch64-unknown-none` targets) until it is retired. Anything that needs the real DGX Spark is labelled `needs-hardware` and is run by maintainers. ## Contributing -Start with [issues labelled `good first issue`](https://github.com/aien-dev/aienos/labels/good%20first%20issue) or [`emulator-ok`](https://github.com/aien-dev/aienos/labels/emulator-ok): they need no special hardware. Read [CONTRIBUTING.md](CONTRIBUTING.md) first. Open pull requests against `main` (protected; the CodeQL checks `Analyze (c-cpp)` and `Analyze (actions)` must pass) and lead with the commands you ran and their output. Questions go in [Discussions](https://github.com/aien-dev/aienos/discussions). Report vulnerabilities privately through GitHub security advisories. +Start with [issues labelled `good first issue`](https://github.com/aien-dev/aienos/labels/good%20first%20issue) or [`emulator-ok`](https://github.com/aien-dev/aienos/labels/emulator-ok): they need no special hardware. Read [CONTRIBUTING.md](CONTRIBUTING.md) first. Open pull requests against `main` (protected; five checks must pass: `Analyze (c-cpp)`, `Analyze (actions)`, `crumb`, `AIEN Verification` and `workflow files accepted`) and lead with the commands you ran and their output. Questions go in [Discussions](https://github.com/aien-dev/aienos/discussions). Report vulnerabilities privately through GitHub security advisories. ## License