Concept notes
Name: ratified (§75 (directories carry provenance in their own README) covers this directory). notes predates every convention here and stays for the reason elf stays: it is the plain word for what the files are, and renaming it would spend a reader's recognition to buy nothing. notes is an ordinary English word and not an acronym, so DECISIONS §154 (the acronym test is whether the phrase is spoken) does not reach it.
Running glossary for nife, written as concepts come up. If something in the code or the conversation does not make sense, it belongs here.
This page is an index: one line per note, saying what the note is, and the detail lives in the note.
The lines are grouped by area, one page per area under notes/README/, so this
page stays short while the list grows. Naming conventions are a rule rather than a note, and live in
design/naming.md.
To add a note, add one line to the area page that fits, in the shape of the lines already there.
The area pages sit one directory down, so the link is ../your-note.md. Keep the line short; commentary belongs in the note.
The note's name goes in the note, as *Name: provisional, minted <date> (UTC) by <lane>.* under its
title (design/naming.md), never on this page.
script/lint fails if a notes/*.md file has no line on this page or on an area page. A new area
gets its own page under notes/README/ and a line in the list below.
A new collection of notes, several that belong together as in notes/coes/, gets a directory with its own
README.md instead. Add one line here pointing at that README (milestone 702 (the notes index pages become
area directories), ruled B). Appendices under
notes/<stem>/ need no line, because the note they belong to links them.
Start here
- Acronyms: every acronym expanded and linked; look here first.
- How this is built: the agent-built method as a claim, with caveats.
- The stranger test: the instrument for whether a newcomer succeeds unaided.
- Adding a user program: the steps to add a program, task-oriented.
- Why this isn't a general-purpose OS.
- Things this project has already gotten wrong.
- The works this project is arguing with: every outside work some page here actually reads.
By area
- The machine: what the hardware is and how the kernel meets it; read these before any kernel code.
- Rust without std:
no_std, thealloccollections and the heap. - Memory: frames, page tables, address spaces and TLB shootdown.
- The kernel: threads, capabilities, IPC, and how authority ends.
- Drivers and devices: virtio, PCIe, NVMe, DMA confinement and the display stack.
- Programs, std and services: what runs at EL0: the std port, the shell, components, and the services they call.
- Storage: the filesystem server, directory capabilities and on-disk formats.
- Verification and security: proofs, fuzzing, mutation testing, audits and what confinement claims.
- Performance: benchmarks, the instruction clock, bench runbooks and virtualization.
- Ports and boards: the RISC-V and x86 ports, and the real boards.
- Build, boot and install: the toolchain, the boot formats, packages and installing.
- How the tree is run: gates, records and the merge queue that keep many lanes honest.
- Delegation and the method: how agents do the work here, and what it costs.