roadmap BUILT

285. user_ meant a person in three hundred places, so the two crates that meant a privilege level took a longer prefix

Built 2026-09-13. calef ratified crates/user_rt to crates/user_mode_runtime and crates/user_heap to crates/user_mode_heap the same day, working the unratified worklist, and ruled the prefix itself in the same breath. (Number provisional until the merge queue lands it.)

Both together on purpose: renaming one would have left the family split, and the prefix is the half that had never been argued at all.

The two halves, argued separately

rt was an abbreviation that needs a decoder, the first of the three failure modes AGENTS.md lists, and the crate's own first line had always spelled it out ("the tiny EL0 runtime shared by nife userspace programs"). The precedent is exact: cred_proto became credential_proto on 2026-08-23 for "spell out the contraction fully". Nothing outside this tree owns the spelling, and that is what decides it. The 2026-09-05 acronym test spares a term the field itself uses, which is why pci, elf and gpt survive: a reader arrives already knowing them, so the expansion teaches nothing. rt has no owner of that kind. No specification uses it, no wire format carries it, no command-line flag spells it; it is a shortening somebody typed, and the test applies at full force.

user_ was the harder half, and a count is why the answer is user_mode_ rather than user_. In this tree user overwhelmingly means a person. At 32fccda8, git grep -oiw over the whole tree answers a user 291, the user 254, users 68 and per-user 19, which is 632 occurrences of the word doing that job. Milestone 49 is users and attribution, identity_provisioner creates them, login authenticates them, and crates/schedule_store calls itself "the on-disk, per-user schedule store". So user_runtime would have fixed the abbreviation and left the ambiguity exactly where it was: a reader meets it and cannot tell whether the runtime belongs to a person or to a privilege level.

"User mode" is this tree's architecture-neutral phrase for that level, and the counts beside it say why it is the right one rather than the commonest one. The same grep answers EL0 1375, U-mode 252 and ring 3 123, each of which is one architecture's word for the level, against user mode 59, which is what this tree writes when a sentence has to cover all three. So el0_runtime was refused for naming one architecture's privilege level on a crate that ships on three, which is what rule 5 exists to catch, and the plain phrase wins on reach rather than on frequency. The same defect was live one level down and is fixed here: the crate's first line described a three-architecture crate as "the tiny EL0 runtime", and .cargo/mutants.toml and script/coverage each said "EL0 system call runtime" about it.

What the ruling closed, which is more than two names

Milestone 63 ratified user_heap over uheap on 2026-08-01 partly on the ground that "user_rt already establishes user_ as the prefix for it". The prefix was therefore on the record because this crate had established it, and this crate's name had never been argued for itself. Milestone 264 called it "a circle rather than a reason" in the crate's own provenance block, and milestone 63's table is where the circle is written down.

Both provenance blocks now record the ruling rather than the precedent. The 2026-08-01 ratification keeps its own reasoning in the spelling it used, because a refusal record whose reason has been swept into today's vocabulary is a record that lies about what was argued.

The hazard that decided the work, and it was already a scar

A crate name that has left Rust is not compiler-checked, and this tree learned it eight hours earlier. When milestone 175 moved user/link.ld to crates/user_rt/link.ld, two build.rs files were missed because they live in separate Cargo workspaces; nothing errored until a cross-compiling link, and CI's QEMU leg went red with nothing before it saying a word.

There are four build scripts holding that path and two of them are outside the main workspace, so cargo build at the root proves nothing about half of them:

Build script Workspace
components/build.rs main
fixtures/build.rs main
redoxfs_server/build.rs separate
std_exerciser/build.rs separate

Seven more sites hide the same way, and they are listed with the reason each is invisible in design/naming.md's new "a crate is compiler-checked only where a compiler is looking" table: --exclude <crate> arguments in script/lint, script/coverage and two lists in xtask, where cargo takes an unknown name in silence. .cargo/mutants.toml's exclusion glob and .cargo/mutants-baseline.txt's crate-keyed row. A reaches_user_rt() identifier inside script/lint's embedded python. helpers/build-ripgrep.sh, which seds the linker script into a high-load variant by path. The module xtask generates into the patched-std overlay (sys/alloc/nife/user_heap.rs, declared mod user_heap;), which compiles only when the farm is rebuilt. And the Cargo.lock of each separate workspace.

That table is this milestone's real deliverable beside the names. The existing clause said renaming a crate is the easy case because cargo check finds every site missed, and it is too generous by exactly the sites above.

The enumeration

At 32fccda8, user_rt was 818 occurrences in 223 files and user_heap 79 in 37, and the forms were not one string: 301 bare, 69 more as user_rt:: in front of a brace or a type. Then ::panic_handler (82), ::mapped_window (59), ::exit (54), ::heap (43), ::trap (31), ::now (23), ::cntfrq (23), ::initrd (22), ::map_page_frame (18) and a long tail. Eight manifests declare one of the two as a dependency and a ninth names dep:user_rt in a feature (redoxfs_server's el0), which is the site a [dependencies] sweep walks past. Nothing was swept blind; the sets were listed, read, and then edited, which is what caught the records below.

What did not move, and why each

BUGS

Follow-on

Index row

calef ratified crates/user_rt to crates/user_mode_runtime and crates/user_heap to crates/user_mode_heap on 2026-09-13, and ruled the prefix itself in the same breath, which is why both moved together. rt was an abbreviation with no owner outside this tree, the cred_proto/credential_proto case again. user_ was the harder half, because git grep -oiw answers a user 291, the user 254, users 68 and per-user 19, so the prefix read as a person rather than as a privilege level. user mode is the architecture-neutral phrase (59 uses) where EL0 (1375), U-mode (252) and ring 3 (123) are each one architecture's, so el0_runtime was refused under rule 5 for a crate that ships on three. Closes milestone 63's circle: user_heap was ratified partly because "user_rt already establishes user_", so the prefix rested on a crate nobody had argued. 818 occurrences in 223 files plus 79 in 37, swept by enumeration; the uheap refusal record, a quoted commit subject and a milestone 68 quotation kept their spelling. Found that the "renaming a crate is compiler-checked" clause is too generous and wrote the eight sites it misses into design/naming.md. Four build.rs linker-script paths, two of them in separate workspaces. Plus --exclude arguments, two mutation-testing files, a derived identifier in a gate's python, a shell script that seds the script by path, the generated module in the patched-std overlay, and each separate workspace's lockfile.