naming

Naming rules ratified for a class of names

Name: ratified 2026-10-18 (calef, convention-rulings Rule 3).

An appendix to design/naming.md. It holds the rules that ratify a whole class of names at once, with the list or the definition that says which names each covers. script/names reads it (helpers/name_rules.py), so a covered name counts as ratified and script/names <name> cites the rule.

A rule ratifies the names that follow it, today and later. A name that does not follow it is pulled aside and keeps its own status, so a rule never ratifies a name nobody looked at by accident of where it sits. Each section below says what it pulls aside. A section's Applies: line names the mechanism and its Ratified: line the date each covered name carries.

Rule 1: an appendix directory takes its parent's stem, and an appendix file a slug of its heading

Applies: appendix-stems Ratified: 2026-10-17 (UTC)

What it covers. A directory under design/, notes/ or briefs/ beside a document of its own stem (notes/stack/ beside notes/stack.md, the siting default of §212 (a prose budget)). Also each document inside it whose stem is made of the words of one heading of that parent. When the parent takes a new name, the directory follows its stem and each file follows its heading, so no second ruling is needed.

What it pulls aside, leaving it provisional.

Not covered: design/fatal-risks, notes/coes

Those two are records directories, which §212 separates from appendix directories, so their names and the fatal-risks evidence appendices stay provisional.

Rule 2: a test fixture program is named for its role in its test, as a noun phrase

A fixture program under fixtures/src/ names the role it plays in its test, as a noun phrase (file_sink, frame_revoker). "Names a role" is a judgment a pattern would guess at, so no script applies this rule. Each fixture the rule ratified carries Name: ratified 2026-10-17 (calef, convention-rulings Rule 2) in its own module doc. script/names reads that block like any other. A new fixture is provisional until its own block says otherwise.

alto, tenor, greeting, hello, noteless, outlaw, chatty and flaky are provisional. None names a role in its test: alto and tenor are two voices of a duet, and greeting, hello and noteless say what they print. outlaw, chatty and flaky carry rulings of their own that no rename has applied (kernel_test_subject, swap_boundary_witness and first_attempt_crasher).

Rule 3: appendix stems kept as they stand

An appendix document whose stem is its title, and which Rule 1 does not reach, keeps its stem when its own Name: block says Name: ratified 2026-10-18 (calef, convention-rulings Rule 3). No script lists them. A new appendix stem stays provisional until its block or a ruling says otherwise.

A ruled name is not asked again, and its rename has a deadline

A block reading provisional, and ruled: calef ruled **x** on <date> records a settled name whose rename nobody has performed. script/names --unratified prints these first, under "ruled, rename owed", with the target and the age, and never in the plain provisional list. They still count in the worklist total. A ruled the stem block is not a rename and stays plain provisional.

script/names --check fails when one is more than 45 days old. The limit is a measure, not a principle: it passes a backlog someone is working and fails a ruling nobody acted on. The parse and the limit are helpers/name_ruled.py.

Rename-owed exceptions

A rename that cannot happen yet (it waits on another milestone) is excused by one bullet of the form below. It expires on its end date, and the check then fails again. A bullet names the reason, so an exception is never silent.

Rule 4: the private modules tests and verification are ratified for every crate

Applies: standing-modules Ratified: 2026-11-20 (UTC)

What it covers. A module file named tests (host unit tests) whose mod line sits under a #[cfg(...)] attribute naming test, and a module file named verification (Kani proof harnesses) whose mod line sits under one naming kani. This holds in any crate, present and future. The file is tests.rs or tests/mod.rs (likewise verification) under a src/ directory. Both names count as ratified, with or without a Name: block, so a review package never asks about them.

What it pulls aside. A module of either name whose mod line lacks the gating attribute. Also a pub item inside one of them, which keeps its own status.