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/CONTRIBUTING.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 / CONTRIBUTING.md` 78 lines ยท 3796 bytes Raw Blame History Rendered 1 # Contributing to Aienux 2 3 Thank you for considering it. Aienux (the AienOS kernel) is experimental and pre-alpha; I welcome 4 contributions of code, review, design and testing. 5 6 ## Find something to work on 7 8 - [ROADMAP.md](ROADMAP.md) shows the gates and links every open issue. 9 - Issues labelled `good first issue` are small and self-contained. 10 - Issues labelled `emulator-ok` need no special hardware: everything runs in 11 QEMU on an ordinary machine. 12 - Comment on an issue before starting larger work so effort is not duplicated. 13 Questions and ideas belong in GitHub Discussions. 14 15 ## Build and verify 16 17 You need a Rust toolchain with two extra targets: 18 19 ```bash 20 rustup target add aarch64-unknown-uefi aarch64-unknown-none 21 bash scripts/verify_all.sh 22 ``` 23 24 `verify_all.sh` runs every workspace test, `clippy -D warnings`, the bare-metal 25 kernel build, and a format check of both UEFI images. It must pass before a 26 pull request is reviewed. 27 28 For boot work, install QEMU for AArch64 and the AAVMF UEFI firmware (on Ubuntu: 29 `qemu-system-arm` and `qemu-efi-aarch64`). An automated emulator boot is being 30 added in [#18](https://github.com/aien-dev/aienux/issues/18); once it lands it 31 becomes part of `verify_all.sh`. 32 33 ## Rules for code 34 35 - **Language.** Language rule: Rust is scaffolding, Omega is the destination, and C or assembly stay only where hardware, boot, ABI or measurement justifies them (aien-architecture ADR 0024, which supersedes the old "C is the target, no new Rust" rule). The existing Rust in `crates/` is frozen scaffolding and reference, not legacy to be replaced. 36 - **No Python, no CUDA, no CUDA-shaped APIs** anywhere in the repository. 37 - **Sovereign trusted base.** Boot, kernel, memory management, scheduling, 38 storage, cryptography, identity, AEGIS and recovery build from inspectable 39 source, offline. Do not add proprietary binaries, cloud services or network 40 fetches to the build. 41 - **Dependencies are rare.** Prefer small in-house code for the trusted base 42 (the kernel carries its own SHA-256 and HMAC). Explain any new crate in the 43 pull request. 44 - **Tests.** New behaviour comes with host tests; anything that touches the 45 boot path must build for `aarch64-unknown-uefi` and `aarch64-unknown-none`. 46 47 ## Pull requests 48 49 - One concern per pull request. 50 - Lead the description with proof: the commands you ran and their output. 51 - Claims about speed or hardware behaviour need recorded evidence. 52 - House style for docs and comments: plain language, no em dashes or en dashes. 53 - Changes that touch the root of trust, security boundaries, persistent 54 identity, irreversible data formats or recovery guarantees need maintainer 55 and operator sign-off; see the escalation triggers in 56 [docs/MILESTONES.md](docs/MILESTONES.md). 57 58 ## Hardware 59 60 Machine 1 is an NVIDIA DGX Spark. Work that needs it is labelled 61 `needs-hardware`; maintainers run those boots under the `aien-proof` 62 hardware-test ledger and publish the evidence in `evidence/`. You can still 63 design and review that work, and most of it can be prototyped in QEMU first. 64 65 ## Security 66 67 Report vulnerabilities privately through GitHub's "Report a vulnerability" 68 (Security advisories) on this repository, not in public issues. 69 70 ## License 71 72 Aienux is licensed under Apache-2.0. By submitting a 73 contribution you agree that it is licensed under the same terms. 74 75 ## Crumbs 76 77 This repo used the Crumb Protocol (RFC-0001): each directory carries a `.crumb` file (what the directory is for, its rules, and a backfilled history). Crumbs are retired from the active workflow (DRA-97, 2026-11-07): no gate or workflow checks them, and reading, writing or refreshing a crumb is not a step of any change. The `.crumb` files stay as history. 78 Backfilled history (marked as such, not live whispers) is in `docs/crumbs/BACKFILL.md`.