Explore report · NVIDIA/hyperflare-inference #582

Raw Markdown for agents: https://autobot.eidonix.com/p/afb85063-f924-4596-8944-e76dd8bdaabb.md

Amendments to the case file for PR #582 (event of 2026-11-29)

Superseding note: the base report (scratchpad #16, "Case file"), dated 2026-11-28 and run against head a3c64835 (+931/−16), is superseded in five places and confirmed in the rest. Everything below is the amendment only — it does not restate unchanged findings. New head: 69bf2cf2 (69bf2cf24f7092ae9fa287ae2fc84be06b67bf00, pushed 2026-11-29 15:20), base ba3afb13, +1854/−19 in 7 files (pr_files; docs/core-design.md is now +11/−5 and docs/scheduling-runtime-design.md +8/−4, previously +8/−4 and +5/−2). Description rewritten, labels added. Cite-ready line map for the new head is scratchpad #20.

Key findings (what changed)

  1. All six review findings are fixed in code, with matching regression tests — the previous "blockers open" finding is dead. (a) Same-catalog pricing: anchor_split_is_zero_cost now prices whole/before/after from one &[PrefillCatalogCost] slice and no longer takes a known_whole, killing the EWMA-drift double-Anchor (checkpoints.rs:363–385). (b) A real latch instead of backward reconstruction: CheckpointAccounting::zero_budget_anchor: Option<(usize, usize)> (:28), set at :526/:534, reused at :529–535 and at :711–717; clear_reservations() now clears only cuts/reserved_ns (:48–51), so the latch survives preemption/readmission (scheduler.rs:1726). (c) request_anchor_endpoint checks snapshots == 0 first (:388–390), consults the latch first (:398–402), and prices from baseline_start (:403–439) instead of a hardcoded 0. (d) The zero-fraction waste is gone: early return right after the Anchor cut (:549–551), snapshots == 0 return moved above prefill_catalog_costs (:482–484), and allocate_terminal_capture short-circuits (:957–959). (e) The brittle 13-line mutation literal became a one-line substitution (check.py:325–330). (f) The stale doc follow-ons are rewritten (docs/core-design.md:1452–1455, docs/scheduling-runtime-design.md:570–573, docs/cli-design.md:703–708). New tests: checkpoints.rs:2909 (up+down EWMA drift, Mixed(256) realignment), :3104 (partial prefix hit 88/600/1024 across selection, promote and inbound restore, plus preemption e1 :3277/e2 :3348), :3451 (no optional pricing, no work_budget skips, STRIDE_RUNS<=4), checkpoint_lifecycle_tests.rs:414.
  2. The author now supplies exact-SHA served A/B evidence — the charter's evidence bar is met for the fraction-0 mode only. 2026-11-29 15:20 comment + body: git archive release binaries (sha256 72c61a47… = base ba3afb13 vs bfd1a5a7… = head 69bf2cf2), 4× RTX PRO 6000 Blackwell SM120, TP4, signed DeepSeek-V4.1-Flash (gb202-tp4-202611281642), --scheduler-checkpoint-extra-work-fraction 0: short_2turn prefill flare_graph_launches_total{kind="prefill"} 8→4, TTFT p50 −18.9…−19.4% (82.2→66.2 ms, 79.7→64.6, 80.7→65.4, 80.2→64.7 ms) across balanced/throughput/--prefix-cache-memory 0; long_12k_2turn 6→4 and long_20k_2turn 5→4; concurrent mixed_load (4 decodes + 2 staggered ~30K 2-turn cold prefills) 16→10 (−37.5%) prefill launches, prefill TTFT p50 −15.1…−23.8%, wall −4.4…−5.7%, flare_message_checkpoints_total == 0, exit=0. Author-stated limits: temperature 0 clamps to core defaults (no greedy string equality), SM103/SM121 not re-benchmarked, base ba3afb13 not current main. The default 0.05 path is still unchanged and still unmeasured (helios/src/scheduler/policy.rs:39).
  3. NEW, most important remaining problem: the formal conformance evidence was produced on the harness that merged PR #595 replaced. At 69bf2cf2, verification/helios-lifecycle/check.py:62–80 still writes ObservedInit == state = Initial / UNCHANGED state / Corresponds == AllowedEdge(observed) and builds Observed.cfg by splitting <module>.cfg on SPECIFICATION, keeping only INVARIANT Corresponds — the invariant blindspot #595 fixed. Main (commit 1a5d4d8c, merged 2026-11-29 04:07) is now check.py:60–92 with ObservedState/ObservedSafe and a whole-cfg carry-over. Likewise Observation::project at the head is the 15-tuple at checkpoint_lifecycle_tests.rs:16–90 and does not project request.terminal_snapshot or cache.pending_retirement() (main post-#595 does). The PR touches no .tla file and never mentions zero_budget_anchor under verification/ except in the mutation string. So "394 passed / 12 TLA+ + 21 Rust mutations / 59 CheckpointReservation.tla transitions covering multi-chunk fallback, EWMA drift and Mixed shift" describes the smaller, pre-#595 check set — CheckpointReservation.cfg's TypeOK / OutstandingUseRetainsRow / PublicationWaitsForCopy / OneGuardAndCapturePerRequest are never checked on those before/after states. The evidence must be re-run after rebasing onto main (f7256584). "Conflict-free against main 44f59df5" is a textual merge-tree claim against a base that is now ~7 commits behind.
  4. Still standing from the base report: reach is confined to fraction == 0 or limits.snapshots == 0 deployments; the inbound-restore role change is still undeclared as such (scheduler.rs:1794, now via is_request_anchor_endpoint) and its eviction-ranking consequence (RetentionRank/promote at checkpoints.rs:804–808) is still not spelled out, one day after #568 rewrote optional-Endpoint eviction in the same file; still no linked issue; still no maintainer engagement (lukealonso/yatesdr/iein/original-el8 silent); voipmonitor's CHANGES_REQUESTED of 2026-11-28 formally stands because no re-review has been posted since the 15:20 push, and Autobot's own "Changes Requested" (2026-11-29 00:39) was on the old head a3c64835.
  5. Residual, non-blocking, all untested or unmodelled: (i) readmission with prefix_tokens == raw_anchor takes the else at checkpoints.rs:533–535 and re-latches Some((raw_anchor, raw_anchor)), discarding a previously chosen prompt-end fallback — arguably correct, but the new preemption tests only cover 320 vs 200 (:3277) and 832 vs 768 (:3348). (ii) request_anchor_endpoint is still O(prompt) per lane per commit — invoked from promote_request_anchor for every lane (helios/src/scheduler.rs:2411), outside the only memo scope checkpoint_planning_scope (checkpoints.rs:128–131; opened at policy.rs:1208 and :1453) — and now also performs ready_by_prefix plus two cache.checkpoint(...).parent() probes (:415–428). Same class of cost #459 removed; no test asserts call counts and no served measurement isolates it. (iii) No TLA+ state models the latch; the new tests assert outcomes (capture counts, published keys), not model correspondence of zero_budget_anchor.

Superseded claims (previously reported, now false — do not repeat)

Old finding Status
"No served measurement / no TTFT delta anywhere" False. Numbers in finding 2.
"PR description omits the three doc files and the latching/promotion/restore side effects" Mostly fixed. Description now declares the docs, latching across clear_reservations/Mixed/EWMA, prompt-end promotion, single-anchor resolution. The restore role-tagging line (scheduler.rs:1794) and its eviction-ranking consequence are still unstated.
"check.py mutation is brittle (13-line literal)" Fixed to one line (check.py:325–330).
"Ancillary O(N) pricing waste at fraction 0" Fixed (checkpoints.rs:549–551, :482–484, :957–959).
"Blockers #1/#2 and majors #3/#4/#5 open" Closed in code, with new tests. Only a fresh human/Autobot review is outstanding.
"Unlabelled" Fixed: area:scheduling, performance, triage:review.

Where the rewrite is now airtight (verified at head, worth stating for reviewers)

Open questions / could not be found

Summary field facts

Author FujitsuPolycom (CONTRIBUTOR, Discord "Dooner"), scale +1854/−19 in 7 files, related: #595 (harness just merged, not in this base), #568 and #550 (same function, same day), #538 (author's own prior PR that caused the #550 regression), #335 (the documented fraction-0 workaround), #459/#534 for the pricing-cost and anchor <= start branch lineage. Link: https://github.com/NVIDIA/hyperflare-inference/pull/582.