P1: before the tag
An appendix to the milestone.
P1: before the first tag
-
The crate's documentation addresses a reader inside nife. Finding: the crate root and item docs cite
notes/address-space-map.md,crates/user_mode_runtime/link.ld,components/src/swish.rs,script/lint,kernel::user::USER_STACK_TOP,supervision_contract::CHILD_STACK_VA. They also cite ยง171 (where a program image starts, and where the stack goes), milestones 206 and 956, a pull request number, the architect by name, and fiveName:blocks. The template'sstandalone.pycounts 1 section citation, 4 paths into the tree, 5 provenance blocks, 2 lines naming the architect and 3 milestone citations. The template also states that a crate carries noName:block. Two sentences are history ("Waskernel::user::USER_STACK_TOP... both0x50_1000"), which nife's own rule for documents excludes. The root doc tells the reader to "see notes/address-space-map.md for the table of bands", so the one table a stranger needs is not in the crate. Evidence:src/lib.rslines 2, 9, 13 to 15, 18, 23 to 27, 30 to 35, 111 to 112, 147 to 148, 152 to 153, 160 and 290 to 291;src/verification.rslines 5 and 13 to 14. Change: the crate root doc carries the band table (eight rows, start, end, size, what goes in it) and the seven-question placement order, lifted from the note. It gives the reasons for the numbers in two or three sentences each (the 2 GiB code-model ceiling, the stack above the image, the process pages beside the stack). Every nife path, section, milestone, pull request and person's name goes; everyName:block goes; the two "Was ..." sentences go. The note in nife keeps the long form and links the crate. Door: two-way. Effort: M. -
No README, licenses, changelog or scaffold. Finding: the crate directory holds
Cargo.toml,src/andfalsifications/. The template requires a README with## EXAMPLESand## BUGSin the scaffold's section order,LICENSE-MITandLICENSE-APACHE, aCHANGELOG.mdand_typos.toml. It also requires the nine caller workflows,.github/mutants-exempts,.github/ci-job-budgets,.github/accepted-wordsand adocs/stranger-test.mdwhose first recorded run gates the first release. Evidence: the crate's file list;scaffold/README-crate.mdandhelpers/standalone.pyin the template. Change: scaffold the repository from the template. The README's EXAMPLES section shows a pair page placed in aconst, acheck_imagerefusal and its printed sentence. The "What is proven" section lists the nine harnesses in a user's words. The "Building and testing" section names the three bare-metal targets theci.ymlcaller lists. The "Running the proofs" section gives the Kani install line on one line, the measured time (under ten seconds for nine harnesses on one machine here) and the paragraph on what a passing run prints that looks alarming. BUGS carries the three entries from the crate root plus the one in item 12..github/mutants-exemptscarries the one equivalent mutant with its reason (item 11). Then record a stranger run. Door: two-way. Effort: M. -
Parameter and helper names the template refuses. Finding: the parameter
vaappears inBand::contains,pair_page,runtime_window,service_window, a test binding and four verification helpers;vais on the spelled-out list (virtual_address), and the rule covers parameters. The verification helperallowedreturnsbooland is not shaped as a question. Evidence:src/lib.rslines 57, 171, 182, 196 and 430;src/verification.rslines 29, 40, 85 and 91; thespelled_out.py(9 refusals) andquestion_shape.py(1 refusal) runs above. Change:vabecomesvirtual_addressat every site,allowedbecomesis_allowed. A parameter name is not part of the Rust API, so no caller changes. Door: two-way. Effort: S. -
Constants that hold an address or a length do not say so. Finding:
PAGEis a length in bytes. nife's crate rule spells a page contract's constantsPAGE_BYTESandPAGE_VIRTUAL_ADDRESS.IMAGE_BASE,STACK_TOP,STACK_TOP_PAGE,CURRENT_CPU_PAGEandCODE_MODEL_CEILINGare addresses. The rule says an address is_VIRTUAL_ADDRESSor_PHYSICAL_ADDRESSin every location.ImagePlacement's fieldsimage_start,image_endandstack_baseare addresses too. The template'sregister_names.pydoes not catch any of them because it reads only names that contain the wordaddress, so this is a reading ofdesign/naming.md, not a gate failure. These are public names with 90 call sites in nife (IMAGE_BASE42,PAGE23,STACK_TOP_PAGE20,CURRENT_CPU_PAGE2,CODE_MODEL_CEILING2,STACK_TOP1).MAXIMUM_STACK_PAGEShas a ratified name and is a count, so it passes. The eightBandconstants name bands, not addresses, and pass. Evidence:src/lib.rslines 39, 70, 144, 149, 154, 165 and 216 to 226. Change: the maintainer's provisional ruling on these names; the rename lands in the move pull request, where every caller's manifest changes anyway, withscript/namesenumerating the sites first. Door: two-way before the first tag (public names). Effort: M across nife, S in the crate. -
The crate's name uses a word the vocabulary rule sets aside. Finding:
address_space_layoutcarriesmap, whichdesign/naming/vocabulary.mdlists among the words to avoid where the kernel meaning differs from yours. The crate's own root doc uses the word in both senses in one paragraph: "the map" (the table of bands) and "pages the kernel maps into every process" (the verb). The crate root marks the name provisional and records that the minting setuser_layoutandaddress_spaceaside. The block does not give the reasons (unverified). Evidence:src/lib.rslines 1, 18 and 124;design/naming/vocabulary.md. Change: done. The crate isaddress_space_layout(decision N1, ruled 2026-11-14 UTC), in code and as the package name. Door: one-way. Effort: M across nife (26 manifests, 281 sites), S in the crate. -
The band functions check a window's first page only. Finding:
pair_page,runtime_windowandservice_windowtake one address and check that one page. A multi-page window whose first page sits near a band's top runs into the next band unseen:service_window(0x5FFF_F000)passes, and an 8 MiB window there would end inIMAGE. The crate's own BUGS and the note both record this.Band::holds(start, end)is already the whole-range check, andstd_runtime_contractcalls it directly for that reason. Evidence:src/lib.rslines 11 to 14 and 171 to 206;crates/std_runtime_contract/src/lib.rsline 272;notes/address-space-map.md, BUGS, first entry. Change: as decision 3 of the milestone decides, provisionally: addwindow(band, start_virtual_address, bytes), asserting alignment andband.holds, and make the three one-page functions wrappers over it, so their 222 call sites stay.process_builder'sSCRATCH_WINDOWchecks its whole 64 MiB with onewindowcall. Door: two-way before the first tag (a new public name, provisional). Effort: S in the crate. -
Five
constassertions raise a future-incompatibility warning under Kani's toolchain. Finding:const _: () = assert!(...);puts a macro with a trailing semicolon in expression position. Stable rustc and clippy are silent; the nightly Kani drives printssemicolon_in_expressions_from_non_local_macrosfive times, "will become a hard error in a future release". A stranger running the proofs for the first time reads five warnings against the crate's own lines. Evidence:src/lib.rslines 339, 340, 341, 342 and 344; the Kani run above. Change: wrap each in a block,const _: () = { assert!(...) };, as the tiling assertion at line 298 already is. Door: two-way. Effort: S. -
The one surviving mutant needs its exemption to travel. Finding: nife's census records one survivor,
check_image'send > IMAGE.endto>=, triaged equivalent: whenstartis inside the band andend == IMAGE.end,holdshas already returnedOk, so the second branch never sees that boundary. Reading the function confirms the triage. The template'smutationverdict fails a survivor unless.github/mutants-exemptslists it with a reason, and the exemption lives in nife'snotes/project-metrics/mutation-triage.csv, which does not move. Evidence:src/lib.rslines 273 to 287;notes/project-metrics/mutation-triage.csv, theaddress_space_layoutrows. Change: one line in.github/mutants-exemptswith the reason above. The alternative, rewritingcheck_imageso the mutant is not equivalent, changes nothing a caller sees and trades a clear three-wayiffor a less legible one; not recommended. Door: two-way. Effort: S. -
The map is the same in every process, and nothing says so to a stranger. Finding: every band and every fixed window sits at one address in every process on every architecture. That is the design (one layout for three architectures, compile-time checked windows), and it means there is no address-space layout randomization. A reader arriving from Linux, FreeBSD or Fuchsia, all of which randomize, will ask. The crate does not answer. Evidence:
src/lib.rslines 1 to 9; the BUGS atsrc/lib.rslines 11 to 16. Change: one BUGS entry in the crate root and the README. It says the design fixes the layout, what that buys (a pair page checked at compile time, one linker script), and what it does not do. Door: two-way. Effort: S.