#1 [high] Change: what PR #708 actually does (7 files, +736/−56)
PR #708 (open, head 4fee325, base main, +736/−56, 7 files) by lukealonso.
Production changes (3 files):
- ignition/components/vision_state.py (1–62):
VisionState.__init__nowimage_token=Nonedefault (line 26).validate_prefill(38–49) rewritten from token-keyed to index-keyed:visual = index >= 0; valid =(index == -1) | (visual & index < count[slot] & index < arena.shape[1]); whenimage_tokenis not None,valid &= ~visual | (tokens == image_token); generation / feature_slot checks gated on~visual.inject(51–61) now replaces embeddings wherevisual = (index>=0)&(index<arena.shape[1])&(feature_slot>=0)&(feature_slot<arena.shape[0]), no longer onmetadata.token_ids == image_token; also usesmetadatano longer. - helios/src/model.rs:
validate_prompt_data(404-406) becomes a wrapper delegating to newvalidate_continuation_prompt_data(config, tokens, data, initial_prompt_tokens)(408+, ~51/-13). New rejections:initial_prompt_tokens == 0 && !tokens.is_empty(),initial_prompt_tokens > tokens.len(); vision index check now per-position and requires nonnegative index only belowinitial_prompt_tokens; span end must be<= initial_prompt_tokens; new ruletokens[initial_prompt_tokens..]must all be< config.contract.vocabulary; feature-token bijection only in0..initial_prompt_tokens, continuation positions requireindex == -1; scoped span-token check restricted totokens[..initial_prompt_tokens]. - helios/src/model/admission.rs:
Admission::validate→ newvalidate_continuation(config, initial_prompt_tokens)(73-110);Admission::from_prompt→ newfrom_continuation(config, handle, prompt, initial_prompt_tokens, ignore_eos, grammar_constrained)(125+). Both old names preserved as delegating wrappers. - helios/src/server/runtime.rs (+71/−33):
Worker::admitcomputesinitial_prompt_tokens = parked.carried.prompt_tokens.unwrap_or(incoming.prompt.tokens.len())(~1629), callsAdmission::from_continuation, and converts all three former?failure sites (Admission::from_continuation,TokenStops::new,TextStops::new) intoself.scheduler.cancel(handle)?+incoming.fail(error)+progress = true+continue.self.admissions[slot] = Some(request_admission)is only written after all three succeed (moved below theparkedmatch).
Tests: helios/src/model/tests.rs +123 (one new test continuation_prompt_validation_permits_decoded_in_vocab_image_and_span_tokens_only_after_initial_prompt, plus ~13 mechanical preserve_message_anchor: false additions); helios/src/server/runtime/phase_tests.rs +374 (new vlm_feature_token_survives_preemption_and_thinking_budget_readmission, vlm_feature_and_span_tokens_survive_grammar_transition_readmission, worker_admit_isolates…, plus mechanical field additions); tests/components/test_vision_state.py +67 (2 new tests).
NOTE: the pr_diff tool output includes ~10 extra unrelated files (AGENTS.md, docs/, flare-cli/) that are NOT in the PR's 7-file list — the local base is stale/diff artifact. Verified preserve_message_anchor exists on main (e.g. helios/src/server/request.rs:427-429 on main) so that field is from merged #697, not this PR. Treat pr_files as authoritative on scope.
#2 [high] Why: crash on readmission of decoded in-vocab feature tokens — the reported bug
PR #708 problem statement (from description, result 32):
- VLM recipes whose image feature token is inside the decoded vocabulary: Nemotron-H, GLM-5.3, Qwen3.8, Qwen3.8-Dense, Inkling2, Kimi3, MiMo-V2, MiniMax-M3, Step5. Helios does not mask image feature tokens during decode, so decode can sample the feature token or an in-vocabulary atomic span delimiter.
- Three park paths append decoded tokens to the prompt history with
vision_token_indices = -1:Worker::park_if_preempted(KV cache preemption),Worker::park(thinking_token_budget),Worker::park_grammar_transition(speculative reasoning grammar transition). All viaWorker::park_with_tokens. - Failure 1:
Worker::admit→Admission::from_prompt→validate_prompt_dataenforced strict bijection(*token == layout.feature_token) == (*index >= 0)and atomic ImageSpan membership over the wholetokensslice → Err → propagates with?out ofWorker::run→worker_healthunhealthy → every concurrent request on that worker fails →flare-modelworker thread permanently terminated. Same fatal path forTokenStops::new/TextStops::newerrors. - Failure 2: ignition
VisionState(shared by 9 VLM recipes) keyedvalidate_prefillandinjectontokens == self.image_tokeninstead ofvision_token_indices >= 0.
The strict checks being relaxed are at helios/src/model.rs — the pre-change validate_prompt_data bijection and the span-membership check. See scratchpad entry on the code change for line numbers.
Claimed user-visible impact: a single VLM request that samples the feature token kills the whole model worker (and thus all requests on it), rather than failing one request.
#3 [high] Change mechanics: how continuation tokens get -1 and how the worker died
VERIFIED code facts (read at PR head):
- The continuation tokens get
-1becausePromptMetadataMut::extend_text(helios/src/model/admission.rs:25-56) doesindices.resize(after, -1)on parked-token append;Worker::park_with_tokens(helios/src/server/runtime.rs:2496-2559) calls it at :2525-2527 and recordsCarried{prompt_tokens: Some(active.carried.prompt_tokens.unwrap_or(prompt_tokens))}at :2550 — that carried value is exactly whatWorker::admitnow reads at runtime.rs:1629-1632. So the invariantCarried::prompt_tokensis the original prefix length and is preserved across repeated parks (line 2550 usesunwrap_or, keeping the first value). - Fatal-path context confirmed: worker thread is named
flare-model(runtime.rs:645-647),worker.run(&mut executor)is wrapped incatch_unwindat :796-807,worker_health.store(false)at :799 on anyErr. So anErrfromWorker::runshuts the whole worker, not one request — matches the description. - Error-isolation shape at runtime.rs:1633-1717: three
match ... Err => { self.scheduler.cancel(handle)?; incoming.fail(error); progress = true; continue; }blocks (Admission at 1641-1648, TokenStops at 1656-1663, TextStops at 1677-1682), andself.admissions[slot] = Some(request_admission)moved to :1717, afterParkedconstruction (1649-1716). So the pre-existing bug "admissions[slot] written before stops were built" is fixed too. - New helios validation rules (helios/src/model.rs:408-490): rejects
initial_prompt_tokens == 0 && !tokens.is_empty()andinitial_prompt_tokens > tokens.len(); continuation suffix must be< config.contract.vocabulary; continuation positions must havevision_token_indices == -1; spans must satisfys.end <= initial_prompt_tokens; scoped-token span membership check restricted totokens[..initial_prompt_tokens]. - VisionState (ignition/components/vision_state.py:26,38-49,51-61):
injectno longer readsmetadataat all — it is now purely index-driven;validate_prefillacceptsindex == -1for any token (including the image token) as long as it is live. image_tokenis now optional (defaultNone); when None, thetokens == image_tokencross-check is skipped entirely (vision_state.py:45-46). Only the new test at tests/components/test_vision_state.py:128-141 exercises the None path.
#4 [high] Change: what the description does not say, and what cannot be verified in-repo
Finding 1 — "9 VLM recipes share VisionState" is NOT verifiable in this repo. search_code for VisionState / vision_state at PR head finds exactly two sites: ignition/components/vision_state.py:25 (the class) and tests/components/test_vision_state.py (imports at :10, :17, :39, :55, :81, :132). No recipe, no call site passing image_token=... exists in-tree. Per AGENTS.md:382-396 official recipes live in the external local-inference-lab/hyperflare-recipes repo (hyperflare_recipes/recipes/), and ignition/components/ is restricted to the 12 Helios-ABI modules (vision_state named at AGENTS.md:391, enforced by tests/preparation/test_core_boundary.py). So the blast radius of the image_token default change and the inject semantics change cannot be checked from the PR; it depends on an unlanded/external repo.
Finding 2 — the diff-viewer shows ~10 unrelated files (AGENTS.md, docs/{TODO.txt,api.md,cli-design.md,core-design.md,model-preparation.md,scheduling-runtime-design.md}, flare-cli/src/{cli.rs,orbit/agent.rs,orbit/controller.rs,orbit/mod.rs}) that are NOT in the PR's 7-file pr_files list. Verified cause: the local base is stale — e.g. preserve_message_anchor on Prompt (helios/src/server/runtime.rs:50-52) and its computation (helios/src/server/request.rs:427-429) already exist on main from merged #697, and the diff re-shows them as added. Treat pr_files (7 files, +736/−56) as authoritative; the extra files are base drift, not hidden scope.
Finding 3 — behaviour the description understates: VisionState.__init__ image_token default is None, which silently disables the tokens == image_token cross-check for any caller that omits it (vision_state.py:45-46). That is a validation-weakening default ("no magic defaults" / "reject weakened constraints", docs/design-review.md:135-146) permitted by the change; the description presents it only as "backward-compatible".
Finding 4 — validate_prefill now accepts index == -1 for a token that is the image token, i.e. a genuinely indexed image whose feature index was lost is now treated as text rather than rejected. Not stated in the description.
Finding 5 — nothing in the change masks feature_token at decode; the root cause (a VLM can sample its own image token) is mitigated, not removed, and the description says so explicitly.
#5 [high] Related work: no prior issue; #483 overlaps helios/src/model.rs, #626 created the failing park path
Search of open+recently-closed items for "vision_token_indices image token preemption readmission VLM", "feature token decode mask image token crash worker", "VisionState validate_prefill image_token injection", "validate_prompt_data image admission strict", "worker health unhealthy fail all requests model thread": the ONLY hit is #708 itself. So there is no filed issue and no competing/duplicate PR for this bug — the problem statement is entirely self-authored in the PR description. No linked issue numbers appear in the description. Nearest same-code work:
- #483 (open, rickybrent, +2349/−255, 39 files) "Add Gemma 4 image preparation, Bracketed patch-width metadata, and atomic spans" — touches helios/src/model.rs and helios/src/server/runtime.rs and is the other half of the image-token/atomic-span (ImageSpan) surface. Its description explicitly names
validate_prompt_dataper-request failure for span-declaring Bracketed layouts, and adds atomic spans in layouts/bracketed.rs. It is stacked under a companion recipe repo PR. Overlap risk: both change helios/src/model.rs near the same span/feature-token validation; #483 adds spans for Bracketed, #708 relaxes how spans are validated on continuation. Neither is merged; watch for textual conflict in helios/src/model.rs. - #626 (merged, lukealonso) "Allow speculative reasoning for grammar-constrained requests" — the PR that created
Worker::park_grammar_transition, one of the three park paths #708 fixes. So #708 is a follow-up bug fix to #626's feature. - #615 (merged, newjordan) "helios: support thinking_token_budget for ContentHeaders and trim incomplete UTF-8 tails on cut" — created/owns
Worker::parkwith the budget path used in one of the three readmission scenarios, andtrim_incomplete_utf8_tailat runtime.rs:2465. - #619 (merged, lukealonso) "Unlock multi-token speculation and two-frame pipelining for host stops" — the source of the 2-frame pipelining / width-1 constraints the description cites as reasons not to enable GrammarEnabled decode masking.
- #579 (merged, lukealonso) "helios: fix InitialState hash bypass, TP startup drain hang, VLM teardown deadlock, and PatchMerge validation" — prior lukealonso VLM-path correctness PR; same genre (VLM + worker-lifecycle hardening).
- #620 (merged, lukealonso) "Remove copy drafts and history drafts while keeping legacy cores loadable" — the "legacy cores load unchanged" compatibility precedent #708 leans on.
- #660 (merged) and #697 (merged, FujitsuPolycom) — the interior-anchor/
preserve_message_anchorline in helios/src/server/{request.rs,runtime.rs,scheduler.rs}; appears in the diff only as base drift. - #621 (open, jcartu) "Validate scheduler admission against the core parameter declarations" — another admission-validation change in the same runtime.rs admit path; potential conflict.
- #707 (open, same author), #668, #659, #658 (open) — author's other in-flight PRs; #707 and #668 also touch ignition/flare-cli.
#6 [high] People: author is the project owner and built this machinery; no reviewers yet
Author: lukealonso, GitHub association COLLABORATOR. Charter (read_charter) names @lukealonso as one of three priority contributors ("carry extra weight—we never close their PRs out of hand"), and docs/design-review.md:22-26 names project owner Luke Alonso lalonso@gmail.com — i.e. the author is the owner/maintainer for the captured-graph operation-contract approval rule. Last 180 days: 41 merged, 0 closed, 4 open. Merged work in the areas this PR touches: helios/src (28 merged PRs), docs (23), ignition/preparation (14), flare-cli/src (10), tests/preparation (10).
Directly relevant prior merges by the same author in the exact files/paths here: #626 (helios/src/model/admission.rs and runtime.rs — speculative reasoning/grammar-constrained; created park_grammar_transition), #619 (speculation/pipelining), #620 (legacy core loadability), #579 (VLM teardown + PatchMerge validation), #607 (pool staging/offload lifecycle), #670/#683 (ignition components hardening). So this PR is maintenance of machinery he built; items_touching helios/src/model/admission.rs lists only #708, #626 (lukealonso) and #505 (jcartu).
Who else works here: helios/src/server/runtime.rs has the widest contributor set — jcartu (#705, #691, #692, #621, #505), yatesdr (#694, #674, #663, #628, #504), FujitsuPolycom (#697, #540, #497), WynnD (#548, #549, #560), rickybrent (#483), plus fordbmorris, ebfio, ateska, javieratomic, shadownetX. ignition/components/vision_state.py has no other recent toucher (items_touching returns only #708).
Engagement so far: zero — pr_comments returned "No comments"; no reviews, no labels, no reactions. Note the repo convention from other PRs: flare-autobot normally posts a case-file link and an Autobot Review within ~90 minutes of opening (see #697, #483 discussions). #708 was opened 2026-12-03 17:09 and had no autobot comment at the time this case file was assembled.
#7 [high] Claims and evidence: what is backed, what is disclosed-unrun, what is unverifiable
Process: DRAFT vs READY — the orientation packet says "State: open, ready for review"; description carries full Why/What/Claimed result/Evidence (the four parts docs/design-review.md:147-162 and AGENTS.md require) and a Discord: lukealonso line (principle 17, design-review.md:163-169). Labels: none. Reviews: none. CI on head 4fee325: passed (orientation packet). Opened and last updated the same day, 2026-12-03 17:09 — age at case-file time: hours, not days.
Claim-vs-evidence gaps I can verify:
- "9 VLM recipes" sharing VisionState: no evidence anywhere in-repo (see the undeclared-changes entry); recipes are external.
- The Evidence section reports 7 failing helios tests ("1,837 passed, 47 ignored, 7 failed") where the precedent PRs in this repo report 0 failures (#697: 1,900 passed 0 failed; #483: 1,913 passed 0 failed). The author explains 6 need
FLARE_TEST_TEMPLATE_DIRand 1 is aulimit -lartefact, but the same-named env var is normally populated in CI viatests/frontend/prepare_templates.pyand #483's evidence shows it done — so the helios suite was not run in its CI configuration. Honest disclosure, weaker than peers. - GPU/CUDA tests, checkpoint-backed
image_admissiontests, and live VLM core re-export + serving were not run (self-disclosed). That is exactly the path the compatibility claim rests on ("legacy token-keyed cores … fail only the affected request cleanlyExecutionError::Device { code: 32 }") — thecode: 32behaviour is asserted from reasoning, not measured. cargo-kaniandcargo-mutantsnot run. docs/design-review.md:221-228 requires Kani "whenever changing … sequential validators whose safety must hold over an input domain" and mutation testing "when adding or changing safety guards" — this PR changesvalidate_continuation_prompt_data, an admission validator, and adds guards. So principle 12/13 testing-hierarchy layer 3 is partly unmet by the author's own account.- TLA+ / lifecycle conformance was run and reported as all-passed (design-review.md:209-220 requires it when changing admission/cancellation — satisfied).
- Targeted test command in Evidence names filters
continuation_prompt_validation vlm_feature_token vlm_feature_and_span worker_admit_isolates→ 4 passed. Matches the three new phase_tests plus the model test; the isolation test is looped over 3 failure kinds inside a single test fn. - No
Design-Signed-Off-By:trailer mentioned (the repo convention flagged in #697's review); cannot confirm from here.
#8 [high] Project fit: aligns with principles 3/13-spirit; tension with the #397 root-cause rule and principle 15
Charter (read_charter) + docs/design-review.md mapping, as facts: ALIGNS:
- "Bug fixes need to address the root cause; don't just swallow, skip, or retry an unexplained error (#397)" — this is the tension point. The change is a scope fix (validate only the true prompt prefix) plus an error-isolation fix (one bad admission no longer kills the worker); the literal root cause ("Helios does not mask image feature tokens during decode") is explicitly left in place and its mitigation is documented as "legacy cores fail the affected request cleanly". That is close to "swallow/reject the symptom", so a reviewer could read it either as principled (fail only the request) or as declining the root cause. The description argues the root-cause fix is blocked by captured-graph op-contract and model-identity constraints.
- Principle 3 (design-review.md:40-61): "Admission, page reservation and growth, eviction, preemption, readmission, and offload must not branch on model or recipe identity or capability flags" — the change obeys this and the description's justification for not masking cites exactly this (plus principle 13) as the reason a capability flag is disallowed. Strong fit.
- Principle 13 (design-review.md:116-123): "Every engine version must load models supported by previous engine versions without re-export". The change honours the field compatibility (no Protobuf/ModelContract change), but the behavioural claim is narrower: "Legacy token-keyed cores … require re-export to re-prefill unindexed decoded feature tokens as text; until re-exported, such re-prefills fail only the affected request." So an existing core can still fail a request it would previously have… also failed (fatally). No regression, but the PR does not restore full behaviour for old cores without re-export.
- Principle 12 (design-review.md:106-115): "keep raw measurements and disclose unrun checks and material limitations" — the description discloses its unrun checks explicitly; good fit on disclosure, weak on coverage (no GPU, no live serving). DOES NOT LINE UP / TENSION:
- Root cause vs. mitigation (#397) as above.
- "Reject changes that … weaken numerical or lifetime contracts" (principle 15, design-review.md:135-146) —
validate_prefillnow deliberately acceptsindex == -1on a token that equals the image token, andimage_token=Noneremoves a cross-check; both are weakenings chosen to make continuations ordinary text. Justified in prose, but a reviewer applying principle 15 literally will flag it. - Charter: "Keep the runtime small and model-agnostic … shouldn't accumulate per-model branches" — satisfied (no model branches added; the change is a shared
initial_prompt_tokensboundary plus index-driven Python). - Charter roadmap doesn't mention VLM at all; the supported matrix is SM103/SM120/SM121 with no GPU verification in this PR.
- AGENTS.md:388-396 restricts
ignition/components/to the 12 ABI modules;vision_stateis one of them (named at :391), so the file is in bounds, but AGENTS.md:382-396 also says recipes own model-specific composition — and the 9 recipes that consume this module are therefore outside the repository, which is why the blast radius is unverifiable here.
#9 [high] Reach: general reliability change beyond VLMs; zero documentation updates
Reach (who/what is affected), as facts:
- Users/operators: any VLM deployment whose
feature_tokenis inside the decoded vocabulary — the description lists Nemotron-H, GLM-5.3, Qwen3.8, Qwen3.8-Dense, Inkling2, Kimi3, MiMo-V2, MiniMax-M3, Step5. Effect: today, one request that samples the feature token and then gets preempted / hitsthinking_token_budget/ transitions grammar kills theflare-modelworker thread (runtime.rs:645-647, :796-807) and every co-resident request on it. After: the request is re-admitted and decoded tokens are treated as text. - Configuration and defaults: no new config key, flag, or contract field ("No Protobuf schema or
ModelContractfields changed"). So no default changes; operators need do nothing.image_tokengains a Python default ofNoneinignition/components/vision_state.py:26. - Compatibility: previously exported cores keep loading (no wire change). Behavioural split: index-driven
qwen38cores get the fix immediately; legacy token-keyed cores (exported from the oldVisionState) need re-export to re-prefill an unindexed decoded feature token as text, and until then fail that request cleanly (ExecutionError::Device { code: 32 },active = False) instead of corrupting embeddings — an improvement but not parity. Asserted, not measured (GPU/live serving unrun). - Second, broader effect the description frames as incidentals but which every text deployment gets:
Worker::admitno longer propagatesAdmission/TokenStops/TextStopserrors out ofWorker::run. Before, a malformed stop string, an out-of-vocabulary stop sequence, or a bad prompt geometry killed the worker; now it fails one request and frees its slot/pages (runtime.rs:1641-1682, :1717). That is a general reliability change, independent of VLMs, and its regression surface is bigger than the VLM story. - Also fixed incidentally:
self.admissions[slot]is now written only after the stop matchers are constructed (moved to runtime.rs:1717 from before theParkedconstruction), so a failure there can no longer leave a half-populated admission (previously the admission was already stored even though thefnhad not finished; a?then unwound out ofrun). - Dependencies/deployment/docs: no dependency changes, no deployment changes. No documentation file is updated by this PR (7 files are code+tests only) — so the readmission/continuation-validation invariant now lives only in the doc comment at helios/src/model.rs:407-412 and the code, not in docs/core-design.md or helios/README.md, unlike comparable PRs (#697 updated 4 doc files, #483 updated helios/README.md + docs/runtime-core-design.md). Grace note for reviewers checking whether the design docs still describe "strict bijection over the whole prompt".
- Existing data/artifacts: unchanged (no proto, no signature, no fixture).
#10 [medium] Recent activity: builds on #626/#615/#619; runtime.rs is a hot file, vision_state.py is cold
Recent activity in the touched areas. search_history is unusable on this checkout (git: "Could not read c513e46a…", "cannot simplify commit ef38cb93…"), and the orientation packet's per-area commit lists are "(not available)" for the same reason — record this as a tooling limitation, not an absence of activity.
What I could establish instead, from the local item copy:
- helios/src/server/runtime.rs was touched by ≥29 PRs in the last 180 days (items_touching), merged ones including #697 (FujitsuPolycom, merged 2026-12-03 01:18 — 16h before #708 opened), #663 (yatesdr), #628 (yatesdr), #626 (lukealonso), #620 (lukealonso), #619 (lukealonso), #615 (newjordan), #607 (lukealonso), #497 (FujitsuPolycom), #505 (jcartu), #579 (lukealonso). So the file is hot: #697 merged the day before, and #691/#692/#698/#705 are open in the same file.
- helios/src/model/admission.rs touched only by #708, #626 (lukealonso, merged) and #505 (jcartu, merged) — quiet file.
- ignition/components/vision_state.py: no recent toucher other than #708 — the file appears untouched in the 180-day window, so the token-keyed
validate_prefill/injectdesign has not been revisited recently and there is no in-flight competitor for this refactor. - The
preserve_message_anchorfield visible in the diff (helios/src/server/runtime.rs:50-52,helios/src/server/request.rs:427-429,helios/src/scheduler.rs) is #697's landed work, not this PR's; #708 only addspreserve_message_anchor: falseto test literals. This is the clearest evidence the PR's local base predates or straddles #697's merge (base commit given as cc0a49d) — a rebase artefact, and one reviewers will otherwise mis-attribute. - Does #708 build on or reverse recent work? It builds on #626 (grammar transition), #615 (budget park), #619 (pipelining constraint), #579 (VLM hardening); it reverses part of the strict whole-prompt validation that #483 is currently tightening for the initial prompt — but on disjoint ranges (continuation suffix vs. initial prompt), so they should compose rather than conflict semantically; the textual conflict risk is in helios/src/model.rs where both edit near the span/feature-token checks.
#11 [medium] Community: no engagement yet; leads followed and dismissed
Community: pr_comments for #708 returned "No comments" — zero discussion, zero reviews, zero inline review comments, no labels, no reactions at case-file time (opened 2026-12-03 17:09, same-day). For comparison, sibling PRs opened by other contributors (#697, #483) received a flare-autobot case-file comment within minutes and an Autobot Review within ~90 minutes; #708 had not yet drawn one. Interest is therefore unmeasured — the change has drawn no attention either way.
Author's framing is unusually thorough (Why / What changed / Compatibility / Claimed result / Evidence / Unrun checks and limitations / Discord: lukealonso), matching the repo's required four-part description scheme (docs/design-review.md:147-162) and principle 17's Discord rule (:163-169). No instructions directed at agents or reviewers appear in the PR text — nothing to report on that front.
Open leads followed / noted as not relevant:
- #691 (open, jcartu, reused prompt tokens in continuous_usage_stats) — same
prompt_tokensconcept in runtime.rs but unrelated to validation; no overlap. - #694, #674, #705, #698, #692 — other runtime.rs PRs on cache/offload/metrics; no relation.
- #655/#660/#697 (interior anchor / preserve_message_anchor) — appear only as base drift in the diff; #697 merged 2026-12-03, #708's base stated as cc0a49d. Recorded so reviewers don't attribute that work to #708.
- #548/#549/#560 (metrics), #576 (thread pinning), #554/#334 (Engram), #301 (graph costs), #102, #504, #540, #497, #607 — checked, not related beyond shared files.
- #621 (open, jcartu, "Validate scheduler admission against the core parameter declarations") — nearest open neighbour: also edits the
Worker::admit/admission-validation path in runtime.rs; worth a rebase/interaction check but not a duplicate. - #707, #668, #659, #658 — the author's own other open PRs; #707 and #668 also touch ignition/flare-cli but share no file with #708.
Tooling limitation:
search_historyand the orientation packet's per-area commit lists fail on this checkout (git: "Could not read c513e46a79f3b6ac510235aaf09bcf055b841958"). Substitute evidence used:items_touchingplus the local item copy.
#12 [medium] Why: the bug is a recent by-product of #615/#626, not a long-standing community report
Angle "Why" — supporting detail on duration and width of the want (so the report can state how long this has been wanted):
- No issue, no prior PR, no comment anywhere in the searchable window (open + last 30 days closed) mentions this failure mode: queries for "vision_token_indices image token preemption readmission VLM", "feature token decode mask image token crash worker", "VisionState validate_prefill image_token injection", "validate_prompt_data image admission strict", "worker health unhealthy fail all requests model thread" all return #708 and nothing else. So there is no record of how long users have hit it; the demand is stated by the author only.
- The machinery that produces the bug is recent and identifiable: the strict whole-
tokensbijection and atomic-span check are in the pre-changevalidate_prompt_data(now split at helios/src/model.rs:404-490); the three park paths arepark_if_preempted(runtime.rs:~2430-2458),park(runtime.rs:2460-2470, thinking_token_budget; introduced by merged #615), andpark_grammar_transition(runtime.rs:2472-2493; introduced by merged #626, same author). All three funnel intopark_with_tokens(runtime.rs:2496-2559). - So the bug is at most as old as those features (both merged within the last ~180 days, #615/#626), and the author is the owner of #626 — consistent with a self-found follow-up rather than a long-standing community ask.
- The VLM recipe set named in the description (Nemotron-H, GLM-5.3, Qwen3.8, Qwen3.8-Dense, Inkling2, Kimi3, MiMo-V2, MiniMax-M3, Step5) lives in the external
local-inference-lab/hyperflare-recipesrepo (AGENTS.md:382-396), so the affected population cannot be counted from this repository.