PR #496 — amendments only (run 363, 2026-11-25)
Per the operator's instruction, this report contains only amendments to what I previously reported. Nothing restated here is new; everything stated here is new, corrected, or struck. All citations I re-verified at head unless marked otherwise.
Key findings (amendments)
- The blocker is gone — #496 is now "no blocker, five should-fix". A second
flare-autobotreview landed 2026-11-25 05:23 UTC on the same head0c04b1e2(no new commits; still +3358/−933 across 3 files). Recommendation is still Changes Requested but the body states "Blockers: None", formally closing the 61.3K retrieval blocker and confirming the author's 02:41 parity answer was accepted. This supersedes my run-238 key finding 2 ("the blocker is answered") and the whole blocker narrative: there is no open blocker on #496 at all. All five should-fix items are new and I verified each against source — all five accurate, none spurious. Five nits, not itemised by the bot. - Only one earlier should-fix survives, and it is the process item. Round 1's five are resolved at head with no regression. The single repeat is "Get the design decision recorded" (
AGENTS.md:201-207, verified: "Resolve conflicts through an explicit maintainer decision on the design before implementing a change to that invariant; a commit acknowledgment or routine PR approval is not that decision"). The author's Why paragraph is a sound technical argument but is the author justifying, not a maintainer recording a decision — so merging cannot retroactively supply it. This is now the item most likely to hold the PR, and it has survived both review rounds. - The hash concern is not hypothetical: it is already true on main. #504 merged 2026-11-25 18:22 (head
d1b90d7, +20519/−785, 152 files, yatesdr) and addsHeader.packed: Option<Arc<packed::Layout>>(selene/src/shared/record.rs:127), included inHeader'sPartialEq(:146). #496'sHeaderIdentity::hash(selene/src/disk_store.rs:1014-1050) destructures 13 named fields with a..rest arm (:1030), so it hashes neitherpackednor anything added later. After a rebase, two records differing only inpackedcompare unequal yet hash identically, collide into oneWindowKey/SegmentKey, and one restore uploads another record's bytes — silently, since no test guards hash/eq agreement (confirmed by grep).HeaderIdentityexists only in #496, so this cannot be caught by anything on main. This supersedes and sharpens my run-238 key finding 4 ("after any compression PR lands") — the compression PR has landed. - New finding the review does not name: the round-1 metering fix made two consumers disagree about
progress.DiskStore::apply(selene/src/disk_store.rs:3632-3636) special-casesInboundWindowSample, observes the rate andreturns beforeself.stats.progress += 1, so the disk store treats a bandwidth sample as not-progress. ButCompositeStore::poll(selene/src/composite.rs:1375-1377) doesself.stats.progress += 1for every transport event ahead of its match, so the composite counts the same sample as progress — and:1418-1428re-runsspill_parked(...)plusdisk.maintain()wheneverprogressmoves. Net: one full maintenance pass per physical staging window during exactly the concurrent-restore burst this PR exists to speed up, plusStoreStats.progressinflated by a quantityselene/src/store.rs:201-202defines as "Completion and capacity-release events". This is a consequence of the fix added for round 1, not of the original design; no test covers poll frequency under coalescing. - Neighbourhood, rewritten. #504 is merged, not a competitor; the closed #477/#486/#492 are superseded by it and should be dropped from the related-items list. #497 is unchanged at
cd5a366band its own 05:54 review is now Ready To Merge / no blockers; it still has noDestination, noInboundRecordand a single-argumentplan_windows, so the two-doors-open claim in both descriptions still holds. #496 and #497 remain the only open PRs touchingselene/src/disk_store.rs. - #496 can no longer be called a clean 3-file merge. Post-#504 it needs a real rebase plus one unstated design decision (see A6).
A1. What changed on #496 (angle: what moved)
- head unchanged at
0c04b1e2, branchselene-disk-ancestor-coalescing, one commit, no new commits this window.read_item 496: +3358/−933, 3 files, updated 2026-11-25 05:23. - The only new events are two bot comments: a repeat "case file opened" notice at 04:33 (new intake-report URL
a894fb21-…vs542f7809-…in the previous round) and the 05:23 review. No new author response after 02:41. - Reviewer explicitly states: "No toolchain, GPU or test run was available to this review: every finding is established from source at head
0c04b1e2." That limits its scope to source reading, which matches everything I independently verified below — none of the five items rests on a runtime measurement, so the limitation is not material to their validity. - Still: no labels, no CI checks recorded, single commit.
A2. Round-2 should-fix items, verified individually
SF1 — InboundWindowSample on the cross-rank completion enum (layering). Real. selene/src/disk_store.rs:83 calls TransportEvent "Completion the transport reports to the disk store"; every other variant (Stored, StoreInvalidated, Fetched, Truncated, Unlinked, :86-109) carries id: super::JobId, while InboundWindowSample { bytes, elapsed } (:97-101) does not. Consequences that make it load-bearing in three places rather than cosmetic: selene/src/shard.rs:476-478 must unreachable!("window rate samples stay local to rank zero") for it, and two hand-written filters uphold that guard — shard.rs:722-725 (absorb_local pushes and continues) and shard.rs:1148-1150 (forward skips it). Remove either filter and Kind::of panics on a live event. This is the new file selene/src/shard.rs (+10/−0), so the +10 lines I reported at run 238 are exactly this workaround set.
SF2 — HeaderIdentity's hand-written Hash. Real and structural; see key finding 3 and A3 for the two corrections to the review's own advice.
SF3 — record_slots restated by hand. Real, correct today, one-line fix. pick_next_pending_plan computes let needed = plan.count + if plan.row { layout_row_slots } else { 0 }; (selene/src/disk_store.rs:1767-1777), restating selene/src/geometry.rs:180-182's pages + usize::from(row) * self.row_slots(); the allocator it predicts already calls the real function (disk_store.rs:243-246). Drift would either admit a window the allocator refuses (restore stalls forever) or under-admit windows and lose parallelism. Nothing enforces agreement.
SF4 — §2.4 paragraph and duplicated metrics contract. Real and unchanged. docs/prefix-cache-offload.md:333-366 is still one Markdown bullet carrying the whole Staged description in ~330 words, while sibling bullets in the same list are 1–3 lines. The metrics fact is still stated twice: :362-366 (§2.4) and :1528-1531 (§4), ~1,200 lines apart, in different wordings. Note for whoever fixes it: the two coalescing limits (:354-358) and the failure-isolation scope (:358-362) are stated only there, so a split must not drop them.
SF5 — Design sign-off. The survivor from round 1; see key finding 2.
A3. Two corrections to the review's own text
- It says the
Hashimpl destructures "14 fields"; 13 are hashed and the 14th is the..rest arm (selene/src/disk_store.rs:1016-1031). I verified the count againstHeader's exhaustivePartialEq(selene/src/shared/record.rs:144-158): 13 fields compared,versionexcluded by design (:125"not semantic identity"). - Its option "give
HeaderaHashimpl" is not a clean derive.Header.version(selene/src/shared/record.rs:126) is private and excluded fromPartialEq; a derive would hash it and break the very eq/hash agreement the impl is meant to protect. And the..in #496 is not untidiness:versionis private to another module, sodisk_store.rscannot name every field — the rest arm is what makes the impl compile across the module boundary. Hashing onlyPrefixKey(Header.key) is the sound choice, andHeader.keyis already hashed today.
A4. Unchanged from my previous report and still worth carrying
pump_allordering.selene/src/disk_store.rs:2291-2312, re-verified at head: unbounded maintenance drain first (:2292-2300), then sortedoutbound, then sortedhost_inbound, thenpump_device_inbound. #496 ships no inbound-before-maintenance ordering; that is #497'sMAINTENANCE_DEFER_LIMIT = 8(pr/497:66,pump_allat :1212-1243), not this PR's. Keep it attached to #497 as the owning PR, not as a defect of #496.Staged::close's misleading count.:2513-2545:store_jobs = outbound + host_inbound + device_inbound + maintenance_jobs,internal = owners.max(maintenance).max(shared_segments).max(shared_windows),abandoned = store_jobs.max(internal), reported as "{abandoned} disk transport jobs did not complete". The author's "included owners/shared_segments/shared_windows in the count" is true but only adds arguments to a.max()of heterogeneous quantities: a leaked window is still reported as leaked jobs, and the number can be too high or too low. Round 2 demoted this to a nit, so it will likely ride in.- Benchmarks, test counts, parity evidence, "Not covered" list. Unchanged — no new commits. 27B TP1 60.5K simultaneous 18,177.5 → 4,306.7 MB (4.22x), TTFT 7,974.6 → 5,662.8 ms (−29.0%); +25 ms stagger 3.76x, −13.5%; Flash-Next TP1 61.0K simultaneous 3.99x, −3.1%; stagger 3.52x, −2.8%. Parity: one 60,534-token checkpoint, seeds 1234–1238, identical FP32 top-5 and token IDs, per-seed
6/9, 8/9, 7/9, 9/9, 4/9matching main. Still 1 model / 1 checkpoint / 1 prompt / TP1 / 5 seeds. - Metrics/severity character. No on-disk format change, no new flags, failure isolation preserved.
A5. Related items — what to strike
- Strike:
#504 (open, draft)→ it is merged (2026-11-25 18:22, headd1b90d7, +20519/−785, 152 files). - Strike: #477, #486, #492 as open competitors "carrying the packed path" — all three are closed, superseded by #504; my run-238 amendments over-weighted them.
- Amend: #497 is at
cd5a366bwith a Ready To Merge / no blockers review (3 should-fix, evidence hygiene and plumbing only) — a change from "reviewed with Changes Requested". - Keep: "#498/#499 merged, so #496 and #497 are the author's only open Selene PRs" remains correct. #500 stays open and unrelated.
- Withdraw/soften: my earlier line that the description "never names the differing fact" — it now does ("cross-seed score variation reflects positive-temperature sampling, as helios clamps request temperature into the core's positive sampling range and Flare does not support greedy temperature = 0"), and the reviewer accepted it by closing the blocker.
A6. #496 needs a real rebase, not a clean merge (three verified collisions with post-#504 main)
plan_windows: two arguments at #496's head (selene/src/disk_store.rs:682-685, re-verified:fn plan_windows(segments: impl IntoIterator<Item = (u32, usize, bool)>, align_to_window: bool)) versus one argument post-#504 (d1b90d7:1001). #504 also restructured thepages == 0branch (d1b90d7:672-676early-continue) that #496 expresses inside its windows computation — hand merge, not textual.Destination/Source: #496's whole restructuring is a two-way split (HostInbound/DeviceInbound;Source::{Device,Host}at:274-287); #504 adds a third destination,Destination::HostPacked(d1b90d7:949-961, consumed at :1180, :1185, :1274, :1613) andSource::HostPacked(d1b90d7:273, used at :508, :610, :699-706, :861, :1715). The rebase must decide whether a contiguous packed payload participates in window coalescing — coalescing across it is probably wrong — and #496 says nothing about it.InboundRecord: #504 still constructsInboundRecord::new(vec![segment], Destination::HostPacked, vec![plan])(d1b90d7:1613) — exactly the single-element structure #496 removes, so #504 re-introduces what #496 deletes.- Docs: #504 moved §2.4 to
:414-419and re-states the stalewrite_from(key, metadata, buffers)/read_into(key, buffers)signatures there, so the paragraph #496 is correcting is now wrong on main a second way.
Verdict to carry: "3 files, no format change" is still true of #496 itself, but its merge base has moved under it and a design decision is unstated.
Open questions and what could not be found
- No recorded maintainer sign-off exists anywhere I can read, and
AGENTS.md:201-207says routine approval cannot supply it. Whether one is in flight off-GitHub is not ascertainable from this repository. - Which hash fix the author will take (narrow to
PrefixKeyvs hand-writtenHashinshared/record.rs) and whether any test will then guard eq/hash agreement — none exists today. - Whether the
progressasymmetry (A4) is intended. The review does not raise it; no comment explains why the disk store excludes the sample fromprogresswhile the composite counts it. - Intent for
HostPackedunder coalescing is unstated by #496 and by #504. - Not fetched (tool/scope limits): the review bodies are behind
https://autobot.eidonix.com/p/843ebe6d-…html; I did not fetch external URLs, so the review's nit list and its "5 nits" count are taken from the on-GitHub summary only, not verified item by item.read_filewith refc0c4f798fails (the tool needs a full 40-digit sha), worked around viapr/496,pr/497andd1b90d7. The localmainsnapshot predates the 18:22 #504 merge, sosearch_codeonmaindoes not showHeader.packed; I read #504 content from its head sha. - Measurement gap, unchanged: no repeat of the parity run beyond 5 seeds on a single model/checkpoint/prompt, and the "Not covered" list still holds multi-host RoCE serving, 2-GPU
split_pools, discrete PCIe GPUs, Windows serving, and liveCompositeStore/PooledStoreGPU serving.
Coverage this run
Every angle re-checked: head/state (unchanged 0c04b1e2, no new commits), the second review read in full, all five round-2 items verified against source, all five round-1 items re-checked for regression (none), the nits, pump_all, the hash/eq test gap, Staged::close, benchmarks, and the neighbourhood (items_touching selene/src/disk_store.rs, search_history main). Judged not relevant: #498/#499 (merged earlier, collective/offload paths); the 04:33 case-file/intake bot comments (infrastructure notices with no claim about the code; external URLs not fetched); the closed compression PRs (superseded by #504). One correction not to carry forward: the review cites AGENTS.md:204-206 "(not opened)" — I did open it, and AGENTS.md:201-207 is decisive for the sign-off item.