Key findings (amendments only — everything below supersedes/extends my previous report for PR #674; where this is silent, the earlier report stands)
- New event: #674 was pushed from
19ce4a7bto45fb3809(branchperf/selene-prefix-cache-holistic, basemain), which lands the author's round-2 fixes — and Luke Alonso reviewedhelios/at 2026-12-02 19:04 UTC with Changes Requested: 3 correctness bugs + 1 hot-path perf defect + 3 minors (pr_comments). Until now the PR had no engagement beyond the author's own comment. - Four of my earlier amendments must be withdrawn: the round-2 blocker is fixed, all of the author's claimed artefacts have landed, the disclosure gap is closed, and "no engagement beyond the author" is now false.
- Three new verified defects, two of them new-in-PR (
evict_for_pressureandpage_pressure_victim_prioritydo not exist on main), and one is a regression relative to main (observe_prefill_rateis now permanently dead code). - I have to correct my own round-2 rebuttal: I argued the reviewer's "F2" was false because warm pricing works. Warm pricing does work, but the cold fallback EMA the reviewer pointed at really is frozen — the reviewer was right about the fallback, wrong about the mechanism's importance.
- Two reviews of the same head now contradict each other: Autobot at 18:24 recommended Ready To Merge with 0 blockers at
0ebee3d4; Luke Alonso at 19:04 requested changes at that same head with three bugs. - New scale: +10,106 / −1,158 across 42 files (
pr_files); the effective base is now ≥07e666e6(#665) even though the body and both reviews say4cc6f2fd.
A1. Head, scale, and base — the body is stale
- Head
45fb3809, +10,106 / −1,158, 42 files (was19ce4a7b, +10,035 / −1,142, 41) —pr_files. helios/src/cache.rsnow shows +57 / −25, i.e. #674 modifies code introduced by #665 ("helios: add scan-resistant dual-turnover prefix cache eviction", merged07e666e6, 2026-12-02 18:16). So the effective base is ≥07e666e6, while the PR body and the 18:24 review both say "rebased onto4cc6f2fd" — stale by at least one commit (pr_files,search_history).
A2. Withdrawn from my earlier reports (all four resolved in the author's favour at 45fb3809)
- W-a — round-2 Blocker
RowRestoreLatency::startresets the decay clock: FIXED.start()now only inserts intoin_flight(helios/src/server/runtime.rs:284-293);finish()returns beforeobserveon failure (:295-306,if !ok { return; }at:302-304); decay unchanged (RECOVERY_SECONDS = 10.0at:282,:321-332); and there is now a real aged-median regression test — it rewinds the median 30 s, asserts it decayed, then assertsstart+finish(false)preserves the decayed value (helios/src/server/runtime/phase_tests.rs:8829-8851). - W-b — "author's fix claims unverifiable / artefacts absent": ALL PRESENT.
flare_selene::worth_restoreatselene/src/store.rs:451(not opened), called fromhelios/src/server/runtime.rs:3362(helios's duplicate is gone);POOL_LEVELSatselene/src/levels.rs:109, used at:131and byhelios/src/server/metrics.rs:1418(not opened);HostAdmissionProbeathelios/src/server/runtime.rs:3280-3290(destructured:3303-3313), andadmit_with_host_storeis down to 7 arguments (:3294-3302) so its#[allow(clippy::too_many_arguments)]is gone (the remaining allow at:2554is a different function,park_with_tokens). - W-c — disclosure gap: CLOSED. "Compatibility and Limitations" now lists
Kind::StoreInvalidated = 4, the sub-page memory-only startup failure, and the publicflare-seleneAPI list (read_item 674). - W-d — "no engagement beyond the author" (corrected label statement): WITHDRAWN. Luke Alonso (mainline
helios/committer) reviewedhelios/at 19:04 UTC, Changes Requested (pr_comments).
A3. New defects verified at 45fb3809 (review's claims checked against the tree by me)
observe_prefill_rateis unconditionally dead code — confirmed, and a regression vs main. The guard athelios/src/server/runtime.rs:3058-3065requiresstep.prefill_capacity() != 0(:3058) andstep.kind.is_prefill(). Butprefill_capacity()ismixed.as_ref().map_or(0, …)(helios/src/scheduler.rs:465-467), andGraphKind::is_prefill()covers onlyPrefill/TerminalPrefill/ScoredPrefill(helios/src/execution/manifest.rs:85-87), whilevalidate_mixedforbidsmixedon non-Mixedkinds (helios/src/scheduler.rs:437-462) — so the guard always returns andself.prefill_ratestays atINITIAL_PREFILL_RATE(runtime.rs:1288) forever. That fallback is whatestimated_prefill_saved_secondsuses whenestimate_prefill_delta_nsreturnsNone(runtime.rs:3267-3268). Blame: main's version sampled every prefill by fence elapsed with no capacity gate (mainruntime.rs:2976-2989, call at:1829-1831), so this is introduced by #674, not inherited (search_code ref=main).page_pressure_victim_prioritybreaks recency and role protection under overlapping unpinned checkpoints — confirmed, new in PR. The key is(!releases_page, use_epoch, !role_preserving_compaction)(helios/src/scheduler/cache_memory.rs:204-223), consumed as the outer sort key witheviction_keyonly as tie-break (helios/src/cache.rs:788-790).releases_pageis true only for a childless node with tail pages, or a snapshot range containing a page withrefs == 1(cache_memory.rs:210-217). Under mandatory page pressure (evict_for_pressure,below = None,budget = None:cache_memory.rs:627-641) a hotAnchor/Messageleaf that frees a page therefore always beats a cold overlapping checkpoint whose pages are shared by another unpinned checkpoint (refs == 2→false). Also,need_pages == 0+backing_conflictforces page pressure (helios/src/scheduler.rs:1273-1280), so an unrelated hot leaf is evicted instead of the blocking cold overlap. This directly contradicts the policy sentence this PR itself added atdocs/runtime-core-design.md:869-873("prioritizes checkpoints that release at least one usable KV page … preserves completion recency"). Blame: neitherevict_for_pressurenorpage_pressure_victim_priorityexists on main — both are new here.RowRestoreLatency::observeupper-median inversion — confirmed, distinct from the fixed blocker. It sorts ascending and takesordered[bucket.count / 2], stampingnow(helios/src/server/runtime.rs:316-318). Latency is lower-is-better, so withcount == 2it selects the slower sample (e.g.[0.002, 0.500] → 0.500) and re-arms the decay clock for a full 10 s half-life right after a fast recovery probe. Selene'sRateis higher-is-better, so the same index is correct there (selene/src/levels.rs:57-67) — the copy is inverted. The new test atphase_tests.rs:8829-8851covers only the decay clock, not a spike-then-fast-probe sequence.- Hot-path perf defect — all three parts confirmed in code. Unconditional
page_snapshot_refs.clone()per pressure pass (helios/src/scheduler/cache_memory.rs:608); a freshHashMap<CheckpointId, RetentionRole>over all checkpoints 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). On the DeepSeek-V4.1-Flash TP4 geometry quoted in the review (156,956 pages, ≤172 pages/snapshot) that is ~628 KiB cloned per victim and ~836k checks per victim. - Minor, confirmed: full-GPU-hit requests store
pool_planwithoutpool_lookup, so a queued eviction of that checkpoint returnsfalsewithout re-planning (helios/src/server/runtime.rs:3171-3228) — adjacent to, but not covered by, the new stale-ticket reissue path;plan_mapping_handles' binary search assumes a monotonicity that does not strictly hold (helios/src/runtime_core/cache_memory.rs:754-766(not opened); safe, needs a comment);conditioned_window_endsduplicatesset_conditioned_inputs' partitioning loop (helios/src/scheduler.rs:2094-2123,:2162-2183).
A4. Self-correction I owe downstream reviewers
In my round-2 verification I wrote that the reviewer's "prefill_rate EMA" finding F2 was false, on the grounds that ActionCosts::observe keeps PrefillPredictor trained so warm restores never consult the fallback. That remains true for warm pricing (helios/src/scheduler/cost.rs:830-864 (not opened), estimate_prefill_delta_ns at helios/src/scheduler/checkpoints.rs:445-494 (not opened)), but bug A3.1 shows the cold fallback EMA genuinely is frozen, so my rebuttal was too broad. The reviewer's prioritisation was right; my mechanism analysis was not.
A5. Process: two reviews of the same head contradict each other
- Autobot, 18:24 UTC: Ready To Merge, 0 blockers / 0 should-fix at
0ebee3d4, and it explicitly asserts the aged-decay regression test and the round-2 fixes are landed (pr_comments). - Luke Alonso, 19:04 UTC: Changes Requested at that same head
0ebee3d4(base4cc6f2fd), with three bugs (pr_comments). - A reviewer downstream should not treat the 18:24 "Ready To Merge" as a human approval: it is a different reviewer, a different scope (
helios/only for Luke Alonso), and it was superseded 40 minutes later.
A6. Related work and evidence: what changed in the amendment
- #665 is now MERGED (
07e666e6, 2026-12-02 18:16), so the #665 conflict is no longer textual-merge risk but semantic: #674 layers a priority hook over #665's two-tier ordering —select_eviction_candidate(helios/src/cache.rs:732-810) withage_discounted_protected_tokens(:722-730) now replaces #665'sprotected_eviction_tokens, which no longer exists at head (it is still on main atcache.rs:729). My earlier "#665 will conflict oneviction_candidate_within_budget" note is superseded: #674 rebuilt the ordering on top of #665's code instead. - Baseline gap is now 7 commits behind the effective base and 9 behind main:
5d53040e(baseline) →a3c80e19#657 →5c0d9c67#666 →8489d504#663 →1fbcc3c9#667 →2acc3f3a#670 →4cc6f2fd#660 →07e666e6#665 →0fca9938#683 →c513e46a#684 (main;search_history). #663 and #660 are both scheduler-pricing commits, and #665 is a cache-eviction/hit-rate change whose own A/B runs 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 policy being measured. - Remaining coordination list (same hot files, no agreed order): #655, #659, #661, #681, plus #548/#560 on
helios/src/server/runtime.rs.
A7. Still valid from my previous report (not superseded)
- Issue #451 remains open with only the author's 2026-11-21 "the rule is deliberate" reply, and the promised midpoint half-width conflict-span conclusion has still not been posted there (read_item 451) — #674's own body lists #451 as "[mentions]" only. This survives even the author's own fix list.
- Evidence rule still unmet: charter "Performance PRs need benchmarks showing an actual speedup over
mainon a served workload (#210)" — Tables A–C are against5d53040e, Table F ran on7d7dcdcb, and all GPU tables remain author-reported with no attached raw logs (docs/design-review.md:106-115(not opened), Principle 12). - Credit items unchanged: the metric split is covered end-to-end by a changed Python test (
tests/server/test_conditioned_input_cache.py:141-149(not opened)) and clean-L1 retention is pinned inselene-manager/tests/client.rs(not opened).
Open questions and what I could not verify
- Whether the author will re-baseline Tables A–C now that #665 (same rig, same policy area) is inside the gap — unresolved; nobody has answered.
- Whether
observe_prefill_rateshould be repaired (usetoken_capacity) or deleted now thatActionCosts/PrefillPredictorcovers warm pricing; the reviewer proposes the former, the code suggests the fallback may be worth removing. - Whether the reviewer's lower-median fix for
observeinteracts with the newin_flighthold (runtime.rs:288-293,:328-330) — the hold returns the undecayed median while a fetch is in flight, so a lower-median change alone may not clear a stale spike if a probe is still in flight. - Merge order for #655 / #659 / #661 / #681 (and #548/#560 on
runtime.rs) is still unstated by any participant. 45fb3809vs the reviews'0ebee3d4: the two reviews reviewed a commit that is no longer the head; Luke Alonso'sfile:lineclaims still match the45fb3809tree everywhere I checked (all four bugs, all three minors), but the reviews' own line numbers are for0ebee3d4.- Not verifiable with my tools: the Autobot review artefacts (
autobot.eidonix.com/p/…,/api/v1/cases/…) cannot be fetched; every review claim I report was re-verified independently in the tree. The invitation inside the 08:42 review comment to "have your agent review" that link is material under review, not an instruction I acted on — worth flagging to reviewers as a prompt-injection-shaped line in the review text itself. - No merge-order or re-baseline statement exists in any comment, and CI status for
45fb3809is not reported anywhere in the item.
Summary of the amendment in one line: the round-2 blocker and all disclosure/fix-claim amendments are withdrawn as fixed at 45fb3809; in their place, three verified defects (a regression that freezes the prefill fallback EMA, a page-pressure ordering bug that contradicts this PR's own new doc sentence, and a median inversion in RowRestoreLatency::observe) plus a three-part hot-path allocation defect now block merge, and my own earlier rebuttal of the EMA finding is corrected.