#1 [high] The change: what PR #483 does and its size
PR #483 (rickybrent, branch rickybrent:core/gemma4-image-frontend, head f2340e42, base main 6d6fe0c6), opened 2026-11-23, state open/"ready for review", no reviews, no CI checks, labels none, 13 files +732/-164.
Substance:
- New image preprocessing profile
Gemma4: helios/src/frontend/images/gemma4.rs (new, 416 lines). Aspect-preserving resize to a multiple of patch_sizepooling (163=48) bounded by a target pixel area from max_soft_tokenspatch^2 (gemma4.rs:54-93); RGB-interleaved patch packing (y,x,channel) with 768 f32 per patch after /255 normalization (gemma4.rs:130-158); (x,y) 2-D patch positions (gemma4.rs:137); soft tokens = patches/9 (poolingkernel²). patch_merge::Processorsplit into a reusableEnvelope(start/image/end token expansion) plus the existing patch-merge processor (patch_merge.rs:10-30, 83-133); Gemma4 reusesEnvelope::expand.- Bracketed packing:
bracketed_patch_geometrymaps patches_per_feature 4 -> (merge side 2, patch width 1176), 9 -> (3, 768) (packing.rs:16-22);tensor_layoutandbracketed()now take/derive fromconfig.contract.vision.patches_per_feature(packing.rs:26-45, 479-491) instead of hardcoded 1176 andpatches_per_feature != 4checks. helios/src/model/prompt.rs:137-151: fillsprepared.data.spansfromconditioned_inputstoken_span whenimage_tokens.spanis declared and spans are empty. These spans become the scheduler's atomic prefill spans viaset_prefill_spans(server/runtime.rs:1460).- Wire/contracts: proto adds
GEMMA4_IMAGE_PREPARATION = 11andImageSettings.gemma4tag 11 withGemma4ImageSettings{patch_size, pooling_kernel_size, max_soft_tokens, image_token, start_token, end_token}(runtime_core.proto:386,519-522,532-541); RustImagePreparationKind::Gemma4 = 11(contract.rs:68); encode/decode + describe (runtime_core/protobuf.rs:167-172, describe.rs:442-443); Pythonimage_settings(profile="gemma4")validation returning the settings (ignition/preparation/frontend.py:113-137), regenerated runtime_core_pb2.py.
#2 [high] Recent activity: branch predates #479; regenerated pb2 drops TERMINAL_PREFILL and downgrades protobuf header
Verified by comparing refs:
mainhelios/proto/runtime_core.proto:338 hasTERMINAL_PREFILL = 14;inside enum GraphOperation (came from e091689b / PR #479, merged 2026-11-23, after the PR's base 6d6fe0c6).- PR #483 head f2340e42 helios/proto/runtime_core.proto has no TERMINAL_PREFILL (read at pr/483, lines 330-339 end at SCORED_PREFILL = 12) and helios/src/model/contract.rs at pr/483 has no TerminalPrefill (search at pr/483: no matches; at main: contract.rs:70 TerminalPrefill = 14).
So the branch is 7 commits behind current main (main tip 2fe05e15; base claimed 6d6fe0c6) and was branched before #479 landed.
Consequence for the checked-in generated bindings: ignition/preparation/runtime_core_pb2.py in the PR was regenerated from the fork's proto, so it lacks TERMINAL_PREFILL; main's pb2 has it (search for TERMINAL_PREFILL: main pb2 → match on line 27 descriptor; PR head pb2 → no matches). Merging as-is would drop the TERMINAL_PREFILL enum value from the Python bindings while the .proto keeps it — a stale/generated-file regression that no reviewer comment has mentioned yet (PR has zero comments).
Also: the same regeneration downgrades the protobuf gencode header 7.36.2 -> 7.36.1 (runtime_core_pb2.py lines 5,12-19 in PR diff), while pyproject.toml:34 pins
protobuf>=7.36.2,<8. On PR #426 the reviewer yatesdr explicitly asked for exactly this ("Generated protobuf... loses the version header... regenerate it with the version main uses"), so there is review precedent in this repo treating it as a merge blocker.
#3 [high] The change: Bracketed packing generalization and patch_merge Envelope extraction
- Bracketed layout (
ImageLayoutKind::Bracketed = 9) was previously hard-coded to a 2x2 merge with 1176 floats/patch;bracketed()(packing.rs:479-491 on PR head) rejected any core whosevision.patches_per_feature != 4. PR #483 replaces that withbracketed_patch_geometry(patches_per_feature)(packing.rs:16-22) accepting 4 -> (2,1176) and 9 -> (3,768) and rejects others ("unsupported bracketed patches_per_feature").tensor_layoutgained apatches_per_featureparameter (packing.rs:26-45) and its only callerhelios/src/model/packing.rs:91-95now passesconfig.contract.vision.patches_per_feature. - Effect: a Bracketed core declaring patches_per_feature of anything other than 4 or 9 — including the previously-allowed-by-shape but rejected value, and e.g. 16 (used by the Step test at helios/tests/tools/test_step_images.rs:82) — now fails earlier with a different message. Before the change Bracketed with !=4 was already rejected, so 4 remains valid; the practical risk is a Bracketed core with patches_per_feature 1/2/16 which previously also failed. No behavior loss found for existing layouts, but the mapping table is now a hard-coded 2-entry model-geometry table inside the generic packer, which sits against the charter's "Helios ... shouldn't accumulate per-model branches" (charter line 12) and helios/model-contract.md:284-288 ("Frontend identifiers cannot select scheduling, cache policy, text-graph input packing..."). The PR frames it as deriving from the contract instead of branching on model identity (description: "no model-identity branching in upload packing"). Both readings are defensible; the reviewer should note it.
- Gemma4 packing uses
Profile::Gemma4(_) => 768for pixel width invalid_processed(conditioned.rs:192) mirroring Glm's 1176 pattern — consistent with existing style. patch_merge::Processorwas split intoEnvelope(image/start/end token validation +expand) andProcessor(patch grid/normalization) at patch_merge.rs:10-133 so Gemma4 can share the envelope. The envelope token validation moved out ofProcessor::load, so patch-merge error text changed from "invalid temporal patch-merge image settings" to "invalid image envelope tokens" for token-only faults (patch_merge.rs:20-30). Existing patch-merge tests still pass per the PR's claimed run.
#4 [high] The change: atomic spans populated in prompt.rs — undeclared effect on existing Bracketed cores, untested
Verified: helios/src/model/prompt.rs:137-151 (PR head) fills prepared.data.spans from each conditioned_inputs[i].token_span if data.spans is empty and contract.frontend.image_tokens.span.is_some().
What those spans then do (all pre-existing machinery, verified on main & PR head):
validate_prompt_data(helios/src/model.rs:408-457) requires each span to be non-empty, in bounds,len() <= config.limits.prefill_chunk_size(model.rs:422), ordered/non-overlapping, and the first/last tokens of the span to equalspan.start_token/span.end_tokenand every scoped token to lie inside a span (model.rs:436-451). Ifimage_tokens.spanis None but spans are present it errors "image layout does not declare atomic spans".helios/src/server/runtime.rs:1458-1465passesprompt.data.spanstoscheduler.set_prefill_spans, which rejects any span longer thanprefill_chunk_size(scheduler.rs:1913-1935).helios/src/model/packing.rs:615-635emitsImageLeftContext/ImageRightContextvalues from those spans and returns "prefill splits an atomic image span" if a lane cuts one. So the new code makes atomic-image-span scheduling actually active for theBracketedlayout. Since the Bracketed layout previously produced spans=empty (helios/src/frontend/images/layouts/bracketed.rs:82-91 returnsPromptData { vision_token_indices, ..Default::default() }— no spans), any Bracketed core that declaresimage_tokens.spanwould previously produce empty spans and therefore never got atomic prefill spans. That is a behaviour change for existing Bracketed/MiniMax-style cores: their image envelopes become indivisible prefill units, andvalidate_prompt_datanow enforces the start/end token boundaries for them. The description does mention this ("populated prepared.data.spans ... when ImageTokenLayout declares an atomic ImageSpan") but not that it changes existing non-Gemma Bracketed cores' scheduling. No test is added for the spans branch specifically (the gemma4.rs tests only callexpand_prompt;prompt.rstests do not add a Bracketed case).
#5 [high] The change: wire/contract/Python additions for the Gemma4 profile and what stays unvalidated
Verified by reading pr/483 vs main:
- New
ImageSettings.profileoneof member tag 11Gemma4ImageSettings gemma4(runtime_core.proto:519-522 and new message at 532-541), new enumGEMMA4_IMAGE_PREPARATION = 11(proto:386). Additive; nothing removed. Enum numbers are stable per docs/runtime-core-design.md:206-210. ImagePreparationKind::Gemma4 = 11appended tocontract_enum!(helios/src/model/contract.rs:68). Contract validation requiresimage_layout.is_some() == image_preparation.is_some()(contract.rs:377-381), so a Gemma4 core must also declare a layout — the PR intendsBracketed(that is why packing was generalized), but nothing in the change pins Gemma4 to Bracketed, nor Bracketed to Gemma4. Not a defect; a wiring fact the companion recipe PR must get right.ignition/preparation/frontend.py:113-137addsimage_settings(..., profile="gemma4")which validates the HFGemma4ImageProcessorconfig: exactlypatch_size 16,pooling_kernel_size 3,do_resize,do_rescale,do_normalize False, mean[0.0]*3, std[1.0]*3, optional resample 3 / rescale 1/255 / do_convert_rgb,max_soft_tokens ∈ {70,140,280,560,1120}; and the vision configgemma4_vision, 27 layers, hidden 1152, 16 heads, head_dim 72, intermediate 4304. It hard-codes tokens<|image|>/<|image>/<image|>rather than reading them from the checkpoint — the only image profile that hard-codes token strings (the patches/env compare with GLM'simage_token_id: 154854and Qwen'simage_token_idwhich are also fixed constants, so this matches house style).- Rust
gemma4::Processor::loadvalidates patch_size 1..=64, pooling 1..=16, andmax_soft_tokens ∈ SUPPORTED_SOFT_TOKENS = [70,140,280,560,1120](gemma4.rs:11,23-31). Note there is no check thatpatch_size == 16orpooling == 3, although the packing path for Bracketed only supports pooling^2 ∈ {4,9} via patches_per_feature, so an inconsistent config fails later in packing rather than at load. describe.rs:442-443reports profile "gemma4" with patch_size/pooling/max_soft_tokens;protobuf.rs:167-172re-emits the full settings back to Python. There is no_frontend.jsonfixture orhelios/tests/support/contracts/entry for gemma4 —helios/tests/support/contracts/gemma4_frontend.jsonstill has"image_preparation": null, "image_layout": null, "image_tokens": null(lines 16-17, 38), so the checked-in contract fixture does not exercise the new profile at all, unlike inkling2/padded_grid which got one in #405.
#6 [high] The why: Gemma 4 is already a supported text model here; only the image half was missing, and the recipe half now lives in another repo
- Gemma 4 support already exists in this repo and predates the PR: recipes/chat templates for Gemma 4 were added 2026-10-23 (bcf7177d "Parse Gemma 4 reasoning channels and tool calls (#62)"), docs/api.md:749 lists a
gemma4sampling profile pointing at google/gemma-4-26B-A4B-it, docs/model-development.md:77-89 documents the Gemma 4 chat templates and cites google/gemma-4-E4B-it, google/gemma-4-26B-A4B-it, and the 12B/31B variants; helios has Gemma 4 template fixtures (helios/tests/fixtures/templates/gemma4/*.patch.json) and template tests (jinja/tests.rs:274,278,822-823; message_boundaries.rs:191-261). So Gemma 4 is already a supported text model here. - What is missing is precisely the multimodal/image half:
helios/tests/support/contracts/gemma4_frontend.json:16-17,38still has image_preparation/image_layout/image_tokens all null, and until this PR there was no Gemma 4ImageSettingsvariant, processor, or preparation profile. The PR therefore closes a gap for a model family the project already supports rather than introducing a new one — relevant to the charter's "New model recipes ... must list supported checkpoints ... (#74)" rule, which it does not literally need to satisfy but is adjacent to. - The author's own limitation note says end-to-end multimodal serving still needs "companion Gemma 4 vision recipe PRs in local-inference-lab/hyperflare-recipes". That repository was split out of this one on 2026-11-22 (da037284, 17bb3c4a "Remove extracted hyperflare_recipes, qualification drivers, and model tests from core Flare"; docs/model-development.md:68-89 now refers to
hyperflare_recipes/recipes/gemma4/...). Verify:ignition/recipes/no longer exists in this repo at the PR head (searches for gemma4 under ignition/recipes return nothing), so the vision decoder/capture half cannot land here at all — the PR is by construction half of a cross-repo change, and its claimed parity tests only cover preprocessing, not the model consuming the patches.
#7 [high] Claims and evidence: the HF parity tests are environment-gated and skip silently in CI
Verified from the tree at PR head:
helios/src/frontend/images/gemma4.rs:236-332checkpoint_tokens_expand_the_image_envelopeearly-returns unless envFLARE_GEMMA4_TEST_SNAPSHOTis set and<snapshot>/tokenizer.jsonexists, and additionally unless<repo>/.venv/bin/pythonexists; it then shells out to Python to fetch a chat template and returns silently on non-zero status. Silent skip, no#[ignore]marker, no assertion that it ran.helios/src/frontend/images/gemma4.rs:334-415native_pixels_and_positions_match_the_checkpoint_processorearly-returns if.venv/bin/pythonis missing, then runstransformers.models.gemma4.image_processing_gemma4.Gemma4ImageProcessoron synthetic gradient images for three sizes ((91,37), (10,3000), (3000,10)) and byte-compares pixels and (x,y) positions. This is a real, strong parity test — but only runs on a developer machine with a venv, and the reference is whatevertransformersis installed, not a pinned revision. Neither test is#[ignore]d like the repo's other snapshot tests (helios/tests/ordinary_tokens.rs:450,helios/tests/reasoning_delimiters.rs:213both use#[ignore = "requires FLARE_..._SNAPSHOT"]), so CI counts them as passing while they return immediately.- Consequently the PR's headline claim "45 passed ... including Hugging Face checkpoint pixel/position parity" is consistent with an unset
FLARE_GEMMA4_TEST_SNAPSHOTand no.venvin the grading environment:cargo test --lib frontend::imageswould still report the same count. The PR does say it setFLARE_GEMMA4_TEST_SNAPSHOT=<path-to-google/gemma-4-31B-it-snapshot>and used a.venv, and it names snapshot842da379, so the claim is plausible; but it cannot be reproduced from the repository alone and the tests do not fail when the environment is absent. - The
pixels_interleave_rgb_and_positions_are_xyandgeometry_matches_the_hugging_face_processorunit tests (gemma4.rs:197-234) are unconditional, but their expected values were derived by the author and contain no exception: e.g. 1x1 and 672x672 both map to grid [1,48,48] with 256 tokens (i.e. 2304 patches → 256 pooled tokens) while max_soft_tokens is 280 in the fixture, and the extreme cases 10x3000 → [1,840,3] / 280 tokens clamp at the budget. - The clamp branch at gemma4.rs:70-76 (
target_height == 0→(width/height).min(max_soft_tokens) * side) is integer-division before the clamp, so for 10x3000 width/height = 0 and target_width becomes 0 — yet the fixture asserts grid_w = 3 for 10x3000, so the code path that produces it must be the non-zero-height branch with(ideal_width/side).floor()= 0 handled elsewhere. Worth a direct read by a reviewer; I could not reconcile the arithmetic from the listing alone.
#8 [high] Process: ready-for-review, no CI, no reviewers, no docs, CPU-only self-run evidence
- Process state (orientation packet, re-checked): open, marked "ready for review", opened 2026-11-23, last updated 2026-11-23 (1 day). No reviews, no comments at all (
pr_commentsreturned "No comments"), no labels, and "CI on the head commit: no checks". - The absence of CI checks is significant here:
.github/workflows/native-serving.yml:31prepares gemma4 templates among others, so the PR's Rust-side changes would normally be exercised, but nothing ran on f2340e42. Compare with recent merged PRs in this area (#405, #460, #478, #479) whose descriptions include CI/run tables. - The author's evidence table (45 frontend::images tests, 53 model:: tests, cargo check of flare-cli, 15 pytest preparation tests) is entirely self-run and CPU-only; there is no GPU export or
flare runserving of a Gemma 4 multimodal core, which is consistent with the limitation note that the vision recipes are in the other repo. - The PR body supplies no
git diff --statalternative but the packet says 13 files +732/-164, matchingpr_files. Test additions inside the diff: one unconditional#[cfg(test)] mod testsin packing.rs (2 assertions groups), the three gemma4.rs tests, one newImageSettings::Gemma4entry in conditioned.rs's profile list test, and the gemma4.rs profile inprompt.rs… not in prompt.rs —prompt.rs:445-461"every_image_layout_describes_history_larger_than_the_feature_window" does NOT include a Bracketed/Gemma4 case, so that broad layout test still covers 8 layouts and skips the new one. - No documentation was touched: no changelog, no docs/*.md, no helios/model-contract.md, no helios/manifest.md update for the new profile or the 3x3 bracketed stride. Contrast #426 where reviewers demanded the docs and
docs/TODO.txtentries.docs/runtime-core-design.md:206-210describes the enum-independence rule the change is meant to preserve.
#9 [high] People: author is new to the repo, works across repos with #484, and the image-frontend owners have not engaged
- Author
rickybrent: GitHub association with the repo is NONE; in the last 180 days 0 merged, 0 closed, 1 open PR — #484 "Stride state_transfer._copy_rows tiles within CUDA's gridDim.y limit", also opened 2026-11-23. So both of this author's contributions are same-day and neither has landed; there is no prior merged track record in this repository to weigh. - In #484 the author's own comment refers to
hyperflare-recipes@11700f86and listscomponents/{paged_batch,resume}.pyandrecipes/{deepseek41,gemma4,glm53,inkling2,qwen38,step5}— i.e. the same author is working in the companion recipes repository, which is where this PR's "companion Gemma 4 vision recipe PRs" would come from. The two PRs are therefore a series across repos, and #484's recipes-side context is the same gemma4 recipe. - People who own the touched areas (180-day commit counts from the packet): helios/src — Luke Alonso (204), Martin Vit (45), yatesdr (43); ignition/preparation — Luke Alonso (145), Martin Vit (48), Eugene Rakhmatulin (36); helios/proto — Luke Alonso (43), Martin Vit (8), jasonc (6). The image-frontend subsystem specifically was built mostly by Jason Cook/jasonc (7fe5ac78 GLM image encoding, 44bdae38 prepared weight views, 8c9e5faf) and PCCessna (0d45b17a Qwen3.8 image input) and Nero (e9d509d6 Inkling 2 vision) — none of whom has engaged with #483 yet.
yatesdris the reviewer who pressed hardest on the closest comparable PR (#426, five numbered review points, twice) and on #460/#478; they are the likely reviewer for a contract/proto change.original-el8is a priority contributor and owns #426, which touches the same proto file and the sameprefill_spansatomic-span scheduling machinery — direct overlap with this PR's span change.- The PR names a Discord handle "ran.cossack", which does not match a GitHub identity in the packet; nothing indicates a maintainer requested this work (charter: "PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs" get merged).
#10 [high] Related work: #426/#479 proto+span overlap, #229 vision path, #405 fixture precedent, #386/#433/#8 precedents
Overlapping/related work found by search:
- #426 (open, original-el8, COLLABORATOR, priority contributor) "Add TERMINAL_PREFILL Operation Contract (v4) & Boundary-Aware Prefill Scheduling" — touches helios/proto/runtime_core.proto, helios/src/model/contract.rs, model/packing.rs, ignition/preparation/runtime_core_pb2.py and the scheduler's atomic-span machinery (
set_prefill_spans, "Blocks prefix-checkpoint publication ... until TERMINAL_PREFILL completes"). It is the same proto file and the same "atomic input span" scheduling concept this PR newly feeds (prompt.rs:137-151→runtime.rs:1460→scheduler.set_prefill_spans). Its #479 part (merged as e091689b) already landedTERMINAL_PREFILL = 14on main, so #426 and #483 both append toenum GraphOperation/ImagePreparationKind— additive, no field-number collision (11 vs 14), but #483's regenerated pb2 drops #479's enum value (see separate note). - #229 (open, Raydius) "Muse Glimmer 30B NVFP4: single-GPU serving with images, DFlash2 drafting, and 1,048,576-token context" — shares 10 files with this PR per the packet, i.e. another vision enablement stacked on the same frontend/contract code. Competing-with/adjacent work in the image path.
- #314 (open) diffusion tensor execution for SDXL/PixArt, #404 (open) per-request activation steering, #472 (open) persistent-worker telemetry, #492/#486/#477 compression PRs — same-files matches only, not topical.
- #405 (merged, yatesdr) "Treat declared markers as controls and test literal tokens independently" added the
inkling2_frontend.json,nemotron_h_frontend.jsonandgemma4_frontend.jsonper-recipe contract fixtures "checked against the recipes by tests/recipes/...". That is the established mechanism for landing a new frontend profile; #483 adds no gemma4 fixture update (gemma4_frontend.json still null image fields), so it does not follow the precedent #405 set. - #386 (merged, PCCessna) "Add image input for Qwen3.8 27B" and #433 (merged, Nero) "Add Inkling 2 Mini text, vision, DSpark preparation" are the two nearest precedents for adding a vision profile; e9d509d6 also introduced
Profile::PaddedGridandImagePreparationKind::PaddedGrid = 10, the exact shape #483 copies for Gemma4. #483 is therefore the third instance of a repeated pattern (Qwen3.8, Inkling2, now Gemma4), which is evidence for the charter's "solve it once" preference and against adding a fourth bespoke profile. - #8 (closed) "runtime: share bounded image windows between requests" — "bounded by the prefill chunk size without splitting whole images or atomic spans"; the earlier origin of the atomic-span mechanism this PR now exercises.
- Geo: nothing in the local copy is superseded or undone by #483; nothing suggests #483 supersedes anything.
#11 [high] Research summary
Case file for PR #483 (rickybrent, core/gemma4-image-frontend, head f2340e42, base main 6d6fe0c6, 13 files +732/−164, open, "ready for review", zero comments, zero reviews, no CI on the head commit). Eight scratchpad entries cover the angles; the important findings:
The change. Four separable things: a new native Gemma 4 image profile (new helios/src/frontend/images/gemma4.rs, 416 lines: area-bounded resize to a multiple of 48, RGB-interleaved 768-float patches, (x,y) positions, patches/9 soft tokens); a refactor of patch_merge::Processor into a reusable Envelope + processor; generalization of ImageLayoutKind::Bracketed from a hard-coded 2×2/1176 to a 2-entry table 4→(2,1176), 9→(3,768) driven by vision.patches_per_feature; and model/prompt.rs:137-151 filling data.spans from conditioned inputs when image_tokens.span is declared. Proto/contract/Python wiring is additive (GEMMA4_IMAGE_PREPARATION = 11, ImageSettings.gemma4 tag 11, prepare_frontend(image_profile="gemma4")).
Undeclared effects and gaps. (1) The span fill is not Gemma-specific: any existing Bracketed core declaring an ImageSpan (which previously produced empty spans) starts feeding set_prefill_spans, so its image envelopes become indivisible prefill units and validate_prompt_data starts enforcing start/end-token boundaries — the description states the mechanism but not that it changes existing cores, and no test covers this branch. (2) The branch is 7 commits behind main and predates #479, so the checked-in ignition/preparation/runtime_core_pb2.py was regenerated without TERMINAL_PREFILL = 14 and downgrades the gencode header 7.36.2→7.36.1 while pyproject.toml:34 pins protobuf>=7.36.2,<8; merging as-is would drop a merged enum value from the Python bindings. On #426 the same defect was an explicit merge blocker for yatesdr. (3) The parity tests are environment-gated and return silently without FLARE_GEMMA4_TEST_SNAPSHOT and a repo .venv, so the claimed "45 passed … including Hugging Face parity" is reproducible only on the author's box and CI would report the same count without running them. (4) No gemma4 contract fixture (gemma4_frontend.json still null image fields) despite #405 setting that precedent; no docs touched.
Context. Gemma 4 text is already supported here; only the image half was missing, and the recipe half now lives in the split-out hyperflare-recipes repo, so this is by construction half a cross-repo change (the author also has #484 open on the recipes side). #479 (merged) landed the same proto enum this PR was branched before; #426 overlaps the proto and the atomic-span scheduler; #229/#386/#433 are the vision-path precedents this follows as the third instance of a bespoke profile, which cuts against the charter's model-agnosticism line.
#12 [high] Project fit: satisfies the enum-orthogonality rule, strains the model-agnostic and evidence rules
Charter (read in full) vs the change:
- Where it lines up. The charter's "Keep the runtime small and model-agnostic" rule (charter line 12: "Helios ... handles scheduling, caches, and requests, and shouldn't accumulate per-model branches (#267, #334)") is the rule the change explicitly tries to satisfy: it derives the Bracketed merge side and patch width from
config.contract.vision.patches_per_featureinstead of branching on model identity, and it splitspatch_merge::Envelopeout so Gemma 4 reuses the existing envelope expansion rather than copying it.docs/runtime-core-design.md:206-210requires exactly this shape ("Frontend enums independently select ... image preparation and layouts. Marker strings, feature tokens, and atomic image spans are data ... Frontend identifiers cannot select scheduler, cache, text-graph packing, or completion policy"), andhelios/model-contract.md:251-254explicitly blesses "Image token layout data declares feature IDs and atomic spans". The PR keepsImageLayoutKindandImagePreparationKindorthogonal, which is the documented contract. - Where it does not. (a)
bracketed_patch_geometry(packing.rs:16-22) is a two-row hard-coded table4→(2,1176),9→(3,768)inside the generic upload packer: a per-model-geometry constant in shared runtime code, precisely the thing charter line 12 warns about, and hard-coded widths already exist in the same file (1176 at packing.rs:44/131, 588, 768, 1536) so it is at least consistent with local practice. (b) This is the third bespoke image profile of the same shape (Qwen3.8 #386, Inkling2 PaddedGrid #433, now Gemma4); the charter prefers "the smallest footprint in shared code, or a way to solve it without new code at all". (c) "What gets merged" requires a maintainer request, roadmap item, reproducible bug, measured perf/memory issue, or bad docs — none of these is stated; nothing shows a maintainer asked for the Gemma 4 vision path. (d) "Bring real evidence" and "Be explicit and pin everything": the HF parity tests depend on whatevertransformershappens to be installed in a local.venvand skip silently otherwise. (e) "New model recipes ... must list supported checkpoints from an official or widely used source (#74)" — the PR names google/gemma-4-31B-it snapshot 842da379 only in the evidence table, not as a declared support list; docs/model-development.md:77-89 covers E4B/26B-A4B/12B/31B but nothing lists the multimodal variants. - Non-goals. Nothing here is a non-goal (not a new backend, not multi-model routing). Gemma 4 is already a supported text family, so this extends an in-scope model rather than widening coverage.
#13 [high] Reach: existing Bracketed cores gain atomic spans; operators unaffected; nothing servable without the recipe repo; docs untouched
Who and what the change touches, verified by reading:
- Existing non-Gemma cores: any core with
frontend.image_layout = Bracketedthat also declaresfrontend.image_tokens.spannow gets atomic prefill spans it did not have before (prompt.rs:137-151). That constrains prefill chunk boundaries (scheduler.set_prefill_spans,model/packing.rs:615-635"prefill splits an atomic image span") and adds two new validation requirements (tokens[span.start] == start_token,tokens[span.end-1] == end_token, span length ≤prefill_chunk_size, model.rs:422/436-451). MiniMax-M3's patch-merge/Bracketed core is the realistic subject (helios/src/frontend/images/layouts/bracketed.rs:105-180 test uses PatchMerge settings with]<]image[>[envelopes). Any core whose envelope currently exceedsprefill_chunk_sizewould start failing at admission; nothing in the PR tests that. - Cores with Bracketed but patches_per_feature ∉ {4,9} now fail with "unsupported bracketed patches_per_feature" in both
tensor_layoutandbracketed(); before, anything other than 4 was rejected too, so no regression, but the failure surface moved from upload time to layout-sizing time. - Operators / configuration / defaults: no new CLI flag, config key, or default.
vision.patches_per_featurecontinues to size image limits viaimage_limits(server/config.rs:441-464:max_patches_per_image = min(last patch capacity, features_per_request × patches_per_feature)), so a Gemma 4 core must declarepatches_per_feature = 9and patch capacities that are multiples of 9 (helios/src/model.rs:74-81,helios/manifest.md:184-187). - Compatibility: proto additions are additive (tag 11 in two places); model contract versions stay 1–3; no field removed or renumbered. The genuine compatibility risk is the regenerated
runtime_core_pb2.pydropping main'sTERMINAL_PREFILLand downgrading the gencode header against theprotobuf>=7.36.2pin (separate note).helios/manifest.md:467-471documents the exact regeneration command (protoc --proto_path=helios/proto --python_out=ignition/preparation ...) that would have to be re-run on top of main. - Dependencies: no new Rust or Python dependency; the parity test reaches into PyTorch/transformers at test time only (
gemma4.rs:340-354). The PR body notes aflare-heliopauserebuild (uv pip install --offline ... ./heliopause) and 15 pytest results intests/preparation/test_core_boundary.pyandtest_source_identity.py, i.e. the preparation wheel must be rebuilt for the new profile to appear. - Deployment / end-to-end: no Gemma 4 vision graph, decoder, or capture exists in this repository (
ignition/recipes/was removed in 17bb3c4a/da037284), so nothing can serve an image through this code until the companionhyperflare-recipesPRs land. Users see no change from this PR alone. - Documentation: untouched.
helios/model-contract.md,helios/manifest.md,docs/runtime-core-design.md,docs/model-development.mdanddocs/TODO.txthave no entry for the new profile, the 3×3 bracketed stride, or the newly-active span requirement — the gap yatesdr made #426 close before merging.
#17 [high] Amendment 2026-11-25: #483 rebased and heavily revised — prior blockers largely addressed
PR #483 head is now 2b4a31e9 (author says rebased onto main 27716185), 36 files, +2269/−240 (was 13 files +732/−164 at f2340e42). Author comment 2026-11-25 08:11 (pr_comments) addresses every blocker/should-fix/nit from the autobot review of 2026-11-24 15:23.
Fixed since my previous report:
- pb2 drift gone:
helios/proto/runtime_core.proto:401hasTERMINAL_PREFILL = 14at pr/483; the pb2 descriptor now carries TERMINAL_PREFILL and PreparationManifest (runtime_core_pb2.py:27,92-93). Header isProtobuf Python Version: 7.36.1(pb2:5) — butmain's own checked-in file is also 7.36.1 (read at ref main, line 5), so it is no longer a downgrade against main;pyproject.toml:34still pinsprotobuf>=7.36.2,<8, a pre-existing main-line inconsistency, not a #483 defect. My earlier "main has 7.36.2" claim was wrong. - Hard-coded geometry table deleted.
packing.rsnow:bracketed_patch_features(vision)reading newVisionCapacity.patch_features = 6(proto:282,#[serde(default)]via helios/build.rs),square_merge_side()over any positive squarepatches_per_feature, legacy 1176 default, checked arithmetic.ImageProcessor::patch_features()infrontend/images/mod.rsunifies per-profile widths (Qwen/MiMo 1536, Radio 768, Glm 1176, PatchMerge 1176, PaddedGrid 1200, Gemma4 768, DeepSeek family 588) andconditioned.rs:187uses it. - Atomic spans moved to
layouts/bracketed.rs: newatomic_spans: boolargument,flush_spangated onimage_tokens.span.is_some()and validating both envelope markers (bracketed.rs:52-70).model/prompt.rsnow only passes the flag. New testbracketed_layout_emits_atomic_spans_only_when_contract_declares_them(prompt.rs:1170-1284) covers span==conditioned_input.token_span, span.len()==262, 256-chunk rejection, and MiniMax-style no-span → empty. - HF parity is now unconditional for the geometry/pixels:
tests/frontend/gemma4_images.json(8 cases, SHA-256 of resized RGB, pixels, positions across max_soft_tokens 280 and 1120) + generatortests/frontend/generate_gemma4_image_fixtures.py, consumed bycanonical_processor_pixels_positions_and_resize(gemma4.rs:268-330). The two live-checkpoint tests are now#[ignore](gemma4.rs:375, and the .venv one). - Load-time validation added:
gemma4::Processor::loadrequires patch_size ≤64, pooling ≤16, pooling²==limits.patches_per_feature, max_soft_tokens∈{70,140,280,560,1120}, max_soft_tokens*pooling² ≤ max_patches_per_image (gemma4.rs:23-45);server::config::validate_loaded_image_processor(config.rs:443-489) checks patch width vsvision.patch_features(with re-export hint), envelope ≤ prefill_chunk_size and ≤ span.max_tokens, plus testloaded_gemma4_image_processor_validates_patch_width_and_envelope_chunk_bounds. - Ignition
image_settings(profile="gemma4")no longer pins the 31B tower: accepts anymodel_type: gemma4/vision_config.model_type: gemma4_vision, rejectsgemma4_unified(12B), reads image/boi/eoi tokens fromtokenizer_config.jsonand cross-checks them againsttokenizer.jsonand optional config IDs, fails closed without tokenizer_config/snapshot (frontend.py:92-172). Newtests/preparation/test_frontend_gemma4.py(216 lines) incl. three cached checkpoints (google/gemma-4-31B-it, nvidia/Gemma-4-31B-IT-NVFP4, google/gemma-4-E2B-it) thatpytest.skipwhen not cached. - Docs now updated: helios/README.md:706-719 (Gemma 4 paragraph), docs/runtime-core-design.md:181-196 (patch_features + bootstrap agreement), helios/model-contract.md:82 (vision row), docs/TODO.txt:331-338 (new end-to-end qualification entry for E2B/E4B/26B-A4B/31B + partial-span prefix-cache audit).
Net: this is now a substantially different, much larger PR (~3x), and the four items I called blockers are closed or converted into load-time errors/tests.
#18 [high] Amendment 2026-11-25: residual gaps and newly introduced narrowings after the fix round
Things that remain true or are newly true at head 2b4a31e9:
- Still zero reviews/comments from maintainers: only flare-autobot's case file + review, then the author's reply (pr_comments). PR body claims "Verified on origin/main" with self-run CPU-only numbers (47+2 ignored frontend::images, 54 model::, 28 protobuf, 3 server::config, 202 heliopause, 22 pytest). No CI run recorded on the head.
checkpoint_tokens_expand_the_image_envelopeis now#[ignore = "requires FLARE_GEMMA4_TEST_SNAPSHOT"](gemma4.rs:375) andnative_pixels_and_positions_match_the_checkpoint_processorstill requires../.venv/bin/pythonand an unpinnedtransformers; both were reported as passing by the author, not by a neutral run.native_...compares only 3 shapes (91x37, 10x3000, 3000x10) againstGemma4ImageProcessor()with default kwargs.- Still no
gemma4_frontend.jsoncontract-fixture update:helios/tests/support/contracts/gemma4_frontend.json:16-17,38still has image_preparation/image_layout/image_tokens null, so the checked-in contract suite still does not exercise the profile (unlike #405's per-recipe fixture precedent). The span coverage is instead inmodel::promptandserver::configtests. This is the one review item the author did not claim to fix. - Nothing is servable still: docs/TODO.txt:331-338 defers E2B/E4B/26B-A4B/31B end-to-end qualification to the companion recipe in
local-inference-lab/hyperflare-recipes; the PR body's limitations section says the same. - New behaviour / new risk introduced by the fix round:
(a)
VisionCapabilities::validate()now requirespatch_featuresto be a multiple of 3 (model.rs:79) — a new load-time rejection for any core declaring a non-multiple-of-3 nonzero width. Legacy 0 still passes. (b)tensor_layout()now takes&VisionCapabilitiesand validatespatches_per_featureis a positive square for Bracketed; previously anything !=4 was rejected at upload. Bracketed cores with, say, patch merge 2 were already invalid, so no regression, but the failure point moved to layout sizing (server bootstrap) instead of request time. (c)Bracketedpacking error text changed "invalid temporal patch-merge image extent" → "invalid bracketed image extent" (packing.rs). (d) Existing Gemma-4-in-name cores prepared withoutpatch_featuresnow fail at load with an actionable re-export error (PR body "Narrowings"), and existing MiniMax/PatchMerge Bracketed cores now get a patch-width check that previously did not exist (bracketed_patch_features1176 vs processor 1176 → passes). patch_merge.rsEnvelope::load error text changed for token problems: "invalid image envelope tokens" (was "invalid temporal patch-merge image settings"); PatchMerge keeps its geometry/normalization error under the old message.- #426 merged 2026-11-25 05:03 (da578c5c) — so #426's own TERMINAL_PREFILL/deferred-prefill scheduler machinery is now on main, and the pb2 collision concern is moot; the surviving overlap is that #483's
VisionCapacity.patch_featuresand #426's scheduler changes both touchhelios/proto/runtime_core.protobut on disjoint fields. - Related items list refreshed: #504, #508, #505, #500, #507, #499, #498, #491, #493, #510, #509 all touch the same proto/CLI files within the last 180 days (items_touching), so proto-file contention is now broad; #229 (Muse Glimmer) still the adjacent vision path; #387 (Qwen3.8 video) now also on the proto.
- Python
image_settings()gained keyword-only argstokenizer_config=andsnapshot=and now fails closed for profile "gemma4" when they are omitted (frontend.py:92-95, 148-150) — callers outsideprepare_frontendthat pass image_profile="gemma4" without them would now raise. Only caller in-repo isprepare_frontend(frontend.py:311-314), which passes both. docs/model-development.mdanddocs/core-design.mdimage-profile prose still do not mention Gemma 4 image (only chat templates at model-development.md:77-89; docs/runtime-core-design.md:233-240 still lists only Qwen/MiMo/DeepSeek image settings). README + runtime-core-design + model-contract + TODO were updated; the enumeration prose in runtime-core-design.md:233-240 is unchanged, so the autobot S5 item is only partly addressed.
#19 [high] Research summary
The event changes the report substantially, so I amended it rather than re-iterating.
Headline amendment: the case file must be re-based. PR #483 is no longer the 13-file, +732/−164 change against f2340e42. The author rebased onto main (27716185) and pushed 2b4a31e9: 36 files, +2269/−240, and posted a point-by-point reply to the autobot "Changes Requested" review. Four of the findings that carried my previous report are now closed in code, so the report's "three behaviours do more than the description says, and one headline claim has no reproducible evidence" framing no longer holds.
Specific amendments to previous findings (entries #17 and #18 in my scratchpad). (1) The stale-bindings blocker is gone — TERMINAL_PREFILL = 14 is present in both the proto and the regenerated pb2, and the pb2 gencode header at 7.36.1 is identical to main's own checked-in file, so my earlier claim that #483 downgrades it against main was wrong; the protobuf>=7.36.2 pin mismatch (pyproject.toml:34) is a pre-existing main-line inconsistency. (2) The hard-coded 4→1176 / 9→768 geometry table is deleted and replaced by a new prepared field VisionCapacity.patch_features = 6 plus square_merge_side() over any positive square patches_per_feature, with ImageProcessor::patch_features() unifying all 11 profiles. (3) Atomic spans moved out of shared model/prompt.rs into layouts/bracketed.rs, gated on image_tokens.span, with a real span-bearing test. (4) The silent-skip parity tests are gone: an unconditional 8-case SHA-256 fixture (tests/frontend/gemma4_images.json + generator) now runs under plain cargo test, and the two live-checkpoint tests are #[ignore]d. (5) Load-time validation now covers pooling² == patches_per_feature, patch width vs patch_features with a re-export hint, and envelope ≤ prefill_chunk_size / ≤ span.max_tokens. (6) The Ignition profile no longer pins the 31B tower and reads envelope tokens from the tokenizer. (7) Docs (README, runtime-core-design, model-contract, TODO.txt) were added.
What still stands, and what is newly true. There is still zero maintainer engagement (only the autobot review and the author's reply) and no CI on the head; the evidence is still self-run CPU-only. helios/tests/support/contracts/gemma4_frontend.json still has image_preparation/image_layout/image_tokens null, so the #405 per-recipe fixture precedent is still not followed — the one review item the author did not claim to fix. docs/runtime-core-design.md:233-240 still enumerates only Qwen/MiMo/DeepSeek image settings, so the doc fix is partial. Nothing is servable without the companion hyperflare-recipes PR, now tracked in docs/TODO.txt:331-338. New narrowings the report should name: VisionCapabilities::validate() now rejects nonzero patch_features not divisible by 3 (model.rs:79); the Bracketed packing error text changed; and a Gemma-4-in-name core prepared without patch_features now fails at load by design. Related-work amendment: #426 merged on 2026-11-25 (da578c5c), which retires the proto-collision concern and makes the surviving overlap purely the disjoint VisionCapacity/scheduler fields.
#20 [high] Amendment: how the previous report's sections must be replaced
The prior report is entry #16 ("Report of 2026-11-24, run 79"). The new event (author push 2b4a31e9 + reply comment) means the report must be re-issued as amendments, not re-stated. Section-by-section replacement map:
- Author / Scale / Link: Scale changes from "13 files, +732/−164" to "36 files, +2269/−240"; head f2340e42 → 2b4a31e9; base main 6d6fe0c6 → 27716185 (author-declared rebase). Author identity, Discord handle, and the 0-merged/1-open-PR history are unchanged.
- Proposal (the five bullets): bullets 1-5 all need rewriting. The
packing.rs:16-22geometry table, thepatch_merge::Processorsplit, andmodel/prompt.rs:137-151no longer exist in that form: geometry is nowVisionCapacity.patch_features+square_merge_side(); spans are emitted bylayouts/bracketed.rs;gemma4.rsis 534 lines with an unconditionally-verified SHA-256 fixture suite. - "Autobot comments: Three things the description does not say": all three are now stale. (1) branch is no longer stale and pb2 no longer omits TERMINAL_PREFILL (and the 7.36.1 header equals main's); (2) the prompt.rs span fill is gone, replaced by layout-owned spans with tests; (3) the tests no longer early-return — fixture parity is unconditional, live-snapshot tests are
#[ignore]d. Replace with the residual items in scratchpad #18 (no contract fixture, partial docs, no maintainer engagement, self-run evidence only, still nothing servable) and the new narrowings. - Touches (highest risk): moves from
frontend/images/+model/packing.rstoVisionCapabilitieswire field +server/config.rsbootstrap validation +layouts/bracketed.rs; plus new test/fixture files undertests/frontend/andtests/preparation/. - Related items: #426 is now merged (da578c5c, 2026-11-25 05:03), so the "same proto file, same atomic-span machinery, still open" framing is retired; #479 remains merged but is no longer a conflict; the proto file now has 10+ concurrent open PRs (#504, #508, #505, #500, #507, #499, #498, #491, #387, #229).
- Any "open questions" list: Q2 (will pb2 be regenerated?) answered yes; Q3 (was FLARE_GEMMA4_TEST_SNAPSHOT set?) now moot for the fixture path but still unverified for the two ignored tests; Q6 (degenerate-aspect resize arithmetic) partially answered — the checked-in fixture pins grid
[1,840,3]for 10×3000 and[1,3,840]for 3000×10 across two soft-token budgets; Q1/Q4/Q5/Q7 stand; Q8 (Discordran.cossack) stands.
Overall verdict shift to state plainly: the four blockers were closed or converted into load-time errors and tests, so the previous "changes requested" posture should become "scope and evidence substantially improved; residual blockers are the missing contract fixture, the still-unengaged owners, and cross-repo unserviceability."
#21 [high] Amendment: citation sheet for the re-based PR head
Facts to cite verbatim in the amended report, all re-read at head 2b4a31e9 unless marked main:
helios/proto/runtime_core.proto:282—uint64 patch_features = 6;(new field onVisionCapacity, comment "zero inherits the layout's legacy width").helios/proto/runtime_core.proto:401—TERMINAL_PREFILL = 14;present at pr/483;:449GEMMA4_IMAGE_PREPARATION = 11;:585Gemma4ImageSettings gemma4 = 11;:598-604the message body.ignition/preparation/runtime_core_pb2.py:5—# Protobuf Python Version: 7.36.1, identical to the same line at refmain;:92-93_PREPARATIONMANIFESTpresent;:164-165_GEMMA4IMAGESETTINGS.pyproject.toml:34stillprotobuf>=7.36.2,<8.helios/src/frontend/images/packing.rs—bracketed_patch_features(),square_merge_side()(rejects non-square),tensor_layout(kind, vision, name, patches),bracketed()usinggeometry.tokens.checked_mul(patches_per_feature) == Some(geometry.patches)and error "invalid bracketed image extent"; testsbracketed_packs_3x3_metadata_widths_and_rejects_invalid_extentsandprocessor_patch_features_match_tensor_layout_for_every_profile(11 profiles).helios/src/frontend/images/mod.rs—ImageProcessor::patch_features()(Qwen/MiMo 1536, Radio 768, Glm 1176, PatchMerge 1176, PaddedGridpadded_grid::FEATURES, Gemma4 768, DeepSeek family 588) andmax_image_envelope_tokens()(Gemma4 only).helios/src/frontend/images/layouts/bracketed.rs:52-70—flush_spangated onatomic_spans, error "bracketed image span is missing envelope markers";:103-108spansintoPromptData.helios/src/model/prompt.rs:51-64— passesimage_tokens.span.is_some(); testbracketed_layout_emits_atomic_spans_only_when_contract_declares_themassertsspan.len()==262, start/end token match, 256-token chunk rejected, no-span → empty spans.helios/src/server/config.rs:443-489—validate_loaded_image_processor: width vsvision.patch_features, Bracketed re-export error, envelope ≤prefill_chunk_size, envelope ≤span.max_tokens; test at:935-1024covers 1122/1121/1152/1088 and 282/320/256 boundaries.helios/src/frontend/images/gemma4.rs:13,23-45—SUPPORTED_SOFT_TOKENS = [70,140,280,560,1120],patch_size > 64,pooling > 16,pooling_area != Some(limits.patches_per_feature)rejections;:268-330fixture test;:375#[ignore = "requires FLARE_GEMMA4_TEST_SNAPSHOT"];.venvparity test still requires../.venv/bin/python.tests/frontend/gemma4_images.json— 8 cases (1×1, 91×37, 672×672, 1008×672, 1920×1080, 10×3000, 3000×10 at 280; 1920×1080 at 1120) withresized/pixels/positionsSHA-256;:239-254the 1120 case (grid[1,75,132], 1100 tokens, 9900 patches).ignition/preparation/frontend.py:92-95,148-172—image_settings(..., *, tokenizer_config=None, snapshot=None), gemma4 branch rejectsgemma4_unified, validates three distinct single-token markers againsttokenizer.jsonandconfig.jsonIDs, fails closed without both kwargs;:301-314prepare_frontendpassestokenizer_configandsnapshot.tests/preparation/test_frontend_gemma4.py(217 lines) — includes@pytest.mark.parametrizeover google/gemma-4-31B-it@842da379, nvidia/Gemma-4-31B-IT-NVFP4@4135a98a, google/gemma-4-E2B-it@3e22461f, eachpytest.skiping when the snapshot is not cached (:195-200).helios/tests/support/contracts/gemma4_frontend.json:16-17,38— stillimage_preparation: null,image_layout: null,image_tokens: null(unchanged by the PR).docs/runtime-core-design.md:181-196— newpatch_featuresparagraph incl. bootstrap verification;:196"...maximum bracketed envelope span agree with the prepared contract andprefill_chunk_size";:233-240the older image-profile enumeration prose still lists only Qwen/MiMo/DeepSeek.helios/README.md:706-719— Gemma 4 processor paragraph;helios/model-contract.md:82— vision row now mentionspatch_features/ legacy 1176;docs/TODO.txt:331-338— end-to-end qualification + partial-span prefix-cache audit entry.helios/src/model.rs:79—|| !self.patch_features.is_multiple_of(3)(new rejection; legacy 0 allowed).helios/build.rs—.field_attribute(".flare.runtime.VisionCapacity.patch_features", "#[serde(default)]")..github/workflows/native-serving.yml:63,68— CI runscargo test --features runtime-core,serverfor helios, so the new fixture test would run; no checks recorded on 2b4a31e9.- PR body claimed evidence (self-run): 47 passed / 2 ignored
frontend::images; 54model::; 28runtime_core::protobuf; 3server::config; 202 heliopause; 22 pytest; 3 externalhyperflare-recipestests; explicitly "no serving-path timing or memory was measured".
#14 [medium] Community: no engagement at all — no comments, reviews, reactions or CI on a one-day-old "ready for review" PR
- Engagement to date: none.
pr_commentson #483 returns "No comments" — no review, no inline comment, no reaction, no label, no assignee, and "CI on the head commit: no checks" per the orientation packet. One day old at the time of the packet (opened 2026-11-23, last updated 2026-11-23). - The only voice in the thread is the author's own description, which is unusually complete (why/what/claim/evidence/limitations/logistics) and self-aware about the missing half ("end-to-end multimodal serving requires the companion Gemma 4 vision recipe PRs in
local-inference-lab/hyperflare-recipes" and "extreme aspect-ratio clamp branches ... have exact Hugging Face pixel/position parity on synthetic inputs in Rust unit tests rather than real ultra-wide photos"). - Contrast with the closest comparable open PR: #426 received a five-point review from yatesdr within a day of opening and a second five-point review after revision, plus a flare-autobot case file and an auto-review halt. So the review latency here is not a signal about the change's merits — nothing has engaged yet at all.
- The author signs with
Discord: ran.cossack, matching the house convention (e.g. #426Discord: el8), but no maintainer has responded and the PR does not cite a maintainer request or a linked issue. Nothing in the repository's issue tracker asks for Gemma 4 image support (searches for "gemma4", "Gemma 4 image" return only this PR plus unrelated Gemma 4 text/template work). - Charter's "Respect contributors" clause lists
@voipmonitor,@original-el8,@lukealonsoas priority contributors who get the benefit of the doubt; rickybrent is not among them and has no merged history here, so the change will be judged on merits and evidence alone.
#15 [medium] Recent activity: #479/#430 landed after the branch point, the recipe split removed the other half, every orientation lead dispositioned
Recent activity in the three touched areas (60-day commit owners from the orientation packet, plus the commits themselves verified via search_history):
- helios/src: Luke Alonso (204), Martin Vit (45), yatesdr (43). helios/proto: Luke Alonso (43), Martin Vit (8), jasonc (6). ignition/preparation: Luke Alonso (145), Martin Vit (48), Eugene Rakhmatulin (36). So proto/preparation churn here is overwhelmingly Luke Alonso's, and #483 touches both.
- The last main-line commits in exactly these files, and how #483 relates:
- e091689b (#479, 2026-11-23, Martin Vit) added
TERMINAL_PREFILL = 14toenum GraphOperationinhelios/proto/runtime_core.protoand regenerated the Python bindings. #483 was branched before it (its proto has no TERMINAL_PREFILL) and its regenerated pb2 omits it — a direct conflict with work merged after the branch point. - 66bf6d03 (#430, 2026-11-22, Jason Cook) added
Execution.persistent_workersto the same proto + pb2; the PR body claims a round-trip check forExecution.persistent_workers, so the author was aware of this entry but regenerated from a tree that still lacked #479's. - da037284 / 17bb3c4a (2026-11-22, Luke Alonso) "Stage hyperflare_recipes separation ... Remove extracted hyperflare_recipes, qualification drivers, and model tests" — this is why the recipe half of Gemma 4 vision cannot live in this PR.
- 0d45b17a (#386, PCCessna) Qwen3.8 image input and e9d509d6 (#433, Nero) Inkling 2 vision — the two most recent vision-profile additions, both of which shipped a recipe alongside the Rust profile; #483 cannot.
- 6d6fe0c6 (#460, yatesdr) is the claimed base; main has since moved 7+ commits (tip 2fe05e15 at packet time).
- e091689b (#479, 2026-11-23, Martin Vit) added
- Does #483 build on / conflict with / reverse recent work? It builds on the profile pattern from #386/#433 and the atomic-span machinery from #8/#426-family, conflicts with #479's proto state only through its stale regenerated bindings, and reverses nothing.
- Orientation-packet leads followed and dispositioned: #426 (relevant — same proto + atomic-span scheduling, entry above); #396 (merged, literal special tokens, shares 3 files — no topical overlap, not relevant); #484 (same author, recipes-side Gemma 4 context — relevant to the author's series, entry above); #229 (open, Muse Glimmer vision on the same 10 files — adjacent vision work, relevant); #430 (merged, shares proto/pb2 — relevant as the other thing the regenerated bindings must preserve); #314 diffusion, #404 activation steering, #472 worker telemetry, #486/#492/#477 compression, #493 Windows downloads, #284/#282 DeepSeek row-sharded prefill — same-files or title-word matches only, not relevant to this change.