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

docs: Teach the kernel: boot to scheduling, IPC and one reproducible QEMU gate

Closed · #442 · open 2026-10-22 18:46 UTC · closed 2026-11-06 02:19 UTC (reason completed)

Imported from GitHub aien-dev/aienux#442, by drakestapleton

drakestapleton wrote on 2026-10-22 18:46 UTC

Purpose

Teach people how this work was done and let them reproduce a small, honest result. Part of the AIEN teaching programme.

Front-page gap observed

The README explains status, principles and build commands, but the firmware-to-agent diagram does not walk a reader through how the C kernel actually works.

Reviewed: README.md on 2026-10-22; README blob 18c627986da9a2657a0a1cedf8001096d5f9e81b. This is a front-page discoverability finding; deeper notes may already exist and should be reused.

Repo-specific lesson

Trace one current C-kernel boot through entry, memory setup, interrupts, scheduling and IPC, linking the responsible functions. Explain isolation and capability checks with one concrete message exchange. Use an existing host/QEMU fixture; annotate expected log lines and a refusal case. Keep legacy Rust, QEMU, Pi and native Spark evidence separate.

Deliverables and acceptance

  • Put a concise How it works / How we built it explanation directly in README.md, with a prominent link to the longer walkthrough where needed.
  • Explain the original problem, the actual mechanism, why the key design choices were made, and one limitation or failed approach. Ground history in commits, ADRs or an attributed operator account; do not invent the author's experience.
  • Link the source functions, tests and existing design notes involved in the worked example. Attribute upstream components and collaborators accurately.
  • Provide exact checkout/pins, platform/toolchain/dependency requirements, input fixture, commands and expected output/exit status. Separate offline/no-model steps from optional model/hardware setup and downloads.
  • Explain the positive result and an existing safe negative/refusal case where applicable; describe which evidence establishes each claim. Keep planned, implemented and qualified behavior distinct.
  • Have someone follow the recipe from a fresh temporary checkout and record revision, environment, commands and observed output in the PR. Explicitly report blockers; do not mark a recipe reproduced just because the normal test suite passes.
  • Check the README's tutorial/source/evidence links and any renamed repository URLs.

Documentation scope: reuse existing examples and tests; no new runtime, architecture or qualification programme is authorized by this issue. Never edit historical receipts to make an example pass. Do not expose secrets, private conversations, sealed answers or private artifacts; preserve repository visibility.

No comments.

Sign in to comment