roadmap PARTIAL

1048. generational_table: what an outside maintainer would fix before 0.1.0

Raised by the lane lane/generational-table-outside-review, a read-only review of partsfoundry/generational_table as a stranger to this tree would meet it. It changes nothing; it lists what the next lanes change.

The review took its accepted baseline from the review package and the release record (nifeos/nife:notes/generational-table-and-existing-crates.md), and raises none of the decisions those settle. Those are the crate name and the 19 ratified names. They are the typed EntryName<T> with to_bits, from_bits and NEVER_MINTED, and the saturating generation that retires a slot. They are the first-fit insert and the [Option<T>; N] storage. They are the dual license, the low expected demand the README states, and the ruling that the crate publishes. Milestone 1033 (generational_table: the fixed-capacity, proved slotmap, released on its own) owns the tag, the soak and the publication. This block owns the findings that should land inside that path.

Reuse: the template partsfoundry/crate-workflows and its scaffold, cargo-mutants, Kani, cargo-fuzz, and the crate's own harness helpers (any_reachable_table, any_operation). No new tool.

Goal

A stranger who finds generational_table on crates.io can tell in one screen what it is for. The same stranger can build and prove it from the README alone, reach for the methods a slotmap user expects, and trust that every safety claim holds on every target the crate compiles for. The repository's gates are green for the crate's own reasons and red only for the crate's own reasons.

What was checked, and how

Verified firsthand, on a fresh clone at the head of main:

Inferred from reading, not run: the behavior on a target whose usize is narrower than 32 bits (item 2), and whether the crate builds at Rust 1.85 (item 15).

Not run: cargo semver-checks (no previous release to compare against), Miri (the weekly job runs it and passed), a long fuzz campaign, a release dry run, script/apply-settings and the template's name-check helpers. The review package ran the helpers over the same names, and no public name has changed since.

Prior art

How the crate sits against what a crates.io user already knows. Recent downloads are the last 90 days at the time of the review.

crate recent / all-time downloads storage handle generation what a user coming from it will miss here
slab 0.4 289M / 1.11G Vec usize, no generation none insert(value), capacity, clear, iter_mut, retain, Index; and the README does not name it
slotmap 1.1 37.3M / 130M Vec, growable KeyData, as_ffi/from_ffi, two words can reach one entry per slot, odd while occupied, wraps after 2^31 reuses insert, contains_key, iter_mut, capacity, clear, retain, drain, Index, Ord on keys, secondary maps
generational-arena 0.2 1.22M / 10.7M Vec, archived upstream (usize, u64), 16 bytes one counter for the arena insert, contains, iter_mut, capacity, clear, retain, drain
thunderdome 0.6 227k / 1.18M Vec Index, to_bits/from_bits, same packing as this crate per slot, wraps past zero after 2^32 - 1 insert, contains, iter_mut, capacity, clear, retain, drain, Index::slot(), get_by_slot
triple_arena 0.15 232k / 361k inline on StackBacking, unsafe a caller type from a macro, index and optional generation one counter for the arena growth, many arena kinds
coca 0.3 17 / 4.4k inline, MaybeUninit, unsafe; dormant u64, generation high, index low per slot, wraps after 2^31 constant-time insert, a packed dense pool

Where this crate differs: capacity fixed at compile time, no allocation, a const constructor that sits in a static, no unsafe, and a generation that retires a slot instead of wrapping. A typed name that any u64 can spell, which the table checks on every use. A walk bounded by the highest live slot and resumable from a slot cursor. Six machine-checked proofs, each shipped with the patch that makes it fail. What it costs: an O(N) first-fit insert, one Option tag per slot on a T without a niche, a slot lost after 2^32 - 1 occupants, and the smaller method surface in the last column. The release record's Kani run against slotmap is the concrete example. A map holding one entry resolves a u64 it never minted, because from_ffi forces the version odd. This crate's a_name_the_table_never_minted_resolves_to_nothing refuses that.

The items

The fifteen items, graded P0 to P2 with evidence, change, door and effort, are in the appendix. Item numbers in this block refer to it.

What needs the architect

No one-way door remains open. The architect ratified the five new public names of item 6 and Ord on EntryName<T> (item 11). The ruling already covers the publication, its version, the license and the crate name. This block does not reopen them.

Done when

BUGS

Where this stands

Every finding is done or waits on the release that publishes. The publishing hold keeps that release back until every outside review is delivered (ruled 2026-11-18 UTC), and milestone 1033 owns it, its tags and the pin bumps in this tree.

Finding status

Read against partsfoundry/generational_table main at 8328360, the merge of partsfoundry/generational_table#22.

Follow-on

Open decisions

None. Every remaining step is the release that publishes, which the standing publishing hold already governs; no item here needs a ruling of its own.

Index row

An outside review of generational_table before its first release: one manifest fix that blocks publishing, seven items to land before the tag, and seven for later. The seven cover a slot truncation on narrow targets, the README's recorded gaps, the template's mutation stack and its single-shard verdict bug, five missing methods, an induction-step proof for the walk bound, and a benchmark behind the README's figure.