roadmap PARTIAL

1088. static_elf: what an outside maintainer would fix before it leaves this repository

Raised by a read-only review lane, when the crate was still named elf. A reviewer with no prior exposure to this crate read crates/static_elf at the head of main (cf1328af6) in a fresh clone. The reviewer read it the way a stranger meeting it in its own repository would. The review changed nothing; every item below is work for a later lane.

The crate has no review package. notes/crate-reviews/ holds no elf.md and the index has no row for it, so there is no settled baseline of names and decisions to leave closed. The one ratified name is the crate's own, static_elf, recorded in src/lib.rs and ruled below; this block does not reopen it. The architect ratified the public names on 2026-11-21 (UTC), the three MACHINE_* constants and NATIVE_MACHINE included, and renamed Error::SegmentTruncated to Error::MemorySmallerThanFile and Error::BadProgramHeaders to Error::ProgramHeadersOutOfBounds; the source records each. The baseline the review did take is milestone 784 (reuse what the tree wrote: which first-party code an existing library should replace)'s comparison of the crate against three readers. That comparison measured fit, hostile input, proofs, cost and upkeep. It ended in the ruling that the crate stays ours. The baseline also takes the order in which milestone 857 (crates released on their own) moves it.

Reuse: the template partsfoundry/crate-workflows and its scaffold, script/crate-review-packet, script/crate-standalone, Kani, cargo-mutants, cargo-fuzz, the crate's falsification patches, and milestone 784's probe script. No new tool.

Does it leave?

The rule: a crate leaves this repository only if it is publishable or used by more than one repository. Judged against both halves:

Verdict: a candidate to leave, on the shared ground, as a publish = false repository first, the way the other extracted crates left. Publication is a separate later question, and the publishing hold stands; nothing here lifts it. The P0 items are what the move needs. The P1 items are what a first tag needs. The decisions section holds the three one-way doors a release would close.

Finding status

One line per finding, in the review's order. Items 1 to 4 are in the before-the-move appendix, items 5 to 11 in the before-the-tag appendix, and items 12 to 16 in the later-items appendix. The decisions and the release steps follow.

Open decisions

None. Decisions for the architect below records the clearance and the names.

Goal

A stranger who finds the repository can tell in one screen that this is a validating front half of a loader for static ELF64 executables, not a general ELF reader. The same stranger can see which refusals are the ELF format's and which are this loader's policy. They can build it, run its tests, verify its proofs and replay one falsification from the README alone. The crate reads nothing outside its own repository, names no project but itself, and compiles for every target it claims without a width assumption it does not state. The public vocabulary follows the organization's naming rules before anyone outside depends on it.

What was checked, and how

The tools run, the sources read and what was not run are in the appendix.

Prior art

The comparison with nearby work is in the appendix.

Findings

What each finding became is under Finding status above.

P0: before the move

The P0 items are in the appendix.

P2: later

The P2 items are in the appendix.

P1: before the tag

The P1 items are in the appendix.

Decisions for the architect

Each decision's background, options and prior art are in the appendix. The rules in force:

Done when

The checks are in the appendix.

BUGS

Follow-on

Index row

An outside reading of static_elf (then named elf) before it leaves. The crate leaves on the shared ground: the kernel links it and must follow it out. What remains is the move's fuzz target, scaffold and stranger run, and the triage of four mutation timeouts in the new repository's first weekly run. The architect cleared the review (2026-11-20 UTC), gave the go for the repository and ratified the public names (2026-11-21 UTC).