P1: before the tag
An appendix to the milestone.
P1: before the first tag
-
The limits and offsets carry no unit and abbreviate, against the rules now in force. Finding:
NAME_TEXT_MAXIMUM(src/wire.rsline 13) is a limit in bytes with no unit and the limit word last.GRANTS_MAXIMUM(line 29) is a count with the limit word last.NAME_OFFSET_BYTESandADDRESSES_OFFSET_BYTES(lines 21, 24) abbreviateoffset.MAXIMUM_ADDRESSES(line 18) andADDRESSES_OFFSET_BYTEStrip the template's address rule, which wants a qualifier that says the address is not a memory location (IP_ADDRESS, asGATEWAY_IP_ADDRESSpasses in that helper's own test). The fieldtext_len(src/grants.rsline 64) is a length with no unit, and the template counts fields. Two local bindingsop(src/grants.rsline 124,src/wire.rsline 207 as staged) failspelled_out.pyat a ceiling of zero. The parametersw0andw1ofGrants::control(line 123) andcontrol_fields(src/wire.rsline 113) are abbreviations, and the rule covers parameters. The first three constants carried a ratification in #2797, before the rule that a limit opensMAXIMUM_and ends with its unit. Thesocket_contractpackage treats its ownDATA_MAXIMUMthe same way, as a name a release review reopens. Why it matters: the template runs these checks at a ceiling of zero, so the first pull request in the new repository is red for names, and a renamed public constant after the tag is a break. Change: the names of decision 1, applied by one rename lane. The lane covers the std copy anddomain_name_system::MAXIMUM_ADDRESSES, whichsrc/lib.rsline 50 asserts equal.xtaskregeneratesresolveproto.rsfromsrc/wire.rs, and the farm's consumernife.rslines 1138 to 1215 follows. Door: two-way before the first tag. Effort: S for the rename, plus the std farm. -
The interface identity is frozen at
INTERFACE_ID11 andVERSION1 (decision 3, ruled 2026-11-14 (UTC)). Milestone 1017 (the contract crates leave in this order) makes a change to these values theneeds-architecthold on a contract crate. Door: one-way (a peer compares it). -
The reply to a control
CALLis in the contract (decision 2, ruled 2026-11-14 (UTC)):wire::refusalnumbers eachRefusal,Control::replypacks the answer andcontrol_answerreads it. The resolver sends it, and the spawnerCALLs the last piece of each grant. A system test grants a bad zone and readsBadZone(system_tests/src/user/name_resolver_tests.rs). Door: one-way at the tag (a wire word). -
One field, three bounds. Finding: the crate root says the client writes at most
NAME_TEXT_MAXIMUMbytes (src/lib.rsline 9).grant_messagesaccepts a zone ofNAME_TEXT_MAXIMUM + 1bytes for a trailing dot (src/messages.rslines 9 to 12) and the table does the same (src/grants.rsline 134). The resolver accepts a resolve ofNAME_TEXT_MAXIMUM + 1bytes (components/src/domain_name_resolver.rsline 246). The std client refuses anything overNAME_TEXT_MAXIMUM(nife.rsline 1144). Nothing asserts that the name field ends beforeADDRESSES_OFFSET_BYTES(0x100, 256 bytes, against a 254-byte name: true today, by three bytes, unchecked) or that the addresses end inside a page. Change: state the trailing-dot allowance once, at the limit's definition, and have the resolver and the std client read the same expression. Add the layout assertions a page contract carries (`const _: () = assert!(NAME_OFFSET- MAXIMUM_NAME_TEXT_BYTES + 1 <= IP_ADDRESSES_OFFSET)
andIP_ADDRESSES_OFFSET + 4 * MAXIMUM_IP_ADDRESSES <= PAGE_BYTES, withPAGE_BYTES` spelled as the naming rules for a page contract ask). Door: two-way (the values do not change). Effort: S.
- MAXIMUM_NAME_TEXT_BYTES + 1 <= IP_ADDRESSES_OFFSET)
-
Outcome::from_worddecodes words the resolver cannot send. Finding:from_word(src/wire.rslines 201 to 209) refuses only a word with the high 40 bits set. Acountof 255 and astatusof 200 decode as valid. The std client clamps the count itself (nife.rsline 1172); the test client reads one address and is not exposed. The bound belongs to the contract, where every client gets it. Change: returnNoneforcount > MAXIMUM_ADDRESSES, and for a status thestatusmodule does not define; add the two cases toan_outcome_word_round_trips_and_a_kernel_error_is_not_one. Door: two-way (narrows decoding; the resolver never produces those words). Effort: S. -
The documentation does not stand alone, and the crate root's table renders wrong. Finding: the crate has no README. The crate root's layout table renders its second row as literal pipes (verified in the generated HTML;
src/lib.rslines 7 to 12 break a row across lines). The sequence a stranger needs first (the spawner grants, the client attaches then resolves, the resolver judges then asks) is innotes/name-resolution/the-contract.md, with its diagram, and only linked from the crate. The template's acronym gate lists ten unexpanded acronyms at first use (IPv4, PAL, DHCP, UDP, TCP, RFC, DNS, TTL, NXDOMAIN; andOK, which belongs in the accepted list). The two tiers of zone spelling (item 13) have no single explanation. Change: a README with the three-party diagram, the message sequence, the page layout, the reply words and both tiers of zone spelling, withEXAMPLES(theGrantsdoc example, which already compiles) andBUGS(the crate root's three, reworded). Fix the table. Expand each acronym once in the crate root. Door: two-way. Effort: M. -
The grant table has an argument for safety and no proof. Finding:
Grants::controlis the one stateful parser in the crate. Itsu8subtractione.text_total - e.text_len(src/grants.rsline 157) and the slicee.text[start..start + n](line 159) are safe by an invariant the code keeps. An incomplete entry always hastext_len < text_total, so the subtraction never wraps and the slice stays inside the 254-byte buffer. No comment states the invariant and no proof checks it. The template runs Kani on every pull request andfalsify.py --checkpasses trivially with zero harnesses. Change: one bounded Kani harness, with its falsification patch. FromGrants::new(), up to two arbitrary(w0, w1)messages never panic.checkreturnsOkonly for a badge whose last control result wasGranted. A badge's window never changes while it holds one. One cargo-fuzz target that feeds arbitrary word pairs to a table and asserts the same, so the weekly fuzz job has a target when the repository opts in (the crate has nounsafe, so it may). Door: two-way. Effort: M. -
The six surviving mutants need a listing in the new repository. Finding: the census records 6 missed mutants, all
|replaced by^between disjoint bit fields (port_and_transport,control_wordthree times,Outcome::wordtwice). They are equivalent mutants: no input distinguishes|from^on bits that never overlap. The dry run carries the row into.github/mutants-exemptsas a comment and says the first weekly run will list the survivors. The template'smutationverdict is red until they are. Change: list the six in.github/mutants-exemptswith the reason, in the move pull request, so the first weekly run is green for the crate's own reasons. Refresh.cargo/mutants-baseline.txtline 34, which carries the first census's figures, or delete the row at the move as the dry run instructs. Door: two-way. Effort: S.