P2: later
An appendix to the milestone.
P2: after the move, before publication
-
Errorimplements neithercore::fmt::Displaynorcore::error::Error. Finding:src/lib.rsline 292 derivesDebug,Clone,Copy,PartialEq,Eqand nothing else.core::error::Erroris stable andno_std. Without it the enum cannot sit behind?into a boxed error or ananyhow-style type, which is the first thing a host-side test harness tries.Hashis missing too. Fix: deriveHash;impl Displaywith the variant's one-line meaning;impl core::error::Error. Effort: S. Door: two-way (additive). -
CapabilitySlothas no user. Finding:src/lib.rsline 92 defines the alias; nothing in the tree names it, and the crate's own method docs writeu64. Fix: use it in the root'sinvokesignature and the wrappers' docs, or delete it. Effort: S. Door: two-way. -
uart::RegisterShape::new(reg_shift, reg_io_width)keeps a foreign spelling without its form. Finding: the parameters (src/uart.rsline 38) carry the device-tree binding's names;regabbreviates "register", and the naming rules apply to parameters. The rule for a kept foreign name wants the doc to open with the full name and source and the item to carry#[doc(alias)]. The module doc names the bindings, but the function does not. Fix:register_shiftandaccess_width_bytes, with#[doc(alias = "reg-shift")]and#[doc(alias = "reg-io-width")]on the constructor; or the foreign-name form as written. Effort: S. Door: two-way. -
cycle_counter::CycleMeaningis not a system call contract. Finding:src/lib.rsline 222 to 229 say no system call carries it; it is a message word a program sends a test harness, keyed to what a runtime wrapper returns. In a crate whose claim is "the numbers a program and a kernel agree on", a stranger reads it as a method and looks for one. Fix: decide whether it moves to the runtime crate or the witness contract that reads it, or stays with one sentence saying it is a message-word convention and not a method. Effort: S. Door: two-way. -
Doc nits. Finding:
src/page_frame.rsline 27 to 28 repeat "so a slice escapes its source's revoke" twice in one sentence.src/memory_region.rsline 52 has a space before its period.src/survey.rsline 64 and:80have "provisional. an architect" with a lowercase sentence start.src/lib.rsline 66 to 67 run "freeing the slot" into "Deleting an empty slot" with no period.Cargo.tomlline 14 keeps acfg(kani)allowance for a crate the README says has no harness. Fix: as stated. Effort: S. Door: two-way. -
Name:blocks quote the decider. Finding:src/interrupt.rsline 3,src/virtio.rsline 5 and:13,src/thread_control_block.rsline 55 and:66, andsrc/rendezvous.rsline 111 record a ruling as a quotation. A record states the decision and its date and never quotes. The move strips every block, so this is nife's to fix and not the new repository's. Fix: restate each as the decision. Effort: S. Door: two-way. -
The six mutation survivors have no per-mutant record. Finding: the baseline row reads 67 caught, 6 missed, 8 unviable; the dry run carries the row into
.github/mutants-exemptsas a comment because the census did not record which six. The triage notes name three:|as^infutex::admitted(disjoint bits),1 << 0as1 >> 0inrights::READ, and anis_core_cyclesarm. This review found the other three named nowhere, so they stay unverified. Fix: after the first weekly run in the new repository, onemutants-exemptsline per survivor with its reason; a survivor without an equivalence argument gets a test instead. Item 11's counting test kills therightsclass outright. Effort: S. Door: two-way. -
No machine checks it, and the proofs job's behavior on zero harnesses stays unverified. Finding: the README says so plainly.
timer::counter_ticks_foris the one function with arithmetic; the recorded Kani attempt with a symbolic rate did not finish. A bounded harness over concrete rates andseconds < 2^20may finish where the symbolic divide did not; the tests pin the boundaries today. Whethercargo kanion a crate with no harness exits green is not verified here;falsify.py --checkpasses. Fix: try the bounded harness once and record the result either way. If the proofs job needs a harness to be green, that is the template's to say, and the README's "What is proven" stays honest. Effort: M. Door: two-way.