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)
- 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_costnow prices whole/before/after from one&[PrefillCatalogCost]slice and no longer takes aknown_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–535and at:711–717;clear_reservations()now clears onlycuts/reserved_ns(:48–51), so the latch survives preemption/readmission (scheduler.rs:1726). (c)request_anchor_endpointcheckssnapshots == 0first (:388–390), consults the latch first (:398–402), and prices frombaseline_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 == 0return moved aboveprefill_catalog_costs(:482–484), andallocate_terminal_captureshort-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, nowork_budgetskips,STRIDE_RUNS<=4),checkpoint_lifecycle_tests.rs:414. - 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 archiverelease binaries (sha25672c61a47…= baseba3afb13vsbfd1a5a7…= head69bf2cf2), 4× RTX PRO 6000 Blackwell SM120, TP4, signed DeepSeek-V4.1-Flash (gb202-tp4-202611281642),--scheduler-checkpoint-extra-work-fraction 0:short_2turnprefillflare_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_2turn6→4 andlong_20k_2turn5→4; concurrentmixed_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, baseba3afb13not current main. The default 0.05 path is still unchanged and still unmeasured (helios/src/scheduler/policy.rs:39). - 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–80still writesObservedInit == state = Initial/UNCHANGED state/Corresponds == AllowedEdge(observed)and buildsObserved.cfgby splitting<module>.cfgonSPECIFICATION, keeping onlyINVARIANT Corresponds— the invariant blindspot #595 fixed. Main (commit1a5d4d8c, merged 2026-11-29 04:07) is nowcheck.py:60–92withObservedState/ObservedSafeand a whole-cfg carry-over. LikewiseObservation::projectat the head is the 15-tuple atcheckpoint_lifecycle_tests.rs:16–90and does not projectrequest.terminal_snapshotorcache.pending_retirement()(main post-#595 does). The PR touches no.tlafile and never mentionszero_budget_anchorunderverification/except in the mutation string. So "394 passed / 12 TLA+ + 21 Rust mutations / 59CheckpointReservation.tlatransitions covering multi-chunk fallback, EWMA drift andMixedshift" describes the smaller, pre-#595 check set —CheckpointReservation.cfg'sTypeOK/OutstandingUseRetainsRow/PublicationWaitsForCopy/OneGuardAndCapturePerRequestare never checked on those before/after states. The evidence must be re-run after rebasing onto main (f7256584). "Conflict-free against main44f59df5" is a textual merge-tree claim against a base that is now ~7 commits behind. - Still standing from the base report: reach is confined to
fraction == 0orlimits.snapshots == 0deployments; the inbound-restore role change is still undeclared as such (scheduler.rs:1794, now viais_request_anchor_endpoint) and its eviction-ranking consequence (RetentionRank/promoteatcheckpoints.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'sCHANGES_REQUESTEDof 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 heada3c64835. - Residual, non-blocking, all untested or unmodelled: (i) readmission with
prefix_tokens == raw_anchortakes theelseatcheckpoints.rs:533–535and re-latchesSome((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_endpointis still O(prompt) per lane per commit — invoked frompromote_request_anchorfor every lane (helios/src/scheduler.rs:2411), outside the only memo scopecheckpoint_planning_scope(checkpoints.rs:128–131; opened atpolicy.rs:1208and:1453) — and now also performsready_by_prefixplus twocache.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 ofzero_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)
- Zero snapshot capacity is a hard no-op before any catalog walk:
checkpoints.rs:482–484(return beforeprefill_catalog_costsat:491),:388–390,:957–959; asserted at:2364–2414includingENTRY_LOOKUPS == 0andprefill_launches == 1. - Fraction 0 never prices optional candidates: early return
:549–551, asserted by the skip-counter/STRIDE_RUNS<=4test at:3451–3501. - Latch survives the two paths the reviewer named:
clear_reservations(:48–51) is called from readmission atscheduler.rs:1726and preserves the latch; drift andMixedrealignment covered at:2909. - The five previously missing declarations are now in the PR body, so the "undeclared side effects" criticism narrows to one line of
scheduler.rs.
Open questions / could not be found
- Does the rebase onto
f7256584keep the new conformance evidence green? It cannot be answered from the PR: the projection width contents (main addsterminal_snapshot/pending_retirement) and the observed-edge checks both change, and the PR carries no post-#595 run. - What is the measured cost of
request_anchor_endpointon a long-prompt, high-concurrency workload at fraction 0? No artifact in the PR isolates it; theSTRIDE_RUNS<=4test only exercisescheckpoint_selection. - Is the default-0.05 behaviour affected at all? Code says no (
:392–396,:537–539,:549), but nothing measures it and the author's runs are all at fraction 0. - Who owns review now? No maintainer statement of any kind; the adjacent owners are #568's lukealonso and #550's iein. No linked issue exists to anchor acceptance criteria.
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.