#1 [high] Change: scope and size of PR #729
PR #729 (open, ready for review, opened 2026-12-04, head 150f705, base main, base sha cc0a49d). 14 files, +2219/−370. No labels, no reviews, no comments as of reading (pr_comments returned "No comments").
Files (from pr_files): docs/scheduling-runtime-design.md (+23/−18); helios/src/model/admission.rs (+15/−2); helios/src/model/packed_round_tests.rs (+1/−1); helios/src/model/packing.rs (+3/−1); helios/src/model/tests.rs (+95/−1); helios/src/offload/transfer/codec.rs (+487/−250); helios/src/scheduler.rs (+78/−0); helios/src/scheduler/cost.rs (+309/−38); helios/src/scheduler/policy.rs (+276/−10); helios/src/scheduler/policy_tests.rs (+68/−0); helios/src/scheduler/service.rs (+13/−8); helios/src/scheduler/tests.rs (+78/−0); helios/src/server/runtime.rs (+270/−26); helios/src/server/runtime/phase_tests.rs (+503/−15).
Three logically independent changes bundled: (1) grammar-transition KV preservation, (2) KV offload codec restore batching + lock order, (3) Mixed graph NNLS cost stratification. Each is a separate subsystem and could be reviewed/merged separately.
#2 [high] Change: undeclared work in PR #729 (files not in the description)
PR description says changes are in helios/src/model/{admission,packing}.rs, helios/src/scheduler.rs, helios/src/scheduler/policy.rs, helios/src/server/runtime.rs, helios/src/offload/transfer/codec.rs, helios/src/scheduler/{cost,policy,service}.rs, and docs/scheduling-runtime-design.md. It does NOT mention two files that are in the actual diff and carry substantial logic:
helios/src/scheduler/checkpoints.rs— pr_diff shows large non-test changes: a newprefill_catalog_costs_for(prompt_logprobs)(replacingprefill_catalog_costs), a refactor ofinterval_prefill_nsintointerval_prefill_ns_for(window_ends, prefill_spans, ...)that changes terminal-chunk pricing to be per-window (through >= limitinstead ofthrough >= end, newmax_terminal_capbound), a new read-onlyestimate_prefill_delta_ns(...)used by admission,budget_interior_anchor,snapshot_discoverysingle-in-flight terminal-capture discovery, and switching snapshot cost lookups fromself.costs.fresh_duration(GraphKind::Snapshot, 1)toself.costs.measured_duration(...)(retaining expired snapshot costs). None of this appears in the PR description.helios/src/server/request.rs(+3/−0) — addspreserve_message_anchorderived fromoutput.content.start == OutputStart::Reasoning, andPrompt.preserve_message_anchor(helios/src/server/runtime.rs:52). The description mentionspreserve_message_anchornowhere; the docs hunk (docs/scheduling-runtime-design.md) does describe the behavior change to anchor budgeting under a reasoning-opening prompt.
Also in helios/src/server/runtime.rs, beyond the described grammar work, there are several clearly separable changes: (a) a whole new RowRestoreLatency/RowRestoreSource per-tier row-only host-restore latency estimator; (b) flare_selene::worth_fetching(&hit, prefill_rate) replaced by a scheduler-priced estimated_prefill_saved_seconds + flare_selene::worth_restore(transfer_seconds, prefill_saved_seconds) and a rewritten RestoreWait::defer; (c) begin_pool_lookup rewritten to return bool and re-issue stale pool lookups (pool_lookup_reissued, refresh_admission_plan_in_place); (d) moving offload::open (store open) to BEFORE RankExecutor::new with a comment that GPU codec cuModuleLoadData can deadlock in the CUDA driver while a persistent worker kernel is resident, plus a new free close_store helper; (e) observe_prefill_rate rewritten to use the step's own ExecutionTiming instead of wall-clock from submit (prefill_started VecDeque deleted); (f) new pub fn attach_async_transfers on ModelRuntime; (g) Admission::validate_continuation with initial_prompt_tokens; (h) RequestAdmission/stop-sequence construction errors now cancel+fail instead of ?-propagating.
(Citations: pr_diff of helios/src/scheduler/checkpoints.rs, helios/src/server/request.rs, helios/src/server/runtime.rs; main already contains helios/src/server/request.rs:427-429 and helios/src/scheduler/checkpoints.rs:564 — wait, those were read at PR head, not main; search_code with ref=main for preserve_message_anchor returned no matches, confirming these are new in this PR.)
#3 [high] Process: pr_diff base is stale — raw diff over-reports, 14 files is authoritative
IMPORTANT methodology finding for anyone re-deriving this diff: the local main ref used by pr_diff/search_code(ref=main) is STALE — it predates at least #655, #660, #674 (merged 2026-12-03), #697 (merged 2026-12-03) and #709. Evidence: search_code(ref=main) finds no worth_restore, no RowRestoreLatency, no estimate_prefill_delta_ns, no budget_interior_anchor, no preserve_message_anchor, no attach_async_transfers; and helios/src/scheduler/checkpoints.rs:1067 on main still uses self.costs.fresh_duration(GraphKind::Snapshot, 1) (changed by #655). The orientation-packet git errors ("Could not read c513e46a…") match: #674 reports main was c513e46a when it rebased.
Consequence: pr_diff output over-reports. It includes hunks from already-merged PRs for every file #729 touches. The authoritative file list is pr_files / read_item(729) = 14 files, and it does NOT include helios/src/scheduler/checkpoints.rs or helios/src/server/request.rs — so the large checkpoints.rs / request.rs hunks in pr_diff are already-merged work (#655 snapshot cost retention + discovery; #674 estimate_prefill_delta_ns/prefill_catalog_costs_for; #660/#697 budget_interior_anchor + preserve_message_anchor), NOT this PR.
Hunks I can attribute to merged PRs rather than #729 (they appear inside files #729 does change, so a reader re-diffing against stale main will see them as #729's):
RowRestoreLatency,RowRestoreSource,worth_restore/estimated_prefill_saved_seconds,host_lookup_cost(missing, transfer, saved),observe_prefill_raterewrite (GPU timing +wall_nsfallback), narrowed fallbackprefill_rate→ #674.Incoming::clear_pool_lookup,pool_lookup_reissuedstale ticket refresh → #674 ("ExtractIncoming::clear_pool_lookup" is listed in #674's subtract/simplify).- Free
close_store(...)helper and movingcrate::offload::openBEFORERankExecutor::newwith thecuModuleLoadDatadeadlock comment → #709 (its description states exactly this reordering); also open duplicate #698 by ebfio. attach_async_transfers→ AsyncTransfer series (#711/#721).snapshot_discovery+measured_duration(GraphKind::Snapshot,1)→ #655.budget_interior_anchor/preserve_message_anchor/estimate_prefill_delta_ns-based anchor docs → #660/#697. Attribution still UNRESOLVED (in head, not on stale main, not described in #729's body):Admission::validate_continuation/from_continuation(initial_prompt_tokens),device_spansrejectingrow && id == 0,prefill_catalog_costs_for,refresh_admission_plan_in_place,evict_for_pressure_cached,partition_conditioned_windows. Some are plausibly #674/#708/#660; cannot be separated without the true base commit.
#4 [high] Related work: #626 (same author, merged 4 days earlier) created the cancel-path #729 reverses
#626 "Allow speculative reasoning for grammar-constrained requests" (lukealonso, COLLABORATOR, merged 2026-11-30, +1405/−39, 9 files) is the direct predecessor that #729 modifies. #626's own "What Changed" says: on reasoning close or forbidden token, the worker "cancels the live slot via RequestScheduler::cancel (draining any queued second frame without emitting output or publishing a terminal snapshot), and parks the truncated prefix via park_grammar_transition… On readmission, Helios restores the longest cached prefix checkpoint (GraphKind::Restore) and runs GraphKind::Prefill over the remaining reasoning suffix to rebuild exact KV and recurrent state".
That is exactly the code path #729's Why calls the defect ("previously routed every transition through park_with_tokens(..., publish_terminal: false) -> RequestScheduler::cancel(handle) … every transition discarded all accumulated reasoning KV and recurrent state"). So #729 is a corrective follow-up / partial reversal of #626's transition mechanism, same author, 4 days later. #626's own review already flagged the cost: Autobot "Changes Requested" noted "Every boundary transition re-prefills R reasoning tokens since the prompt-end checkpoint (runtime.rs:2407-2449)" and "Unmeasured transition & bystander cost"; #626's PR body disclosed "Leaving speculative reasoning incurs one slot transition (cancel + Restore … + chunked Prefill over the reasoning tokens since that checkpoint)… can match or exceed the speculative decode savings."
#626 also relates to open issue #530 ("Structured output … decodes ~2-3x slower than unconstrained … MTP drops to width one") and to #210, #615, #619, #620. #729 does not cite #530 or #626 in its body — the body's Why cites no issue/PR numbers at all.
Test names #729 reuses/extends from #626's suite (same phase_tests.rs file): speculative_grammar_reasoning_runs_pipelined_and_transitions_on_close_with_overshoot, ..._rolls_back_forbidden_token_including_premature_eos, ..._integrates_with_thinking_budget_and_logprobs, ..._preserves_mode_on_preemption_and_stays_constrained_without_reasoning, content_header_envelope_enters_speculative_reasoning_after_header_and_returns_to_constrained, prepare_inference_enables_speculative_grammar_reasoning_only_for_eligible_envelopes — all still present in the tree (#729 phase_tests.rs:7571, 7728, 7868, 8006, 8287).
#5 [high] Related work: #729 reverses the lock order #628 deliberately established
#628 "helios: gate offload Copy Engine batches during peer-copy graphs" (yatesdr, COLLABORATOR, merged 2026-12-01, fixes issue #627, +1197/−141, 20 files) introduced CopyEngineGate and its stated invariant. #628's "Summary of changes" bullet "Offload transfer paths (helios/src/offload/transfer.rs, helios/src/offload/transfer/codec.rs)" says verbatim: "Acquire OffloadBatchGuard per BATCH_BYTES batch in uncompressed RankWorker::run, CPU-codec copy_spans_batch, and all five GPU-codec capture/restore entry points. Preserve strict lock ordering (gpu.codec before CopyEngineGate) to prevent lock inversion against try_lock".
PR #729 does the opposite: its codec diff introduces with_gpu_codec_locked / try_with_gpu_codec_locked whose doc comments state "Acquires CopyEngineGate::enter_offload_batch before locking the GPU codec mutex so background capture threads waiting on active peer-copy graphs never hold the codec mutex and all GPU codec callers share one lock order," and routes "all five GPU codec lock sites (three in capture_window, two in restore_window/restore_single_unit)" through them. So #729 reverses a lock-ordering invariant deliberately established and reviewed in #628 ("preserve strict lock ordering (gpu.codec before CopyEngineGate)"), within the same codec.rs region.
Why #729's rationale differs: #628's order held the codec mutex while blocking on the gate, which #729 identifies as the actual bug (a background capture holding gpu.codec while waiting for a peer graph starves foreground restores' try_lock() into CPU decoding). #628's Autobot review had already flagged this exact risk in the first round — "Worker-thread blocking… RankExecutor::submit blocks the model worker on an unbounded Condvar::wait" and "Hot-path regression for all prefix-cache users" — but the final round said "lock ordering… confirmed sound." So #729 is a correctness fix to a consequence #628's review considered acceptable; a reviewer needs to know #628's recorded invariant is being superseded, not violated by accident.
Also relevant: #628 author yatesdr is the reviewer/subject-matter owner of CopyEngineGate; #729 author lukealonso. #629? n/a. #628 changed helios/src/server/runtime.rs (+29/−24) too and recorded prefill_started after executor.submit() — #729 deletes prefill_started entirely and rewrites observe_prefill_rate to use the step's ExecutionTiming instead of wall clock (which appears to also supersede that #628 change; likely #674 reconciled it).
Issue #627 (the deadlock #628 fixed) is the origin of the gate; not reopened by #729.
#6 [high] Community/process: #729 has no comments, no reviews, no labels; CI pending
PR #729 has zero discussion: pr_comments → "No comments"; read_item(729) → "Discussion (0):". No reviews, no labels, no reactions. Opened and last updated 2026-12-04 17:35 (same minute) — i.e. pushed once, never revised. read_item does not list a linked-issue relationship for #729 (no "It refers to" / "Referred to by" section), so the PR cites no issue numbers.
CI on head 150f705 is pending per the orientation packet (not green, not failed).
Compare with peers in the same area, which each drew an Autobot review: #626 (2 discussion entries: case-file + Autobot "Changes Requested"), #628 (6 entries incl. three rounds with a human reply from yatesdr), #674 (large review), #697 (2 entries, Autobot "Changes Requested"). So #729 is the only one of this cluster with no review yet — and the automated reviewer has not run on it. #674's and #697's flows show reviews auto-run ~90 min after push.
Note also: #729 carries NO labels, whereas comparable scheduler PRs carry area:scheduling/performance/bug (e.g. #626, #628, #697 have area:scheduling, enhancement, performance, triage:review). Absence of triage:review means it is not yet triaged.
#7 [high] Related work: #619 introduced the cancel(publish=false)+drain pattern #729 calls a defect
#619 "Unlock multi-token speculation and two-frame pipelining for host stops" (lukealonso, merged 2026-11-29, +282/−107, 16 files). Author's own 2026-11-29 comment responding to Autobot review: "Restored main's step-level single-frame feedback barrier and original flare_constrained_max_inflight contract for grammar-constrained requests… Host-stop requests now run with full speculative width and two-frame executor pipelining without a scheduler feedback barrier, retiring cleanly through scheduler.cancel (publish = false, slot retiring until any queued second frame drains) when a stop matches mid-burst."
This is the direct origin of the scheduler.cancel(publish=false) + drain pattern that #729's Why calls the defect ("cancel calls retire(handle, false) without publishing a terminal checkpoint"). #619 relied on cancel(publish=false) deliberately so that "speculative device progress beyond the host-selected stop [stays] private without publishing a terminal prefix-cache snapshot" — a correctness requirement for stops (never publish a snapshot whose KV extends past the user-visible stop). #729 now reuses the same site but adds a terminal-checkpoint path for grammar transitions, which is legitimate because there the exact endpoint (exact_len) is known. Notable: #729 must therefore keep the overshoot case (skipped > 0 / consumed_tokens > exact_len) on the old cancel path — which its body does state.
#619 also cited open issue #530 and closed #210; and #626 was "Referred to by" #619's relations. #619's Autobot review had already raised the pipelining/feedback trade-off: "Removing grammar_constrained || host_stops from step-level feedback barriers… can simultaneously double constrained-request ITL and drop total tokens/sec" — #729's Why point 1 makes the symmetric argument for the opposite direction ("setting grammar_constrained = false during reasoning also enabled two-frame pipelining for zero speculative width gain").
Chain: #619 (cancel-based retirement for stops) → #626 (reuses cancel for grammar reasoning transitions) → #729 (replaces cancel with checkpoint park for grammar transitions). Same author throughout: lukealonso.
#8 [high] Related work: #645 introduced PrefillCostModel but explicitly not for Mixed; #729 extends it
#645 "Overhaul Helios prefill scheduling, cost modeling, and two-frame pipelining" (lukealonso, merged 2026-11-30, +1886/−204, 21 files, closes #485) is the PR that introduced the exact machinery #729 extends to GraphKind::Mixed. #645's description: "Replaced single-median prefill estimates with PrefillCostModel: 6 strata crossing u <= 0.5 / u > 0.5 with start_position < 4096 / 4096..32768 / >= 32768 (each keeping a 9-sample rolling median via shared Ring9<T>) and exact 3-parameter relative-error-weighted NNLS fitting theta_0 + theta_1 * u + theta_2 * (start_position / 4096)", plus "Narrow-fill upward extrapolation (u_max - u_min < 0.15, u > u_max) applies a bounded 4× constant-throughput floor t_at_umax * min(u / u_max, 4.0)" and smaller-capacity peer context-slope borrowing.
So #729's third bucket ("stratify Mixed graph costs") is a direct extension / follow-through of #645, whose own description explicitly listed a residual gap: #645's "[Mixed-graph fixes]" only wired powered_curve/forecast_tokens into Mixed rate paths and routed discovery through effective_prefill_catalog — it explicitly left GraphKind::Mixed on the flat 9-sample median, which is precisely the defect #729 fixes. #729's doc hunk is an in-place edit of the paragraph #645 wrote in docs/scheduling-runtime-design.md (the "six fill-ratio and KV-context depth buckets" sentence becomes "six positive-fill and KV-context depth buckets … plus a zero-fill bucket for decode-only MIXED executions").
#645's Autobot review was "Changes Requested" with 2 blockers, and noted charter #210 non-compliance ("fails Charter #210… no served-workload A/B baseline over main"). It did however carry live SM120 A/B numbers (Qwen3.8-27B TP1: B=8 burst 398.6 → 497.6 tok/s, +24.8%).
#485 (closed by #645) is the origin issue: "Scheduler ActionCosts aliases short- and long-context prefill timings, causing chunk-size drift at 64k–128k". #729's Mixed stratification is the same class of defect (aliasing distinct work regimes into one median) applied to a graph kind #645 didn't cover — but #729 does not cite #485 or #645.
Relevant open follow-ons to #645 in the same code: #661 (merged, "explore smaller prefill chunks under active age-priced streams"), #663 (merged, "price first-output waiting age on incumbent decode rounds"), #681 (merged, "use active cohort mean in coalescing horizon"), #644 (merged, per-step speculative calibration). These all touch scheduler/cost.rs/policy.rs — the same files #729 changes.
#10 [high] Process: more pr_diff over-reporting — #659's null-row guard and codec test rewrites
Two large-looking hunks in pr_diff for helios/src/offload/transfer/codec.rs are not #729's but #659's (helios/src/offload/transfer/codec.rs is in pr_files; the changes below are #659's):
device_spansgainingif (row && id == 0) || id >= capacity— #659 "Enforced non-zero row invariant": "RejectedStateSlotId(0)inoffload::transfer::expandandoffload::transfer::codec::device_spanswith CPU rejection tests" (lukealonso's 2026-12-03 comment, #659 merged 2026-12-03 20:57).- The GPU codec tests switching to
row_capacity: 3,mapped_host_buffer(row_bytes * 3),StateSlotId(1)for capture andStateSlotId(2)for restore, and the new testdevice_spans_rejects_null_state_slot_zero— also #659 ("updated the two codec GPU tests inhelios/src/offload/transfer/codec.rsto use a 3-row geometry withStateSlotId(1)andStateSlotId(2)"). #659 is by the same author (lukealonso), merged the day before #729, and touchedcodec.rs+54/−25. #729's body mentions none of this. A reviewer diffing #729 must exclude it.
Genuinely #729's in codec.rs (per its own description, and consistent with the diff): partition_restore_pages / PageRunKind / PageRun / restore_single_unit / with_gpu_codec_locked / try_with_gpu_codec_locked / removal of all_pages_cpu_path and the leading GPU run loop / the transform_ns skip on pure-Literal batches (if items.iter().any(|(_, route, _)| *route != DecodeRoute::Literal)).
Also note #659's own merge risk section warned: "Silent-corruption blast radius if row zero is written: Aliasing row 0's leading granules onto one writable physical page turns any stray write to StateSlotId(0) into multi-granule corruption" — i.e. the device_spans null-row guard is a safety invariant. #729's restore_single_unit refactor moves the row path through the same device_spans(geometry, layout, true, u64::from(slot.0)) call, which still rejects slot 0; the guard survives the refactor (the diff of device_spans shown is #659's addition, and #729's restore_single_unit calls it).
#11 [high] Related work: open PRs overlapping #729 in cost.rs and admission.rs (merge-order risk)
#715 (open, original-el8, priority contributor) "helios,ignition: implement additive packed multi-request prefill (Contract 3)", opened 2026-12-04 00:36, updated 15:26, +1638/−56, 20 files. Its Autobot Round-2 review explicitly describes changing the same cost-model functions #729 changes: "gate PrefillCostModel and context-slope refresh on batch == 1" (helios/src/scheduler/cost.rs:581-583,606-607,644-659,969). #729 adds refresh_prefill_context_slopes handling for GraphKind::Mixed and changes entry creation to key.kind.is_prefill() || key.kind == GraphKind::Mixed at exactly those sites. → Direct textual conflict in helios/src/scheduler/cost.rs; merge order must be coordinated. #715 also touches policy.rs (+342), checkpoints.rs, scheduler.rs, server/runtime.rs, model/packing.rs, model/tests.rs, policy_tests.rs — all files #729 changes. #715's body references #621, #645, #655, #661, #663, #693, #697, #718, #571.
#710 (open, original-el8) "Coalesce mapped host VMAs for THP, harden speculative cost/forecast tracking, and update GB300 AOT compile pool" — also touches helios/src/scheduler/cost.rs. #301 (open, shadownetX) "feat(scheduler): persist learned graph costs across serving restarts" — touches cost.rs; a persisted-cost format would interact with #729's new zero_fill bucket and mixed_context_slopes (neither is in any on-disk schema today, per the diff). #621 (open) "Validate scheduler admission against the core parameter declarations" — touches model/admission.rs, which #729 changes (validate_continuation, from_continuation, grammar_enabled). #718 (open) "prefill-only KV handoff, announce barrier, and bounded pool-only capture" — touches the same 7 files per the orientation packet.
Other cost.rs predecessors (merged, establishing context): #645 (PrefillCostModel), #655 (retain measured snapshot cost), #661 (smaller prefill chunks under age-priced streams), #608, #555 (intermediate batch capacities), #510 (packed speculative shapes), #459 (price checkpoint candidates without walking every prefill chunk).
codec.rs predecessors (merged): #659 (null-row sentinel, same author, 1 day prior), #628 (CopyEngineGate), #525 ("parallelize GPU rANS setup and overlap single-buffer page capture batches" — the PR that created the single leading GPU batch loop in restore_window that #729 says "stops on the first non-GPU page"), #504 (pure-CUDA+CPU lossless KV compression, introduced the codec).
#14 [high] Project fit: model-agnostic and no ABI change align; no served benchmark (#210) and no linked issue diverge
Charter (read_charter) lines relevant to #729:
Where it lines up:
- "Keep the runtime small and model-agnostic… Helios (the runtime) handles scheduling, caches, and requests, and shouldn't accumulate per-model branches (#267, #334)." #729 adds no model-name branches: the grammar path is gated on
self.config.speculative_widths.is_empty()and on a derived contract propertysampling_graphs_bind_grammar_enabled(config)that scansconfig.contract.graphsforValueSource::GrammarEnabledbindings — a core-declaration-driven decision, not a model list. The reason-vs-non-speculative split is a general structural property. - "Check state and CUDA-graph transitions, and verify that existing data, artifacts, and exported cores still load." #729 claims "existing exported cores load and run without re-export or ABI changes" — supported structurally (no new
ValueSource, no new graph op;GrammarEnabledpacking only changes the value fromgrammar_mask.is_some()togrammar_enabled || grammar_mask.is_some(),helios/src/model/packing.rs), and by the newmodel::tests::grammar_enabled_unmasked_packs_enabled_with_cached_all_ones_mask_and_toggles_in_placetest. No compatibility test against a real pre-existing signed core is reported. - "PR descriptions: Expect four parts: why the change is needed, what changed, the claimed result, and the evidence backing it." #729's description has all four, richly.
Where it does not line up:
- "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over
mainon a served workload (#210)." #729 states under Expected benefit: "Expected serving impact (not benchmarked end-to-end here)", and under Limitations: "No end-to-end exported-coreflare runlatency or throughput benchmark was run on this branch." All three buckets are performance-motivated (KV wipes avoided, GPU batching kept, Mixed pricing accuracy). Compare peers: #645 (same author/area) shipped live SM120 A/B tables; #659 shipped measured −182 MiB VRAM; #674 and #715 shipped large A/B matrices. This is the clearest charter gap. - "What gets merged: PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs." #729 cites no issue numbers at all — no reproducible bug report, no maintainer request. The defects it fixes are ones it discovered itself in merged code (#619/#626/#525/#645) and it never links them. Note the repo convention: #628 "Fixes #627", #645 "Closes #485", #674 addresses "#451". #729 has no such link.
- "Stay focused… not interested in piling on extra model aliases, random switches, or broad hardware support." #729 adds no switches or flags (good), but bundles three unrelated subsystems into one PR, which cuts against focused review.
- "GPU kernel code: report concrete defects only—do not propose designs for it." #729 changes no
.cukernel code (only host-side Rust around the GPU codec), so this rule is not triggered. - Docs:
docs/scheduling-runtime-design.mdis updated in place (present-state doc) — consistent with the repo's habit of editing present-state docs (#697 did the same across four docs files). Fine.
Also relevant: #210 is referenced by the charter and by #619/#626/#645 as the benchmark requirement; #210 is a closed issue ("Qwen3.8 Flash Next DFlash2: mixed prefill rounds, YaRN serving, and served measurements from a fork").
#15 [high] Claims vs evidence: most mechanisms verified statically; all performance claims unmeasured
Claims in #729's body vs what backs each. Verified-by-me (static reading of the diff at head 150f705) unless marked claimed.
- "Added
Admission::grammar_enabledand updatedValueSource::GrammarEnabledpacking so Init/Restore … packsgrammar_enabled || grammar_mask.is_some()" — verified:helios/src/model/packing.rsdiffvalues.push(i64::from(admission.grammar_enabled || admission.grammar_mask.is_some())).Admission::grammar_enabled+set_grammar_mask(mask, enabled)added inhelios/src/model/admission.rs. - "Added
RequestScheduler::{set_grammar_constrained, pause_for_park, finish_for_park}andLiveRequest::{pending, deferred_prefill, paused_for_park}" — verified inhelios/src/scheduler.rs: all three guards are atomic pre-check-then-mutate with typedErrstrings;set_grammar_constrainedrejectspending != 0,Inbound,Finishing, andSnapshotwithoutboundary_capture;pause_for_parkrequirespending != 0;finish_for_parkrejectspending != 0,Inbound, and aBoundaryKind::ConditionedWindowcapture.paused_for_parkadded toeligible(policy.rs:332-340), starvation detection, reservation refill, preemption, andsnapshot_discoveryclearing. - "Non-speculative models… keep
grammar_constrained = true(no two-frame pipelining) and initializegrammar_enabled = truewithgrammar_mask = None" — verified:Incoming::spec(speculative)setsgrammar_constrained: grammar.is_some() && (!speculative || !speculative_grammar_reasoning());device_grammar_enabled = grammar.is_some() && (!unmasked_reasoning || !speculative). - "Speculative models with per-step
GrammarEnabledbindings … toggle in place whenskipped == 0 && pending == 0 && extra == 0" — verified:sampling_graphs_bind_grammar_enabled()requiresValueSource::GrammarEnabledon everyPrefill|TerminalPrefill|ScoredPrefill|Decode|Speculative|Mixed|Resumegraph and returns false if any lacks it;can_toggle_livealso additionally requireslive.error_code.is_none(), a non-Inbound/Finishingphase, and notSnapshotwith a published terminal. - "…or
skipped == 0 && pending == 1: publish a terminal checkpoint (finish_for_park->Snapshot->finish->Restore), pausing while an in-flight second frame drains and verifyingconsumed_tokens <= exact_len" — verified:PendingGrammarPark{exact_len, emitted, remaining, speculative_reasoning, drop_reasoning, waiting_for_drain}; drain loop checkslive.pending() == 0, thenlive.error_code.is_some()→ fail+finish, elseconsumed_tokens <= exact_len && !deferred_prefill→finish_for_park, else falls back to the legacyGrammarTransition(cancel). Generation accounting usespark.emittedrather thanlive.generated_tokenswhile a park is pending (clear_active_slotpath). - "Device errors on the draining frame propagate instead of re-admitting" — verified:
request.incoming.fail(ExecutionError::Device { code: error }.into())thenscheduler.finish(handle). - "overshoot … retains the existing
cancel(handle)rollback path" — verified:else { transitions.push(GrammarTransition{…}) }whenskipped != 0orerror_code.is_some()ordeferred_prefill(). - "Replaced the single leading GPU loop in
restore_windowwithpartition_restore_pages… andrestore_single_unit, preserving maximal GPU-batched runs after leading or interleavedLiteral/CPU/singleton pages" — verified:partition_restore_pageswalks routes producing maximal same-class runs capped bygpu_batch_cap/cpu_batch_cap,>1→ Batch elseSingle; the oldall_pages_cpu_pathandelse { break; }GPU loop are deleted. The row path is factored intorestore_single_unit(row=true, …). - "skipping CPU
transform_nsaccounting on pure-Literalbatches" — verified both indecode_window(if items.iter().any(|(_, route, _)| *route != DecodeRoute::Literal)) andrestore_single_unit. - "Routed all five GPU codec lock sites … through
with_gpu_codec_lockedandtry_with_gpu_codec_locked, which always acquireCopyEngineGate::enter_offload_batchbeforegpu.codec.lock()/try_lock()" — verified in code, and this is a reversal of #628's recorded invariant (see the related-work entry). - "Enabled
PrefillCostModelforGraphKind::Mixedwith azero_fillbucket …, fallback tot_at_uminwhen NNLS clampstheta_0to zero,u_min > 0gating …, and same-(batch, width)peer KV-context slope borrowing" — verified inhelios/src/scheduler/cost.rs(see the change-detail entry). - "Updated
next_progress,continuation_candidate,mixed_candidates,resize_prefill,delivery_references, andservice_ratesto queryGraphKind::Mixeddurations at live(work, start_position)" — partly verified:policy.rsmixed_candidates(both the constant and the new non-constant predictor branch) and thefollowing == GraphKind::Mixedpath innext_progressare confirmed;service.rsservice_rates/continuation_candidatewere replacedshape_duration→mixed_entry/mixed_duration;delivery_referencesandresize_prefillwere not individually located. - "all new unit, scheduler, runtime-phase, and codec tests pass" / "live SM120 GPU codec capture/restore and
CopyEngineGatetests pass on RTX PRO 6000 Blackwell" / "all bounded TLA+ lifecycle conformance suites pass" — author-reported only, no CI run (CI pending), no logs attached. Of the 10 named new tests, the two codec ones and the two cost/policy ones map to plausible new test bodies; the listedmodel::tests::grammar_enabled_unmasked_packs_enabled_with_cached_all_ones_mask_and_toggles_in_placeis consistent with the diff. - "Expected serving impact (not benchmarked end-to-end here): eliminates 2K-32K KV and recurrent state wipes…" — explicitly a claim without measurement. The "2K-32K" figure has no supporting measurement or citation anywhere in the PR.
- Limitation: "
scripts/scheduling_sim/models scalar per-graph durations without per-fill/per-context NNLS strata." — accurate and self-disclosed; it means Layer-2 simulator validation of the Mixed pricing change was not done (the repo's design-review hierarchy expects a simulator gate; cf. #715's review flagging exactly that).
#16 [high] Reach: reasoning/structured-output users, older speculative cores, TP peer-copy users; docs gap in core/mtp/offload docs
Who/what #729 affects.
Users / operators:
- Anyone serving reasoning ("thinking") models with structured output (json_schema / json_object / Lark / strict tools). Behavior change: reasoning transitions stop re-prefilling 2K–32K tokens. Direct beneficiary of #530 (open: "Structured output decodes ~2-3x slower than unconstrained… MTP drops to width one").
- Non-speculative models: a behavior change —
grammar_constrainedstays true for the whole request, so those requests no longer get two-frame pipelining while in reasoning. #729 argues that pipelining "gain[ed] zero speculative width", but it does change per-request in-flight frame count and therefore ITL for co-batched peers; the author's own earlier #619/#626 review history shows this trade-off goes both ways. - Speculative models whose cores do not bind
ValueSource::GrammarEnabledon every sampling graph (i.e. cores exported before that binding existed): they take the new terminal-checkpoint park path, which adds aSnapshotgraph execution + aRestoreon every reasoning transition. That is extra GPU work per transition for third-party/older cores. #729 claims these cores "load and run without re-export or ABI changes" — true — but their runtime cost profile changes and no measurement is given. - CopyEngineGate / prefix-cache offload users (TP2+ peer-copy models,
kvc=cpu/kvc=gpu): restored GPU decode batching across heterogeneous windows, and (claimed) fewer forced CPU-decoding fallbacks in foreground restores. Affects SM120/SM121 PCIe workstation users the charter targets. GraphKind::Mixed(context-header / ATEM / TML envelopes) users: scheduler pricing changes. Because Mixed is only present in cores that export Mixed graphs, impact is confined to those models/recipes.
Configuration and defaults: #729 adds no new flags, no new policy fields, no new defaults — verified: no PolicyConfig change, no CLI/--scheduler-* addition, no new env var in the diff. Existing defaults (scheduler_checkpoint_extra_work_fraction = 0.05, estimate_ttl_ns) are untouched by this PR (the budget_interior_anchor/preserve_message_anchor default-behavior change is #697's, already merged). The only documented default interaction: docs/scheduling-runtime-design.md's cost-model spec now says Mixed uses the same strata + a zero-fill bucket.
Compatibility / dependencies / deployment: no Protobuf, no core-format, no .cu kernel, no dependency change (Cargo.toml untouched — not in the 14-file list). Existing cores load. No multi-host wire change. No on-disk format change (though note: nothing about Mixed strata or mixed_context_slopes is persisted either — cf. open #301 which wants to persist learned costs; #729's new strata would need to travel with that design).
Documentation: one file — docs/scheduling-runtime-design.md (+23/−18), two hunks: the duration-estimates section (stratification now covers MIXED + zero-fill bucket + u_min > 0 floor wording + (batch, width) peer slope) and the checkpoint-anchor section. Note the anchor hunk describes #697's already-merged behavior, not new work in #729 — so the docs diff mixes a description of merged behavior with the Mixed change. helios/README.md, docs/core-design.md, docs/cli-design.md, docs/prefix-cache-offload.md, docs/mtp-design.md were not updated, even though #729 changes grammar-transition behavior (documented in docs/core-design.md and docs/mtp-design.md by #626) and codec lock order (documented in docs/prefix-cache-offload.md by #628, which states the lock-order invariant #729 reverses). That is a documentation gap: a present-state doc now contradicts the code.
Tests: every one of the 10 named new tests is in-tree; test count in helios --lib is 1917 passed / 49 ignored per the author (the 6 excluded HF chat-template tests recur across #626/#645/#659/#697 bodies — a known environment gap, not specific to #729).
#17 [high] Why: defects were self-introduced by #525/#626/#628/#645 days earlier; no issue tracks any of them
Why — the problem, its provenance and its age.
The three defects #729 fixes were all introduced by recently-merged PRs in the same 5-day window, not by long-standing latent bugs. There is no issue tracking any of them, and no user report.
-
Grammar-transition KV wipe. Introduced by #626 (merged 2026-11-30, same author) whose transition design was "cancel the live slot via
RequestScheduler::cancel… parking the truncated prefix … thenRestore+ chunkedPrefillover the reasoning tokens since that checkpoint". #626's own body disclosed the cost ("Transition cost and limitations: Leaving speculative reasoning incurs one slot transition (cancel+Restore… + chunkedPrefillover the reasoning tokens since that checkpoint)"), and its Autobot review flagged "Every boundary transition re-prefillsRreasoning tokens since the prompt-end checkpoint (runtime.rs:2407-2449)". So the defect was known and accepted 4 days before #729. The underlying user-facing problem is older and tracked in open issue #530 ("Structured output (json_schema/json_object) decodes ~2-3x slower than unconstrained on DeepSeek-V4.1-Flash-1017 gb202 TP4 (MTP drops to width one)"), which #626 and #619 both cite and #729 does not cite. The "2K-32K KV and recurrent state wipes" figure in #729's body has no measurement, citation, or issue behind it. -
Codec GPU batching stopping on the first non-GPU page. Introduced by #525 (merged 2026-11-25, yatesdr): "Chunked capture waves to at most 4 batches per mutex acquisition in
codec.rs" and its concurrent table already showed foreground restores falling back to CPU decode (27/23 → 23/27 GPU/CPU-FB). #525's own review wrote: "'foreground restores' has no referent (it is restore'stry_lockat codec.rs:639 → CPU pool at 660-687)". The lock-order half was introduced by #628 (merged 2026-12-01, yatesdr), which explicitly stated the opposite invariant. Both #525 and #628 are merged and reviewed; #729 has no linked bug. -
Mixed flat nine-sample median. Introduced by #645 (merged 2026-11-30, same author), which built
PrefillCostModelfor pure prefill only and said so. The class of defect is tracked by #485 ("Scheduler ActionCosts aliases short- and long-context prefill timings, causing chunk-size drift at 64k–128k"), closed by #645 — but only for pure prefill. #729 does not cite #485 or note that Mixed remained uncovered.
How widely wanted: the outcomes are wanted — open issue #530 has been open across at least #619, #626 and #729; #485 was a real user-visible chunk-drift bug. But no one has asked for #729 itself: there is no issue, no request, no comment, and the PR is one day old. Ownership is entirely internal/self-directed cleanup by the same author, which is consistent with the charter's "solve the right problem in the right place" but also means there is no external validation that these are the highest-value fixes.
Age: opened and last updated 2026-12-04 17:35 (same minute) — under a day old at the time of this file. One commit-series push, never revised.
#18 [high] Process: open & ready-for-review, CI pending, untriaged, no reviewer engaged, --mutations unrun
Process state (all from read_item(729) + orientation packet):
- State: open, "ready for review" (not draft). Branch
helios-inplace-grammar-toggle-kv-cod→main. Head150f7051afd6fc026dc8aed5a2df4ec00a735a3c. Basecc0a49d. +2219/−370, 14 files. Opened 2026-12-04 17:35, updated 17:35. - CI on head
150f705: pending (orientation packet). No green run recorded, and the PR body's "Verified behavioral results" makes no reference to CI — every suite cited was run locally by the author. This matters because the sibling PRs in this cluster each had CI failures that had to be explained (#626 CI failing onf7907a2; #628 failing on1870a27; #619 failing on22a1dee, later attributed to pre-existingmainpytest failures; #645 green; #659 green on16e2247). #729 does not mention CI at all. - No reviewer assigned, 0 reviews, 0 comments. The repo's automated reviewer (
flare-autobot) has not run — for every comparable PR it opened a case file within ~20 minutes of push and posted a review ~20-90 minutes later (#626, #628, #619, #645, #659, #674, #697, #715 all have one). #729 has no case-file comment, meaning the hook has not yet fired. This is the single most likely near-term development. - No labels. Comparable scheduler PRs carry
area:scheduling,performance/bug/enhancement, andtriage:review(and sometimestriage:validation). Absence oftriage:review= not triaged. - No
Discord:line? — yes it has one (Discord: lukealonso), satisfying the AGENTS.md requirement that #525 was once dinged for. - No linked issues, no
Fixes #/Closes #trailer, no mention of predecessor PRs (#525/#619/#626/#628/#645/#659) whose code it changes. The repo convention is to link (e.g. #628 "Fixes #627", #645 "Closes #485"). - No
Design-Signed-Off-By:trailer or owner approval for the captured-graph op contracts. Per charter: "Captured-graph op contracts: Adding a new one—even if it reuses an existing graph kind—requires owner approval before you write it." #729 adds no new graph op and no newValueSource, so this should not apply — but #715's review was blocked on exactly this kind of sign-off, so a reviewer may ask. Worth stating the distinction: #729 changes the value packed into an existingValueSource::GrammarEnabled(allowingenabledwithout a mask), which is arguably a semantic widening of an existing binding rather than a new op. - Body is complete in the four expected parts (why / what / claimed result / evidence + limitations) and self-discloses five unrun checks — better disclosure discipline than several peers.
- TLA+ conformance: the author reports all 10 models + 9 Rust observed-edge suites passing (621,749 transitions) — note that is one more model and one more suite than #628/#619/#645/#659 reported (those list 8 models; the extra are
AsyncTransferand the 9th suite), so the harness has grown;--mutationswas not run, whereas #645 and #659 both ran it and the repo's design-review hierarchy expects it. cargo-kaninot run (not installed); the Kani-coveredStateView/completion-vector validators were not modified, so this is a genuine N/A, matching the precedent set in #619/#626/#645/#659 bodies.
#19 [high] Research summary
Case file gathered for PR #729 (open, ready for review, head 150f705, +2219/−370, 14 files, one day old). 18 scratchpad entries cover all eight angles.
Most important things a reader could not learn from the description:
-
pr_diffover-reports badly — the localmainref is stale (git can't readc513e46;mainpredates #655, #660, #674, #697, #709). The authoritative file list is the 14 inpr_files. Many hunks visible in the diff belong to already-merged PRs, not #729:RowRestoreLatency/worth_restore/observe_prefill_rate/clear_pool_lookup/offload::openreordering → #674/#709;preserve_message_anchor/budget_interior_anchor→ #660/#697;snapshot_discovery/measured_duration→ #655;device_spansnull-row guard and the codec GPU-test rewrites (row_capacity: 3,StateSlotId(1)/(2)) → #659. -
#729 reverses a lock-order invariant that #628 deliberately established. #628: "Preserve strict lock ordering (
gpu.codecbeforeCopyEngineGate) to prevent lock inversion againsttry_lock". #729 does the opposite (with_gpu_codec_locked/try_with_gpu_codec_lockedacquire the gate first) via the same five call sites. Its rationale is coherent, but #628's recorded invariant is superseded, not accidentally violated — andenter_offload_batchblocks untimed, so the order swap moves where a foreground restore can block. -
All three defects are self-inflicted by recently merged PRs, not long-standing: the cancel-based grammar transition is #626's (same author, 4 days earlier, which had disclosed the re-prefill cost); the codec batching is #525's; the lock order #628's; the flat Mixed median #645's (whose
PrefillCostModel#729 merely extends). No issue tracks any of them, and #729 cites no issue, PR, orFixes/Closestrailer — while open issue #530 (structured output 2–3× slower) and closed #485 are the uncredited ancestors. -
The "2K–32K KV wipe" and all performance claims are unmeasured; the PR says so. That is the clearest charter divergence (
#210requires served-workload A/B; #645/#659/#674/#715 shipped live numbers). Docs were updated in only one file, sodocs/core-design.md(not opened),docs/mtp-design.md(not opened) anddocs/prefix-cache-offload.md(not opened) now describe behavior the code no longer has. -
Merge-order risk is concrete: open #715 gates
PrefillCostModeland context-slope refresh onbatch == 1at exactly thecost.rssites #729 edits; #710 and #301 also touchcost.rs; #621 touchesadmission.rs; #718 overlaps 7 files.
Also recorded: the change's mechanics verified statically item-by-item (grammar paths, PendingGrammarPark drain/consumed_tokens <= exact_len guard, partition_restore_pages, zero_fill bucket/t_at_umin/theta_0 fallback/(batch,width) peer slopes), including one pure-prefill side effect (u_min > 0.0 floor gate); author is a charter priority contributor finishing their own merged series, with yatesdr owning the codec/gate lineage and original-el8 conflicting in cost.rs; zero comments, zero reviews, no labels, no Autobot case file, CI pending, --mutations and Kani unrun.
#20 [high] File map: what #729 actually changes in each of its 14 files (plain terms)
The 14 files #729 changes, with #729's own content (vs. hunks that are already-merged work — see the stale-base entry 3 — marked NOT #729):
helios/src/server/runtime.rs(+270/−26) — THE core of bucket 1. AddsIncoming::spec(speculative)makinggrammar_constrainedstay true for non-speculative models;device_grammar_enabledcomputation;sampling_graphs_bind_grammar_enabled(config)(scansconfig.contract.graphsforValueSource::GrammarEnabledon Prefill/TerminalPrefill/ScoredPrefill/Decode/Speculative/Mixed/Resume);struct PendingGrammarPark{exact_len, emitted, remaining, speculative_reasoning, drop_reasoning, waiting_for_drain}; three-way branch inWorker::complete(toggle-in-place / checkpoint-park / legacyGrammarTransitioncancel); a post-completedrain loop overmeasured_step.lanes; the park completion arm in the Finishing branch (Snapshot→park_with_tokens(..., publish_terminal=true)); generated-token accounting switched topark.emitted;Active.pending_grammar_parkfield. NOT #729:RowRestoreLatency/RowRestoreSource,worth_restore/estimated_prefill_saved_seconds,observe_prefill_raterewrite,clear_pool_lookup/pool_lookup_reissued, freeclose_store+ offload-open reordering,attach_async_transfers(#674/#709/#711).helios/src/server/runtime/phase_tests.rs(+503/−15) — 5 new named phase tests +preserve_message_anchor: falsefixture updates (the latter are #697's).helios/src/scheduler.rs(+78/−0) —RequestSpec.preserve_message_anchor&LiveRequest.preserve_message_anchorNOT #729 (#697); #729 addsLiveRequest.paused_for_park+pending()/deferred_prefill()accessors,paused_for_parkexclusions in starvation/reservation-refill/preemption/growable_outputscans,snapshot_discoveryclearing inretire/Snapshot arms, andset_grammar_constrained/pause_for_park/finish_for_park. NOT #729:freeable_prefix_scratch,partition_conditioned_windows/conditioned_window_ends,refresh_admission_plan_in_place,AdmissionPlan: Clone,evict_for_pressure_cached(attribution unresolved; most plausibly #674/#715-era).helios/src/scheduler/policy.rs(+276/−10) — bucket 3 non-test work +paused_for_parkineligible. New non-constant-predictor branches inmixed_candidatesand thefollowing == GraphKind::Mixedpath ofnext_progress(per-prompt cohort re-scoring withpred.predict(work, start_pos)and decode atpred.predict(0,0));resize_prefill/durationusesmixed_duration(batch, capacity, prefill, work, scheduled_consumed).helios/src/scheduler/cost.rs(+309/−38) — bucket 3 mechanics (see entry 9). NOT #729:fresh_duration→measured_durationand its test (#655).helios/src/scheduler/service.rs(+13/−8) —shape_duration(Mixed,…)→mixed_entry(...)/predict at live(work, start_position)and(0,0)for decode-only lanes;service_ratesandcontinuation_candidate.helios/src/scheduler/tests.rs(+78/−0) —set_grammar_constrained_and_checkpoint_park_guards_reject_invalid_states_atomically.helios/src/scheduler/policy_tests.rs(+68/−0) —mixed_candidates_price_fill_and_kv_context_per_prompt_and_decode_only.helios/src/model/admission.rs(+15/−2) —Admission::grammar_enabled,set_grammar_mask(mask, enabled),from_continuation(...)/validate_continuation(...). Thevalidate_continuation/initial_prompt_tokenshalf attribution unresolved (not described in #729's body).helios/src/model/packing.rs(+3/−1) —GrammarEnabledpacksgrammar_enabled || grammar_mask.is_some().helios/src/model/tests.rs(+95/−1) —grammar_enabled_unmasked_packs_enabled_with_cached_all_ones_mask_and_toggles_in_place+ fixtures.helios/src/model/packed_round_tests.rs(+1/−1) — fixture.helios/src/offload/transfer/codec.rs(+487/−250) — bucket 2:partition_restore_pages/PageRun/PageRunKind,restore_single_unit,with_gpu_codec_locked/try_with_gpu_codec_locked, deletion ofall_pages_cpu_path+ the leading GPU run loop, Literal-onlytransform_nsskip, row path factored out. NOT #729:device_spansnull-row guard, 3-row codec test rewrites,device_spans_rejects_null_state_slot_zero(#659).docs/scheduling-runtime-design.md(+23/−18) — two hunks: Mixed stratification spec (bucket 3) and the checkpoint-anchor paragraph (describes #697's already-merged behavior).
Net: bucket 1 ≈ runtime.rs + admission/packing + scheduler guards; bucket 2 ≈ codec.rs; bucket 3 ≈ cost/policy/service + doc hunk. All three are independent of one another — separable for review or merge.
#21 [high] Report skeleton: cross-references and the connection graph
Suggested Key findings order (most-unlearnable first):
- Stale-base diff inflation + which hunks are whose (entries 3, 10). Anyone re-deriving the diff will otherwise mis-attribute ~half of it.
- #729 reverses #628's explicit lock-order invariant in the same five codec sites, and the swap changes where a foreground restore can block (
enter_offload_batchblocks untimed) (entries 5, 12). - All three defects are self-introduced by merged PRs 1–9 days earlier (#525 → batching, #628 → lock order, #626 → grammar cancel path, #645 → flat Mixed median); no issue tracks any of them; #530 and #485 are the uncredited ancestors (entries 4, 7, 8, 17).
- Zero performance evidence; the PR says "not benchmarked end-to-end here" — charter
#210divergence; peers #645/#659/#674/#715 all shipped live A/B (entries 14, 15). - Docs gap: only
docs/scheduling-runtime-design.mdupdated, sodocs/core-design.md/docs/mtp-design.md(#626's grammar-transition docs) anddocs/prefix-cache-offload.md(#628's lock-order doc) now contradict the code (entry 16). - Concrete merge-order conflicts: #715 lands on the same
cost.rssites, #710/#301 alsocost.rs, #621admission.rs, #718 7 files (entry 11). - A behavior change for older speculative cores without
GrammarEnabledbindings: they now pay aSnapshot+Restoreper reasoning transition (entry 16). - One pure-prefill side effect inside bucket 3: the
u_min > 0.0floor gate plus a zero-fill point enteringfit()(entry 9).
Connection graph to state explicitly:
- lukealonso authored #619 → #626 → (reuses cancel) → #645 (PrefillCostModel) → #659 (codec/device_spans) → #729 (fixes the loose ends of all four). Same author throughout; #729 is four days behind #626 and one day behind #659.
- yatesdr authored #504/#525/#628/#655/#674 and owns
copy_gate.rs; #729 reverses #628's invariant and rewrites #525's capture/restore loops → the natural, and so-far absent, reviewer. - original-el8's #715 changes
PrefillCostModelgating incost.rsat the same lines → hard textual conflict. - FujitsuPolycom's #697/#661 supply the
preserve_message_anchor/budget_interior_anchorhunks that appear in #729's diff and its doc hunk. - ebfio's open #698 is the same
cuModuleLoadData/RankExecutor::newfix that sits in #729's diff as #709's work. - Open issue #530 links #619 and #626 (both cite it) but not #729.
Angles with genuinely little to report: recent-activity commit history is unavailable (orientation packet git errors; search_history fails identically) and the packet states no default-branch commits touched these files since cc0a49d; community is empty (0 comments/reviews/reactions, no Autobot case file, no labels). Both should be written up as findings rather than omitted.
#23 [high] AMENDMENT 2026-12-05: PR #729 revised at 68fe22f — review blockers fixed, scope and evidence changed
Supersedes parts of entries #1–#18 and the report #22. New head 68fe22fd ("helios: harden grammar park preemption, non-blocking copy gate, mixed cost bounds, and lifecycle verification"), 2026-12-04 23:33; +2954/−591 over 24 files (was +2219/−370 over 14). Labels now area:scheduling, bug, performance, triage:review. PR body rewritten: four-part form, now links #530/#626/#628/#645 explicitly ("building on #530, #626, #628, and #645"). Community: flare-autobot case file (18:00) and Autobot Review (18:24, Changes Requested, 5 blockers) at 150f705; still zero human comments or reviews; head has not been re-reviewed.
RESOLVED (my earlier findings now stale):
- Lock-order stall (my finding 3, entries #5/#12): new
CopyEngineGate::try_enter_offload_batch(helios/src/offload/copy_gate.rs:204-212) returnsNonewithout waiting or mutatingoffload_batches_waiting/offload_wave_remaining, via sharedoffload_must_wait(copy_gate.rs:168-176).try_with_gpu_codec_locked(codec.rs:895-906) now doescodec.try_lock().ok()?first, thentry_enter_offload_batch()?— the unboundedenter_offload_batchwait ahead oftry_lockand the "burns two wave tokens" defect are both gone. Background captures keep the blocking gate→codec pathwith_gpu_codec_locked(codec.rs:881-889). Only non-helper site:codec.rs:125codec.lock().unwrap().page_batch_cap()at codec construction (no gate; construction-time, no peer graphs). - Review's blocker "publish/park_if_preempted ordering discards grammar mode and cut.after": fixed —
Worker::publishappliespending_grammar_parkbeforepark_if_preempted(helios/src/server/runtime.rs:2561-2589) andpark_if_preemptedreturns early when a park is pending (runtime.rs:2786-2792);!live.paused_for_park()is part of the arm. New named testpreemption_coincident_with_grammar_transition_preserves_grammar_mode_and_reasoning_budget(phase_tests.rs) + mutation guard inverification/helios-lifecycle/check.py. - Layer-3/TLA+ gap:
Lifecycle.tlaaddsPaused == 3(:11),PauseForPark/FinishForPark/ToggleGrammar(:63-80), phase domain andAllowedEdge7/8/9 (:99, :174-176);lifecycle_tests.rstracks 7 new coverage booleans and checks rejections + "paused request never planned";README.md:63-65maps model→Rust.check.pyadds 3 scheduler mutations + 1policy.rspaused_for_park-bypass mutation + 1 runtime publish-ordering mutation + 1copy_gatetry-entry mutation. Model nuance:ToggleGrammaris an identity transition and models onlyphase = Live ∧ not-queued, weaker than the Rust guard (which also excludespending != 0,Finishing, terminalSnapshot). - Docs gap: now five docs updated —
docs/{api,core-design,mtp-design,prefix-cache-offload,scheduling-runtime-design}.md.prefix-cache-offload.md:95-107describes gate-before-codec + non-blocking foreground fallback + run partitioning.scheduling-runtime-design.md:466-484matches code (pos_u_*, narrow positive-fill floor,zero_fill-anchoredtheta_0). - Grammar-state model:
AdmissionGrammar::{Disabled,UnmaskedEnabled,Masked(Vec<i32>)}(helios/src/model/admission.rs:59-88), re-exportedhelios/src/model.rs:24;GrammarEnabledpacksadmission.grammar.is_enabled()(packing.rsGrammarEnabled arm); masking test usesgrammar.mask(). - Ordering fix in
ToggleInPlace:set_grammar_constrainednow runs before mutatinggrammar_reasoning_mode/reasoning/admission (runtime.rs:2389-2399), so a rejected toggle no longer leaves admission mutated.decide_grammar_transition(runtime.rs:517-545) centralises the three-way decision;CheckpointPark{pause_for_drain}replaceswaiting_for_drain;park_if_preemptedis suppressed while a park is pending. - Guard refinement:
set_grammar_constrainedpermitsSnapshotwithboundary_capture(scheduler.rs:3244-3251);finish_for_park(scheduler.rs:3271-3299) rejects aBoundaryKind::ConditionedWindowcapture and clearspaused_for_park(unpause path,:3287). - Codec perf: per-page
DeviceSpan/&[u8]clones removed (decode_pages_cpu_batch/restore_single_unittake slices;partition_restore_pages_byavoids the routeVec). - Evidence for bucket 1: live
flare runA/B on SM120 RTX PRO 6000 serving signed Qwen4-35B-A3B (origin/main f705086bvs68fe22fd), 3 trials × 2 prompt lengths,--mtp-draft-tokens 0: reasoning-close gap 41.2→12.4 ms (6,382 tok) and 58.5→12.9 ms (20,648 tok), 6/6 schema-valid JSON; counters: prefill tokens 84,638→81,832, prefill launches 62→54, snapshot backing pages 2,880→2,112.
STILL OPEN AFTER THE REVISION:
- A real regression is disclosed, not fixed: default MTP 5 at 20,648 prompt tokens is 40.9 → 54.1 ms (30% worse) because a
pause_for_parkdrain waits one speculative frame before the overshoot rollback; 6,382-token cell flat (39.1 vs 39.0). No threshold/gate to skip parking when overshoot is likely. - Buckets 2 and 3 remain unbenchmarked end-to-end (self-disclosed: no exported SM120 core with
GraphKind::Mixedgraphs orcodec_layout); charter #210 /docs/design-review.md:106-115only half satisfied. Layer-2 simulator still not exercised:scripts/scheduling_simmodels scalar per-graph costs (no NNLS strata) —docs/design-review.md:234-251says disclosure does not excuse. Autobot Review also flags no legacy-core loading/serving run (though bucket-1 A/B used an existing core lackingValueSource::GrammarEnabled, which is the relevant compatibility case). - #715 conflict worsened and is now explicit: #715 at
49d5840(33 files, +2257/−115) documents "PrefillCostModeland context-slope borrowing scoped tobatch == 1" and edits the samedocs/scheduling-runtime-design.mdparagraph (+15/−9); #715's review pins its gates atcost.rs:581-583,606-607,644-659,969— the same sites #729 edits to addGraphKind::Mixed. Mutually contradictory docs + unavoidable textual conflict. - #628's lock invariant is still reversed for the capture path and is now nowhere stated in
docs/(greplock orderfinds nothing indocs/prefix-cache-offload.md); the ordering lives only in code comments (codec.rs:879-880). yatesdr sign-off still absent. - Bundling: 24 files / +2954 lines across three unrelated subsystems; the revision added a fourth surface (TLA+/
check.py). - Nit:
try_enter_offload_batchnever incrementsoffload_batches_waiting, so CPU-fallback restores are invisible to gate turn-fairness accounting (intended, untested for starvation).
#24 [high] AMENDMENT to claims-vs-evidence: which of #729's claims are now measured at 68fe22f
Amends entry #15 (claims vs evidence at 150f705). At 68fe22fd the claims table changes as follows.
NOW MEASURED (bucket 1 only), live flare run SM120 RTX PRO 6000, signed Qwen4-35B-A3B-FLARE-gb202-tp1-202612032159-signed, origin/main f705086b vs 68fe22fd, 3 trials × 2 prompt lengths, strict JSON schema response_format, identical seeds:
--mtp-draft-tokens 0:think->contentmedian 41.2 ms (35.2/41.2/43.5) → 12.4 ms (12.4/12.4/12.8) at 6,382 prompt tokens; 58.5 ms (58.2/58.5/61.6) → 12.9 ms (12.6/12.9/22.1) at 20,648. 3/3 valid JSON both builds. This is the first served-workload A/B, satisfying#210/docs/design-review.md:106-115for the grammar-park bucket.- Aggregate counters over 7 requests (1 warmup + 6 measured),
--mtp-draft-tokens 0:flare_cache_lookups_total14→7,flare_prefill_tokens_total84,638→81,832,flare_sampling_graph_launches_total{kind="prefill"}62→54,flare_snapshot_publications_total30→22,flare_snapshot_backing_pages2,880→2,112 (−26.7%). The earlier "2K–32K KV wipe" figure is now retracted/replaced by these measured numbers. - Default MTP 5, no
ValueSource::GrammarEnabledbinding (the legacy-core path): 6/6 valid JSON both builds; 6,382 tok 39.1→39.0 ms (flat); 20,648 tok 40.9→54.1 ms (PR slower, +13 ms) — the PR attributes it to waiting one speculative frame underpause_for_parkbefore Frame 2 overshoots and rolls back. Disclosed as an expected consequence of burst overshoot (</think>\n\n{overshoots in Frame 1 or 2 at widths 3–6).
STILL UNMEASURED / VERIFIED ONLY BY UNIT + FORMAL CHECKS (self-disclosed in "Unrun checks and material limitations"):
- Bucket 2 (codec restore batching + gate): no whole-model
flare run; validated by 4 ignoredoffload::transfer::codec::tests::on live SM120 GPU hardware plustests/test_kv_codec.pyin the 1,115-passing pytest set. - Bucket 3 (Mixed NNLS): no exported core with
GraphKind::Mixedlocally; unit tests only, and the Layer-2 gate is explicitly not met —scripts/scheduling_sim/models scalar per-graph costs, not(fill, kv_context)curves, and the author says so.docs/design-review.md:234-251("Never touch covered code without running and updating its simulator…", "Disclosure does not excuse skipping runnable CPU checks") makes that a design-review failure, not a note. cargo-kaninot run (not installed; deferred to CI); 9 HF chat-template tests and 39 checkpoint-gated integration tests not run (environment).- Reported suites:
helios --lib1,919 passed / 49 ignored,--test '*'59 passed;eos12;selene586;selene-manager443;flare255;flare-cli250; pytest 1,115. TLA+: 10 models,Lifecycle.tla18,790 states / 2,896 distinct / depth 14, 0 errors; 623,904 observed Rust transitions, 3,865 transitions and 2,979 states againstLifecycle.tla; 56/56 mutations detected (17 TLA+ + 39 Rust, incl. 6 new). - Verification at the review was against
150f705only; no CI run is reported for68fe22fdand no re-review has happened.
Judgment for the report: the evidence gap has shrunk from "all three buckets unmeasured" to "one of three buckets measured on a real served workload, one measured at unit/GPU-test level only, one unit-only and explicitly outside the simulator's model" — but the scope grew from 14 to 24 files while doing so.
#25 [high] Research summary
Amendment recorded as scratchpad entries #23 and #24; they supersede parts of #1–#21 and the report #22.
The PR was substantially revised (head 150f705 → 68fe22fd, +2219/−370 over 14 files → +2954/−591 over 24 files), triaged (area:scheduling, bug, performance, triage:review), given a case file and an Autobot Review (Changes Requested at 150f705), and rewritten to link #530/#626/#628/#645 and to ship a live served A/B for one of its three buckets. Five of my ten key findings are now stale and must be retracted or downgraded: the untimed-enter_offload_batch-before-try_lock stall (fixed by a non-blocking CopyEngineGate::try_enter_offload_batch, copy_gate.rs:204-212 (not opened), used after codec.try_lock in codec.rs:895-906); the publish/park_if_preempted ordering defect (fixed at runtime.rs:2561-2589, 2786-2792); the missing Layer-3 lifecycle coverage (Lifecycle.tla gains Paused plus three operations); the docs contradiction (five docs now updated, prefix-cache-offload.md:95-107 states the new lock order); and "zero performance evidence" (bucket 1 now has flare run A/B on SM120: 41.2→12.4 ms and 58.5→12.9 ms reasoning-close gaps, 6/6 schema-valid JSON).
What survives and what is new: bucket 2 stays unit/GPU-test-only and bucket 3 stays unit-only and explicitly outside scripts/scheduling_sim's model, so docs/design-review.md:234-251 is still unmet for those two; the revision discloses a live regression rather than fixing it (default MTP 5 at 20,648 tokens: 40.9 → 54.1 ms); the #715 conflict is now explicit and self-contradictory in a shared doc paragraph; #628's reversed lock invariant is still unrecorded in prose and unsigned by yatesdr; and the bundle grew to 24 files / four review surfaces while still drawing zero human review.
#26 [high] AMENDMENT to file map and scope: 24 files at 68fe22f, ten of them new
Replaces the per-file table in entry #20 (which described 150f705, 14 files, +2219/−370). New head 68fe22fd, +2954/−591, 24 files.
Ten files are new relative to the 150f705 set (the other 14 are the same paths with larger deltas):
docs/api.md(+11/−8) — strict-tool grammar paragraph rewritten: host validation without per-step vocabulary-mask recomputation, non-speculative keeps one step in flight with all-ones mask and toggles in place, speculative keeps full widths and transitions via in-place toggle or terminal-checkpoint restore with rollback fallback.docs/core-design.md(+16/−8) — same, namingValueSource::GrammarEnabledbinding as the toggle criterion and theSnapshot→Restorepath for cores without it.docs/mtp-design.md(+31/−9) — three-bullet restatement of ToggleInPlace / CheckpointPark (consumed_tokens <= exact_len) / Rollback.docs/prefix-cache-offload.md(+13/−6) — gate-before-codec for captures, maximal GPU/CPU/singleton run partitioning, non-blocking foregroundtry_enter_offload_batchfallback (:95-107).helios/src/model.rs(+1/−1) — re-exportAdmissionGrammar.helios/src/offload/copy_gate.rs(+70/−14) —offload_must_wait,take_offload_lease,try_enter_offload_batch(:204-212) +try_enter_offload_batch_returns_none_without_blocking_or_burning_wave_tokenstest (:662).helios/src/scheduler/lifecycle_tests.rs(+129/−3) —Pausedstate in the conformance fixture, actions 7/8/9, seven coverage booleans (incl.cancelled_while_paused,rejected_{pause_idle,toggle_pending,finish_pending}).verification/helios-lifecycle/Lifecycle.tla(+24/−2) —Paused == 3(:11),PauseForPark/FinishForPark/ToggleGrammar(:63-80), widened phase domain (:99) andAllowedEdgecases 7/8/9 (:174-176).verification/helios-lifecycle/README.md(+7/−3) — model→Rust operation table (:63-65).verification/helios-lifecycle/check.py(+50/−0) — three scheduler mutations, apolicy.rspaused_for_park-bypass mutation, aruntime.rspublish-ordering mutation, acopy_gate.rstry-entry mutation.
Changed deltas on the pre-existing files: codec.rs +518/−255 (was +487/−250), cost.rs +376/−64 (was +309/−38), policy.rs +292/−57 (was +276/−10), runtime.rs +294/−71 (was +270/−26), phase_tests.rs +686/−24 (was +503/−15), admission.rs +53/−9 (was +15/−2), model/tests.rs +109/−24 (was +95/−1), scheduler.rs +82/−0, lifecycle_tests.rs now separate, docs/scheduling-runtime-design.md +26/−18 (was +23/−18). Unchanged: service.rs +13/−8, policy_tests.rs +68/−0, scheduler/tests.rs +78/−0, packing.rs +6/−6, packed_round_tests.rs +1/−1.
Void in entry #20: item 9 says Admission::grammar_enabled + set_grammar_mask(mask, enabled); at 68fe22f both fields and that setter are gone, replaced by AdmissionGrammar::{Disabled,UnmaskedEnabled,Masked(Vec<i32>)} (admission.rs:59-88) with is_enabled()/mask()/mask_mut() and Admission::set_grammar(AdmissionGrammar). packing.rs packs admission.grammar.is_enabled().
Void in entry #16: "one file — docs/scheduling-runtime-design.md" was the docs-gap finding; five docs are now updated and the codec doc states the new lock order. What survives of #16 is the behaviour-change-for-older-cores point, now with a measured cost (MTP 5 at 20,648 tokens, see #24), and the fact that docs/prefix-cache-offload.md still never states the gpu.codec-before-CopyEngineGate invariant in prose — the order exists only in the code comment at codec.rs:879-880.
Still absent from the 24-file list: helios/src/scheduler/checkpoints.rs and helios/src/server/request.rs, confirming those hunks in a raw pr_diff remain stale-base artifacts (entry #3) and are not #729's work.
#27 [high] AMENDMENT to charter mapping and to the Autobot-review baseline
Amends entry #14 (charter fit) and #18/#6 (process/community).
Charter items now satisfied at 68fe22fd that were not at 150f705:
- "Bring real evidence… benchmarks showing an actual speedup over
mainon a served workload (#210)" — satisfied for one of three buckets: servedflare runA/B on SM120 RTX PRO 6000 of signed Qwen4-35B-A3B, reasoning-close latency 41.2→12.4 ms and 58.5→12.9 ms, counters and 6/6 schema validity (docs/design-review.md:106-115). Still unmet for bucket 2 (codec) and bucket 3 (Mixed NNLS), which are unit/GPU-test only, and the Layer-2 simulator gate (docs/design-review.md:218-251) is explicitly not runnable for bucket 3 becausescripts/scheduling_simprices scalar per-graph durations, not(fill, kv_context)curves. - "PRs that address a maintainer request… or a reproducible bug" and the repo's link convention (#628 "Fixes #627", #645 "Closes #485"): the body now says it builds on
#530, #626, #628, #645andread_item(729)reports mentions of #210, #267, #334, #525, #530, #626, #628, #645, #715. NoFixes/Closestrailer, so nothing closes an issue, but the "cites no issue or PR" finding is retracted. - Focus ("Stay focused… not interested in… broad"): worse, not better — 24 files and four review surfaces (runtime, codec, cost model, TLA+/mutation fixtures) versus 14 at the first head.
Unchanged charter fit: model-agnostic (no model-name branches; the split is derived from config.speculative_widths.is_empty() and a scan of config.contract.graphs for ValueSource::GrammarEnabled); no new flags, no ABI or core-format change, no Protobuf, no .cu kernel; no on-disk format addition even though open #301 wants persisted learned costs (the new zero_fill strata and mixed_context_slopes exist only in memory).
Process baseline that must not be cited as current: the Autobot Review (2026-12-04 18:24, "Changes Requested", 5 blockers / 3 should-fix / 6 subtract / 3 nits) was verified against 150f705. Its blockers on lock order, publish/park ordering, and TLA+ coverage are addressed at 68fe22fd (see #23); citing them as live defects would be wrong. Its remaining valid content is the unbenchmarked buckets 2–3, the #715 textual conflict, the missing yatesdr sign-off for reversing #628's invariant, and the undisclosed legacy-core cost — all carried forward in #23/#24.
Community state at 68fe22fd: labels added (area:scheduling, bug, performance, triage:review), case file and one automated review, still zero human comments, reviews, or reactions, no assignee, no CI result reported for the new head, and no re-review (the hook auto-runs 90 minutes after a push; the push was 23:33).
#9 [medium] Change detail: Mixed NNLS stratification mechanics and its pure-prefill side effect
Third bucket of #729 (Mixed graph NNLS stratification), verified in the codec/cost diff (helios/src/scheduler/cost.rs):
PrefillPredictorgains at_at_uminfield (cost.rs:83-90);is_constant()loses#[cfg(test)](now used in production paths).upward_extrapolation_floorgains aself.u_min > 0.0guard (cost.rs:130-140) — this is a behavior change to pure-prefill pricing as well, not only Mixed; with a zero-fill point now potentially inu_min, the narrow-fill floor would otherwise misfire.PrefillPredictor::predictspecial-caseswork == 0: usestheta[0]if positive and finite, elset_at_umin, clamped to[1, u64::MAX](cost.rs:173-190). Comment in docs: "Decode-onlyMIXEDqueries (work == 0) usetheta_0when positive and fall back to the lowest-fill observed median when nonnegative least squares clampstheta_0to zero."PrefillCostModelgains azero_fill: PrefillBucket(cost.rs:283-300), reset alongside strata on non-fresh samples (reset_with_full,observe).fit()now allocatesPREFILL_STRATA + 1points and applies the same(u,h)min/max tracking to the zero-fill point via arecord_pointclosure (cost.rs:340-390); newt_at_umin/h_at_umintie-breaking.ActionCostsgainsmixed_context_slopes: Vec<(batch, width, prefill_capacity, theta_2/prefill_capacity, observed_at_ns)>(cost.rs:595-600), refreshed whenkey.kind.is_prefill() || key.kind == GraphKind::Mixed(cost.rs:625-630,1078-1085).estimate_for/entry creation now gives aPrefillCostModeltoGraphKind::Mixedwhenkey.prefill > 0(cost.rs:650-660).- New
ActionCosts::mixed_entry(batch, width, prefill) -> Option<Option<PrefillPredictor>>andmixed_duration(..., work, start_position)(cost.rs:738-782);mixed_entryreturnsSome(None)for an unmeasured (nanos == 0) entry and borrowsborrowed_mixed_context_slopewhen the predictor has no deep context. borrowed_mixed_context_sloperequires the peer to match BOTHbatchandwidthand be strictly larger inprefillplus fresh (cost.rs:880-900) — this "same-(batch, width)peer" restriction is a deliberate difference from the pure-prefill version, which requiresbatch == 1and matches by kind only (refresh_prefill_context_slopes).duration_for_step/observeroute Mixed steps through the Mixed predictor, reading(work, start_position)fromstep.mixed.prefill_row's lane and falling back to(0, 0)then(step.prefill_capacity(), 0)(cost.rs:1040-1100).
Note the measured_duration rename (fresh_duration → measured_duration) and its test measured_duration_uses_smallest_measured_batch_and_retains_after_ttl are #655's work, not #729's (see entry 3).
Charter tension to note: the charter says "GPU kernel code: report concrete defects only" and "Bring real evidence. Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210)". #729's own body says "Expected serving impact (not benchmarked end-to-end here)" and under Limitations "No end-to-end exported-core flare run latency or throughput benchmark was run on this branch." Compare #645 (same author, same area) which did include live SM120 A/B tables, and #674/#628 which included them too.
#12 [medium] Change detail: CopyEngineGate.enter_offload_batch blocks untimed, so the order swap moves the block point
CopyEngineGate (introduced by #628, helios/src/offload/copy_gate.rs) verified at the stale-main ref but that file is unchanged by #729 so it is current:
PEER_GRAPH_GATE_TIMEOUT = 120 s(copy_gate.rs:28) applies ONLY to peer graphs;MAX_PEER_STREAK_WHILE_OFFLOAD_WAITING = 4(copy_gate.rs:34) bounds offload starvation.enter_offload_batch(&self) -> OffloadBatchGuard<'_>takes&self(NOTArc<Self>) and blocks onself.changed.wait(state)with no timeout (copy_gate.rs:173-195). So under #729's new order (with_gpu_codec_locked), an offload/bg-capture thread blocks on the gate while holding no codec mutex — which is exactly the property #729 claims and the opposite of #628's order.must_waitis true whenpeer_graphs_active > 0or peer graphs are waiting outside an armed offload wave (copy_gate.rs:175-179). Turning on #628'sshould_yield_to_offloadfairness is what lets offload progress. Consequence for review: #729'stry_with_gpu_codec_lockedacquires the gate thentry_locks the codec. If the gate blocks (peer graph active), a foreground restore now waits on the gate before it can even discover the codec is free — the CPU-decoding fallback that #729 wants to preserve is reached only after the gate wait. In #628's order the restore'stry_locksucceeded immediately if no capture held the mutex. This is a real semantic difference worth flagging as a question, not a proven defect:try_with_gpu_codec_locked's doc comment says "ReturnsNonewhen another thread currently holds the codec mutex, releasing the gate immediately so foreground restores can fall back to CPU decoding without blocking" — but the gate acquisition itself is the blocking step, not thetry_lock. (Judgement call for a reviewer; recorded as an observation, unverified against runtime.)
#13 [medium] People: author is a priority contributor finishing their own merged series; area owners identified
Author: lukealonso, GitHub association COLLABORATOR, charter-listed priority contributor (read_charter: "Priority contributors (@voipmonitor, @original-el8, @lukealonso) carry extra weight—we never close their PRs out of hand as 'low value'"). 51 merged PRs in the last 180 days, 0 closed, 3 open (#728, #727, #723, all opened 2026-12-04, i.e. the same day as #729). Areas touched historically: helios/src (36), docs (31), ignition/preparation (20), tests/preparation (15), flare-cli/src (14).
The author's immediately preceding work is a rapid series on exactly these three subsystems, all merged within 5 days of #729:
- #619 (merged 11-29) host-stop speculation → cancel/drain pattern.
- #626 (merged 11-30) speculative grammar reasoning → the cancel-based grammar transition #729 replaces.
- #645 (merged 11-30) PrefillCostModel → the NNLS model #729 extends to Mixed.
- #659 (merged 12-03) null-row sentinel aliasing →
codec.rs+device_spansslot-0 rejection. - #708 (merged 12-03) VLM continuation readmission; #709 (merged 12-03) lossless KV compression; #711/#720/#721 (merged 12-03/04) AsyncTransfer + RankBody visitors. So #729 reads as the author tidying up loose ends of their own merged series.
Other people who work in these areas (from items_touching and related items):
- yatesdr (COLLABORATOR): owns the KV codec and CopyEngineGate lineage — #504, #525, #628, #655, #674; author of
copy_gate.rs. The natural reviewer for #729's second bucket, and the person whose #628 invariant #729 reverses. - original-el8 (COLLABORATOR, priority contributor): #715 (open, packed prefill), #710 (open, cost/forecast). Direct file conflicts with #729 in
cost.rs. - FujitsuPolycom (CONTRIBUTOR): #661 (merged, cost.rs), #697 (merged, checkpoint anchor /
preserve_message_anchor). - voipmonitor (COLLABORATOR, priority contributor): #555 (merged, cost.rs).
- shadownetX: #301 (open, cost.rs persistence).
- ebfio: #698 (open) — the same
cuModuleLoadData/RankExecutor::newordering fix that appears in #729's diff (that hunk is #709's, but #698 is still open and may conflict/supersede).
Engagement on #729 itself: none (see the community entry). No one has reviewed it.
Recent activity in the touched areas: the orientation packet could not list commits ("git: error: Could not read c513e46a79f3b6ac510235aaf09bcf055b841958"; search_history fails the same way), and states "Commits on the default branch since this pull request branched (cc0a49d), touching its changed files: none". That is consistent with #729 branching from a fresh cc0a49d main.