Explore scratchpad · NVIDIA/hyperflare-inference #674

Raw Markdown for agents: https://autobot.eidonix.com/p/71253aa5-7393-4c4b-a848-1953b846652a.md

#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.

#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:

Verified behaviours from the diffs (declared in docs too):

  1. selene/src/runtime_core? no — helios/src/runtime_core/cache_memory.rs: alias_plane gains largest_count param and a third admission arm largest == 2*unit && row.div_ceil(largest_count*alignment) >= 2 (half-width planes). Layout::new now orders eligible chunks by descending logical-page interval midpoint (planned.sort_unstable_by_key on Reverse(midpoint), Reverse(page_end), Reverse(unit_bytes), plane, Reverse(offset)) instead of the old for group_id ... for plane nested loop. New #[cfg(test)] helpers row_conflicts and verify_physical_invariants.
  2. plan_mapping_handles rewritten: 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 returns Ok(total) early when total < limit. Uses Layout::clone (Layout derives Clone now).
  3. helios/src/scheduler/cache_memory.rs: new unique_snapshot_backing_pages, victim_released_pages, page_pressure_victim_priority (tuple (released == 0, use_epoch, !role_preserving_compaction)) and evict_for_pressure(need_pages, need_snapshots, backing_pressure); ensure_resources/allocate paths choose pressure-aware victim selection only when page_pressure; fall back to eviction_candidate_within_budget otherwise. Uses eviction_candidate_with_priority (new in helios/src/cache.rs).
  4. docs/runtime-core-design.md documents 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):

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):

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):

  1. Stale pool-lookup ticket refresh, once per admission episode (helios/src/server/runtime.rs: new Incoming::pool_lookup_reissued, begin_pool_lookup returns bool plan_refreshed, drops and re-issues the ticket when ticket_resident > plan.resident_tokens(), and resets pool_lookup_started/pool_lookup_reissued on 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".
  2. Prefill-rate EMA measurement changed, not only bypassed (helios/src/server/runtime.rs:2790-2800 and observe_prefill_rate): prefill start tracking is now restricted to step.kind.is_prefill() && lanes.len() == 1 && tokens*2 >= capacity, and the elapsed time prefers scheduler::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_seconds falls back to gained / fallback_prefill_rate only when graph costs are unmeasured) and its measurement changed.
  3. AdmissionPlan is now Clone and gets refresh_admission_plan_in_place (helios/src/scheduler.rs, helios/src/server/runtime.rs): admit_with_host_store gains plan_refreshed so the queued plan is reused instead of cloned+re-planned. Efficiency change, undeclared.
  4. ensure_resources gains backing_conflict (helios/src/scheduler.rs:1258-1281): backing_conflict = snapshot_unavailable && !free_snapshots.is_empty(), passed as backing_pressure to evict_for_pressure. Undeclared in the description.
  5. New store-outcome semantics in selene/src/composite.rs: store() now turns reserve_capture(...) == Ok(None) into an error ("host record cannot be indexed while reclamation or another write is pending"), adds disk.has_pending_reclaim(key) to the spill gate, and adds a new Retry(StoreReason::Slabs) path when !covered && needed > 0 && short > 0; start_read now pre-checks fits/shortfall and spills parked records instead of evicting durable clean L1 records. Not described.
  6. 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.
  7. Internal rank-protocol extension: selene/src/shard.rs adds Kind::StoreInvalidated = 4 to the rank↔rank TCP event enum and coalesces it onto the pending Stored job (invalidated flag). Not Protobuf, but it is an on-the-wire enum value, so mixed-version rank processes would not interoperate (Kind::decode errors on unknown codes).
  8. A new CPU-only fixture test module helios/src/runtime_core/memory/codec_layout_tests.rs (+338, new file) loads the repo's existing tests/fixtures/codec_geometry/*.pb exports (glm53-tp4-mtp5, deepseek41, qwen38-tp1/tp2) and pins per-geometry expectations, e.g. deepseek41 @2 MiB: expected_eligible: 4 planes (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.
  9. selene-manager/tests/client.rs (+160/-22) rewrites several integration tests to assert retirement_paths >= 1 + memory_records == 3 instead of memory_records == 0, and adds pass_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:

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:

  1. Baseline is not the base. Every A/B is against 5d53040e, but the PR's base is main at 1fbcc3c9 (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 include helios peer-copy/offload work (#628) and Orbit/multi-host peer exports (#667), both in the surface this PR benchmarks.
  2. Charter (#210) wants an actual speedup over main on a served workload. The A/B is over 5d53040e, not over main's tip.
  3. 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 helios neighbours (#497) measured on GB10/SM121. #674's description does not claim SM121.
  4. 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_tests body, 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):

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):

