Vocabulary
An appendix to design/naming.md, which states the rules. It holds the
test each word sets, the stems the tree keeps, and examples of choosing a word.
Words with one meaning here
| Word | Means | Test it sets |
|---|---|---|
| half | one side of a two-way split | a branch of a split with three or more is an arm, part, piece or leg; script/lint refuses a count above two before "halves" |
cpu |
the unit the scheduler runs a thread on, one hardware thread as Linux and POSIX count them | core means the physical core and never a cpu; a GPU or other device processor takes its own name (gpu); a devicetree cpus node and RISC-V hart in RISC-V-only code keep their owners' words |
| identity | the string a client presents (alice) |
the identity string names a principal's subtree, per ยง117 (a principal's subtree is named by its identity string) |
principal |
the authenticated actor that results, holding a fresh capability set | login turns an identity into a principal; one word for both would lose the difference login performs |
user |
a person | user mode is user_mode_ (user_mode_runtime) |
keeper |
holds something alive and restarts nothing | supervisor restarts what faults; caretaker serves narrowed access |
sink |
the end of a stream nobody reads further | name a program for a terminus only if no capability grant could end it |
| grant | authority a program receives (FileGrant) |
what a program asks for is a declaration (FileGrantDeclaration); not every Spec is one, so RunSpec is ParsedInvocation |
| contract | an agreement between two programs | the _contract crate suffix; a type that selects which agreement applies may say so (StartupContract) |
| right | a permission carried on a capability: held, delegated, and only narrowed (moho_abi::rights, a directory's rights, a grant) |
access that belongs to an object, a page or a file mode is a permission; ruled 2026-11-22 (UTC) |
| permission | access attached to an object, a page or a file mode (page-table bits, a Unix mode, PermissionDenied) |
what a capability carries is a right, so a capability's "permission" is loose usage |
| option | a letter or word on a command line, as POSIX says | a flag is a bit, so options, never flags |
nife |
the project | lowercase everywhere, prose included |
A terminus that is structural, or merely current
Ask whether the name claims an end of stream that the design guarantees, or one that only reflects
what nobody has built yet. audit_sink discarded each login record because printing it needed a
capability nobody had granted. One grant would have made it keep records, and its name would then
lie, so it is login_audit_receiver: true today, and true when it records.
file_sink passes the test. Its client holds a capability over which no message but append is
expressible, and no grant could change that. byte_sink_contract names what it carries, and
terminal_sink_caretaker hands out a sink that cannot read.
Stems the tree keeps
loginnames the whole family (login,login_contract,login_test_client, the kernel'slogin_service). It does not authenticate, sincecredentialerchecks the secret, butloginis the field's word for the role, and a reader arriving from Unix lands in the right place. The program's docs say where it departs from Unix. Refused:authenticator, which names the half it does not do, andpowerbox, a term of art almost no reader knows.system_installerinstalls the whole system andjiginstalls packages. A distribution prefix (basalt_installer) would go false, because the program copies whatever image the stick booted.GuidandUuidname different things. A GUID is mixed-endian on disk where RFC 9562's UUID is big-endian, so one word for both would assert a byte order the code does not produce.sessioncarries two senses in this repository: a login session in code, and an agent session in the process documents. Nothing in code confuses them.
Choosing a word
- Avoid a word whose kernel meaning differs from yours:
schedule,swap,map,console,argument,tick,probe,frame,flag. "Argument" is always qualified, as in program argument. - When one word names two things, give each a qualifier:
state_handoff, a stack frame or a page frame. - Prefer the word the field already uses:
pending(PendingReaps) overdue,operands(TouchOperands) overargs,mount(MountedTree) overSecondDir. - A suffix a reader knows from another family claims membership in it.
SETMTIME_ATsuggested POSIX's*at()calls and was not one. - A term coined here stays when the document that uses it defines it on the spot ("lift" in
notes/interleaving). A rename would trade it for a vaguer word. - Spell every name and word the American way:
color,catalog.helpers/house_style.pyrefuses new British forms.