#1 [high] Related work: #451 (open issue) is the direct antecedent, and the PR partly reverses the author's earlier reply
#451 "Snapshot aliasing admits only the largest cache plane, so a snapshot excludes ~3.16x its own page cost", opened by shieldstar 2026-11-21 18:38, open, labels area:caching, area:memory, updated 2026-11-21 18:54.
alias_plane(helios/src/runtime_core/cache_memory.rs:38-42) admits a plane for snapshot aliasing only whenunit == largest || alignment.div_ceil(unit) <= row.div_ceil(page). On the 8-plane geometry (page 113,920 B, row 3,311,616 B, 2 MiB granularity) only the 36,864 B plane aliases; the other 7 stay dedicated. Excluded-page stats: 99,959 excluded pages over 1,055 snapshots = 94.75/ckpt vs 30 pages own cost = 3.158x.- yatesdr's reply (2026-11-21 18:54) says the rule is deliberate and documented, "The cost is KV capacity and prefix retention, not correctness", that the design doc's "close to its byte cost" overstates it for this geometry, and "Whether admitting the wider planes would help is not established, because their granules widen each snapshot's conflict range."
- PR #674's own description cites "#451" as the motivating issue and changes exactly this: docs/runtime-core-design.md now says planes whose mapping granules span at most a row's ideal page cost participate, and "when a single row already spans at least two mapping-granule bands of the densest planes, exact half-width planes (
largest == 2 * unit) also participate", plus midpoint ordering. So the PR partly reverses the position stated in the issue: it admits half-width planes after all. The issue is still open; the PR says it "recovers GPU KV pages ... on handle-limited deployments" but its own compatibility note says memory-limited deployments remain bounded by VRAM. - Note: the PR description's own text says the change is in
helios/src/runtime_core/cache_memory.rsandhelios/src/scheduler/cache_memory.rs(confirmed by the file list, +354/-84 and +563/-5).
#2 [high] The change: scale, file map, and the GPU snapshot-alias (helios runtime_core) rewrite
File-level facts for PR #674 (head 7d7dcdc, base main, opened & last updated 2026-12-02, 40 files +11210/-704, no labels, no reviews, CI passed, no comments at all as of my read).
Biggest files:
- selene-manager/src/store.rs +3228/-90 (the single largest hunk; event-driven writeback waiters, clean arena retention, offer coalescing, O_DIRECT)
- selene/src/memory.rs +1223/-128, selene/src/disk.rs +1087/-55, selene/src/disk_store.rs +1063/-70, selene/src/composite.rs +413/-20
- helios/src/server/runtime/phase_tests.rs +674/-9, helios/src/scheduler/cache_memory.rs +563/-5, helios/src/scheduler/checkpoints.rs +386/-17, helios/src/runtime_core/cache_memory.rs +354/-84, helios/src/server/phase_tests? no — helios/src/server/runtime.rs +314/-55, helios/src/server/metrics.rs +96/-3
- docs: docs/prefix-cache-offload.md +97/-31, docs/runtime-core-design.md +17/-7, docs/api.md +12/-3, selene-manager/docs/operating.md +6/-4 (docs are NOT mentioned in the PR description's "What" list, though they are consistent with it)
- tests/server/test_conditioned_input_cache.py +6/-1 (a Python server test changed, not described beyond "single-process" note)
Verified behaviours from the diffs (declared in docs too):
selene/src/runtime_core? no —helios/src/runtime_core/cache_memory.rs:alias_planegainslargest_countparam and a third admission armlargest == 2*unit && row.div_ceil(largest_count*alignment) >= 2(half-width planes).Layout::newnow orders eligible chunks by descending logical-page interval midpoint (planned.sort_unstable_by_keyon Reverse(midpoint), Reverse(page_end), Reverse(unit_bytes), plane, Reverse(offset)) instead of the oldfor group_id ... for planenested loop. New#[cfg(test)]helpersrow_conflictsandverify_physical_invariants.plan_mapping_handlesrewritten: prefix packing per rank first (early return when under limit), then a symmetric exponential probe (hi *= 2) + binary search over the granule multiple so all ranks use the same granule count (previously the loop stopped mid-rank and could leave asymmetric layouts). Now returnsOk(total)early whentotal < limit. UsesLayout::clone(Layout derives Clone now).helios/src/scheduler/cache_memory.rs: newunique_snapshot_backing_pages,victim_released_pages,page_pressure_victim_priority(tuple(released == 0, use_epoch, !role_preserving_compaction)) andevict_for_pressure(need_pages, need_snapshots, backing_pressure);ensure_resources/allocatepaths choose pressure-aware victim selection only whenpage_pressure; fall back toeviction_candidate_within_budgetotherwise. Useseviction_candidate_with_priority(new in helios/src/cache.rs).docs/runtime-core-design.mddocuments the new plane eligibility/midpoint ordering and the pressure-aware victim ordering (releases >=1 page > overlapping rows that release none; completion recency; role-preserving compactions with all KV retained in heir).
Citation: pr_files / pr_diff outputs; docs/runtime-core-design.md diff hunk at ~line 845.
#3 [high] Related work: #665 (open) conflicts with #674 on helios/src/cache.rs victim ordering
#665 (open PR, FujitsuPolycom, opened 2026-12-01, head c5b39236 rebased onto main 1fbcc3c9, +889/-60) "helios: add scan-resistant dual-turnover prefix cache eviction". Files: helios/src/cache.rs (+138/-22), helios/src/cache/tests.rs (+319), helios/src/cache/lifecycle_tests.rs, helios/src/scheduler.rs (+32/-13), helios/src/scheduler/{tests,policy_tests}.rs, docs/core-design.md, docs/scheduling-runtime-design.md, docs/prefix-cache-offload.md, helios/README.md.
Overlap with #674 (both rebased on 1fbcc3c9, both open, same author area):
- Both rewrite
eviction_candidate_within_budgetin helios/src/cache.rs. #665 reorders victims by(is_protected, retention_rank, id)and addsreused/turnover state toCheckpointandPrefixCheckpointCache; #674 renames the function toeviction_candidate_with_prioritywith a caller-supplied priority closure (keepingeviction_candidate_within_budgetas a wrapper delegating with|_,_| ()), addsis_role_preserving_compaction,age_discounted_protected_tokens, and a per-passsingle_child_roleHashMap. These are textual + semantic conflicts in the same function and the same victim-ordering axis (see helios/src/cache.rs:615-720 in #674). - Both modify docs/prefix-cache-offload.md (the same victim-selection/eviction sections).
- #665's own Autobot review notes an expected textual conflict with open PR #549 on
Checkpoint/PrefixCheckpointCachefields andFixture::fork/Fixture::key; #674's cache.rs changes sit in the same region, so #549 conflicts with #674 too. - #665 cites #568 (demand-recency ordering), #298, #416 (completion recency refresh) as the invariants it revises. #674's
page_pressure_victim_prioritypreservesuse_epochrecency as the second element and only reorders on "releases >= 1 page" first, which composes with but does not depend on #665.
Relevance: two independent, concurrent efforts to change Helios eviction victim ordering, both landing on the same code; the reviewer must decide ordering/merge sequence. Neither references the other.
#4 [high] Related work: file-level neighbours of the rewritten helios/selene files
From items_touching on the two most contended files:
helios/src/runtime_core/cache_memory.rs (the file #674 rewrites alias_plane, Layout::new, plan_mapping_handles in):
- #659 (open, lukealonso) "perf(helios): alias null continuation row zero onto a single zeroed VMM granule" — open PR on the same file; potential overlap with #674's chunk planning.
- #314 (open, schopde-nvidia) "Add signed tensor execution for diffusion" — also touches this file (scope: unrelated feature).
- #473 (merged, original-el8) "Fix KV plane granule padding conflicts and optimize two-row snapshot selection" — the earlier plane-granule/alias work, plus
select_snapshots(which #674'shelios/src/scheduler/cache_memory.rsalso edits around). - #391 (merged, voipmonitor) "Fit native KV backing to the Linux GPU mapping handle range" — the origin of the VMM mapping-handle budget that #674's
plan_mapping_handlesrevisits. - #286 (merged, voipmonitor) "Fix native peer-access OOM without reducing cache capacity"; #504 (merged, yatesdr) KV compression — also touched it.
selene/src/disk_store.rs: #674 is the newest; recent merged predecessors by the same author: #609, #610, #429, #415, #413, #337, #358, #355, #343, #336, #168, #142, #141, #155, #92; plus #496 and #497 and #523/#524 (FujitsuPolycom and yatesdr). So #674 continues an unbroken single-author line of selene disk-store work, overlapping #496/#497's direct-I/O and record-open changes.
Cite: items_touching(helios/src/runtime_core/cache_memory.rs) and items_touching(selene/src/disk_store.rs).
#5 [high] The change: things the diff does that the description does not say
Things the diff does that the PR description does NOT mention (verified in the diffs):
- Stale pool-lookup ticket refresh, once per admission episode (
helios/src/server/runtime.rs: newIncoming::pool_lookup_reissued,begin_pool_lookupreturnsbool plan_refreshed, drops and re-issues the ticket whenticket_resident > plan.resident_tokens(), and resetspool_lookup_started/pool_lookup_reissuedon readmission/eviction/rejection paths). Documented in docs/prefix-cache-offload.md ("cancels the stale ticket and refreshes it at most once per admission episode (falling back to local lookup on a further shrink)") but absent from the PR description's "What". - Prefill-rate EMA measurement changed, not only bypassed (
helios/src/server/runtime.rs:2790-2800andobserve_prefill_rate): prefill start tracking is now restricted tostep.kind.is_prefill() && lanes.len() == 1 && tokens*2 >= capacity, and the elapsed time prefersscheduler::observed_duration_ns(timing)(execution timing) over wall clock. The description says restores are priced "instead of wall-clock prefill EMA"; in fact the EMA is retained as the cold fallback (estimated_prefill_saved_secondsfalls back togained / fallback_prefill_rateonly when graph costs are unmeasured) and its measurement changed. AdmissionPlanis nowCloneand getsrefresh_admission_plan_in_place(helios/src/scheduler.rs,helios/src/server/runtime.rs):admit_with_host_storegainsplan_refreshedso the queued plan is reused instead of cloned+re-planned. Efficiency change, undeclared.ensure_resourcesgainsbacking_conflict(helios/src/scheduler.rs:1258-1281):backing_conflict = snapshot_unavailable && !free_snapshots.is_empty(), passed asbacking_pressuretoevict_for_pressure. Undeclared in the description.- New store-outcome semantics in
selene/src/composite.rs:store()now turnsreserve_capture(...) == Ok(None)into an error ("host record cannot be indexed while reclamation or another write is pending"), addsdisk.has_pending_reclaim(key)to the spill gate, and adds a newRetry(StoreReason::Slabs)path when!covered && needed > 0 && short > 0;start_readnow pre-checksfits/shortfalland spills parked records instead of evicting durable clean L1 records. Not described. - New startup failure mode (
selene/src/offload.rs:708-716): when the warm memory budget rounds to a zero-byte slab (bytes == 0) startup now errors with "prefix cache memory of N bytes is smaller than one P-page record"; docs mention it, description does not. - Internal rank-protocol extension:
selene/src/shard.rsaddsKind::StoreInvalidated = 4to the rank↔rank TCP event enum and coalesces it onto the pendingStoredjob (invalidated flag). Not Protobuf, but it is an on-the-wire enum value, so mixed-version rank processes would not interoperate (Kind::decodeerrors on unknown codes). - A new CPU-only fixture test module
helios/src/runtime_core/memory/codec_layout_tests.rs(+338, new file) loads the repo's existingtests/fixtures/codec_geometry/*.pbexports (glm53-tp4-mtp5, deepseek41, qwen38-tp1/tp2) and pins per-geometry expectations, e.g. deepseek41 @2 MiB:expected_eligible: 4planes (vs 1 before),expected_slots: 4_753, max alias span 172, post-plan handles< RM_HANDLE_RANGE, and a dense-production assertion "old 1-plane layout excluded 131,413 pages; midpoint-aligned 4-plane layout excludes <= 53,000 pages" (codec_layout_tests.rs:190-465). This is the CPU-side evidence behind the GPU capacity claim and is not mentioned in the description. selene-manager/tests/client.rs(+160/-22) rewrites several integration tests to assertretirement_paths >= 1+memory_records == 3instead ofmemory_records == 0, and addspass_through_instance()for pool-only capture — i.e. existing test expectations had to change because L1 now retains clean records. Undeclared but a direct consequence of the L1-retention change.
Citations: pr_diff outputs for helios/src/server/runtime.rs, helios/src/scheduler.rs, selene/src/composite.rs, selene/src/offload.rs, selene/src/shard.rs, helios/src/runtime_core/memory/codec_layout_tests.rs, selene-manager/tests/client.rs; docs/prefix-cache-offload.md diff.
#6 [high] Claims and evidence: benchmarks are against 5d53040e while the base is 1fbcc3c9; unit-test anchors exist for the packing change
Claims in the PR body vs what backs them.
Backed by artefacts in the diff:
- Snapshot capacity +2.50× (1,946 → 4,864) and backing pages 5,917 → 2,390: no in-repo measurement artifact, but
helios/src/runtime_core/memory/codec_layout_tests.rs:444-465asserts the CPU-side mechanism (deepseek41 2 MiB: 4 eligible planes instead of 1, dense 1,592-row exclusion ≤53,000 pages vs 131,413 before) — so the direction is independently testable without a GPU. - Intake slots 0 without local disk:
selene/src/offload.rsrequired_intake = 0whendirectory.is_none(); tests updated inselene-manager/tests/client.rs:3332-3356(intake = if disk {...} else { 0 }) andoffload_startup_and_restore_cover_every_tier_combination. - Disk record/reserved metric split:
selene/src/store.rsStoreStats fields,helios/src/server/metrics.rsnew gauges +pool_inbound_ratesrendering test,tests/server/test_conditioned_input_cache.pyupdated to addflare_host_cache_disk_reserved_bytesto its budget assertion (i.e. an existing Python test needed changing). - L1 retention:
selene-manager/tests/client.rsnew testwarm_dram_retains_clean_l1_copies_as_local_ancestors_and_drains_promptlyasserts manager receives 3 records, local hit from DRAM, zeroNoHeldAncestorroot copies, andclose()in <2 s. - Event-driven waiters:
selene-manager/src/store.rswriteback_waiters/inflight_waiters,WindowReleaseSignal,WRITEBACK_WAKE_SCAN = 32scan budget, tests at store.rs:11928-12462 for cursor/wraparound/starvation;selene-manager/src/arena.rs::coalescing_block+ test. - O_DIRECT packed writes:
selene/src/disk.rsWritePackednow writes whole aligned slices,file.set_len(total), EINVAL → buffered fallback (is_direct_unsupported), testwrite_packed_uses_direct_io_and_truncates_unaligned_v4_recordsasserting ab'w'direct-I/O trace byte. - Snapshot packing unit coverage:
alias_planedigits +verify_physical_invariants/row_conflicts(cfg(test)) and the fixture-geometry test above. - Pressure-aware eviction:
helios/src/scheduler/cache_memory.rsthree new tests (zero-release skip, recency + role-preserving compaction, progress when only an overlapping pair remains).
Not backed in-repo (live-run numbers only): every A/B table (A–F), throughput (370.5 → 1,054.8 MB/s), post-restart hit tokens 66.56% → 83.23%, latency deltas, the 284-request fault-injection matrix, the cross-node aarch64 TCP run, and the "5.1× faster than cold prefill" O_DIRECT read. No logs, scripts, or CI job are referenced; the numbers rest on the author's own runs on SM120 4× RTX PRO 6000 and cn8.
Evidence caveats that matter to a reviewer:
- Baseline is not the base. Every A/B is against
5d53040e, but the PR's base ismainat1fbcc3c9(after #628, #663, #656, #638, #666, #657, #667). The description says the branch was "re-verified on rebased HEAD 7d7dcdcb atop 1fbcc3c9", i.e. only compile/tests were re-verified after rebase, not the benchmarks. Main-branch commits inside the gap includeheliospeer-copy/offload work (#628) and Orbit/multi-host peer exports (#667), both in the surface this PR benchmarks. - Charter (#210) wants an actual speedup over
mainon a served workload. The A/B is over5d53040e, not over main's tip. - Hardware scope: all measurements are SM120 (RTX PRO 6000) with one aarch64 manager; no SM103/SM121/GB10 numbers, although the charter's stated targets are SM103/SM120/SM121 and
heliosneighbours (#497) measured on GB10/SM121. #674's description does not claim SM121. - Test counts (selene 586, selene-manager 205 lib + 131 integration, helios runtime_core 191 / cache 44 / scheduler 419 / server 340, flare 246, check.py --mutations 8/8) are plausible given the new test count, but the diff adds a whole new
phase_tests/codec_layout_testsbody, and the author ran them on Linux only.
Citation: PR body; helios/src/runtime_core/memory/codec_layout_tests.rs:190-465; selene-manager/tests/client.rs diff; selene/src/disk.rs diff; orientation packet (base 1fbcc3c9, head 7d7dcdc, CI passed).
#7 [high] Related work: the merged line this PR builds on and partly reverses (#455, #497, #496, #429/#415/#413, #504)
Direct predecessors this PR modifies or supersedes (all merged, all by the same author unless noted):
- #455 (merged 2026-11-22, +655/-165) introduced exactly the machinery #674 changes: pool-only pass-through capture,
PooledStore::drain_memory, andbegin_pool_drainon the DRAM-directly-under-pool tier. #674 keeps pass-through for pool-only buffers but adds a second mode: warm memory+pool now retains clean records after handover, and shutdown drain only waits onpending_pool_drain()(records lacking handover) instead ofstats.memory_records(selene/src/pool/store.rs diff). #674 also addsTierStore::pending_pool_drainandretired_offeredhooks. So #674 both extends and reverses #455's "retire everything at shutdown" behaviour. #455's review thread is where the "drain must stop when the pool cannot accept puts" rule came from — #674's docs restate it. - #497 (merged 2026-11-29, FujitsuPolycom, +1809/-360) is the closest neighbour in selene/src/disk.rs and disk_store.rs: it made raw v1–v3 opens single-read direct I/O, parallelised xxh3, made
pump_allrestore-first, and — importantly — reduced disk-only intake (concurrency-scaled intake →intake_slots(layout, 1)on integrated hosts, 7.3 GiB → 1.0 GiB on GB10). #674 goes further and sets intake to 0 whenever local disk is disabled, which covers the warm-memory-only and memory+pool cases #497 left alone. #497's own case file (Autobot case 868eadc5) is the reference for the intake sizing rules #674 now edits. - #496 (merged, FujitsuPolycom) coalesces shared-ancestor disk fetches and changed
inbound_samplesfrom end-to-end restore time to per-window reply elapsed; #674's row-only-restore tracking (RowRestoreLatency,inbound.pages > 0gating ofinbound_rate.started()/observe) directly continues that rate-estimation line, andcomposite.rsnow only trainsdisk_inbound_ratewhen a bulk page transfer happened. - #429 (merged 2026-11-21) "Link host-cache records under any offered ancestor, not only the nearest"; #415 (merged 2026-11-20) "Keep Selene rows by role and write pool records back on eviction"; #413 (merged 2026-11-20) "Link Selene pool puts to held ancestors and store each page once" — these three build the ancestry/role/row model that #674's
PoolHandover { capture_role, row, forked, descendant_row }andhandover_valid()predicate depend on (role promotion, fork count, descendant-row coverage). #674's docs phrase invalidation as "Role promotion, forking a non-fork parent, or dropping a same-page parent row that ends an endpoint invalidates that clean handover state". - #504 (merged 2025-11-25, same author, +26 shared files) added the lossless KV compression (v4 packed records) whose write path #674 converts to O_DIRECT; #523/#524 fixed its literal-only puts and mixed-chain retirement. #674's compatibility note "Compressed v4 records remain readable across kvc=off, kvc=cpu, and kvc=gpu" is a direct callback to #504.
- #337/#358/#355/#343/#336/#168/#142/#141/#92/#101: the long yatesdr line on selene disk-store/host-tier eviction that #674 continues;
items_touching(selene/src/disk_store.rs)shows yatesdr on essentially every entry.
Citations: read_item(#455), read_item(#497), search_items results, items_touching(selene/src/disk_store.rs).
#8 [high] Recent activity: built directly on the 2026-11-29/12-01 main commits; its own baseline lags the base by several main commits
Recent activity in the touched areas, and whether #674 builds on, conflicts with, or reverses it.
Main commits within days of the PR (base 1fbcc3c9, 2026-12-01):
1fbcc3c9Luke Alonso, "Harden Orbit payload integrity, multi-deployment TP seams, GB10 page-cache release, Unix flock drop, and multi-host peer exports (#667)" — helios/src, the immediate parent of #674's base. Touches the same helios offload/pool layers, different functions.5d53040eyatesdr, "helios: gate offload Copy Engine batches during peer-copy graphs (#628)" — the baseline commit of every A/B table in #674. Note the baseline is 2 commits of main behind the base (also behind8489d504,5c0d9c67,a3c80e19,e8a3a7c7,cd1daa3e).a4720050flare-autobot, "Avoid THP compaction stalls in eos::map_host and report offload startup timings (#625)" (2026-12-01) — toucheseos::map_host, whichdocs/prefix-cache-offload.mdcites as part of the host-pool registration path #674's intake changes feed.bf7562aeLuke Alonso (2026-11-30) "Unify Orbit rank cache, fix GB10 page-cache KV sizing, consolidate NVML, and harden flare-agent (#646)" — selene/src.3801ff1dyatesdr (2026-11-29) "Harden selene-manager against multi-rank packed OOB, DoS, and leaks (#612)" — selene-manager/src, immediately before the region #674 rewrites instore.rs(packed puts, claims, window extents). #674'sWindowHold/WindowReleaseSignaladds a release-notification path on top of #612's hardening;selene-manager/src/arena.rscoalescing_blockis new on top of #612's arena.8d05b9b6/#611,a56333a0/#610,e2522eb0/#609 — yatesdr's 2026-11-29 selene fix series on the same files (disk_store.rs,memory.rs,shard.rs,composite.rs). #674 is effectively the next entry in that series, two days later, and itsStoreInvalidatedrank-event kind builds on the shard/transport code those PRs hardened.f7256584PCCessna "Coalesce shared ancestor reads across concurrent Selene disk fetches (#496)".
Verdict per area:
- helios/scheduler + cache: builds on #568 (demand-recency victim order), #285 (prefill cost retention), #473 (
select_snapshots/ granule conflicts), #391 (RM_HANDLE_RANGE). It does not reverse them; it adds a pressure-dependent first sort key in front of them. - helios/runtime_core/cache_memory: reverses the plane-eligibility rule that yatesdr himself defended in #451 five days earlier (see the #451 entry). Reverse of a reviewed decision, not of code.
- selene memory/disk: revises #455 (drain semantics) and #336/#343 lineage ("retain parent rows until retention pressure" → "retain clean copies after handover").
- selene-manager store: builds on #612 in the same file.
Sources: orientation packet "Recent activity", search_history on selene-manager/src/store.rs and selene/src/memory.rs, items_touching(selene/src/disk_store.rs).
#9 [high] People, community, process, and project fit
People and process facts (the report is written from these notes).
Author. yatesdr, GitHub association COLLABORATOR. In the last 180 days: 82 merged PRs, 11 closed, 4 open. Merged-PR file counts: helios/src 36, docs 35, selene/src 32, selene-manager/src 25, selene-manager/tests 20. Recent merged: #663 (scheduler first-output waiting age, 2026-12-01), #628 (offload Copy Engine gating, 2026-11-30), #612/#611/#610/#609 (selene-manager and selene hardening, 2026-11-29), #527 (Latent576 page-split KV codec), #526, #504 (lossless KV compression). Open: #655 (own), #347/#348/#349 issues (own; production qualification of GLM-5.3-Flash — #665 and #674 both measure GLM-5.3-Flash TP2, so these issues are the workload origin). Commits on main in the touched areas over 180 days: selene/src yatesdr 36, Luke Alonso 6, Martin Vit 2; selene-manager/src yatesdr 30, Luke Alonso 3; helios/src Luke Alonso 236, Martin Vit 52, yatesdr 49; selene-manager/tests yatesdr 20. So: yatesdr effectively owns selene + selene-manager; helios is Luke Alonso's area (236 commits) and this is the largest helios change by yatesdr.
Who else works here. FujitsuPolycom (CONTRIBUTOR) owns the recent selene disk/offload performance work (#496, #497) and — critically — #665, the competing eviction-policy PR in helios/src/cache.rs. original-el8 and voipmonitor are the other merged contributors to helios/src/runtime_core/cache_memory.rs (#473, #391, #286). PCCessna and Martin Vit (#302, #264) also appear in selene/src.
Engagement on #674 so far: none. Zero comments, zero reviews, no labels, no linked reviewers; opened and last updated the same day (2026-12-02). Compare #665, opened a day earlier: 5 discussion entries and two Autobot reviews; #655: 6 entries plus a community confirmation from nepenth on 2× GB10 (SM121) TP2. #674 has drawn no attention yet.
Process state. Not a draft — "open, ready for review". CI on head 7d7dcdc: passed. Base main; 40 files, +11,210/−704; a single squashed commit ("selene,selene-manager,helios: improve prefix-cache hit rate, L1 retention, NVMe throughput, and GPU snapshot packing"). Age <1 day at the time of this case file. Description follows the charter's four-part shape (Why / What / Compatibility and Limitations / Measured Results / Verification) and ends with Discord: D-Rock.
Charter fit, as facts. Aligns: goal "Store prefix-cache checkpoints in host memory and share them across Flare instances via Selene" is exactly this area. Tension: "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)" — benchmarks exist but are against 5d53040e, two main commits behind the PR's own base 1fbcc3c9. Tension: "Check interactions across every supported model, cache scheme, parallel layout, multi-host setup, and hardware target named in the docs" — the PR explicitly scopes out multi-process packed puts and memory-limited GPUs and reports no SM121/GB10 numbers, although SM121 and DGX Spark are named targets (its neighbour #497 measured GB10/SM121). Satisfied: "PR descriptions: Expect four parts". No per-model branches or new flags in the code; specific models appear as measurement scope, not code paths. No non-goal is crossed.
Sources: orientation packet (author, areas, people, state); read_charter; read_item #655, #665; scratchpad entries 1-8.
#11 [high] Amendment (2026-12-02, event: head 7d7dcdc→19ce4a7b + first Autobot review)
Event: PR #674 head moved from 7d7dcdc to 19ce4a7b (single squashed commit, 2026-12-02), rebased onto base 1fbcc3c9; first Autobot review posted 2026-12-02 08:42 (Changes Requested: 0 blockers, 2 should-fix, 5 simplify, 1 nit). Issue #451 still open with no update from the PR (read_item 451; "Referred to by: #674 [mentions]").
CORRECTIONS to entry #10:
- Scale/head. pr_files + read_item 674: 41 files, +10,035/−1,142 (earlier: 40 files, +11,210/−704). File list now includes verification/helios-lifecycle/check.py (+10/−2) — the mutation guard was updated to the new literal (pr_diff check.py, check.py:515-527).
- Baseline gap is 4 commits, not 6. search_history pr/674 between 5d53040e and 1fbcc3c9: a3c80e19 (#657), 5c0d9c67 (#666), 8489d504 (#663), 1fbcc3c9 (#667). Table F ran on 7d7dcdc; PR body says benchmarks are on 7d7dcdcb; Autobot reports CI green only on 7d7dcdc, so head 19ce4a7b has no reported CI/benchmark evidence.
- Undeclared changes are wider than "the pool ticket refresh": the public crate API changed.
- selene/src/store.rs:377
fn begin_lookup(&mut self, history, resident: u64)— new required arg on HostStore, forces updating every implementor (helios/src/server/runtime.rs:3171-3200 issue_pool_lookup; selene-manager/tests/client.rs pass 0). - selene/src/store.rs:429-438
TierStore::retired(..., _offered: &[Retiring])gained a parameter; selene/src/store.rs:400-403 addspending_pool_drain(). Noretired_offeredmethod exists at this head (Autobot's S1 assumes one). - selene/src/store.rs:99-103
HostHitgainedpooled: bool; StoreStats gained disk_reserved_records/bytes +pool_inbound_rates: Option<[f64;4]>(selene/src/store.rs:241-256). - selene/src/shard.rs:470,484 Kind::StoreInvalidated = 4 on the rank relay wire (unchanged conclusion: mixed-version ranks).
- selene/src/store.rs:377
prefill_rateis retained and narrowed, not removed — confirmed at this head: field helios/src/server/runtime.rs:1262,1299; update site :1943; fn :3064-3087 (single lane,tokens*2 >= capacity,observed_duration_nselsewall_ns, 0.8/0.2 EMA); cold fallback only :3267-3280. Old citation lines (2793-2803 etc.) are stale.- New verified code defect (the one real finding of this event): RowRestoreLatency decay clock. helios/src/server/runtime.rs:292-304
start()bumpsbucket.last_mediantimestamp; :306-317finish(ok=false)decrements in_flight and returns without observing; :332-343 estimate returns undecayed median while in_flight>0 else median*0.5^(elapsed/10s). Failed fetch path runtime.rs:3402-3407 calls start then finish(false), so a long-decayed median jumps back to 100% for another 10 s half-life window. Autobot's line cites (:302-304, :341) match. - Earlier note "new 338-line fixture test" is wrong at this head: helios/src/runtime_core/memory/codec_layout_tests.rs is a modified existing module (+209, exported-fixture geometry test ending at :355); the 338-line figure came from the ephemeral 7d7dcdc commit. The new-vs-modified correction is confirmed by pr_files (modified), matching Autobot's dossier correction.
- selene-manager/tests/client.rs expectation change is not a behaviour regression:
memory_records == 3replaces== 0because retired clean records now stay in L1 (pr_diff client.rs:1743-1748, new test warm_dram_retains_clean_l1_copies_as_local_ancestors_and_drains_promptly at client.rs:3693-3746);publishloosened toS: HostStore + ?Sized, pass-through fixtures substituted for memory fixtures. - Startup error is real and tested/docs'd, not a misread: selene/src/offload.rs:702-712 returns an error when
checkpoint_memoryrounds to 0 page records; docs/prefix-cache-offload.md:1024-1028 documents "Without local disk, a nonzero memory budget's checkpoint share must hold at least one warm page". Compare Autobot F2 (dismissed only for intake-warning part). - Intake zeroing is visible in tests: selene-manager/tests/client.rs:1615-1620 and :3282-3288 now gate intake slots on
disk, notwarm || disk. - Pool restore-rate gauge is a ranking estimate, not a measurement: docs/api.md:395-400 plus Ranking::rates() positional [f64;4] (selene/src/levels.rs:121-128) hardcoded to labels at helios/src/server/metrics.rs:1406-1422 (duplication nit).
- he/eviction refactor detail for the #665 conflict: helios/src/cache.rs:618-688 renames protected_eviction_tokens→age_discounted_protected_tokens and precomputes single_child_role per pass (O(N) instead of per-candidate scan), adds eviction_candidate_with_priority (:690-698) while keeping eviction_candidate_within_budget as a wrapper (:700-707). Behaviour of candidate cost classification is equivalent because eviction_candidates (:610-616) only admits child_count==0 or 1.
#12 [high] Review-claim verification: what holds and what does not at 19ce4a7b
Follow-up verifications after event #11 (all at head 19ce4a7b):
A. Autobot S2 ("close_operations omits removed_before_cursor adjustment; cursor bookkeeping duplicated across six sites") does NOT hold at this head.
- Every removal from
writeback_waitersgoes through eitherfilter_writeback_waiters(selene-manager/src/store.rs:1443-1475: drains, countsremoved_before_cursor, thenold_cursor.saturating_sub(removed_before_cursor) % len, resets both fields when empty) or a single pop/remove. Sites confirmed by grep: push_back :1419, drain :1454, pop_front :1597, remove :1640, plus the test's clear :11944. There is no other removal path. close_operations(store.rs:4012-4024) callsfilter_writeback_waiters(...)to drop the closed connection's waiters and thenwake_writeback_waiters(false); before that it already doesinflight_waiters.retain(...)(:4018-4019). grep forremoved_before_cursoryields only :1453,:1459,:1470, i.e. one implementation site, not six.- Residual real (small) issue:
scan_writeback_waiters_step(:1610-1659) re-derives the cursor three different ways — on successindex % lenafter removal (:1641-1645), on failure(start + advanced) % len(:1648), and clampswriteback_wake_remaining(:1650-1656). No lost waiter (every waiter is either admitted or left with the current epoch and a notify when remaining > 0), but it is the invariant worth centralising. B. Autobot S3 (effective_rate/HostHit::clone/f64::INFINITYround trip) is REFUTED at this head: helios/src/scheduler.rs:1259-1290 → runtime.rs:3349-3353 callsmetrics.host_lookup_cost(missing_tokens, transfer_seconds, prefill_saved_seconds)directly (signature helios/src/server/metrics.rs:538-560), andHostHitderives Clone only for test stores. The simplification it describes is behaviourally equivalent to what is already there. C. My own earlier concern that the newbacking_conflicttrigger could loop inensure_resourcesis REFUTED: helios/src/scheduler.rs:1284-1289 returns a Capacity admission error whenevicted.retired.is_empty(), so a backing conflict that frees nothing terminates instead of spinning.evict_for_pressurereturns an empty report when no candidate exists (helios/src/scheduler/cache_memory.rs:587-646). D.pending_pool_drainis defined on HostStore (selene/src/store.rs:402), overridden by MemoryStore (selene/src/memory.rs:3517-3526), forwarded by local tiers (selene/src/pool/local.rs:86-90), and consumed by the pool drain loop (selene/src/pool/store.rs:309-313, :351). Confirms the "narrowed drain" claim and its tests (helios... no: selene/src/memory.rs:7139-7277). E.retired_offeredexists only as a test observation vector in selene/src/pool/store/tests.rs:66,159,1753, never as a trait method — reinforces amendment #11 item 3. F. Net assessment for the report: the only review finding I can confirm is the RowRestoreLatency decay-clock reset (runtime.rs:292-304, :306-317, :3402-3407); two of the five "subtract/simplify" claims are refuted at this head, so downstream reviewers should treat the 08:42 review's S2/S3 as stale against 19ce4a7b rather than pending work.
#13 [high] Charter mapping with exact citations (supersedes the loose mapping in entry #9)
Charter and principle mapping with exact citations (read_charter; docs/design-review.md).
- Charter, "How We Work → Bring real evidence": "Performance PRs need benchmarks showing an actual speedup over
mainon a served workload (#210)." #674's Tables A–C baseline is5d53040e, which is 4 main commits behind its own base1fbcc3c9(a3c80e19 #657, 5c0d9c67 #666, 8489d504 #663, 1fbcc3c9 #667), and the live runs were on7d7dcdcb; head19ce4a7bhas no reported benchmark or CI evidence.#663("price first-output waiting age on incumbent decode rounds") is the commit most likely to move a latency baseline, which is exactly what Tables B and C measure. - docs/design-review.md:106-115 (Principle 12) requires "equivalent baselines, complete GPU steps across all ranks, and actual Helios service measurements" plus "keep raw measurements and disclose unrun checks and material limitations". The A/B tables are author-reported with no attached raw logs, and the compatibility limitation is disclosed (multi-process packed puts rejected; O_DIRECT cold reads bypass page cache) but the wire/startup ones are not.
- docs/design-review.md:147-160 (Principle 16) requires the four-part scheme in order (why / what / claimed benefit / supporting evidence), "an explicit before/after explanation", and "disclose material limitations". The PR body now satisfies the scheme and the before/after, which is an improvement since my previous report; what remains missing is: the
Kind::StoreInvalidated = 4rank-relay event (selene/src/shard.rs:470,484), the sub-page memory-only startup error (selene/src/offload.rs:702-712), and the three public-API signature changes (HostStore::begin_lookupresident, TierStore::retiredoffered, TierStore::pending_pool_drain) at selene/src/store.rs:377, 400-403, 429-438. - Charter, "Code Review Standards → Supported matrix & compatibility": "verify that existing data, artifacts, and exported cores still load" and check "every ... parallel layout, multi-host setup". This is the exact hook for (a) mixed-version rank builds lacking Kind code 4 (decode returns
invalid("unknown prefix record event kind"), shard.rs:478-487), and (b) v4 packed records written with O_DIRECT being readable across kvc=off/cpu/gpu (PR body claims verified byte-identical ratios in Table D). - Charter goals: "Store prefix-cache checkpoints in host memory and share them across Flare instances via Selene" — #674 is the single largest change in 180 days aimed squarely at that goal line, across all three crates; no non-goal is touched (no new model recipes, no CPU backend, no per-model branches; the changed code is model-agnostic geometry math in helios/src/runtime_core/cache_memory.rs).
- Charter "Respect contributors": yatesdr is not a named priority contributor but is a COLLABORATOR with 82 merged PRs in 180 days owning selene/selene-manager, so weight accordingly; the review should spell out exactly what is needed (charter #229), which is what the amendment list does.
- Charter inference note:
tests/server/test_conditioned_input_cache.py:141-149(+6/−1) now sums ready, reserved and input-cache disk bytes to keep the 16 GiB ceiling assertion honest — the metric split is covered end-to-end, not just by unit tests.
#14 [high] Research summary
The new event was a force-push/squash of #674 from 7d7dcdc to 19ce4a7b plus the first Autobot review (Changes Requested: 0 blockers, 2 should-fix, 5 simplify, 1 nit). I amended the prior report in four areas and verified the review's claims rather than relaying them.
Corrections of fact: the PR is 41 files / +10,035/−1,142 (not 40 / +11,210/−704), and now includes verification/helios-lifecycle/check.py, whose mutation guard was rewritten to the new literal. The baseline gap is 4 main commits, not 6 (#657, #666, #663, #667), with #663 being a latency-pricing change that bears directly on Tables B and C. Benchmarks ran on 7d7dcdcb and CI is reported green only there, so head 19ce4a7b has no benchmark or CI evidence. The PR body was rewritten and now satisfies the charter's four-part scheme, shrinking the disclosure gap from six items to three: the Kind::StoreInvalidated = 4 rank relay (selene/src/shard.rs:470,484), the sub-page memory-only startup error (selene/src/offload.rs:702-712), and three public-API signature changes (selene/src/store.rs:377, 400-403, 429-438) — i.e. the breakage is API-level, not just on the wire.
Two of my own earlier notes were wrong and are withdrawn: codec_layout_tests.rs (not opened) is a modified module, not a new 338-line test, and the client.rs memory_records == 3 change is the direct, tested consequence of clean L1 retention rather than an unexplained expectation rewrite.
Verification of the review: only its RowRestoreLatency decay-clock finding is real (helios/src/server/runtime.rs:292-304, 306-317, 3402-3407) — a failed fetch resurrects a decayed median and can reject cheap local DRAM row restores. Its S3 (effective_rate/HostHit::clone/f64::INFINITY) is already gone at this head, and its S2 (missing cursor adjustment across six sites) does not hold: all removals funnel through filter_writeback_waiters (selene-manager/src/store.rs:1443-1475). My own earlier worry that the new backing_conflict trigger could spin ensure_resources is disproved (helios/src/scheduler.rs:1284-1289).
Net author action list is short and precise: fix the RowRestoreLatency clock, disclose the three remaining items, re-baseline against 1fbcc3c9, and post the midpoint half-width conclusion on #451, which is still open and un-updated. Substance and charter fit are unchanged and strong; no non-goal is engaged. All leads from the orientation packet are followed or noted as not relevant.
#15 [high] Amendment set for the final report (self-contained; supersedes parts of entry #10)
EVENT: #674 head moved 7d7dcdc -> 19ce4a7b (single squashed commit, 2026-12-02, rebased onto base 1fbcc3c9), and the first Autobot review landed 2026-12-02 08:42 UTC (Recommendation: Changes Requested; 0 blockers, 2 should fix, 5 subtract/simplify, 1 nit). Four prior Autobot comments exist in total: case-file opener 08:27 and the review 08:42 (pr_comments). Direction of my assessment is unchanged; the following are the deltas to entry #10.
AMENDMENTS THE REPORT MUST CARRY (detail in #11, #12, #13):
A1. Scale/head: 41 files, +10,035/-1,142 (was 40 files, +11,210/-704). File set gained verification/helios-lifecycle/check.py (+10/-2), whose mutation literal was rewritten at check.py:515-527.
A2. Baseline gap is 4 main commits, not 6: a3c80e19 (#657), 5c0d9c67 (#666), 8489d504 (#663), 1fbcc3c9 (#667). #663 (price first-output waiting age) is latency-pricing and bears on Tables B/C. Benchmarks ran on 7d7dcdcb; CI reported green only on 7d7dcdc; head 19ce4a7b has no reported benchmark or CI evidence.
A3. Breakage is API-level, not only wire-level: HostStore::begin_lookup gained resident: u64 (selene/src/store.rs:377, call sites helios/src/server/runtime.rs:3171-3200), TierStore::retired gained offered (selene/src/store.rs:429-438), TierStore::pending_pool_drain added (:400-403); HostHit gained pooled (:98-103); StoreStats gained disk_reserved_{records,bytes} and pool_inbound_rates (:241-256). Kind::StoreInvalidated = 4 unchanged (selene/src/shard.rs:470,484; decode error at :478-487).
A4. The PR body was rewritten and now meets the charter's four-part scheme (why / what / benefit / evidence) with an explicit before/after, so the disclosure gap shrinks from six items to three: the shard wire event, the sub-page memory-only startup error (selene/src/offload.rs:702-712), and the API signatures in A3.
A5. prefill_rate is retained and narrowed (not removed): helios/src/server/runtime.rs:1262, 1299, 1943, fn :3064-3087, cold fallback :3267-3280. Earlier line numbers (2793-2803 etc.) are stale.
A6. Only one review finding is real: RowRestoreLatency decay clock (helios/src/server/runtime.rs:292-304 start bumps last_median timestamp; :306-317 finish(ok=false) never observes; :332-343 estimate; failed-fetch path :3402-3407). Effect: a decayed median resurrects after a failed restore and can reject a cheap local DRAM row restore. Not a correctness/concurrency bug.
A7. Review S3 is refuted at this head (host_lookup_cost already takes (missing_tokens, transfer_seconds, prefill_saved_seconds): helios/src/server/runtime.rs:3349-3353, metrics.rs:538-560). Review S2 is refuted: all writeback_waiters removals funnel through filter_writeback_waiters (selene-manager/src/store.rs:1443-1475); close_operations (:4012-4024) uses it; residual nit is only that scan_writeback_waiters_step re-derives the cursor three ways (:1641-1645, :1648, :1650-1656), losing no waiter. Do not queue S2/S3 as author work.
A8. My earlier worry about a backing-conflict eviction loop is disproved (helios/src/scheduler.rs:1284-1289 returns Capacity when nothing was retired; evict_for_pressure at scheduler/cache_memory.rs:587-646).
A9. Charter mapping: read_charter's evidence rule ("Performance PRs need benchmarks showing an actual speedup over main ... #210"); docs/design-review.md:106-115 (Principle 12: equivalent baselines, raw measurements, disclose limitations) and :147-160 (Principle 16: four-part scheme, before/after, disclose material limitations); "Supported matrix & compatibility" is the hook for the rank-relay event. Goal fit exact ("Store prefix-cache checkpoints in host memory and share them across Flare instances via Selene"); no non-goal engaged (model-agnostic geometry/scheduling, no new recipe/flag/backend).
A10. Credit where due: the metric split is covered end-to-end at tests/server/test_conditioned_input_cache.py:141-149 (ready + reserved + input bytes vs 16 GiB), and clean-L1 retention by selene-manager/tests/client.rs:3693-3746 (local lookup from retained anchor; shutdown drain under 2 s). pending_pool_drain wiring: selene/src/store.rs:402, memory.rs:3517-3526, pool/local.rs:86-90, pool/store.rs:309-313.
WITHDRAWN / CORRECTED FROM ENTRY #10 (the report must not repeat these):
W1. "New 338-line fixture test" is wrong at this head: helios/src/runtime_core/memory/codec_layout_tests.rs is a modified existing module (+209, ends :355); the figure came from the ephemeral 7d7dcdc commit.
W2. selene-manager/tests/client.rs memory_records == 3 (was 0) is not an unexplained expectation rewrite: it is the direct, tested consequence of clean L1 retention (client.rs:1743-1748), with publish loosened to S: HostStore + ?Sized and pass-through fixtures substituted.
W3. "Mutation suite untouched" is withdrawn: verification/helios-lifecycle/check.py was updated in this commit.
W4. "prefill EMA removed" is wrong; it is retained and narrowed (A5).
W5. There is no retired_offered trait method at this head; it exists only as a test observation vector (selene/src/pool/store/tests.rs:66,159,1753).
FINAL AUTHOR ACTION LIST (short): fix the RowRestoreLatency clock; disclose the three A3/A4 items; re-baseline headline A/B against 1fbcc3c9; post the midpoint half-width conclusion on #451 (still open, referred to only as "[mentions]" by #674, read_item 451). Concurrent merge order still to be agreed with open #665 (same eviction selection fn in helios/src/cache.rs:628-707) and #659 (same runtime_core/cache_memory.rs).
#17 [high] Amendment (2026-12-02, event #2): author's post-review comment, round-2 review, new baseline gap
THE NEW EVENT (two things, not one):
(a) Round-2 Autobot review, 2026-12-02 11:24 UTC, recommendation still Changes Requested but now 1 BLOCKER (the RowRestoreLatency decay clock, promoted from Round-1 should-fix), 1 should-fix, 2 subtract/simplify, 3 nits. It states all five Round-1 subtract/simplify items are resolved (pr_comments).
(b) FIRST HUMAN COMMENT ON THE PR, yatesdr 2026-12-02 18:08: claims (i) rebase onto main 4cc6f2fd "resolving the end-of-file test conflict in helios/src/scheduler/checkpoints.rs", (ii) all findings fixed in 0ebee3d4: last_median no longer reset in start() + new regression test in phase_tests.rs; flare_selene::worth_restore exported and Helios duplicate removed; HostAdmissionProbe + conditioned_inputs_from_images extracted (drops the clippy allow); is_direct_unsupported matches Unsupported|InvalidInput on non-Unix; shared levels::POOL_LEVELS; (iii) PR description updated with the three disclosures I listed (StoreInvalidated, sub-page startup, public API) plus the 5d53040e baseline; (iv) re-verified counts: selene 585, selene-manager 205+128, helios 1817 release, flare 254, check.py 8/8 + mutations.
UNVERIFIABLE AT THIS SNAPSHOT — the recorded head is still 19ce4a7b and it still sits on base 1fbcc3c9, not on 4cc6f2fd: search_history pr/674 top two entries are 19ce4a7b then 1fbcc3c9; read_item 674 head 19ce4a7bc66f...; searching pr head for POOL_LEVELS/HostAdmissionProbe returns no matches, worth_restore is absent from selene/src/store.rs (only worth_transfer at :459-468), and helios/src/server/runtime.rs still defines its own worth_restore at :225-229 and still has #[allow(clippy::too_many_arguments)] on admit_with_host_store (runtime.rs:3285-3302). list_files ref 0ebee3d4 cannot resolve (needs a 40-char id) and no such commit appears = the fixes are unverified, not landed, in this copy.
BASELINE GAP GREW BY TWO: main is now 4cc6f2fd (#660) on top of 2acc3f3a (#670), on top of PR base 1fbcc3c9. From benchmark baseline 5d53040e that is SIX commits now: a3c80e19(#657), 5c0d9c67(#666), 8489d504(#663), 1fbcc3c9(#667), 2acc3f3a(#670), 4cc6f2fd(#660) (search_history main). 4cc6f2fd = "helios/scheduler: budget interior conversation-anchor splits against checkpoint_extra_work_fraction (#660)" — it rewrites anchor retention/pricing in helios/src/scheduler/checkpoints.rs, the exact file that carries #674's new estimate_prefill_delta_ns restore pricing (helios/src/scheduler/checkpoints.rs, PR diff hunk after interval_prefill_ns, ~:423-489). The author's own "end-of-file test conflict in checkpoints.rs" admission confirms the overlap. So Tables B/C now straddle both #663 (waiting-age price) and #660 (anchor split budget), and the round-2 review's "4 commits behind" is itself stale (it should now be 6).
NEW RELATED-WORK ITEM MISSING FROM MY EARLIER LIST: #655 (open, yatesdr, "helios: retain measured snapshot cost after expiry...", Ready To Merge at f7f4d25, +348/−63) edits checkpoint_selection_uncached in the same helios/src/scheduler/checkpoints.rs and the same four docs; the #660 review flagged a near-certain rebase between #655 and #660. So the concurrent-PR set on checkpoints.rs is now #655, #660 (merged into main), #661, #681 (FujitsuPolycom stack) in addition to #665/#659 already known. #655 also has real human engagement (nepenth +1 on 2x GB10 SM121), which contrasts with #674's zero.
ISSUE #451 STILL UNTOUCHED: read_item 451 shows only yatesdr's 2026-11-21 18:54 "the rule is deliberate and documented" reply; item updated 2026-11-21, and #674 still only "[mentions]" it. The promised midpoint half-width conclusion has not been posted.
#18 [high] New review findings I verified myself at 19ce4a7b (round-2 should-fix + 3 nits)
All five round-2 non-blocker items check out in code at head 19ce4a7b; each is small and none is a correctness risk.
worth_restoreduplication — REAL. helios/src/server/runtime.rs:225-229transfer.is_finite() && prefill.is_finite() && transfer < 0.5*prefill; selene/src/store.rs:459-468worth_transferhas the identical 0.5 + is_finite rule. Consumers: helios uses its copy at runtime.rs:246 (RestoreWait::defer) and :3354 (admission gate).worth_transferhas NO production callers — only selene/src/store.rs:503-504 tests;worth_fetching(store.rs:450-456, its wrapper) likewise only appears in tests (composite.rs:2920-2923, disk_store/coalesce/tests.rs:1798-2258, store.rs:498-502). So selene's whole profitability policy is dead code in production and Helios re-implements it — the dedup is cosmetic but the drift risk is real.admit_with_host_store15 positional args — REAL: runtime.rs:3285-3302 carries#[allow(clippy::too_many_arguments)]with 15 parameters, and thePreparedImageInput::conditioned_inputmap is duplicated at runtime.rs:1722-1725 and :3324-3327.- Windows
write_packedbuffered fallback unreachable — REAL and cross-platform relevant: eos/src/windows.rs:87-113check_alignmentreturnsio::ErrorKind::Unsupportedwhensector == 0 || 4096 % sector != 0(:104-109), while selene/src/disk.rs:1774-1784is_direct_unsupportedmatches onlyraw_os_error == EINVALon unix and returnsfalseon#[cfg(not(unix))], so theErr(e) if is_direct_unsupported(&e)arm at disk.rs:1423-1437 (buffered write_all fallback) can never fire on Windows and a 520/8192-byte-sector volume fails the write. Windows is in the supported matrix (Selene/Helios Windows build+tests restored in merged #171). Note this path is NEW in #674 (the wholewrite_packedO_DIRECT block, disk.rs:1408-1447). RowRestoreSource= (pooled, Tier) is too coarse — REAL: helios/src/server/runtime.rs:257-268 keys on(hit.pooled, hit.tier);Tierhas only Gpu/Dram/Nvme (selene/src/shared/mod.rs:43-49) and pool hits settier: candidate.tier(selene/src/pool/store.rs:479, 527), so HostDram+NeighbourGpu collapse into one bucket and HostNvme+RemoteNvme collapse into another, i.e. exactly the two pairs the per-level gauges (flare_host_cache_pool_inbound_bytes_per_second{level}) distinguish. Fix requires carryingLevelonHostHit.- Positional pool level ordering — REAL and small: selene/src/levels.rs:119-128
Ranking::rates() -> [f64;4]ordered [NeighbourGpu, HostDram, HostNvme, RemoteNvme]; helios/src/server/metrics.rs:1418-1423 hardcodes the same four labels by index. Silent drift on any reorder.
#19 [high] Verification of the round-2 blocker, the unverified fix claim, and a label correction
Corrections/verifications for the amendment, all at recorded head 19ce4a7b (read_item 674, pr_comments, direct file reads):
A. THE BLOCKER IS REAL, BOTH PATHS CONFIRMED IN CODE (not just the review's assertion):
- start bumps the timestamp: helios/src/server/runtime.rs:299-304 (
let bucket = entry(source); bucket.in_flight += 1; if let Some((_, last)) = &mut bucket.last_median { *last = now; }). - finish(false) returns before observe: runtime.rs:306-317 (
if !ok { return; }beforeself.observe(...)at :316). - estimate: runtime.rs:332-343 (
if bucket.in_flight > 0 { median } else { median * 0.5^(elapsed/10s) }). - synchronous failed fetch: runtime.rs:3399-3407 (
let row_only = hit.pages == 0; if row_only { start(key, source) } ... if store.fetch(hit, ticket).is_err() { if row_only { finish(&key,false) } ... }). - asynchronous failed fetch: runtime.rs:2825-2826 (
StoreEvent::Fetched { key, result } => finish(&key, result.is_ok())). - the only existing test covers the empty-bucket path: helios/src/server/runtime/phase_tests.rs:8782-8801 (start + finish(false) with last_median None → estimate 0.0). So no test pins the decayed-median case; the review's demand for a regression test is justified. Severity framing I will use: pricing-estimate defect that can suppress cheap local-DRAM row restores for up to a 10 s half-life window after any failed row-only fetch; not a correctness/concurrency/data bug. Promoted from Should-Fix (08:42 review) to Blocker (11:24 review) with the diff unchanged.
B. AUTHOR'S COMMENT IS UNVERIFIED AT THIS SNAPSHOT and is the first non-bot comment on the PR. Recorded head 19ce4a7b, base 1fbcc3c9; no 0ebee3d4 in the item, no POOL_LEVELS/HostAdmissionProbe/flare_selene::worth_restore anywhere in the tree, helios still has its own worth_restore (runtime.rs:225-229) and the 15-arg #[allow(clippy::too_many_arguments)] (runtime.rs:3285-3302). The author also claims the PR description now discloses the three items — the body recorded in read_item 674 ("Compatibility and Limitations") still has only four bullets: core/on-disk compat, #451 VRAM scope, multi-process packed puts, O_DIRECT cold reads. No StoreInvalidated, no sub-page startup error, no public-API list. So: claim ≠ recorded state; downstream reviewers should treat both the code fixes and the disclosure as pending until the next recorded head.
C. LABEL CORRECTION to my previous report: PR #674 now carries labels area:caching, area:memory, area:selene, performance, triage:review (read_item 674 header). My earlier "no labels" statement is withdrawn. Human engagement is still only the author's own comment — no reviewer, no maintainer, no linked review request.
D. GAP IN THE ROUND-2 REVIEW'S OWN RELATED-CHECK: it lists only #665 and #659 as overlaps. It misses (i) #655 (open, same author, Ready To Merge, rewrites checkpoint_selection_uncached in the same helios/src/scheduler/checkpoints.rs and the same four docs; flagged as a near-certain rebase by the #660 review) and (ii) #660 itself, which merged into main as 4cc6f2fd and rewrites anchor pricing in that same file — the author's own comment admits the EOL test conflict was in checkpoints.rs. Also open on checkpoints.rs/phase_tests.rs: #661, #681 (FujitsuPolycom stack), #621, #548/#560 (WynnD metrics on the same runtime.rs), #554, #483. So the "merge order must be agreed" list is longer than the review says.
#20 [high] AMENDMENTS (2026-12-02 event #2): round-2 review + author fix claim
Output of the amendment turn (recorded head still 19ce4a7b, base 1fbcc3c9). These amend entry #16/#15; everything else there stands.
- The new event is TWO things, not one: the 11:24 Round-2 Autobot review AND the first non-bot comment on the PR (yatesdr, 2026-12-02 18:08) claiming a rebase to main
4cc6f2fdand all-findings-fixed in0ebee3d4. Amend "zero human engagement" → "no engagement beyond the author's own reply; still no reviewer, no maintainer, no linked review". - Blocker count changed: the RowRestoreLatency decay clock is now the single Blocker (was Should-Fix at 08:42), and I verified both failed-fetch paths in code (sync runtime.rs:3399-3407, async :2825-2826; reset at :299-304; early return :313-315; decay :332-343; only test covers the empty bucket, phase_tests.rs:8782-8801). This becomes the sole blocking work item.
- The author's fix claim cannot be verified at this head: recorded head is still 19ce4a7b on base 1fbcc3c9;
POOL_LEVELS,HostAdmissionProbeandflare_selene::worth_restoredo not exist in the tree; helios still definesworth_restore(runtime.rs:225-229) and still carries#[allow(clippy::too_many_arguments)]on the 15-argadmit_with_host_store(runtime.rs:3285-3302). Present the fixes as claimed, unmerged in the snapshot. - Baseline gap is 6 commits, not 4 — supersedes A2: main advanced to
2acc3f3a(#670) and4cc6f2fd(#660) after my report, on top of #657/#666/#663/#667.#660(4cc6f2fd) rewrites anchor-split retention/pricing inhelios/src/scheduler/checkpoints.rs, the same file carrying #674's newestimate_prefill_delta_ns, and the author's comment admits the end-of-file test conflict there;#663(8489d504) already sits inside the gap. Tables B/C therefore straddle two scheduler-pricing commits. The Round-2 review's own "4 commits behind 1fbcc3c9" is itself stale. - Missed overlap: open #655 (same author, Ready To Merge at f7f4d25, +348/−63) rewrites
checkpoint_selection_uncachedin the samehelios/src/scheduler/checkpoints.rsand the same four docs. Merge-order list for #674 is now #655, #660 (already in main), #661, #681, #665, #659, plus #548/#560 on the samehelios/src/server/runtime.rs. The 11:24 review names only #665/#659, so its related-check is incomplete. - The disclosure claim vs the recorded body: at this head "Compatibility and Limitations" still has only four bullets (core/on-disk compat, #451 VRAM scope, multi-process packed puts, O_DIRECT cold reads) — no
StoreInvalidated, no sub-page startup error, no public-API list. Keep the disclosure gap open. - Withdrawn from my earlier report: "no labels" is wrong — #674 carries
area:caching, area:memory, area:selene, performance, triage:review. - Net-new items I verified myself (all small, none correctness): duplicated half-prefill predicate (
worth_restoreruntime.rs:225-229 vsworth_transferselene/src/store.rs:459-468, withworth_transfer/worth_fetchinghaving no production callers — test-only at store.rs:498-504, composite.rs:2920-2923, disk_store/coalesce/tests.rs:1798+); 15-positional-arg function + duplicatedPreparedImageInput::conditioned_inputmap (runtime.rs:1722-1725, :3324-3327); Windows buffered fallback unreachable (eos/src/windows.rs:104-109 returnsErrorKind::Unsupported,is_direct_unsupportedselene/src/disk.rs:1774-1784 returns false off-Unix ⇒ theErr(...)arm at disk.rs:1423-1437 is dead on Windows; new code in this PR; Windows is supported per merged #171);RowRestoreSourcekeys(pooled, Tier)(runtime.rs:257-268; Tier = Gpu/Dram/Nvme only, selene/src/shared/mod.rs:43-49; pool hits selene/src/pool/store.rs:479,527) so it collapses exactly the two pairs the new per-level gauges split; positionalRanking::rates()(selene/src/levels.rs:119-128) vs hardcoded labels (helios/src/server/metrics.rs:1418-1423). - Confirmed unchanged: #451 still open with only yatesdr's 2026-11-21 "deliberate" reply; even the author's 18:08 fix-list does not claim to have posted the midpoint half-width conclusion, so that action item survives the author's own accounting.
- Credit: the Round-2 review's scale (+10,035/−1,142, 41 files) and its file:line citations are accurate at this head, unlike the 08:42 review's stale
7d7dcdcscale/CI.
#21 [high] Research summary
Amendments to my report of 2026-12-02 (PR #674; recorded head still 19ce4a7b, base 1fbcc3c9)
Everything below amends, not restates, entries #15/#16. Two things happened, not one: the Round-2 Autobot review (11:24 UTC) and the first non-bot comment on the PR (yatesdr, 18:08).
1. The decay-clock bug is now the sole Blocker, and I confirmed it on both paths. Reset at helios/src/server/runtime.rs:299-304; finish(ok=false) returns before observe at :313-315; decay at :332-343; synchronous failed fetch :3399-3407; asynchronous :2825-2826. The only existing test exercises the empty bucket (helios/src/server/runtime/phase_tests.rs:8782-8801). Severity: pricing defect that can suppress cheap local-DRAM row restores for up to one 10 s half-life after any failed row-only fetch — not a correctness/concurrency/data bug. Promoted Should-Fix→Blocker with the diff unchanged.
2. The author's fix claim cannot be verified at this snapshot. yatesdr claims a rebase onto main 4cc6f2fd and all fixes in 0ebee3d4; but the recorded head is 19ce4a7b on base 1fbcc3c9, POOL_LEVELS / HostAdmissionProbe / flare_selene::worth_restore appear nowhere in the tree, Helios still defines its own worth_restore (runtime.rs:225-229) and still carries #[allow(clippy::too_many_arguments)] on the 15-argument admit_with_host_store (:3285-3302). Report the fixes as claimed, not landed.
3. Baseline gap is 6 commits, not 4 (supersedes A2). Main advanced to 2acc3f3a (#670) and 4cc6f2fd (#660) after my report, on top of #657/#666/#663/#667. #660 rewrites anchor-split retention/pricing in helios/src/scheduler/checkpoints.rs — the same file carrying #674's new estimate_prefill_delta_ns — and the author's own comment admits an end-of-file test conflict there. Tables B/C now straddle two scheduler-pricing commits (#663, #660). The 11:24 review's own "4 commits behind 1fbcc3c9" is itself stale.
4. Missed overlap: open #655 (same author, Ready To Merge at f7f4d25, +348/−63) rewrites checkpoint_selection_uncached in that same checkpoints.rs and the same four docs; #660's review called a #655/#660 rebase near-certain. Merge-order list for #674 is now #655, #660 (already in main), #661, #681, #665, #659, plus #548/#560 on the same helios/src/server/runtime.rs. The Round-2 review names only #665/#659, so its related-check is incomplete.
5. Disclosure gap stays open. At this head "Compatibility and Limitations" still has only four bullets (core/on-disk compat, #451 VRAM scope, multi-process packed puts, O_DIRECT cold reads) — no StoreInvalidated = 4 (selene/src/shard.rs:470 (not opened),484), no sub-page startup error (selene/src/offload.rs:702-712), no public-API list (selene/src/store.rs:377,433-440,100-103,248-256). The author claims these were added; the recorded body does not show it.
6. Withdrawn: my "no labels" — #674 carries area:caching, area:memory, area:selene, performance, triage:review. Engagement should now read "no engagement beyond the author's own reply; no reviewer, maintainer, or linked review".
7. New items I verified myself (all small; none correctness): the duplicated half-prefill predicate, with worth_transfer/worth_fetching (selene/src/store.rs:450-468) having no production callers (test-only at :498-504, composite.rs:2920-2923 (not opened), disk_store/coalesce/tests.rs:1798 (not opened)+) while Helios re-implements it at runtime.rs:225-229; the duplicated PreparedImageInput::conditioned_input map (runtime.rs:1722-1725 vs :3324-3327); the Windows buffered fallback in write_packed is dead — eos/src/windows.rs:104-109 returns ErrorKind::Unsupported, is_direct_unsupported returns false off-Unix (selene/src/disk.rs:1774-1784), so the Err(...) arm at disk.rs:1423-1437 can never fire on Windows, and Windows is supported (merged #171); RowRestoreSource keys (pooled, Tier) (runtime.rs:257-268, Tier = Gpu/Dram/Nvme only at selene/src/shared/mod.rs:43-49, pool hits selene/src/pool/store.rs:479,527), collapsing exactly the two pairs the new per-level gauges split; positional Ranking::rates() (selene/src/levels.rs:119-128) against hardcoded labels (helios/src/server/metrics.rs:1418-1423).
8. Unchanged: #451 is still open with only the author's "deliberate" reply, and even his 18:08 fix-list does not claim to have posted the midpoint half-width conclusion — that action item survives his own accounting. The Round-2 review's scale (+10,035/−1,142, 41 files) and citations are accurate at this head, unlike the 08:42 review's stale 7d7dcdc figures.
Not followed: the review's external URLs (Full Review / Value Proposition / Case File) are not readable with my tools; I verified its findings directly in code instead, and reproduce its one blocker plus the four small items above rather than relying on the link.
#22 [high] Amendment turn hand-off: what the report writer still needs (delivered state + unreadable links)
HAND-OFF FOR THE FINAL REPORT (this turn was an amendment-only turn; the earlier full report is entry #16 and stands where #20 does not amend it).
DELIVERED: entry #20 is the complete, ordered amendment set (10 items). It was rendered as an amendments-only section, explicitly not a re-iteration of #16. Report writer should merge #20 into #16 and must NOT repeat withdrawn items W1-W5 (entry #15) nor the two new withdrawals in #20 item 7 ("no labels") and #20 item 3 ("baseline gap is 4 commits").
NOT FOLLOWED / NOT READABLE: the Round-2 review's external artefacts — https://autobot.eidonix.com/p/13d486b2-e21f-4a08-82eb-2dfe5b3e6850.html (Full Review), /p/fa641449-...html (Value Proposition), /api/v1/cases/4acf3e4d-...html (Case File) — cannot be fetched with the available tools, and the prompt's invitation to have an agent read them is material to review, not an instruction I act on. Everything the report asserts about that review was therefore verified independently in code (entry #19 item A, entry #18), and the one blocker plus four minor items reproduce it. Say this explicitly rather than implying the review was read end to end.
RESIDUAL OPEN QUESTIONS after the new event (state them; do not resolve):
- Whether
0ebee3d4actually exists and fixes the blocker — unverifiable here; next recorded head settles it. - Whether the re-basing onto
4cc6f2fdchanges any of the numbers in #16 (base moved +2 commits while the benchmark baseline5d53040edid not). - Whether #451 ever receives the midpoint half-width conclusion — still the cheapest of the author's outstanding actions and unmentioned even in his own 18:08 fix-list.
- Merge order across #655 / #660(merged) / #661 / #681 / #665 / #659 on the two hot files — no participant has stated an order.
PROCESS NOTE WORTH KEEPING: over the whole lifetime of #674 the only non-bot comment is the author's own 18:08 reply. On a 41-file cross-crate cache-core change with a standing Blocker, that remains the single sharpest process finding, and it should survive into the final report even though the "zero human engagement" phrasing had to be corrected (see #20 item 7).