P2: later
An appendix to the milestone.
P2: for later
-
counter_frequency_contractis an unused dependency on aarch64. Finding: cargo warnsunused dependencyon the aarch64 build; the manifest comment says the dependency is unconditional on purpose, but the warning is per build and the template runs clippy per target. Evidence:Cargo.tomlline 26; the aarch64cargo checkoutput. Change: a[target.'cfg(not(target_arch = "aarch64"))'.dependencies]table, or a use on aarch64. Effort: XS. Door: two-way. -
Parameter and item names the template's abbreviation gate and the naming rules flag. Finding: 53 components in 452 names are not words. The
[spelled_out]list the gate reads namesva(virtual_address),val(value),num(number),src(source) anddst(destination) directly;aspace,tcb,sp,nrandipare abbreviations with no entry. Beyond the gate, six more names need attention. First,mapped_window::PAGEholds 4096 bytes and the units rule wants_BYTES. Second,cntfrqandcntfrq_checkedhold a rate in hertz under an ARM register mnemonic that two of the three architectures do not have (28 callers). Third,thread_control_block_start's parameters arex0,x1,x2, aarch64 register names on three architectures. Fourth,MappedWindow::subshares a spelling withcore::ops::Sub::suband means something else, which the standard-library-names rule refuses. Fifth,listis one of the generic words the naming rules name as a failure mode. Sixth,virtiois a product name the gate should accept. Ther8tow64family kept the migrated callers' vocabulary, as the note records. Evidence:src/objects.rslines 22, 162, 194, 210 to 215, 241 to 246, 270. Alsosrc/system_call.rslines 23, 55, 88, andsrc/virtio.rslines 31, 46. Alsosrc/devices.rslines 58, 72, andsrc/mapped_window.rslines 37, 66, 145. Alsosrc/socket_frame.rslines 69 to 90,src/clock.rslines 45, 57, 72, 82, 126, 137, andsrc/inter_process_communication.rsline 69. Change: the names review the move requires (every one of the 114 unratified names), with the names Decision 1 decides, provisionally. Door: two-way until the first tag; ratifying the names stays the architect's. Effort: M for the rename lane, after the ruling. -
Two spellings of the empty-slot probe. Finding:
is_grantedinvokes method0xffffandretype_sleeperinvokes methodu64::MAX, both to readNoSuchSlotagainstBadMethod. Both rely on every object type refusing an unknown method withBadMethod. Four dispatch arms in the kernel do. Nobody has verified whether every type does. Evidence:src/objects.rslines 49 to 55;src/inter_process_communication.rslines 301 to 307. Change:retype_sleepercallsis_granted. One sentence inis_granted's doc naming the kernel property it depends on. Effort: XS. Door: two-way. -
Ten receive functions, three shapes for "a message or the bound notification's word". Finding:
receive,receive_badged,receive_badged_bound,receive_bound,receive_fault,receive_capability,receive_capability_badged,receive_capability_bound,receive_requestandreceive_request_bound. The bound variants returnReceived(an enum),Result<_, u64>andResult<Request, u64>for the same distinction.receive_capability_boundhas no caller in the tree. Each is oneinvoke5with a different projection of the same five words. The prior art returns one message record from one call. Evidence:src/inter_process_communication.rslines 101 to 233 and 480 to 511. Change: the smaller surface, as Decision 3 decides, provisionally; a wrapper added later is compatible where one removed is not. Effort: M to L across callers. Door: two-way before the first tag. -
The reason
socket_framegives for living here is stale. Finding: the module doc saysMappedWindow"cannot compile for the host"; it does (item 4). The reason that holds is the dependency direction: a contract crate never links the runtime. Evidence:src/socket_frame.rslines 5 to 7;Cargo.tomllines 31 to 35. Change: state the direction rule instead. Effort: XS. Door: two-way. -
No wrapper for
SYSTEM_CALL_EXIT_THREAD. Rule in force (2026-11-15 UTC, provisional): the crate has noexit_thread() -> !. It wrapsSYSTEM_CALL_EXIT,SYSTEM_CALL_YIELD,SYSTEM_CALL_CAPABILITY_DELETEandSYSTEM_CALL_INVOKE, and nono_stdprogram incomponents/needs the fifth number; only the std overlay (patches/std-nife/overlay/std/src/sys/pal/nife/rt.rs) andsystem_testsinvoke it, and each traps it directly. The crate says so in the docs ofexit. A public API nobody has verified a use for is not grown; a wrapper added later is compatible. Door: two-way.