Case file: PR #483 — "Add Gemma 4 image prep profile, bracketed 3x3 packing & atomic spans"
Author rickybrent, branch rickybrent:core/gemma4-image-frontend, head f2340e42, base main 6d6fe0c6.
Open, marked "ready for review", opened and last updated 2026-11-23. 13 files, +732 / −164.
Zero comments, zero reviews, zero labels, no CI checks on the head commit.
This is a case file, not a verdict.
Key findings
- The branch is stale and its regenerated Python bindings drop merged work. The PR was branched before #479 (e091689b, 2026-11-23) landed
TERMINAL_PREFILL = 14inenum GraphOperation.helios/proto/runtime_core.protoatpr/483ends atSCORED_PREFILL = 12(proto:330-339);mainhasTERMINAL_PREFILL = 14at proto:338 andcontract.rs:70. The checked-inignition/preparation/runtime_core_pb2.pywas regenerated from the fork's proto and has no match forTERMINAL_PREFILL, whilemain's does (line 27 of the descriptor). Merging as-is would silently remove a merged enum value from the Python bindings. - The same regeneration downgrades the protobuf gencode header.
runtime_core_pb2.pylines 5, 12-19 go 7.36.2 → 7.36.1 whilepyproject.toml:34pinsprotobuf>=7.36.2,<8. On #426 reviewer yatesdr asked for precisely this fix ("loses the version header ... regenerate it with the version main uses") — so there is review precedent treating it as a merge blocker. - The atomic-span change is not Gemma-specific and is untested.
helios/src/model/prompt.rs:137-151fillsprepared.data.spanswheneverimage_tokens.spanis declared and spans are empty.ImageLayoutKind::Bracketedpreviously produced no spans (layouts/bracketed.rs:82-91returnsPromptData { ..Default::default() }), so existing Bracketed cores gain indivisible prefill units (runtime.rs:1458-1465→scheduler.set_prefill_spans), plus new admission rules (model.rs:408-457: span ≤prefill_chunk_size, start/end token must match, no span-cutting inmodel/packing.rs:615-635). The description states the mechanism but not that it changes existing non-Gemma cores, and no test exercises the branch. - The headline evidence is environment-gated and skips silently. Both parity tests (
gemma4.rs:236-332and334-415) early-return unlessFLARE_GEMMA4_TEST_SNAPSHOTis set and<repo>/.venv/bin/pythonexists; they are not#[ignore]d as the repo's other snapshot tests are (helios/tests/ordinary_tokens.rs:450(not opened),helios/tests/reasoning_delimiters.rs:213(not opened)). So "45 passed ... including Hugging Face checkpoint pixel/position parity" is consistent with the tests never running, and CI would report the same count. - No contract fixture, no docs.
helios/tests/support/contracts/gemma4_frontend.jsonstill hasimage_preparation,image_layout,image_tokensall null (lines 16-17, 38), so the new profile is not exercised by the checked-in contract suite, unlike the precedent set in #405. No changelog,docs/*.md,helios/model-contract.mdorhelios/manifest.mdentry for the profile or the new 3×3 bracketed stride. - Half of a cross-repo change.
ignition/recipes/was removed from this repo on 2026-11-22 (da037284 / 17bb3c4a, "Stage hyperflare_recipes separation ... Remove extracted hyperflare_recipes"), so the vision decoder/capture half cannot land here; the author says as much and has #484 open against the recipes side. Nothing here changes what a user can serve by itself. - A hard-coded two-row model-geometry table in the generic packer.
bracketed_patch_geometry(packing.rs:16-22) maps4→(2,1176)and9→(3,768). The PR frames this as "deriving from the contract, no model-identity branching"; the charter's line 12 warns Helios "shouldn't accumulate per-model branches (#267, #334)". Both readings are defensible; a reviewer should see the tension named. - The comparable PR got reviewed within a day; this one has no engagement at all. #426 received two five-point reviews from yatesdr. #483 has no comments, no labels, no linked issue, and no stated maintainer request — which the charter requires for merge ("PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs").
The change
What it does, plainly. Gemma 4 multimodal checkpoints want images turned into aspect-preserving 16×16 patches (768 f32 each), 2-D (x, y) patch positions, 3×3 spatial pooling (9 patches → 1 soft token, up to 1,120 soft tokens per image), and an image token envelope that the prefill scheduler must not split. Helios had no Gemma 4 image profile, and ImageLayoutKind::Bracketed only accepted 2×2 merge (4 patches/feature, 1,176 floats/patch). This PR adds the profile and generalizes the layout.
Four separable pieces, all verified at pr/483:
- New profile —
helios/src/frontend/images/gemma4.rs(new, 416 lines). Area-bounded aspect-preserving resize to a multiple ofpatch_size × pooling= 48 (gemma4.rs:54-93); RGB-interleaved patch packing(y, x, channel)with/255normalization (gemma4.rs:130-158);(x, y)positions (gemma4.rs:137); soft tokens = patches/9. Envelopeextraction —patch_merge::Processorsplit into a reusableEnvelope(start/image/end token validation +expand) at patch_merge.rs:10-30, 83-133, so Gemma 4 shares the envelope expansion instead of copying it. Side effect: token-only faults now report "invalid image envelope tokens" rather than "invalid temporal patch-merge image settings" (patch_merge.rs:20-30).- Bracketed generalization —
bracketed_patch_geometry(patches_per_feature)(packing.rs:16-22) accepting 4 → (2, 1176) and 9 → (3, 768), rejecting the rest;tensor_layoutgained apatches_per_featureparameter (packing.rs:26-45); its sole callerhelios/src/model/packing.rs:91-95passesconfig.contract.vision.patches_per_feature;bracketed()at packing.rs:479-491 no longer hard-checks!= 4. Nothing previously valid becomes invalid (anything ≠ 4 was already rejected); the failure surface moves from upload time to layout-sizing time, and the message becomes "unsupported bracketed patches_per_feature". - Atomic spans —
helios/src/model/prompt.rs:137-151. See Key finding 3 and the Reach section.
Plus additive wiring: GEMMA4_IMAGE_PREPARATION = 11 (proto:386), ImageSettings.gemma4 oneof tag 11 with Gemma4ImageSettings{patch_size, pooling_kernel_size, max_soft_tokens, image_token, start_token, end_token} (proto:519-522, 532-541), ImagePreparationKind::Gemma4 = 11 (contract.rs:68), encode/decode (protobuf.rs:167-172), describe (describe.rs:442-443), and Python image_settings(profile="gemma4") validation (ignition/preparation/frontend.py:113-137) plus a regenerated runtime_core_pb2.py.
What the description does not say. (a) The span fill reaches existing Bracketed cores (Key finding 3). (b) The pb2 regeneration drops TERMINAL_PREFILL and downgrades the gencode header (Key findings 1-2). (c) The parity tests skip silently (Key finding 4). (d) The Envelope refactor changes patch-merge error text. (e) gemma4::Processor::load validates patch_size 1..=64 and pooling 1..=16 (gemma4.rs:11, 23-31) but does not require 16/3 — the Bracketed packing path only supports pooling² ∈ {4, 9}, so an inconsistent config fails later, in packing, rather than at load. (f) The Python validation hard-codes the token strings <|image|> / <|image> / <image|> rather than reading them from the checkpoint (frontend.py:113-137); it also pins vision geometry (gemma4_vision, 27 layers, hidden 1152, 16 heads, head_dim 72, intermediate 4304) and max_soft_tokens ∈ {70,140,280,560,1120}. Fixed constants are house style (GLM's image_token_id: 154854), so this is a note, not a defect.
What the description says that the change does not fully do. It claims "wire-compatible and unaffected" for existing cores; the wire is indeed additive (nothing removed or renumbered; model contract versions stay 1-3), but "unaffected" is not true of existing Bracketed cores' scheduling (Key finding 3). It also claims parity "against Hugging Face's Gemma4ImageProcessor", which the tests only demonstrate when the environment is present.
The why
- Gemma 4 text support already exists and predates the PR. Problem/solution templates landed 2026-10-23 (
bcf7177d, "Parse Gemma 4 reasoning channels and tool calls (#62)");docs/api.md:749(not opened) lists agemma4sampling profile pointing atgoogle/gemma-4-26B-A4B-it;docs/model-development.md:77-89documents the Gemma 4 chat templates for E4B / 26B-A4B / 12B / 31B;helios/tests/fixtures/templates/gemma4/*.patch.json(not opened) exist with tests (jinja/tests.rs:274 (not opened),278,822-823;message_boundaries.rs:191-261(not opened)). So this closes the image half of an already-supported family — the pattern the project used for the text side. - The gap is exactly the image half.
helios/tests/support/contracts/gemma4_frontend.json:16-17,38hasimage_preparation,image_layout,image_tokensall null; before this PR there was no Gemma 4ImageSettingsvariant, processor, or preparation profile. - How long / how widely wanted: no evidence. Nothing in the 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. No maintainer request is cited, and the charter's merge criteria require one of (maintainer request, roadmap item, reproducible bug, measured perf/memory issue, bad docs). - The recipe half now lives elsewhere.
ignition/recipes/was removed from the repo on 2026-11-22 (da037284, 17bb3c4a);docs/model-development.md:68-89now points athyperflare_recipes/recipes/gemma4/.... The author's own limitation note says end-to-end multimodal serving needs "companion Gemma 4 vision recipe PRs inlocal-inference-lab/hyperflare-recipes", and their #484 referenceshyperflare-recipes@11700f86withrecipes/{deepseek41,gemma4,…}— the same work stream.
Related work
- #479 "static fused addend / gated gather, DMA ring all_gather, optional TerminalPrefill" (merged, e091689b, 2026-11-23) — added
TERMINAL_PREFILL = 14to the same proto and regenerated the same pb2. #483 was branched before it and its bindings omit it: this is the only real conflict in the tree. - #426 "Add TERMINAL_PREFILL Operation Contract (v4) & Boundary-Aware Prefill Scheduling" (open, original-el8) — same proto file, same contract.rs / model/packing.rs / pb2 files, and the same atomic-span scheduler machinery (
set_prefill_spans, boundary-aware prefill) that #483 newly feeds. Additive field numbers do not collide (11 vs 14). It is also where yatesdr reviewed the protobuf-header defect as a blocker. - #405 "Treat declared markers as controls …" (merged, yatesdr) — added the per-recipe contract fixtures
inkling2_frontend.json(not opened),nemotron_h_frontend.json(not opened),gemma4_frontend.json, "checked against the recipes by tests/recipes/…". The established mechanism for landing a new frontend profile; #483 does not updategemma4_frontend.json. - #386 "Add image input for Qwen3.8 27B" (merged, PCCessna, 0d45b17a) and #433 "Add Inkling 2 Mini text, vision, DSpark preparation" (merged, Nero, e9d509d6) — the two nearest precedents; #433 introduced
Profile::PaddedGridandImagePreparationKind::PaddedGrid = 10, exactly the shape #483 copies. #483 is the third instance of the pattern (Qwen3.8, Inkling2, Gemma4), which is simultaneously evidence of a working pattern and of an accumulating set of bespoke profiles. - #8 "runtime: share bounded image windows between requests" (closed) — "bounded by the prefill chunk size without splitting whole images or atomic spans": the origin of the mechanism #483 now actually activates for Bracketed.
- #229 "Muse Glimmer 30B NVFP4 … with images" (open, Raydius) — shares 10 files per the packet; adjacent vision-enablement work competing for the same frontend/contract surface.
- #484 "Stride state_transfer._copy_rows tiles …" (open, same author, same day) — recipes-side context (
hyperflare-recipes@11700f86,recipes/gemma4), i.e. the companion to this PR. - Same-files or title-word matches only, not topical: #314 (diffusion tensors), #404 (activation steering), #472 (worker telemetry), #477/#486/#492 (compression), #493 (Windows downloads), #284/#282 (DeepSeek row-sharded prefill), #396 (literal special tokens). Nothing in the local copy is superseded or undone by #483.
Recent activity
- Ownership of the touched areas (60 days): 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. #483 touches proto and preparation, both dominated by Luke Alonso.
- Commits in these exact files, and how #483 relates:
- e091689b (#479, Martin Vit, 2026-11-23) —
TERMINAL_PREFILL = 14+ pb2 regen. Conflict (branch predates it, bindings omit it). - 66bf6d03 (#430, Jason Cook, 2026-11-22) —
Execution.persistent_workersin the same proto + pb2. The PR body claims a round-trip check forExecution.persistent_workers, so the author knew about this entry — but regenerated from a tree that still lacked #479's. The bindings must preserve both. - da037284 / 17bb3c4a (Luke Alonso, 2026-11-22) — recipes extraction; this is why the vision half cannot live here.
- 0d45b17a (#386, PCCessna) and e9d509d6 (#433, Nero) — the two prior vision-profile additions, built on (same pattern, same
conditioned.rsprofile dispatch). - 6d6fe0c6 (#460, yatesdr) is the claimed base; main had moved 7+ commits by packet time (tip 2fe05e15).
- e091689b (#479, Martin Vit, 2026-11-23) —
- Verdict: builds on #386/#433/#8 and the atomic-span family; conflicts with #479 only through stale generated bindings; reverses nothing.
- Every orientation lead dispositioned: #426 relevant (proto + atomic spans); #229 relevant (adjacent vision); #484 relevant (author's companion work); #430 relevant (other thing the bindings must keep); #405 relevant (fixture precedent, not followed); #396, #314, #404, #472, #477, #486, #492, #493, #284, #282 not relevant (file/title overlap only).
- CI:
.github/workflows/native-serving.yml:31(not opened) prepares gemma4 templates among others, so the Rust changes would normally be exercised — but no checks ran on f2340e42. Recent merged PRs in this area (#405, #460, #478, #479) all ship CI/run tables; this one ships only self-run output.
People
rickybrent— GitHub association with the repo: NONE. In 180 days: 0 merged, 0 closed, 1 open pull request (#484, opened the same day). No prior merged track record here to weigh, and not among the charter's priority contributors (@voipmonitor,@original-el8,@lukealonso), so the change is judged on merits and evidence.- The author's other work — #484's own comment names
hyperflare-recipes@11700f86,components/{paged_batch,resume}.pyandrecipes/{deepseek41,gemma4,glm53,inkling2,qwen38,step5}, so they are active in the split-out recipes repo and the two PRs are a cross-repo series. - Who owns the image frontend — Jason Cook/jasonc (7fe5ac78 GLM image encoding, 44bdae38 prepared weight views, 8c9e5faf), PCCessna (0d45b17a Qwen3.8 image input), Nero (e9d509d6 Inkling 2 vision), with Luke Alonso as the dominant committer in proto and preparation. None of them has engaged with #483.
- Likely reviewers —
yatesdr(pressed hardest on the closest comparable, #426, twice; also #460/#478) for the contract/proto side;original-el8for the atomic-span/prefill machinery (#426 owner, priority contributor). - Discord — the PR signs
Discord: ran.cossack, matching house convention (cf. #426'sDiscord: el8); the handle does not map to a GitHub identity in the packet.
Community
- Nothing.
pr_commentsreturns "No comments": no review, no inline comment, no reaction, no label, no assignee, no CI. One day old at packet time (opened and last updated 2026-11-23). - The only voice is the author's description, which is unusually complete (why / what / claim / evidence / limitations / logistics) and self-aware about the missing half and about the synthetic-only extreme-aspect-ratio coverage.
- Contrast: #426, the nearest comparable open PR, received a five-point review from yatesdr within a day of opening and a second after revision. The silence here is not a signal about merit — nothing has engaged yet.
- No linked issue, no maintainer request, no roadmap item cited.
Project fit
Charter read in full.
- 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 what the change explicitly tries to satisfy: geometry comes from
config.contract.vision.patches_per_featureinstead of model identity, and the envelope expander is shared rather than copied.docs/runtime-core-design.md:206-210requires exactly this shape ("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-254blesses "Image token layout data declares feature IDs and atomic spans".ImageLayoutKindandImagePreparationKindremain orthogonal, as documented. - Strains. (a)
bracketed_patch_geometry(packing.rs:16-22) is a two-row, model-specific geometry constant inside the shared upload packer — the thing charter line 12 names; it is at least consistent with existing practice (hard-coded 1176, 588, 768, 1536 already in the same file at packing.rs:44/131). (b) Third bespoke image profile of the same shape; the charter prefers "the smallest footprint in shared code, or a way to solve it without new code at all". (c) Merge criteria unmet on their face — no maintainer request, roadmap item, bug, measured perf/memory issue, or bad docs is stated. (d) "Bring real evidence" / "pin everything": the parity tests depend on whatevertransformersis installed in a local.venv, and skip silently otherwise. (e) "New model recipes … must list supported checkpoints from an official or widely used source (#74)" —google/gemma-4-31B-itsnapshot842da379appears only in the evidence table, not as a declared support list;docs/model-development.md:77-89covers text variants only. - Non-goals: nothing here is a non-goal (not a new backend, not multi-model routing). It extends an already in-scope family.
- Adjacent contract rule: contract validation requires
image_layout.is_some() == image_preparation.is_some()(contract.rs:377-381), so a Gemma4 core must also declare a layout — intended to beBracketed, but nothing in the change pins Gemma4 ↔ Bracketed either way. The companion recipe must get that pairing right.
Claims and evidence
| Claim | What backs it |
|---|---|
"Natively decodes, resizes, normalizes, packs, and validates Gemma 4 images with exact f32 pixel and (x, y) position parity against Hugging Face's Gemma4ImageProcessor" |
native_pixels_and_positions_match_the_checkpoint_processor (gemma4.rs:334-415) really does byte-compare pixels and positions against transformers.models.gemma4.image_processing_gemma4.Gemma4ImageProcessor on synthetic gradient images (91×37, 10×3000, 3000×10). But it early-returns unless <repo>/.venv/bin/python exists, and the reference transformers revision is unpinned. Reproducible only on a developer machine. |
| "45 passed … including Hugging Face checkpoint pixel/position parity" | Plausible on the author's box, where they say they set FLARE_GEMMA4_TEST_SNAPSHOT=<google/gemma-4-31B-it snapshot> (snapshot 842da379). Not reproducible from the repo: checkpoint_tokens_expand_the_image_envelope (gemma4.rs:236-332) returns silently without the env var and a .venv, and shells out to Python for a chat template with another silent return on non-zero status. Neither test is #[ignore]d (ordinary_tokens.rs:450 (not opened), reasoning_delimiters.rs:213 (not opened) show the house pattern), so a bare cargo test reports them as passing. |
| "Bracketed 4/9/invalid layout tests" and "53 model:: tests", "cargo check flare-cli", "15 pytest preparation tests" | Self-run, CPU-only, no CI artefact on f2340e42. Consistent with the diff (new #[cfg(test)] in packing.rs, three gemma4.rs tests, a new ImageSettings::Gemma4 entry in conditioned.rs's profile-list test). |
| "Existing cores … remain wire-compatible and unaffected" | Wire-compatible: confirmed, additions only, no renumbering, contract versions unchanged. "Unaffected" is not established for existing Bracketed cores (Key finding 3) and is contradicted for Python bindings unless regenerated on main (Key findings 1-2). |
| "no model-identity branching in upload packing" | Mostly true — geometry is keyed on patches_per_feature — but the resulting table is a hard-coded mapping of the only two models that use it, and conditioned.rs:192 still dispatches Profile::Gemma4(_) => 768 for pixel width (mirroring the existing Glm 1176 arm). |
| "Verified on base 6d6fe0c6" | Base is 7 commits behind main; #479 was merged after, which is the root of the pb2 drift. |
| Extreme aspect ratios "have exact Hugging Face pixel/position parity on synthetic inputs rather than real ultra-wide photos" | Honest limitation, correctly scoped by the author. Note that the fixture asserts a 3-wide grid for 10×3000 while target_height == 0 handling at gemma4.rs:70-76 involves integer division before the clamp — I could not reconcile that arithmetic from the listing; a reviewer should read gemma4.rs:54-93 directly. |
(No test) atomic spans from prompt.rs |
There is none. prompt.rs:445-461 "every_image_layout_describes_history_larger_than_the_feature_window" covers 8 layouts and does not include a Bracketed/Gemma4 case. |
Reach
- Existing non-Gemma cores. Any core with
image_layout = Bracketedandimage_tokens.spandeclared now feedsprepared.data.spans(prompt.rs:137-151) →runtime.rs:1458-1465scheduler.set_prefill_spans, which rejects spans longer thanprefill_chunk_size(scheduler.rs:1913-1935).validate_prompt_data(model.rs:408-457) then requires each span to be non-empty, in bounds, ≤prefill_chunk_size(model.rs:422), ordered and non-overlapping, withtokens[span.start] == start_tokenandtokens[span.end-1] == end_token(model.rs:436-451) — and errors "image layout does not declare atomic spans" if spans arrive without a declared span layout.model/packing.rs:615-635emitsImageLeftContext/ImageRightContextand refuses "prefill splits an atomic image span". The realistic subject is MiniMax-M3's patch-merge/Bracketed core (layouts/bracketed.rs:105-180test uses PatchMerge settings with]<]image[>[envelopes). A core whose envelope exceedsprefill_chunk_sizewould now fail at admission; the PR tests none of this. - Core config.
vision.patches_per_featurealready sizes image 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 declare 9 with patch capacities that are multiples of 9 (helios/src/model.rs:74-81,helios/manifest.md:184-187). No new CLI flag, config key or default. - Operators. No visible change: no new flag, no default moved, no output format touched.
- Compatibility. Proto additions are additive: tag 11 in two places, enum value 11, stable per
docs/runtime-core-design.md:206-210. The genuine risk is generated-file drift (Key findings 1-2).helios/manifest.md:467-471documents the exact regeneration command (protoc --proto_path=helios/proto --python_out=ignition/preparation …) that would need re-running on top of main. - Dependencies. No new Rust or Python dependency; PyTorch/transformers are reached only from tests (gemma4.rs:340-354). The preparation wheel (
heliopause) must be rebuilt for the new profile to appear — the PR says it did this off-line. - Deployment. Nothing servable until the companion
hyperflare-recipesPRs land: no Gemma 4 vision graph, decoder or capture exists in this repository. - Documentation. Untouched —
helios/model-contract.md,helios/manifest.md,docs/runtime-core-design.md,docs/model-development.md,docs/TODO.txtall lack an entry for the new profile, the 3×3 bracketed stride, or the newly-active span requirement.
Process
- Open, marked "ready for review", 1 day old, no draft flag. No reviews, no comments, no labels, no assignees, no linked issues, no CI checks on the head commit.
- Branch is behind main: base
6d6fe0c6, main tip2fe05e15at packet time — 7+ commits, including #479 whose proto change the PR's generated bindings undo. - Evidence supplied is entirely self-run and CPU-only; no GPU export, no
flare runof a Gemma 4 multimodal core (consistent with the recipes limitation). - No documentation and no contract fixture accompany the change, in contrast to #405's fixture mechanism and #426 where reviewers required docs.
Open questions / could not be found
- How many existing cores actually declare
Bracketed+ anImageSpan? The scheduling behaviour change is real in code but I could not enumerate affected checkpoints from this repo alone (their recipes live inhyperflare-recipes). Does any current core's image envelope exceedprefill_chunk_size? - Will the pb2 be regenerated on top of main before merge? Nothing in the PR says so; as it stands, merging drops
TERMINAL_PREFILLfrom the Python bindings and downgrades the gencode header below theprotobuf>=7.36.2pin. - Was
FLARE_GEMMA4_TEST_SNAPSHOTactually set for the reported run, and whattransformersrevision was used? The tests cannot distinguish the two cases. - Is there a maintainer request, issue or roadmap item for Gemma 4 vision? I found none, and the charter's merge criteria require one.
- Which HF checkpoint(s) are officially supported for the vision path?
google/gemma-4-31B-itsnapshot842da379appears only in the evidence table; no docs list multimodal variants. - Reconcile the resize arithmetic for degenerate aspect ratios. The
target_height == 0clamp path at gemma4.rs:70-76 involves integer division before clamping, yet the fixture expects a 3-wide grid for 10×3000; I could not reconcile it from the listing and did not execute the code. - Does the Gemma4 profile ever get paired with a layout other than
Bracketed? Contract validation only requires layout and preparation presence to agree, so the pairing is convention, not enforcement. - Discord handle
ran.cossackmaps to no GitHub identity in the packet; team/ownership status unknown.