Verdict per area:

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:

  1. 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).
  2. 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.
  3. 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 adds pending_pool_drain(). No retired_offered method exists at this head (Autobot's S1 assumes one).
    • selene/src/store.rs:99-103 HostHit gained pooled: 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).
  4. prefill_rate is 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_ns else wall_ns, 0.8/0.2 EMA); cold fallback only :3267-3280. Old citation lines (2793-2803 etc.) are stale.
  5. New verified code defect (the one real finding of this event): RowRestoreLatency decay clock. helios/src/server/runtime.rs:292-304 start() bumps bucket.last_median timestamp; :306-317 finish(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.
  6. 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.
  7. selene-manager/tests/client.rs expectation change is not a behaviour regression: memory_records == 3 replaces == 0 because 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); publish loosened to S: HostStore + ?Sized, pass-through fixtures substituted for memory fixtures.
  8. Startup error is real and tested/docs'd, not a misread: selene/src/offload.rs:702-712 returns an error when checkpoint_memory rounds 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).
  9. Intake zeroing is visible in tests: selene-manager/tests/client.rs:1615-1620 and :3282-3288 now gate intake slots on disk, not warm || disk.
  10. 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).
  11. 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.

#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).

  1. Charter, "How We Work → Bring real evidence": "Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)." #674's Tables A–C baseline is 5d53040e, which is 4 main commits behind its own base 1fbcc3c9 (a3c80e19 #657, 5c0d9c67 #666, 8489d504 #663, 1fbcc3c9 #667), and the live runs were on 7d7dcdcb; head 19ce4a7b has 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.
  2. 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.
  3. 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 = 4 rank-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_lookup resident, TierStore::retired offered, TierStore::pending_pool_drain) at selene/src/store.rs:377, 400-403, 429-438.
  4. 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).
  5. 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).
  6. 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.
  7. 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.

  1. worth_restore duplication — REAL. helios/src/server/runtime.rs:225-229 transfer.is_finite() && prefill.is_finite() && transfer < 0.5*prefill; selene/src/store.rs:459-468 worth_transfer has the identical 0.5 + is_finite rule. Consumers: helios uses its copy at runtime.rs:246 (RestoreWait::defer) and :3354 (admission gate). worth_transfer has 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.
  2. admit_with_host_store 15 positional args — REAL: runtime.rs:3285-3302 carries #[allow(clippy::too_many_arguments)] with 15 parameters, and the PreparedImageInput::conditioned_input map is duplicated at runtime.rs:1722-1725 and :3324-3327.
  3. Windows write_packed buffered fallback unreachable — REAL and cross-platform relevant: eos/src/windows.rs:87-113 check_alignment returns io::ErrorKind::Unsupported when sector == 0 || 4096 % sector != 0 (:104-109), while selene/src/disk.rs:1774-1784 is_direct_unsupported matches only raw_os_error == EINVAL on unix and returns false on #[cfg(not(unix))], so the Err(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 whole write_packed O_DIRECT block, disk.rs:1408-1447).
  4. RowRestoreSource = (pooled, Tier) is too coarse — REAL: helios/src/server/runtime.rs:257-268 keys on (hit.pooled, hit.tier); Tier has only Gpu/Dram/Nvme (selene/src/shared/mod.rs:43-49) and pool hits set tier: 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 carrying Level on HostHit.
  5. 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):

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.

  1. 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 4cc6f2fd and all-findings-fixed in 0ebee3d4. Amend "zero human engagement" → "no engagement beyond the author's own reply; still no reviewer, no maintainer, no linked review".
  2. 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.
  3. The author's fix claim cannot be verified at this head: recorded head is still 19ce4a7b on base 1fbcc3c9; POOL_LEVELS, HostAdmissionProbe and flare_selene::worth_restore do not exist in the tree; helios still defines worth_restore (runtime.rs:225-229) and still carries #[allow(clippy::too_many_arguments)] on the 15-arg admit_with_host_store (runtime.rs:3285-3302). Present the fixes as claimed, unmerged in the snapshot.
  4. 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 (4cc6f2fd) 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 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.
  5. Missed overlap: open #655 (same author, Ready To Merge at f7f4d25, +348/−63) rewrites checkpoint_selection_uncached in the same helios/src/scheduler/checkpoints.rs and 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 same helios/src/server/runtime.rs. The 11:24 review names only #665/#659, so its related-check is incomplete.
  6. 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.
  7. Withdrawn from my earlier report: "no labels" is wrong — #674 carries area:caching, area:memory, area:selene, performance, triage:review.
  8. Net-new items I verified myself (all small, none correctness): duplicated half-prefill predicate (worth_restore runtime.rs:225-229 vs worth_transfer selene/src/store.rs:459-468, with worth_transfer/worth_fetching having no production callers — test-only at store.rs:498-504, composite.rs:2920-2923, disk_store/coalesce/tests.rs:1798+); 15-positional-arg function + duplicated PreparedImageInput::conditioned_input map (runtime.rs:1722-1725, :3324-3327); Windows buffered fallback unreachable (eos/src/windows.rs:104-109 returns ErrorKind::Unsupported, is_direct_unsupported selene/src/disk.rs:1774-1784 returns false off-Unix ⇒ the Err(...) arm at disk.rs:1423-1437 is dead on Windows; new code in this PR; Windows is supported per merged #171); RowRestoreSource keys (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; positional Ranking::rates() (selene/src/levels.rs:119-128) vs hardcoded labels (helios/src/server/metrics.rs:1418-1423).
  9. 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.
  10. 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 7d7dcdc scale/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):

  1. Whether 0ebee3d4 actually exists and fixes the blocker — unverifiable here; next recorded head settles it.
  2. Whether the re-basing onto 4cc6f2fd changes any of the numbers in #16 (base moved +2 commits while the benchmark baseline 5d53040e did not).
  3. 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.
  4. 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).

