#1 [high] Change: what PR #697 does (+29 prod LOC across 4 Rust files)
PR #697 "helios/scheduler: preserve interior anchor for open-reasoning prompts" (open, ready for review, no reviews, no CI checks, opened 2026-12-02, head bfae28a, base cc0a49d). 16 files, +510/-35. Net production diff claimed +29 LOC (description says +37/-8 across 4 Rust files).
Production changes (verified from diff):
helios/src/scheduler.rs: addspub preserve_message_anchor: booltoRequestSpec(:155-160) and:228-232), copied at admission (LiveRequest(:1849-1853in admit()).helios/src/server/runtime.rs: addspub preserve_message_anchor: booltopub struct Prompt(:47-52);:285-289); rest of runtime.rs diff is test-literal initialization only.Incoming::spec()propagatesself.prompt.preserve_message_anchor(helios/src/server/request.rs(~:424-452):prepare_validated_inferencesetspreserve_message_anchor = output.as_ref().is_some_and(|o| o.content.start == crate::output::tagged::OutputStart::Reasoning)and stores in Prompt.helios/src/scheduler/checkpoints.rs: new private predicatefn budget_interior_anchor(&self, request: &LiveRequest) -> bool { self.policy.checkpoint_extra_work_fraction == 0.0 || !request.preserve_message_anchor }(afteranchor_split_ns, ~:466-472).request_anchor_endpoint(~:474-480): earlySome(raw_anchor)when!budget_interior_anchor(request)(i.e. fraction>0 AND preserve=true).checkpoint_selection_uncached(~:607-625): new first branchif !self.budget_interior_anchor(request) { accounting.budgeted_anchor = None; (raw_anchor, 0) }(anchor kept, split_ns not charged).promote_request_anchor(~:905-912): latch guarded withself.budget_interior_anchor(request) &&. No new CLI flags, no config knobs, no wire/ABI change, no unsafe, no model-name branches.
Key behavioral subtlety (undeclared emphasis): the new predicate treats fraction == 0.0 as "budget" (so strict zero-split fallback is preserved even for open-reasoning requests) — it is fraction == 0.0 || !preserve, NOT "preserve wins". So the fix only applies to the default 0.05-style nonzero-fraction regime.
Tests added: helios/src/scheduler/checkpoints.rs two new unit tests (preserved_message_anchor_retains_interior_boundary_and_respects_zero_fraction, non_preserved_continuation_with_reused_prefix_still_budgets_interior_anchor) at diff ~:4785-4920; helios/src/server/runtime/phase_tests.rs +248 lines: one large test prepare_inference_sets_preserve_message_anchor_and_preserves_across_readmission covering Reasoning=true, Content=false (plain + closed-think template), RecipientHeader=false (ATEM), RecipientFrame=false (ATEM add_generation_prompt:false and TMLv0), Completions=false, plus park()/readmission preservation.
Other touched test files are mechanical preserve_message_anchor: false literal additions (model/tests.rs, model/packed_round_tests.rs, scheduler/{boundary,checkpoint_lifecycle,policy,tests}.rs, server/runtime/prompt_tests.rs).
#2 [high] Why: #660 itself disclosed the thinking-stripping multi-turn regression #697 fixes
#660 "helios/scheduler: budget interior conversation-anchor splits against checkpoint_extra_work_fraction" — by same author FujitsuPolycom, opened 2026-12-01, merged 2026-12-02 17:03, labels area:scheduling, bug, performance, triage:review, +900/-162 over 12 files. It is the direct parent of #697: it generalized interior-anchor retention to all fractions and, by implication, dropped interior anchors when the split exceeded the allowance.
Load-bearing fact: #660's own description lists as a trade-off:
"Trade-offs: ... <think>-stripping (4.5K-13.7K) skips Turn-1->2 reuse (--scheduler-checkpoint-extra-work-fraction 0.15 retains it)."
So #660 knowingly shipped a regression in multi-turn prefix reuse for reasoning-stripping OpenAI clients, and its suggested workaround was raising the fraction globally to 0.15. #697 replaces that workaround with a targeted rule keyed on OutputStart::Reasoning.
#660's two Autobot reviews (Changes Requested on 22cac91, Ready To Merge on cf744df) are in the PR thread; both flagged that the change shifts the default 0.05 path and disclosed the <think>-stripping trade-off as a measured cost. Merge risk rated Medium both times; expected rebase overlap with open #655 on checkpoint_selection_uncached and the same four docs.
PR thread URL: https://github.com/NVIDIA/hyperflare-inference/pull/660
#3 [high] Related work: #582 built the interior-anchor machinery #697 modifies
Related lineage: #582 (merged 2026-11-29, FujitsuPolycom, +2264/-20) "avoid splitting prefill on zero-budget checkpoint anchors" established the interior-anchor machinery that #697 now modifies. It introduced: zero-snapshot-capacity early exit, same-catalog pricing of whole/before/after, latching (raw_anchor, prompt_tokens, chosen) on CheckpointAccounting (later renamed budgeted_anchor in #660), request_anchor_endpoint unified across partial prefix hits / promote_request_anchor / Selene restore, and zero-fraction early return after pushing the Anchor cut (checkpoints.rs:675-677 today).
#582 was reviewed hard by voipmonitor (CHANGES_REQUESTED, 2 blockers: duplicate Anchor captures on EWMA drift and Mixed-prefill alignment shift) and then by lukealonso (blocker on stale latch after grown-prompt preemption/readmission: prompt_tokens grows at park() while message_boundaries stay). Both were fixed by keying the latch on (raw_anchor, prompt_tokens). That history explains why #697's preserve_message_anchor path also must key consistently and why the readmission test exists.
Key: #582's zero-fraction early return at checkpoints.rs:675-677 runs AFTER the anchor cut push (line 666-674), which is why #697's preserved-anchor branch still only costs one anchor cut and no optional candidates when fraction==0.
#660 (merged 2026-12-01/02) then generalized that zero-fraction rule to all fractions, introducing anchor_split_affordable, split_overhead_ns, anchor_split_ns, renamed latch zero_budget_anchor -> budgeted_anchor, charged interior split_ns against the allowance. #697 modifies exactly the three sites #660 introduced.
#4 [high] Change: undeclared side effects of the preserved-anchor path
Verified from checkpoints.rs:
- Preserved path (fraction>0, preserve=true):
checkpoint_selection_uncachedsetsbudgeted_anchor = Noneand returns(raw_anchor, 0)(checkpoints.rs:620-623). The Anchor cut is pushed at raw_anchor with split_ns 0, copy_ns 0 (:666-674). Because fraction != 0, execution CONTINUES into the optional-candidate loop (:687-791), so anEndpointcut atprompt_tokensand earlierMessagecuts still compete for the allowance (anchor consumes none of it). This is why the new unit test assertscuts.len() == 2(896 Anchor + 1024 Endpoint, reserved_ns 5). - Consequence (not stated in the PR description): a preserved reasoning-open turn publishes/enumerates TWO checkpoint rows (message anchor + prompt-end Endpoint copy) instead of #660's single prompt-end Anchor. That second snapshot copy IS charged to the allowance (copy_ns from Snapshot cost). Consistent with the PR's own metrics table:
ckpt_caps anchor/msg/endmoves 48/11/60 -> 48/0/96 andmsg_ckpts24 -> 48, i.e. message anchors plus prompt-end endpoints, message extras go to 0. request_anchor_endpoint(:478-483) early-returnsSome(raw_anchor)BEFORE thebudgeted_anchorlatch check (:484) and BEFORE the full-prompt GPU cache-hit /ready_by_prefixlogic (:495-525). So for preserved requests, no cache-ready verification is done for the anchor; matches the existingfraction > 0.0best-effort unknown-cost branch (:547) rather than the zero-fraction cache-checked branch.promote_request_anchor(:898-928) is a no-op if that anchor is not in cache (ready_by_prefixNone).promote_request_anchorlatch is now gated bybudget_interior_anchor(:908-912), so preserved requests never latch, keeping the decode-step path O(1) (no per-step re-derivation) — but it also means every decode step re-entersrequest_anchor_endpoint, which for preserved requests returns early at :480 before any catalog pricing. So no per-step cost added.- Readmission:
park()growsprompt_tokenswhilemessage_boundaries(and thuscheckpoint_anchor()= last eligible boundary) stay fixed;preserve_message_anchorlives onLiveRequest, set only atadmit()(scheduler.rs:1852) and re-derived fromPromptatIncoming::spec()(runtime.rs:288) on readmission. Covered by phase_tests.rs:8412-8421.
#5 [high] Related work: #655 conflict, same-week neighbours, and #396's overlapping disclosure
- #655 (open, yatesdr, COLLABORATOR, opened 2026-12-01, updated 2026-12-02 03:04, "Ready To Merge" from Autobot on f7f4d25): "helios: retain measured snapshot cost after expiry and discover unmeasured cost once". Touches helios/src/scheduler/checkpoints.rs, helios/src/scheduler.rs, cost.rs and all four docs #697 edits (docs/cli-design.md, docs/core-design.md, docs/scheduling-runtime-design.md, helios/README.md). #660's own Autobot reviews flagged the same overlap with #655 twice (both orders "rebase cleanly"). #697 rebases atop #660, so the same overlap surface applies.
fresh_duration->measured_durationat the snapshot-cost gate (checkpoints.rs:681in #697's head) is the exact line #697's diff sits next to. - #674 (open, yatesdr) "improve prefix-cache hit rate, L1 retention, NVMe throughput, and GPU snapshot packing" — open, touches checkpoints.rs/scheduler.rs, cites #660.
- #694 (open, yatesdr) write-side NVMe/pool spill profitability gate — touches checkpoints.rs/scheduler.rs.
- #665 (merged, FujitsuPolycom) scan-resistant dual-turnover prefix cache eviction — same author, same week, touches docs/core-design.md, docs/scheduling-runtime-design.md, helios/README.md, scheduler.rs.
- #661 (merged 2026-12-02 20:15, FujitsuPolycom) "explore smaller prefill chunks under active age-priced streams" — merged ~3h AFTER #660; its +1762 lines in helios/src/scheduler/policy_tests.rs are exactly the file where #697 had to add
preserve_message_anchor: falseto 20 RequestSpec literals. #697 rebased onto cc0a49d2 which is after #661. - #663 (merged, yatesdr) first-output age pricing; #645 (merged, lukealonso) prefill overhaul + two-frame pipelining; both touch the same anchor/checkpoint surfaces.
- #396 (merged, yatesdr, 2026-11-19) is the cause of the client-side stripping-adjacent semantics: it makes request-spelled
<think>ordinary text, so an assistant prefill that spells<think>startsContent, notReasoning. Its own "client-visible effects" list discloses: "Model-generated control text that a client echoes back as plain text in a later turn re-enters as ordinary tokens, so the replayed prefix differs from the generated one and cache reuse for such turns is lost." That is the same prefix-divergence family #697 addresses, from a different layer (frontend tokenization vs. anchor selection). Not cited by #697. - #567 (closed) "Preserve resident prefixes on ordinary completion of message requests" — different (eviction of unused anchor guards).
- #534 (open issue) checkpoint captures deadlock on unmeasured snapshot cost — the motivating issue of #655, adjacent surface.
#6 [high] People: author is a fast-shipping scheduling series owner; zero engagement so far
author = FujitsuPolycom, GitHub association CONTRIBUTOR (not in the charter's named priority list @voipmonitor/@original-el8/@lukealonso). Last 180 days: 19 merged, 11 closed, 1 open PR. Areas: docs (14), helios/src (14), helios (6), heliopause/src (4), ignition/preparation (4). Discord handle used on PRs: "Dooner".
Scheduling-series history (all same author, late Nov–early Dec 2026):
- #540 merged — "Retain bounded timing-refresh and acceptance credit across idle" (touches scheduler.rs).
- #542 closed — lock-free TP DispatchRing, x86_64 wake wait, intermediate batch capacities.
- #582 merged 2026-11-29 — zero-budget interior anchors (the machinery #697 edits).
- #660 merged 2026-12-02 17:03 — budget interior anchor splits at any fraction (the direct parent of #697).
- #661 merged 2026-12-02 20:15 — smaller prefill chunks under age-priced streams.
- #665 merged 2026-12-01 — scan-resistant dual-turnover prefix cache eviction.
- #681 merged 2026-12-02 — active cohort mean in coalescing horizon. So #697 is the 5th scheduling PR from this author in ~5 days and the third in the interior-anchor line (#582 -> #660 -> #697).
People active in these files: yatesdr (COLLABORATOR) owns #655/#674/#694 in checkpoints.rs and reviewed #396; lukealonso (charter-named priority contributor, author of #582 blocker review, #613, #619, #620, #645, #656) reviews anchors hard and holds owner approval for captured-graph op families; voipmonitor (charter priority) gave the CHANGES_REQUESTED review on #582 (duplicate Anchor captures); nepenth commented +1 on #655 with GB10 TP2 measurements.
Engagement on #697 so far: zero. No comments, no reviews, no reactions, no CI checks on head bfae28a.
#8 [high] Project fit: charter alignment strong, but the new bool is a default-false opt-in flag
Charter (read in full) mapping for #697: Lines up:
- "Keep the runtime small and model-agnostic ... shouldn't accumulate per-model branches (#267, #334)" — #697 adds no model-name branch; the predicate keys on
OutputStart::Reasoning, a parser state shared by all think-tag/recipient-header/content-header dialects, not on a model or recipe. - "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)" — the PR body supplies A/B on 3 signed gb10-tp1 cores with binary SHA-256s, 6 boots,
/v1/models200, finite logprobs,flare_requests_failed_total == 0, and drops OS page caches between boots. Self-discloses trade-offs (Turn 1 TTFT up, Nemotron TTFT +8.0% at max_active=4, one burst trial at 1,521.3 ms). - "What gets merged: PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs" — qualifies as a measured performance issue and closes a limitation #660 itself disclosed.
- "Don't silently ignore API fields" (#417) — not implicated. Where it sits in tension / needs a judgement call:
- docs/design-review.md principle 3 (lines 56-61): "Reject per-model boolean policy flags, including
supports_*,can_*, and default-false opt-ins."preserve_message_anchoris literally a default-false boolean opt-in carried onPrompt/RequestSpec/LiveRequest. It satisfies the spirit (its meaning is model-independent — "the generation prompt opens a reasoning block" — and it is derived from prepared frontend metadata, not model identity), but a reviewer applying principle 3's letter would ask why this is a boolean flag rather than a derivation inside the scheduler. Nothing in the scheduler currently knowsOutputStart; the value is computed in server/request.rs and threaded through three structs, which is the kind of cross-layer plumbing principle 1/3 discourages. - The prompt's own framing ("anything the description says that the change does not do"): the description frames this as "retaining
raw_anchor", but the retained anchor still costs an uncharged split in one sense — it forces prefill to stop atraw_anchorand launch a second prefill for the tail (that is exactly the "one short tail prefill on Turn 1" trade-off it discloses). Thesplit_nsis set to 0 in accounting only; real GPU work still splits. The description's "without debitingsplit_ns" is accurate about accounting but a reader could misread it as "free". - Reach: default-on for every OpenAI/Anthropic Chat request whose template opens a reasoning block under the shipped 0.05 default. No new flag, so operators cannot opt out per-request; the only opt-out is
--scheduler-checkpoint-extra-work-fraction 0.0, which disables ALL interior anchor retention and also terminal Endpoint extras (checkpoints.rs:675-677returns early at fraction 0 after the Anchor cut) — a blunter instrument than #660's 0.15 workaround. This is the main operator-facing consequence: the knob's semantics now have a special case that cannot be disabled independently. - Documentation updated in 4 places (docs/cli-design.md:696-708, docs/core-design.md:1436-1457, docs/scheduling-runtime-design.md:664-674, helios/README.md:370-386) — consistent wording, and #660's Autobot review had twice flagged doc drift, so this is a good sign of the author internalizing that feedback.
- Compatibility: no wire/Protobuf/ABI change; "existing signed cores load and serve unchanged" is consistent with the diff (nothing in the model/contract path changed except test literals).
#9 [high] Claims vs evidence: strong safety claims, weak reproducible-benchmark link
Claims in the PR body, with what backs each:
- "
+29net production LOC (+37/-8across 4 Rust files)". VERIFIED structurally: scheduler.rs +5/-0 (RequestSpec field, LiveRequest field, admit copy), runtime.rs +4/-0 prod (Prompt field, spec() propagation) with the rest test literals, request.rs +4/-0, checkpoints.rs +24/-8 prod (3 call-site guards + predicate + comments). The 16-file/+510-35 total is dominated by phase_tests.rs (+248) and the mechanical test literals. Claim holds. - "zero
unsafe, zero CLI, Protobuf, or model-core ABI changes, zero model-name branches". VERIFIED from the diff: no unsafe, no arg parsing, no .proto, no model/contract production change. The one productionhelios/src/server/request.rschange comparesOutputStart, a parser enum. - Performance table (Qwen3.8-27B / Nemotron-3.5 / Qwen3.8-Flash on gb10-tp1): supported by the PR body only — no external artifact, no tokbench-style harness repo link, no raw logs, no
flare runcommand line beyond the runtime flags, and the workload generator for the "C=6 x 4 turns, n=2, OpenAI content-only history" scenario is not named. Compare #660 and #661, which nameFujitsuPolycom/tokbenchand give exactpython3 -m tokbench run ...reproducers. This PR does NOT give a reproducer for either of its two experiments. That is the weakest evidence link in the package. - "binary SHA-256 eccdaa0f... (Arm A) / 8892aa6f... (Arm B)" — artifact identity is pinned, but the binaries were built from
298d3e68, NOT from the current headbfae28a6. The body states this explicitly ("prior to the test-only rebase onto cc0a49d2"). So the live numbers correspond to a commit whose production tree is claimed byte-identical but which no longer exists as the head. No live re-run on bfae28a. - Unit/CI evidence: "helios 1,900 passed (1,838 lib + 62 integration)" etc. — these are author-run
cargo test --locked --releaseresults on a cleangit archive bfae28a6, listed per crate with pass/fail/ignored counts. No CI run exists on GitHub for this head (orientation packet: "CI on the head commit: no checks"). - Fault-mutation evidence: two mutations (forcing
budget_interior_anchorto true; widening== OutputStart::Reasoningto!= OutputStart::Content) failed the intended tests with exit 101. The second one is a genuinely good check — it directly protects the ATEM / RecipientHeaderfalsecase that a naive!= Contentimplementation would get wrong (and would have wrongly preserved anchors for every ATEM chat turn). - "All 8 TLA+ models ... observed Rust trace conformance, and all source/model mutation guards passed" — plausible; check.py's checkpoint mutation (check.py:672-676) still applies and its needle remains unique (checkpoints.rs:649).
- Disclosed limitation about self-closed empty thinking suffix (
<think>\n\n</think>\n\n->OutputStart::Content): accurate and important — it means the fix does not help Qwen-family templates that emit a pre-closed reasoning block whenenable_thinking=false. #677 (open, jcartu) is in the same reasoning-alias space and may interact. - "
SM120TP4DeepSeek-V4.1-Flashnon-thinking workloads were not re-benchmarked" — justified by preserve=false, and backed by thenon_preserved_continuation_with_reused_prefix_still_budgets_interior_anchorunit test which does exerciseadmission_reused_tokens == 512. Reasonable but still an unmeasured claim on the primary production target (SM120 TP4 is where #660's big wins were measured).
Claims the change does NOT support / gaps:
- No test asserts the end-to-end multi-turn winning outcome (Turn k checkpoint being an exact prefix of Turn k+1). The unit tests assert anchor endpoint selection and split_ns, not cache reuse across turns. The live A/B is the only evidence for the actual bug being fixed.
- No regression test for the mixed workload where a preserved (reasoning) request and budgeted (content) request share a cache.
- The "Nemotron Turn 2+ median TTFT +8.0%" and "prefill launches 90 -> 229" regression is disclosed but unexplained beyond queueing at max_active=4.
#13 [high] Research summary
Case file for PR #697 (helios/scheduler: preserve interior anchor for open-reasoning prompts) is complete; 12 scratchpad entries cover all eight angles.
What it is. A +29-net-production-LOC follow-up to #660, same author (FujitsuPolycom). It adds a default-false preserve_message_anchor bool to Prompt/RequestSpec/LiveRequest, set in prepare_validated_inference from output.content.start == OutputStart::Reasoning, and one predicate budget_interior_anchor in checkpoints.rs that makes the three anchor-selection sites (request_anchor_endpoint, checkpoint_selection_uncached, promote_request_anchor) retain the interior message anchor uncharged when the fraction is nonzero and the prompt opens a reasoning block. Fraction 0.0 still forces the strict zero-split fallback.
What a reader could not learn from the description. (1) Preserved turns still emit a second, charged prompt-end Endpoint snapshot row — visible in the author's own metrics (end caps 60→96, msg_ckpts 24→48) but never stated as a consequence. (2) preserve_message_anchor is literally a default-false boolean opt-in on three structs, which sits awkwardly against docs/design-review.md principle 3's "reject per-request default-false opt-in flags" — its defence is that it derives from shared frontend parser state, not model identity. (3) There is no independent opt-out: the only way to disable the new rule is --scheduler-checkpoint-extra-work-fraction 0.0, which also kills terminal Endpoint extras and all optional Message cuts. (4) The live A/B binaries were built from 298d3e68, not the head bfae28a6; no live run exists on the head. (5) The perf table gives no harness link or reproducer command, unlike the author's own #660 and #661 which name FujitsuPolycom/tokbench and give exact commands. (6) No test asserts the actual cross-turn cache reuse outcome — the tests pin anchor endpoints and split_ns == 0 only; the causal fix rests entirely on the un-reproduced live A/B. (7) OutputStart::ToolBody is claimed non-preserved but untested. (8) No CI checks and no reviews at all on the head.
Why and lineage. #660 itself disclosed this exact regression in its trade-offs ("<think>-stripping skips Turn-1→2 reuse; --scheduler-checkpoint-extra-work-fraction 0.15 retains it"), so #697 is the targeted replacement for a global-knob workaround #660 shipped one day earlier. The mechanism is real and verified in code: cache.rs:552-579 requires an exact prefix match. #697 is step three of #582 → #660 → #697, with #582's two blocker review rounds (voipmonitor, lukealonso) explaining why latch keying and readmission matter here.
Concurrency and process risk. #655 (open, "Ready To Merge", yatesdr) edits the same checkpoint_selection_uncached gate and all four docs; #660's own reviews flagged this overlap twice, and #697 inherits it. #661, #663, #645, #665 are same-week neighbours in the same files. #396 (merged, yatesdr) already discloses the same prefix-divergence family from the frontend tokenization layer, and #697 does not cite it.
The change is well-scoped, model-agnostic, evidence-bearing in the charter's sense, and its documentation is synchronized across four sites — the material gaps for a decider are the missing reproducible benchmark, the missing end-to-end reuse test, the extra charged snapshot row, the flag-shaped design against principle 3, and zero CI/review coverage.
#14 [high] Recent activity: two authors rewriting the checkpoint/anchor area at several merges per day
Dedicated entry for the recent-activity angle (facts scattered across entries 5 and 6).
The orientation packet's per-area commit history could not be resolved (git could not read c513e46a), and "commits on the default branch since this PR branched (cc0a49d), touching its changed files: none" — so the repository head is essentially at the PR's base. Activity therefore has to be reconstructed from merged PRs, which is what entries 5 and 6 do.
Timeline of activity in the exact files #697 touches (helios/src/scheduler/checkpoints.rs, helios/src/scheduler.rs, the four docs):
- 2026-11-28/29 — #582 (FujitsuPolycom) merged: zero-budget interior anchors; introduced the latching and zero-fraction early return #697 builds on.
- 2026-12-01 — #655 (yatesdr) opened against the same
checkpoint_selection_uncachedsnapshot-cost gate and the same four docs; still open, "Ready To Merge". - 2026-12-01 — #660 (FujitsuPolycom) opened, merged 2026-12-02 17:03: the parent change, generalized interior-anchor budgeting to all fractions.
- 2026-12-01 — #663 (yatesdr) merged: first-output waiting-age pricing on incumbent decode rounds, touches anchor/message cut boundaries in policy_tests.
- 2026-12-01 — #665 (FujitsuPolycom) merged: scan-resistant dual-turnover prefix cache eviction (same docs + scheduler.rs).
- 2026-12-02 20:15 — #661 (FujitsuPolycom) merged, ~3h after #660: prefill chunk exploration; +1762 lines in helios/src/scheduler/policy_tests.rs, the very file where #697 had to add
preserve_message_anchor: falseto 20RequestSpecliterals. #697's rebase ontocc0a49d2is what produced those mechanical additions. - 2026-12-02 — #681 (FujitsuPolycom) merged: active cohort mean in coalescing horizon.
- 2026-12-02 — #697 opened on top of all of the above.
So the area is being actively rewritten by two people (FujitsuPolycom and yatesdr) at a rate of several merges per day, and #697 is the fastest-moving lane. Nothing in #697 reverses or conflicts semantically with #661/#663/#665; its only real merge-order hazard is #655.
Also worth carrying: none of the merged neighbours changed the interior-anchor retention rule itself between #660 and #697 — #697 is the first semantic change to that rule since #660 landed hours earlier. So a reader should treat #660's disclosed <think>-stripping regression as living on main for roughly one day.
#7 [medium] Process: ready-for-review but zero CI, zero reviews, no labels, no autobot pass
Process/state facts (as of the case file):
- PR #697 opened 2026-12-02 (same day as the case file), state "open, ready for review" — not a draft. Labels: none (compare #660 which carried area:scheduling, bug, performance, triage:review).
- Reviews: none. Reviews requested: none visible. CI on head bfae28a: "no checks" — i.e. no GitHub Actions run reported at head, which is one of the two ⚠️ warnings #660's own Ready-To-Merge review raised ("Confirm green GitHub Actions CI on cf744df before merge").
- No autobot review comment has been posted on #697 (unlike #660 and #655, which each got "A case file has been opened" + two Autobot reviews). So #697 has had no automated review pass yet.
- The PR body says verification was done on clean
git archive bfae28a6and that the branch is "rebased onto cc0a49d2", but the head commit recorded in the orientation packet is bfae28 -> consistent. - Verification harness facts:
verification/helios-lifecycle/check.pyDOES exercisebudgeted_anchorvia mutation (check.py:672-676, mutation "dropped multi-chunk budgeted-anchor fallback", replacement textaccounting.budgeted_anchor = None;). After #697, that string exists at checkpoints.rs:622 (new), :663 (fraction==0 / raw_anchor>=prompt_tokens branch) and in test code. check_mutations requiresoriginal.count(needle) == 1(check.py:249-250), so the shipped guard still holds only because the mutation needle is the full lineaccounting.budgeted_anchor = Some((raw_anchor, request.prompt_tokens, chosen));(checkpoints.rs:649) which stays unique. But #697 adds a newaccounting.budgeted_anchor = None;at :622 — the replacement string of that mutation is now ambiguous in meaning though not in uniqueness. Worth noting: the PR body does not say whether check.py --mutations was rerun after adding :622; it says "All 8 TLA+ models ... and all source/model mutation guards passed" (yes it was run). scripts/scheduling_sim/has no checkpoint/anchor model (verified: no matches for "checkpoint|anchor" under scripts/scheduling_sim), so the testing-hierarchy layer 2 (docs/design-review.md:195-208, mandatory for "graph selection, service pricing, timing estimation ... or cohort algorithms") is legitimately N/A here and the PR says so. Anchor selection is a checkpoint-retention policy, not a priced scheduling decision, but it does consumecheckpoint_extra_work_fraction, which is a budget knob; the argument for N/A rests on the sim not modelling checkpoints at all.- Charter/docs demands: docs/design-review.md:232-240 says touching the Helios scheduler without running/updating the applicable TLA+ models, Rust conformance fixtures, Kani harnesses, and scheduling simulator is "a blocking design failure". PR body asserts check.py --mutations passed and says Kani/scheduling_sim are N/A.
- Commit trailer: docs/design-review.md:298 requires
Design-Signed-Off-By: <reviewer>; design-review=<4 hex>on every commit. #660's Autobot review flagged confirming this; #697's body does not mention it.
#10 [medium] Reach: default-on for reasoning chat, no independent opt-out, extra snapshot row per turn
- Users/clients: affects OpenAI-compatible and Anthropic clients whose chat template opens a reasoning block (
<think>for Qwen3.8/Nemotron/DeepSeek think-tag dialects; ContentHeaders/TML thinking frames). Reasoning-enabled cores are the default for those model families, so the changed path is the common path for chat, not an edge case. - Operators/config: no new flag. Behavior is gated only by the existing
--scheduler-checkpoint-extra-work-fraction(default 0.05, docs/cli-design.md:696-700) plus the new internalOutputStartcondition. The only opt-out is setting the fraction to 0.0, which also suppresses terminal Endpoint extras and all optional Message cuts (checkpoints.rs:675-677) — strictly broader than opting out of just this rule. - Second-order: preserved turns now emit a prompt-end
Endpointcut in addition to the interior Anchor (cuts.len()==2 in the new unit test; liveckpt_caps ... end60->96, 64->96, 61->96 in the PR's own table). That is more snapshot rows per reasoning turn, charged to the same extra-work allowance. On a snapshot-capacity-constrained deployment this shifts Message-cut headroom; the PR does not discuss snapshot capacity pressure. - Defaults: the shipped default 0.05 was chosen in #660; #697 makes 0.05 meaningfully different for reasoning workloads (Turn 1 slower, Turns 2+ much faster). Effective behavior of an unchanged default changes across two releases, twice in two days.
- Compatibility/artifacts: no core re-export, no wire change, no CLI change;
helios/src/scheduler.rs::RequestSpecis internal (not referenced anywhere outside helios — verified: noRequestSpecoccurrences underflare/ordocs/), so only in-repo callers/tests need the new field. - Documentation reach: 4 docs + README updated consistently (docs/cli-design.md:696-708, docs/core-design.md:1436-1457, docs/scheduling-runtime-design.md:664-674, helios/README.md:370-386). Operators reading only
docs/cli-design.mdnow learn the special case. - Deployment scale: the author's live evidence is single-GPU gb10-tp1 (SM121) only. #660's headline wins were 4x RTX PRO 6000 SM120 TP4, a materially different bucket/expert layout. The PR expressly does not re-measure SM120 TP4.
- Unaffected surfaces: raw Completions, ATEM (RecipientHeader/RecipientFrame), TMLv0 — verified by
preserve_message_anchor=falseassertions in phase_tests.rs:8423-8589 and by the!= OutputStart::Contentmutation being caught.
#11 [medium] Tests: what the new unit tests actually pin, and the gap
Verified by reading the new test (helios/src/scheduler/checkpoints.rs:4788-4862, preserved_message_anchor_retains_interior_boundary_and_respects_zero_fraction): fixture is prompt 1024, boundary 896, prefill catalog [128]=100ns, [256]=110ns, [512]=200ns, Snapshot(1)=5ns, fraction 0.05. Whole interval 0..1024 = 200+200 = 400ns; allowance = 20ns; split at 896 = (200+110+100)+100-400 = 110ns > 20ns. Assertions: cuts[0] = (896, Anchor, split_ns 0), cuts[1] = (1024, Endpoint), reserved_ns 5, budgeted_anchor None, request_anchor_endpoint == Some(896). Then a stale-latch + extra_spent_ns=1000 block re-asserts the same, proving both paths agree and the selection clears the stale latch. Then a second scheduler at fraction 0.0 with the same preserve=true spec asserts cuts[0].endpoint == 1024 (strict zero-split fallback honoured) and request_anchor_endpoint == Some(1024).
Second test (checkpoints.rs:4864-4925, non_preserved_continuation_with_reused_prefix_still_budgets_interior_anchor): publishes a 512-token prefix checkpoint via a real admit/plan/commit/complete loop, then admits two 1024-token turns with boundary 896 and admission_reused_tokens == 512 (asserted). preserve=false -> cuts[0].endpoint == 1024 (budgeted away, #660 behavior); preserve=true -> cuts[0].endpoint == 896 with split_ns 0. This is the direct guard that #697 does not regress #660's multi-turn continuations.
Gap worth recording: neither test drives a second turn that actually hits the published checkpoint, i.e. no test asserts the cache-reuse outcome itself (lookup / ready_by_prefix at the message anchor on the next turn). The end-to-end reasoning test (phase_tests.rs:8352-8421) does a park()/readmission but does not assert prefix reuse either. So the causal chain "anchor retained -> Turn k+1 finds a prefix -> full re-prefill avoided" rests entirely on the live A/B, not on a test.
Also: the tests use the synthetic spec()/measure() helpers (helios/src/scheduler/tests.rs:246), not a served request, so they are unit-level on the selection function, which is what they claim.
#12 [medium] The why, verified in code: exact-prefix cache lookup vs divergent stripped tail
- PR title/body says "preserve interior anchor for open-reasoning prompts" and describes the fallback bug:
PrefixCheckpointCache::lookupmatches exact published checkpoints. VERIFIED in helios/src/cache.rs:552-579 —lookupfilters nodes byhistory.key_at(node.prefix.consumed_tokens) == Some(node.prefix)and picksmax_by_key(consumed_tokens). So a Turn-k checkpoint whose stored prefix includes the stripped reasoning tail cannot match Turn k+1's divergent history at that offset; only a checkpoint at or before the last complete-message boundary can match. That is exactly the mechanism the PR describes, so the "why" is sound at the code level. LiveRequest::checkpoint_anchor()(checkpoints.rs:118-125) returns the lastmessage_boundariesentry that ischeckpoint_endpoint_eligible(not inside a prefill span, not inside a window end), elseprompt_tokens. So "interior anchor" = last complete-message boundary emitted by the native frontend.preserve_message_anchoris derived once per request inprepare_validated_inference(request.rs:424-429) fromoutput.content.start, which is set by the output/tagged parser construction per dialect (e.g. helios/src/output/chatml.rs:432, :930, :1037 setOutputStart::Reasoning; helios/src/output/argument_tags.rs:160 likewise). It is therefore a property of the chat template + reasoning parser configuration, i.e. prepared frontend metadata — not of the model name. Fits the charter's model-agnostic rule.- The PR body's claim that winning requests include "OutputStart::ToolBody" among non-preserved starts is listed in prose but NOT covered by a test case (phase_tests covers Reasoning, Content ×2, RecipientHeader, RecipientFrame ×2, Completions — no ToolBody case). Minor undeclared gap between the description's enumeration and the tests.
#15 [medium] Community: no engagement at all on #697, against heavy engagement on its neighbours
Dedicated entry for the community angle.
On #697 itself: nothing. pr_comments returns "No comments." No review, no review request, no reaction, no label, and — unlike its neighbours — no "A case file has been opened" / "Autobot Review" comment from flare-autobot, which every other scheduling PR in this series received within ~2h of opening (#660, #655, #661 all show the auto-intake comment followed by one or more Autobot reviews). The orientation packet also records "Reviews: none yet" and "Labels: none".
Contrast, for how much interest this topic normally draws:
- #660 (the parent) drew two full flare-autobot reviews (Changes Requested on 22cac91 with 0 blockers / 2 should-fix; Ready To Merge on cf744df with 0/0 and 3 optional cleanups), plus a detailed author reply enumerating every addressed item, and labels area:scheduling, bug, performance, triage:review.
- #582 drew a CHANGES_REQUESTED review from voipmonitor with two verified duplicate-Anchor-capture blockers and live 4x SM120 measurements, a second review round from lukealonso with a grown-prompt readmission blocker, and an APPROVED review — 10 discussion entries total.
- #655 drew two flare-autobot reviews plus a +1 field report from nepenth (2x GB10 SM122/TP2, GLM-5.3-Flash, 24.97 s -> 330 ms warm TTFT). #661 drew three Autobot review rounds.
So the reviewer pool that actually engages on this surface is: flare-autobot (automated), voipmonitor (charter priority contributor), lukealonso (charter priority contributor and owner of several anchor-adjacent PRs), yatesdr (COLLABORATOR, competing same-file work), and occasional field reporters like nepenth. None has touched #697 yet. The most likely meaningful first reactions are lukealonso (who blocked #582 on readmission/latch staleness) and yatesdr (whose #655 collides in the same function).
Discord contact line is present on the PR ("Discord: Dooner") as design-review principle 17 requires.