Opened by a workflow run, Dec 2, 2026 6:47 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
Author: FujitsuPolycom (CONTRIBUTOR; 19 merged PRs in 180 days; Discord "Dooner")
Motivation: An earlier change (#660) budgets interior conversation-message checkpoints against a small extra-work allowance (default 5%) and drops them when splitting prefill there costs too much. When a chat template opens a reasoning block (<think>), OpenAI-style clients strip that reasoning from later turns, so the dropped checkpoint is the only one that could still be a prefix of the next turn — multi-turn prefix reuse collapses and every turn re-prefills. This PR keeps that interior checkpoint for open-reasoning prompts.
Scale: +510 / −35 lines in 16 files (net production diff claimed and verified as +37/−8 across 4 Rust files; the rest is tests and 4 docs)
Proposal:
- Add
preserve_message_anchor: booltoPrompt,RequestSpec,LiveRequest, set inprepare_validated_inferencewhenoutput.content.start == OutputStart::Reasoningand propagated throughIncoming::spec()(including preemption readmission). - Add one predicate
budget_interior_anchor()that gates three anchor-selection sites:request_anchor_endpoint,checkpoint_selection_uncached,promote_request_anchor. - On preserved requests under a nonzero fraction, retain
raw_anchorwithsplit_ns = 0and clear any stalebudgeted_anchorlatch; fraction0.0still gets strict zero-split fallback. - Non-reasoning-open requests (Content, RecipientHeader, RecipientFrame, ToolBody, raw completions) keep #660's budgeting unchanged, including continuations with
admission_reused_tokens > 0. - Unit tests for anchor selection, zero-fraction fallback, non-preserved continuations, all
OutputStartvariants, and readmission; four docs + README synchronized. Touches: helios/src/scheduler/checkpoints.rs(checkpoint anchor selection and split accounting)helios/src/scheduler.rs+helios/src/server/runtime.rs+helios/src/server/request.rs(request plumbing)- four docs +
helios/README.mdRelated items: - #660 helios/scheduler: budget interior conversation-anchor splits against checkpoint_extra_work_fraction (merged): direct parent; its own trade-off list disclosed the regression this fixes
- #582 helios: avoid splitting prefill on zero-budget checkpoint anchors (merged): built the latch/zero-fraction machinery being modified
- #655 helios: retain measured snapshot cost after expiry and discover unmeasured cost once (open): same function and same four docs, immediate rebase/merge-order conflict
- #396 frontend change making replayed
<think>ordinary text (merged): discloses the same prefix-divergence family from the tokenizer layer, not cited by this PR - #661 helios/scheduler: explore smaller prefill chunks under active age-priced streams (merged): merged hours earlier, forced the mechanical rebase of 20 test literals
Link: https://github.com/NVIDIA/hyperflare-inference/pull/697
Autobot comments: No CI, no review, no labels, zero engagement. The perf A/B has no reproducer or harness link (unlike #660/#661) and its binaries were built from
298d3e68, not the current headbfae28a6. Preserved turns quietly emit an extra charged prompt-end Endpoint snapshot (ckpt capsend60→96) — more snapshot rows per reasoning turn, undisclosed. Newpreserve_message_anchoris a default-false boolean opt-in, whichdocs/design-review.mdprinciple 3 says to reject, though it derives from shared parser state rather than model identity. No test asserts the actual cross-turn cache reuse the PR claims to restore.
Classify intake
Selected: triage:review, bug, performance, area:scheduling
Threshold: 65%
Triage
- [✓]
triage:review: 98.7% -
triage:validation: 0.7% -
triage:design-review: 0.5% -
none: 0.0% -
triage:investigate: 0.0% -
triage:integration: 0.0% -
triage:partial: 0.0% -
triage:verify-for-closure: 0.0% -
triage:superseded: 0.0%
Priority
-
none: 62.0% -
priority:P2: 37.6% -
priority:P1: 0.5%
Type
- [✓]
performance: 98.9% - [✓]
bug: 81.8% -
community: 37.8% -
enhancement: 22.3% -
duplicate: 7.6% -
documentation: 0.0%
Area
- [✓]
area:scheduling: 98.4% -
area:caching: 59.3% -
area:api: 11.9% -
area:memory: 4.7% -
area:preparation: 1.1% -
area:selene: 1.0% -
area:kernels: 0.5% -
area:orbit: 0.4% -
area:engram: 0.1% -
area:packaging: 0.1% -
area:rocenante: 0.1%
Model
-
model:qwen3.8-flash-next: 18.2% -
model:nemotron-3.5-bolt: 16.5% -
model:deepseek-v4: 7.6% -
model:deepseek-v4.1: 2.9% -
model:qwen3.8-27b: 2.9% -
model:kimi-k3.1: 1.4% -
model:inkling-small: 0.7% -
model:mimo-v2.6: 0.5% -
model:gemma4: 0.1% -
model:glm-5.3: 0.1% -
model:muse-glimmer: 0.1%
Value Proposition
Value Proposition — PR #697 "helios/scheduler: preserve interior anchor for open-reasoning prompts"
Charter alignment — good, with one style hit. The change sits in the right layer: helios scheduler anchor selection, exactly the sites #660 touched. It respects "keep the runtime small and model-agnostic": the predicate keys on OutputStart::Reasoning, a shared parser concept set per dialect, with zero model-name branches, no CLI/Protobuf/ABI changes, and existing signed cores loading unchanged. It fits "What gets merged: … a measured performance/memory issue." The tension is preserve_message_anchor — a default-false boolean opt-in threaded through Prompt/RequestSpec/LiveRequest, which docs/design-review.md:56-61 says to reject in the letter (the spirit is met, since it's derived from shared parser state, not a model name). The Design-Signed-Off-By: trailer requirement is also unaddressed.
Novelty & status — genuinely additive; neither superseded nor obsolete. No other PR or issue special-cases reasoning-open anchor selection, and #655/#674/#694 overlap in files but not in this rule. It is also not obsolete: it repairs a regression #660 merged the same day and self-disclosed in its trade-offs (<think>-stripping skips Turn-1→2 reuse). The underlying mechanism is real — cache.rs:552-579 matches exact published prefixes — and affects the common reasoning-enabled path, not an edge case.
Value vs cost. The benefit is large and well-targeted on paper: Turn 2+ cache hit +9.7 to +31.8 pp, 0/108 zero-hit misses, prefill tokens −20 to −45%, output throughput +2.2 to +22.6% across three signed gb10-tp1 cores, with honest disclosure of the Turn-1 TTFT cost and the Nemotron Turn 2+ TTFT regression (+8.0%, launches 90→229). Production maintenance cost is low (+29 net lines, one predicate, three call sites). But the evidence package has gaps a reviewer must close: no CI at head bfae28a6; the live A/B ran on 298d3e68, not the reviewed head; no harness or raw logs, unlike #660/#661 which name FujitsuPolycom/tokbench; no test drives a second turn that actually hits the retained checkpoint; ToolBody is claimed but untested. Undisclosed: preserved turns emit a second charged prompt-end Endpoint (visible in the PR's own ckpt_caps end 60/64/61→96 and msg 11/2/21→0/0/12), whose snapshot-capacity cost is never discussed, and #655 rewrites the adjacent gate in the same function.
Verdict: Worth it with changes. Conditions: CI green at head; a reproducer for both benchmark tables; a merge-order decision with #655; a two-turn test asserting real reuse of the retained anchor; ToolBody coverage; explicit treatment of the extra charged Endpoint row; derive the flag inside the scheduler or justify the opt-in against design-review principle 3; add the design sign-off trailer.
Apply Labels (Intake)
Applied: +triage:review, +bug, +performance, +area:scheduling Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.
Subtraction and simplicity
Reviewed PR #697 at head bfae28a through the subtraction/simplicity lens. The production diff is lean (net +29 lines, 4 files) and reuses the existing anchor-pricing machinery rather than forking it; two of the five subtractions found are worth doing before merge.
- F1 (high) —
checkpoints.rs:620–624(new preserved arm) is semantically identical to the pre-existingelseat:662–665: both doaccounting.budgeted_anchor = None; (raw_anchor, 0). Folding the condition intoif raw_anchor < request.prompt_tokens && self.budget_interior_anchor(request)deletes the branch, one of three call sites, and a duplicatebudgeted_anchor = Nonenext to the TLA mutation needle at:649. Verified behaviour-preserving across all four reachable paths. - F2 (high) —
phase_tests.rs:8358–8377duplicates the first 18 lines of the existingprepared_budget_requesthelper (:871–888); extract onefn prepare(...) -> PreparedInferenceand call it from both. ~−18 lines. - F3 (medium) —
budget_interior_anchor(checkpoints.rs:469–471) is a double negative used both ways (!self.budget_interior_anchorat:480,self.budget_interior_anchorat:621) and re-readsself.policy.checkpoint_extra_work_fractionalthoughfractionis already bound at:609and re-tested at:675. Replace with a positivepreserved_interior_anchor(fraction, request). - F4 (low) —
request.rs:413–414and:427–429write the sameOutputStart::Reasoningtest twice; hoist onelet opens_reasoning. - F5 (low) — the 10-line scheduler-cost fixture repeats at
checkpoints.rs:4791–4802,:4843–4854,:4869–4880; one localfn budgeted(fraction)removes ~20 lines.
Convention: preserve_message_anchor is a default-false boolean opt-in, which docs/design-review.md:58–61 and AGENTS.md:180–181 disfavour. I checked the candidate carriers — Prompt.reasoning_cut is Some only with thinking_budget (request.rs:368), grammar_reasoning only with grammar (:408–410) — so it is not derivable scheduler-side and should stay; the description merely owes the argument. The field also cost ~40 mechanical test-literal edits (25 in policy_tests.rs (not opened)), worth naming in the description.
Already lean: no duplicated pricing, promote_request_anchor gains only a disjunct, docs are required synchronization, no dead code.
Open: #655 touches the adjacent :681 snapshot-cost gate, so merge order decides F1's cost; OutputStart::ToolBody is untested; no benchmark reproducer exists to weigh the extra charged Endpoint copy per preserved turn.
Correctness and contracts
Reviewed PR #697 at head bfae28a across all 16 changed files plus direct callers, contracts and tests. The core mechanism is correct and repairs a real regression (helios/src/cache.rs:552-579 requires exact prefix identity; #660 disclosed the loss). I report two Major undisclosed system-level consequences and one Major test-evidence gap.
Major — the extra-work allowance and exported counter stop spanning the interior split (checkpoints.rs:620-623, :944-949): the preserved anchor is recorded with split_ns: 0, and the only charge site is cut.split_ns, which feeds checkpoint_extra_work_ns → flare_checkpoint_extra_work_nanoseconds_total (metrics.rs:852). The GPU still stops prefill at raw_anchor and runs the tail prefill — the PR's own disclosed Turn-1 TTFT cost — yet that work is neither charged to the request's allowance nor counted, while docs/cli-design.md:712-713 still says "Extra work includes … additional prefill caused by splitting chunks."
Major — every preserved turn publishes a second, charged snapshot row (checkpoints.rs:695-697, :784-790): the preserved branch only skips the split decision, so the loop still appends a prompt-end Endpoint (cuts.len() == 2, pinned at checkpoints.rs:4819). On main's unaffordable path the anchor sat at prompt_tokens and no second row existed, so per-turn rows double for the exact workload this PR targets — visible in its own ckpt_caps end 60→96 / 64→96 / 61→96 and undisclosed, with no snapshot-capacity measurement.
Major — no in-repo test drives the claimed causal path: the new tests pin anchor selection and split_ns == 0 only (checkpoints.rs:4789-4925); none publishes a preserved Turn-k checkpoint at 896 and looks it up from a stripped-reasoning Turn k+1.
Minor: preserve_message_anchor is a default-false bool threaded through Prompt/RequestSpec/LiveRequest against docs/design-review.md:58-61, with no Design-Signed-Off-By trailer in a body that omits it; OutputStart::ToolBody is listed but untested; A/B evidence has no harness and its binaries predate head; the Nemotron 90→229 prefill-launch regression is disclosed but unattributed.
Verified sound: predicate consistency across all three anchor sites, readmission preservation, stale-latch clearing, zero-fraction strict fallback, no hot-path or ABI/wire/CLI change.
Open: merge order vs open #655/#674/#694, snapshot-capacity cost, and whether the sign-off trailer exists on the commits.
Final review
Recommendation: Changes Requested
The core scheduler change (+29 net production LOC across 4 Rust files, zero unsafe, zero model-name branches or ABI/wire changes) cleanly and safely fixes the <think>-stripping multi-turn prefix-reuse regression disclosed by #660, with strong single-GPU gb10-tp1 A/B gains (+9.74 to +31.78 pp Turn 2+ cache hit, 0 / 108 zero-hit misses, -20.1% to -45.1% total prefill tokens). No merge blockers exist, but three concrete issues should be addressed before merge: an internal documentation contradiction in docs/cli-design.md:709-713, the lack of an end-to-end two-turn divergent-suffix reuse test in helios/src/scheduler/checkpoints.rs, and the undisclosed extra prompt-end Endpoint snapshot published on every preserved open-reasoning turn (ckpt_caps end 60/61/64 → 96) alongside missing benchmark harness command lines in ## Evidence.
Merge Risk
Level: Medium
- Default-path behavior change on reasoning-enabled chat (
0.05): Every open-reasoning request (OutputStart::Reasoning) under nonzeroscheduler_checkpoint_extra_work_fractionnow retains its interiorraw_anchorunconditionally (restoring pre-#660split behavior for reasoning prompts while leavingOutputStart::Content,RecipientHeader,RecipientFrame,ToolBody, raw completions, andfraction == 0.0on#660's exact budgeted path). This trades an extra Turn-1 tail prefill (and disclosed queueing launch amplification onNVIDIA-Nemotron-3.5-Bolt-74B-A9B-24GB-FLAREatmax_active = 4) for recovering Turn 2+ prefix reuse. - Clean concurrency, lifecycle, and readmission invariants:
RequestSchedulermutates single-threaded (&mut self),configure_policyrejects policy changes after admission (helios/src/scheduler/policy.rs:225-228),Incoming::spec()preservespreserve_message_anchoracrosspark()/park_grammar_transition()readmission (helios/src/server/runtime.rs:288,2422-2519), andverification/helios-lifecycle/check.py:672-677'sbudgeted_anchormutation needle remains unique. - Rebase overlap with open
#655: OpenReady To MergePR#655edits the adjacent snapshot-cost gate incheckpoint_selection_uncached(helios/src/scheduler/checkpoints.rs:681,fresh_duration→measured_duration) and the same four documentation files; changes are semantically orthogonal but require rebase coordination.
Walkthrough
helios/src/server/request.rs:427-429,452: Computespreserve_message_anchor = output.as_ref().is_some_and(|o| o.content.start == crate::output::tagged::OutputStart::Reasoning)inprepare_validated_inferenceand stores it onPrompt.helios/src/server/runtime.rs:50-53,288&helios/src/scheduler.rs:158-160,231,1852: Threadspub preserve_message_anchor: boolthroughPrompt→Incoming::spec()→RequestSpec→LiveRequestatadmit(), preserving it across initial admission and preemption/grammar readmission.helios/src/scheduler/checkpoints.rs:469-483,620-624,908-912: AddsRequestScheduler::budget_interior_anchor(&self, request: &LiveRequest) -> bool(fraction == 0.0 || !request.preserve_message_anchor) shared byrequest_anchor_endpoint(earlySome(raw_anchor)),checkpoint_selection_uncached(retains(raw_anchor, 0)and clearsbudgeted_anchor), andpromote_request_anchor(suppresses latching).docs/cli-design.md:696-708,docs/core-design.md:1436-1454,docs/scheduling-runtime-design.md:664-674,helios/README.md:370-386: Updates present-state checkpoint anchor docs for open-reasoning preservation under nonzero extra-work fractions.helios/src/scheduler/checkpoints.rs:4789-4926&helios/src/server/runtime/phase_tests.rs:8352-8589(+ mechanicalpreserve_message_anchor: falseupdates across 8 test files): Adds isolated unit tests for preserved vs. budgeted anchor selection, stale-latch clearing,fraction == 0.0fallback,admission_reused_tokens == 512non-preserved budgeting, frontendOutputStartclassification, andworker.park()readmission.
Pre-merge Checks
- [PASS] Security / malicious screen: Pure scheduler predicate, boolean metadata propagation, unit tests, and docs; zero
unsafe, no new I/O, parsing, FFI, or untrusted-input surface. - [WARN] Charter & value fit: Model-agnostic (
OutputStart::Reasoningis shared parser state, zero model-name branches) and fixes a real measured regression in the right layer, butdocs/cli-design.md:709-713contradicts the updated paragraph immediately above it. - [WARN] Related / duplicate / conflict check: Directly addresses
#660's disclosed<think>-stripping trade-off with no competing PR, but overlaps openReady To Merge#655inhelios/src/scheduler/checkpoints.rsand all four doc files — coordinate merge/rebase order. - [WARN] Tests & verification evidence: New tests are isolated and exercise real production types (
RequestScheduler,prepare_inference,Worker), andscripts/scheduling_sim/kaniare accurately N/A; however, no test exercises end-to-end Turnk→ divergent Turnk+1prefix reuse,## Evidenceomits the benchmark harness/command line (unlike#660), and GitHub Actions CI +Design-Signed-Off-By:commit trailers should be confirmed on headbfae28a.
Blockers
None.
Should Fix
- Fix internal contradiction in
docs/cli-design.md:709-713: Lines699-702state that under a nonzero fraction an interior message endpoint is "retained without charging its split when the generation prompt opens a reasoning block", but lines709-711immediately below still state "Any retained interior anchor split, earlier messages, and a distinct prompt end share the fraction of estimated uncached prefill work" (whereasdocs/core-design.md:1449-1451was properly updated to "when such a budgeted interior anchor is retained").- Fix: Change
docs/cli-design.md:709to "Any budgeted interior anchor split..." and clarify at:712-713that uncharged anchor copies and preserved open-reasoning anchor splits are excluded from budgeted extra-work accounting (flare_checkpoint_extra_work_nanoseconds_total).
- Fix: Change
- Add an end-to-end two-turn divergent-suffix reuse test (
helios/src/scheduler/checkpoints.rs:4789-4926): Neither new scheduler test executes apreserve_message_anchor: trueTurn 1 throughplan() -> commit() -> complete_test_step()to publishAnchor(896)and then admits a divergent Turn 2 (matching0..896and diverging in896..1024, modeling stripped reasoning history). Right now:4790-4865only inspectscheckpoint_selection()/request_anchor_endpoint()without stepping, and:4868-4926only executes a 512-token Turn 1 withpreserve_message_anchor: falseand no interior boundary.- Fix: Add an isolated test (following
#660's Case 1 pattern atcheckpoints.rs:4270-4332) that runs Turn 1 (prompt_tokens = 1024,message_boundaries = [896],preserve_message_anchor = true) through prefill publication and asserts that a Turn 2 matching0..896with a modified896..1024suffix admits withadmission_reused_tokens == 896(and that the same sequence withpreserve_message_anchor = falsefalls back to1024and admits withadmission_reused_tokens == 0).
- Fix: Add an isolated test (following
- Resolve/document the extra prompt-end
Endpointsnapshot on preserved open-reasoning turns (helios/src/scheduler/checkpoints.rs:695-697) and add benchmark reproducer commands (## Evidence):- Because preserved turns keep
anchor = raw_anchor < request.prompt_tokenswithanchor_split_ns = 0,checkpoints.rs:695-697pushes(request.prompt_tokens, RetentionRole::Endpoint)withsplit_ns = 0and full prefill allowance intact, publishing an extraGraphKind::Snapshotcopy and snapshot row atprompt_tokenson every open-reasoning turn (visible in the PR's own tables:ckpt_caps endrose60→96,61→96,64→96across48turns, i.e.,+32to+36extra prompt-end snapshots for the exact<think>suffix that Turnk+1strips; also pinned atcheckpoints.rs:4819-4822). Whileprotected_budget(prompt_tokens - raw_anchor,:769-773) bounds eviction under tight snapshot capacity and this matches pre-#660behavior, it is never mentioned in## Whator## Trade-offs. - Fix: Either confirm whether that prompt-end
Endpointcapture is intentionally kept (for exact-prompt replay / pre-#660parity) and disclose the extra per-turnEndpointsnapshot copy/row in## What/## Trade-offs, or skip pushingrequest.prompt_tokensat:695-697when!self.budget_interior_anchor(request)if the extra copy is unnecessary. Also add the workload harness repo/commit and exact invocation commands forC=6 x 4 turnsandprefill_burstto## Evidence(matching#660).
- Because preserved turns keep
Subtract / Simplify
- Fold the duplicate fallback arm in
checkpoint_selection_uncached(helios/src/scheduler/checkpoints.rs:620-624,662-665): The newif !self.budget_interior_anchor(request)arm at:621-623executesaccounting.budgeted_anchor = None; (raw_anchor, 0)— byte-identical to the pre-existingelsearm at:662-665. Changing:620toif raw_anchor < request.prompt_tokens && self.budget_interior_anchor(request)deletes 4 lines, one nesting level, and the duplicatebudgeted_anchor = Noneabove the TLA+ mutation target at:649with identical behavior across all four reachability cases. - Extract a shared
preparehelper inhelios/src/server/runtime/phase_tests.rs:8358-8377,871-888: The 18-linelet prepare = |...| { ... }closure at:8358-8377is a verbatim duplicate of the first 18 lines ofprepared_budget_requestat:871-888. Extractingfn prepare(fixture: &Fixture, protocol: Protocol, body: serde_json::Value) -> PreparedInferenceremoves ~18 duplicated lines and keeps theprepare_inferencecall site in one place. - Optional — extract a local stepped-cost scheduler helper in
helios/src/scheduler/checkpoints.rs:4791-4802,4843-4854,4869-4880: The 10-line[(128, 100), (256, 110), (512, 200)]+Snapshot(1, 5)+configure_policy(fraction)fixture setup is repeated verbatim 3 times in the new tests (and 5 other times earlier in the module); a smallfn budgeted_scheduler(fraction: f64)helper cuts ~20 lines.
Nits
- Hoist repeated
OutputStart::Reasoningcheck (helios/src/server/request.rs:414,427-429): Computinglet opens_reasoning = output.as_ref().is_some_and(|o| o.content.start == crate::output::tagged::OutputStart::Reasoning);once above:408avoids stating the same check twice 13 lines apart. OutputStart::ToolBodytest coverage (helios/src/server/runtime/phase_tests.rs:8352-8589):## Why/## Trade-offslistOutputStart::ToolBodyamong non-preserved starts; while obviouslyfalseunder== OutputStart::Reasoning(request.rs:429), adding aToolBodycase (or omitting it from the tested list) keeps claims and fixtures 1:1.
Dropped on verification
- Correctness Lens F1's proposed fix ("charge
split_nsintoreserved_ns/extra_spent_nsfor preserved anchors"): Dropped. Charging an over-budget interior split (e.g.,110 nsvs20 nsallowance atcheckpoints.rs:4804-4806) intoaccounting.extra_spent_nsputs the request in deep allowance debt, starving earlier alignedMessagecuts (e.g., shared system prompts) and terminalEndpointcaptures (allocate_terminal_captureatcheckpoints.rs:1091-1099). Uncharged anchor work (copy_ns: 0and pre-#660interior anchor splits) has always been excluded fromextra_spent_ns/checkpoint_extra_work_ns; the verified defect is the stale wording atdocs/cli-design.md:709-713(kept as Should Fix 1). - Correctness Lens F2's claim that the extra prompt-end
Endpointcopy displacedMessagecuts (msg11→0,2→0,21→12) on the allowance: Verified false.checkpoint_selection_uncached(helios/src/scheduler/checkpoints.rs:687-697) evaluatesMessagecandidates before pushing(request.prompt_tokens, RetentionRole::Endpoint)last, soEndpointcannot consume allowance beforeMessagecuts. (Themsgcount drop reflects eliminating Turn 2+ zero-hit misses that previously re-prefilled full multi-turn histories with earlier messages.) - Correctness Lens F3 ("uncharged anchor split removes downstream gating and explains Nemotron's
90 → 229prefill launches"): Dropped as duplicate of F1 + speculative attribution. Two prefill chunks per turn across 48 requests is96launches (matching both Qwen models), Nemotron had fewerMessagecuts on the fix arm (21 → 12), and prompt-endEndpointhassplit_ns == 0(zero added prefill launches). - Correctness Lens F4 / Value Proposition claim that
preserve_message_anchor: boolviolatesdocs/design-review.md:58-61("default-false opt-in"): Dropped.docs/design-review.md:58-61rejects per-model boolean policy flags / model allowlists (supports_*,can_*).preserve_message_anchor: boolis a per-request frontend-derived flag onPrompt/RequestSpec/LiveRequest— identical in pattern togrammar_constrained: boolandprompt_logprobs: bool(helios/src/scheduler.rs:152-160) — that varies dynamically per request on the same model. Replacing it with a 2-variant enum adds churn without benefit. - Correctness Lens F6's claim that preserved requests "bypass cache-readiness verification of their anchor" (
checkpoints.rs:504-519): Verified false. Lines504-519only run on full-prompt GPU cache hits (baseline_start == request.prompt_tokens) to infer whether the cached turn keptraw_anchoror fell back toprompt_tokens; returningSome(raw_anchor)early at:480is exact for preserved requests, andpromote_request_anchor(:920-926) still checksself.cache.ready_by_prefix(&key)before promoting. - Subtraction Lens F3 ("invert
budget_interior_anchortopreserved_interior_anchor(fraction, request)") & F1's sub-claim of deleting a call site: Dropped. Once Subtraction 1 folds:620-624into the outerif,budget_interior_anchoris positive at 2 of 3 call sites (:620,:908) and negated only once (:480); inverting it increases negations from 1 to 2 and makes callers more verbose. Folding keeps 3 call sites while removing 4 lines and the duplicate arm. - Discovery Dossier stale note ("no automated intake comment"): Verified stale against
pr_comments(flare-autobotposted the intake comment on2026-12-02 23:55).
Classify triage
Selected: triage:review
Threshold: 65%
Triage
- [✓]
triage:review: 99.9% -
triage:design-review: 0.0% -
triage:validation: 0.0% -
none: 0.0% -
triage:partial: 0.0% -
triage:integration: 0.0% -
triage:verify-for-closure: 0.0% -
triage:investigate: 0.0% -
triage:superseded: 0.0%
Apply labels
No label changes Decision to Test: no (95%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.