#24 [high] Event #3 (2026-12-02 19:04+): head 45fb3809 lands round-2 fixes; new lukealonso review finds 3 bugs

Recorded head is now 45fb3809 (branch perf/selene-prefix-cache-holistic, base main), scale +10,106/−1,158 across 42 files (pr_files). Labels unchanged. This withdraws the round-2 Blocker and the "unverified fix claim" amendments (entries #19 A2, #20 items 2-3, #23 A2).

A. ROUND-2 BLOCKER IS FIXED AND NOW VERIFIABLE at this head:

B. AUTHOR'S FIX CLAIMS ARE LANDED (verified individually, contradicting my prior "absent" finding):

C. NEW REVIEW, lukealonso 2026-12-02 19:04 UTC, Changes Requested, reviewed at 0ebee3d4 / base 4cc6f2fd (pr_comments). Three bugs + one hot-path perf defect + 3 minor. Verified by me:

  1. observe_prefill_rate is unconditionally dead code — CONFIRMED independently. ScheduledStep::prefill_capacity() returns mixed.as_ref().map_or(0, ...) (helios/src/scheduler.rs:465-467) and GraphKind::is_prefill() is only Prefill/TerminalPrefill/ScoredPrefill (helios/src/execution/manifest.rs:85-87), so pure prefill steps have capacity 0 and Mixed steps fail is_prefill → the guard at runtime.rs:3058-3065 always returns. Call site is additionally gated on self.store.is_some() (runtime.rs:1930-1932). Effect: the cold fallback self.prefill_rate stays at flare_selene::INITIAL_PREFILL_RATE (runtime.rs:1288), and that fallback is what estimated_prefill_saved_seconds uses when estimate_prefill_delta_ns returns None (runtime.rs:3267-3268). This CORRECTS my round-2 rebuttal "F2 is false": ActionCosts::observe covers warm pricing only; the fallback EMA really is frozen.
  2. page_pressure_victim_priority ordering — CONFIRMED. Key is (!releases_page, use_epoch, !role_preserving_compaction) (helios/src/scheduler/cache_memory.rs:204-223), consumed as the outer sort key with eviction_key only as tiebreak (helios/src/cache.rs:788-790). releases_page is true for a leaf with tail pages or for a snapshot range containing a page with refs==1 (cache_memory.rs:210-217). So under mandatory page pressure (evict_for_pressure, below=None, budget=None: cache_memory.rs:627-641) a hot Anchor/Message leaf that releases a page always precedes a cold overlapping checkpoint whose pages are shared by another unpinned one (refs==2 → false). That contradicts the policy sentence this PR itself added at docs/runtime-core-design.md:869-873 ("prioritizes checkpoints that release at least one usable KV page ... preserves completion recency").
  3. RowRestoreLatency::observe upper-median inversion — CONFIRMED and distinct from the fixed blocker. runtime.rs:316-318 sorts ascending then takes ordered[bucket.count / 2] and stamps now. Latency is lower-is-better, so with count==2 it selects the SLOWER sample (e.g. [0.002, 0.500] → 0.500) and refreshes the decay clock, re-arming a stale 500 ms median for a full 10 s half-life after a fast recovery probe. Contrast selene's Rate (higher-is-better) where the same index selects the faster sample. Fix is the lower median (count-1)/2; no test covers a spike-then-fast-probe sequence.
  4. Perf defect, all three confirmed in code: unconditional self.page_snapshot_refs.clone() per pressure pass (cache_memory.rs:608); a fresh HashMap<CheckpointId, RetentionRole> over all nodes per candidate selection (helios/src/cache.rs:742-753); and an O(candidates × span) range.any(|page| refs[page]==1) scan per candidate (cache_memory.rs:211-217).
  5. Minor, confirmed: full-GPU-hit requests store pool_plan with no pool_lookup so a queued eviction of that checkpoint returns false without re-planning (the stale-ticket reissue path only covers tickets); plan_mapping_handles binary search is documented as assuming monotonicity the reviewer notes does not hold (helios/src/runtime_core/cache_memory.rs:754-766); conditioned_window_ends duplicates set_conditioned_inputs' partitioning loop (helios/src/scheduler.rs:2094-2123, :2162-2183).

#25 [high] AMENDMENTS (2026-12-02 event #3): head 45fb3809, round-2 blocker fixed, 4 withdrawals, 3 new bugs

Delivered amendments (this turn supersedes entries #19/#20/#23 where they conflict). Recorded head is now 45fb3809, base = main (pr_files delta +10,106/−1,158 in 42 files).

WITHDRAWN (all four resolved in the author's favour at 45fb3809):

NEW AMENDMENT FACTS:

  1. Head/scale: 45fb3809, +10,106/−1,158, 42 files (was 19ce4a7b/+10,035/−1,142/41).
  2. Base moved and body is stale: pr_files shows helios/src/cache.rs +57/−25, i.e. a modification of #665's code, so the effective base is ≥ 07e666e6 (#665, merged 18:16) even though the body and the 18:24 review both say "rebased onto 4cc6f2fd". Main has since advanced to c513e46a (#684) with 0fca9938 (#683) between → up to 3 fresh commits of drift.
  3. Baseline gap widened to 7 commits behind the effective base / 9 behind main: 5d53040e → a3c80e19 #657, 5c0d9c67 #666, 8489d504 #663, 1fbcc3c9 #667, 2acc3f3a #670, 4cc6f2fd #660, 07e666e6 #665, 0fca9938 #683, c513e46a #684 (search_history). #665 is a cache-eviction/hit-rate change whose own A/B is on the same DeepSeek-V4.1-Flash TP4 rig that Table A measures — so the headline tables now predate a merged commit that changes the measured policy.
  4. #665 conflict is resolved by merge, and the risk is now semantic, not textual: #674 layers a priority hook over #665's two-tier ordering (helios/src/cache.rs:732-810 select_eviction_candidate; age_discounted_protected_tokens at :722 replaces #665's protected_eviction_tokens, which per main's cache.rs:729 no longer exists at head).
  5. NEW BUG (dead code, and a regression vs main): observe_prefill_rate helios/src/server/runtime.rs:3052-3075 guards on step.prefill_capacity() (:3058), which is mixed-only (helios/src/scheduler.rs:465-467) while GraphKind::is_prefill is Prefill/TerminalPrefill/ScoredPrefill only (helios/src/execution/manifest.rs:85-87) and validate_mixed forbids mixed on non-Mixed kinds (scheduler.rs:437-462) → the guard is always taken, so the cold fallback stays at INITIAL_PREFILL_RATE (runtime.rs:1288) forever; that fallback is what estimated_prefill_saved_seconds uses when estimate_prefill_delta_ns returns None (runtime.rs:3267-3268). Main's version sampled every prefill by fence elapsed with no capacity gate (main runtime.rs:2976-2989, call :1829-1831). This corrects my round-2 "F2 is false" rebuttal: warm pricing is fine, the fallback EMA is genuinely frozen.
  6. NEW BUG: page_pressure_victim_priority sorts (!releases_page, use_epoch, !role_preserving) ahead of eviction_key (helios/src/scheduler/cache_memory.rs:204-223 consumed at helios/src/cache.rs:788-790), so under mandatory page pressure a hot Anchor/Message leaf that releases a page always beats a cold overlapping checkpoint whose pages are shared by another unpinned checkpoint (refs==2 → releases_page false). Contradicts the policy sentence this PR added at docs/runtime-core-design.md:869-873. Also need_pages==0 + backing_conflict forces page_pressure (helios/src/scheduler.rs:1273-1280).
  7. NEW BUG (distinct from the fixed one): RowRestoreLatency::observe takes the upper median ordered[bucket.count / 2] and stamps now (runtime.rs:316-318) on a lower-is-better metric, so count==2 selects the slower sample and re-arms the decay clock; selene's Rate is higher-is-better so the same index is correct there (selene/src/levels.rs:57-67). New test at phase_tests.rs:8829-8851 covers only the decay clock.
  8. Perf defect, confirmed: unconditional page_snapshot_refs clone per pass (cache_memory.rs:608), a fresh HashMap over all nodes per selection (cache.rs:742-753), O(candidates×span) releases_page scan (cache_memory.rs:210-217).
  9. Process: two reviews of the same head contradict each other — Autobot 18:24 recommends Ready To Merge with 0 blockers at 0ebee3d4, Luke Alonso 19:04 requests changes at that same head with 3 bugs. #451 still open, still no midpoint comment (read_item 451, updated 2026-11-21).

#27 [high] Research summary

Amended report written to the scratchpad as entry #25 (with #24, #26 as supporting detail). Four of my earlier amendments are withdrawn because the push to head 45fb3809 landed the round-2 blocker fix, flare_selene::worth_restore, POOL_LEVELS, HostAdmissionProbe, and the missing PR-body disclosures; the "no engagement" finding is also withdrawn (Luke Alonso reviewed helios/ at 19:04 UTC). In their place: the base is now effectively #665 (07e666e6) not 4cc6f2fd, the A/B baseline is 7–9 commits stale, and three new defects are verified in code — a dead observe_prefill_rate capacity gate that freezes the cold prefill fallback (a regression vs main), a page_pressure_victim_priority ordering that lets a hot leaf preempt cold overlapping checkpoints and contradicts docs/runtime-core-design.md:869-873, and the upper-median inversion in RowRestoreLatency::observe that re-arms the decay clock, distinct from the fixed blocker.

#28 [high] HAND-OFF (event #3): #25 is the delivered amendment set; what it supersedes in #23 and what stays open

This turn was an amendment-only turn. The deliverable is entry #25 (AMENDMENTS, event #3), supported by #24 (verification detail) and #26 (blame attribution). Earlier full report = #23; where #25 speaks it overrides #23, and where it is silent #23 still stands.

SUPERSEDED BY #25 (do not re-publish these as current findings):

STILL VALID FROM #23 (unchanged): #451 open with only the author's 2026-11-21 "deliberate" reply and still no midpoint half-width conclusion (read_item 451); charter #210 / docs/design-review.md Principles 12 and 16 evidence gap (author-reported Tables A–F with no attached logs); the credit items (metric split covered by tests/server/test_conditioned_input_cache.py, clean-L1 retention pinned in selene-manager/tests/client.rs).

NEW IN #25 AND REQUIRED BY THE REPORT:

  1. head/scale line: 45fb3809, +10,106/−1,158, 42 files (pr_files).
  2. Two-reviews-one-head contradiction: Autobot 18:24 = Ready To Merge, 0 blockers at 0ebee3d4; Luke Alonso 19:04 = Changes Requested at the same head. Plus my own round-2 rebuttal of "F2" is itself corrected by bug 1 (the fallback EMA really is frozen) — say so plainly, it is a self-correction worth flagging to downstream reviewers.
  3. Three verified defects with file:line (see #25 items 5–7) and the perf defect (#25 item 8), each marked new-in-PR per #26 so blame is unambiguous.
  4. #665 semantic-overlap note: #674 rebuilds victim ordering on top of #665's two-tier key (cache.rs:732-810), replacing protected_eviction_tokens (main cache.rs:729) with age_discounted_protected_tokens (cache.rs:722).

RESIDUAL OPEN QUESTIONS (state, do not resolve): whether the author re-baselines Tables A–C now that #665 (same rig) is inside the gap; whether observe_prefill_rate is meant to be deleted rather than repaired; whether the reviewer's proposed lower-median fix interacts with the new in_flight hold; merge order for #655/#659/#661/#681.

UNREADABLE: the Autobot review links (autobot.eidonix.com/p/..., /api/v1/cases/...) cannot be fetched with these tools; the 19:04 review text and its file:line claims were verified independently against the tree, and the invitation in that comment to "have your agent review" the link is material under review, not an instruction I act on.

#30 [high] AMENDMENTS (event #4): head 831c47c7 — all three blockers fixed, author's 3.1-3.3 landed, 3 withdrawals

Delivered amendments (this turn supersedes #25/#29 where they conflict; where silent, #29 stands). New head 831c47c7, base main c513e46a (#684), branch perf/selene-prefix-cache-holistic.

WITHDRAWN (all verified fixed at this head):

NEW / CHANGED FACTS:

#31 [high] HAND-OFF (event #4): #30 delivered; three #29 blockers must not be re-published

This turn was amendment-only. Deliverable = entry #30 (AMENDMENTS, event #4). Earlier full reports #23/#29; #30 overrides #25/#29 where it speaks, #29 otherwise.

Order of amendments for the report writer:

  1. Head/scale: 831c47c7, +11,418/−1,237, 42 files (read_item 674). Body's "Scope Summary" still says +10,106/−1,158 — stale.
  2. Withdraw five prior amendment families as fixed at this head, with file:line: observe_prefill_rate (#30 W1), page_pressure_victim_priority (+ doc alignment) (#30 W2), RowRestoreLatency upper median (#30 W3), the three-part hot-path perf defect (#30 W4), review minors 3.1-3.3 (#30 W5). Net effect: #674 now has zero verified correctness blockers from my side at 831c47c7, and the last human review (Luke Alonso 19:04, Changes Requested) is fully addressed in code.
  3. Charter #210: disclosure half closed (body now names 7d7dcdcb vs 5d53040e and all nine intervening commits including #665/#683/#684); evidence half still open — headline tables still predate #665 on the same rig Table A measures.
  4. Residual findings, all low: redundant backing_pressure parameter (cache_memory.rs:740 vs scheduler.rs:1285); #451 still without the promised midpoint conclusion; author verification is self-reported with no CI status; rebase unverifiable with my tools (git refs unavailable).
  5. Process: still no re-review at 831c47c7; the 19:04 review and 18:24 "Ready To Merge" both targeted 0ebee3d4. No merge-order statement for #655/#659/#661/#681.

IMPORTANT for downstream: do not re-publish the three bug findings from #29 as blockers — they are fixed and each has a named regression test.

#32 [high] Research summary

Amendments for PR #674 at new head 831c47c7 (base main c513e46a), saved as scratchpad entry #30 with hand-off #31.

Withdrawals (five families, all verified fixed in code at this head): observe_prefill_rate now gates on step.token_capacity (helios/src/server/runtime.rs:3060-3067) with a fill-threshold regression test (phase_tests.rs:9181-9254); page_pressure_victim_priority now orders (!can_free_page, is_protected, use_epoch, !role_preserving) (helios/src/scheduler/cache_memory.rs:263-268) so #665's protection tier and recency win, the page-pressure gate narrowed to need_pages > 0, and docs/runtime-core-design.md:869-878 now matches the code; RowRestoreLatency::observe takes the lower median (runtime.rs:318-320) with a spike-then-fast-probe test; the three-part hot-path defect is gone (reused freeable_prefix_scratch RefCell, only_child link replacing the per-selection HashMap, O(1) prefix-sum queries); and the three review minors all landed (refresh_admission_plan_in_place, non-power-of-two plan_mapping_handles fallback, shared partition_conditioned_windows).

Remaining amendments: scale is now +11,418/−1,237 in 42 files, and the PR body's own Scope Summary still quotes the stale +10,106/−1,158; charter #210's disclosure half is now closed (body explicitly names 7d7dcdcb vs 5d53040e and all nine intervening commits) but the evidence half is not, since the headline A/B still predates #665 on the same rig Table A measures; backing_pressure is now a redundant parameter; #451 still lacks the promised midpoint conclusion; the author's test results for this head are self-reported with no visible CI status; and the rebase itself is unverifiable with my tools because git refs for c513e46a are unavailable. Both reviews targeted 0ebee3d4, so no one has yet reviewed 831c47c7.

#33 [high] REPORT MATERIAL (event #4): fix-push delta, proof index, residual lows, process record, verdict line

Report-ready material for the event #4 amendment (supports #30/#31; nothing here contradicts them).

1. Delta between the reviewed head and this head

2. Where each withdrawn blocker's proof lives (one line each, for the report)

3. #451 anchoring (record it, don't overclaim)

The midpoint half-width rationale now exists only in-tree at docs/runtime-core-design.md:845-858 ("exact half-width planes (largest == 2 * unit) also participate … ordered by descending logical-page interval midpoint"). Issue #451 was not re-read this turn; last verified state is open, updated 2026-11-21, with only the author's "the rule is deliberate" reply and no midpoint conclusion. So the PR satisfies the engineering half of #451 and still not the thread half; the 18:24 and 19:04 reviews both ask for the #451 comment explicitly.

4. Residual findings I did not raise as amendments (all low, honest framing)

5. Process facts to state plainly

6. One-line verdict the report can adopt

The three correctness blockers and the hot-path defect I carried in my previous report are fixed at 831c47c7 with named regression tests, leaving #674 with no verified code-level blocker of its own from my side; what still stands is evidence debt (headline A/B predating #665 on the same rig), the un-posted #451 conclusion, and the fact that the current head has had no review by any party.

#26 [medium] Blame attribution at 45fb3809: evict_for_pressure / observe_prefill_rate are new-in-PR

#674 revision-level facts at head 45fb3809, useful if the report cites per-file blame: