Amendments to the report of 2026-11-24 (PR #483, run 79)
The new event is the author's rebase and point-by-point reply (push 2b4a31e9, comment 2026-11-25 08:11). It changes enough of the previous report that the amendments below replace the corresponding items rather than add to them. Everything not amended here stands as written in the 2026-11-24 report.
Key findings (amended)
- The case file must be re-based. PR #483 is no longer 13 files / +732 −164 at
f2340e42; it is 36 files / +2269 −240 at2b4a31e9, author-declared rebase onto main27716185(author comment, 2026-11-25 08:11). Every line citation in the previous report topacking.rs:16-22,patch_merge::Processor,model/prompt.rs:137-151andgemma4.rs:236-332is stale — superseded by the citations in §"Citations that replace the old ones". - The stale-bindings blocker is gone, and my "downgrade" claim was wrong.
TERMINAL_PREFILL = 14is present at the PR head, and the regeneratedruntime_core_pb2.pyheader is7.36.1— identical to main's own checked-in file, so it is not a downgrade against main. Theprotobuf>=7.36.2,<8pin (pyproject.toml:34) mismatch is a pre-existing main-line inconsistency, not a #483 defect. Retract previous key findings 1 and 2. - The hard-coded two-row geometry table is deleted.
VisionCapacitygains an additiveuint64 patch_features = 6(helios/proto/runtime_core.proto:282, comment "Float32 elements per vision patch; zero inherits the layout's legacy width",#[serde(default)]viahelios/build.rs:54);bracketed_patch_features()reads it with the legacy 1176 default (packing.rs:18-20), andImageProcessor::patch_features()unifies widths across all 11 profiles (frontend/images/mod.rs:459-466, used atconditioned.rs:187). Previous key finding 7 (model identity in the shared packer) is answered — the answer is a new prepared field rather than3·patch_size², because MiniMax's temporal duplication makes3·28² = 588wrong for the existing Bracketed user. - Atomic spans moved out of shared code.
flush_spannow lives inlayouts/bracketed.rs:57-65, gated onatomic_spans(=image_tokens.span.is_some()) and validating both envelope markers ("bracketed image span is missing envelope markers"), emitted atbracketed.rs:106.model/prompt.rsonly passes the flag. Previous key finding 3's "undeclared effect, untested" is closed: there is now a span-bearing test assertingspan.len()==262, start/end token match, a 64-aligned chunk rejection, and the no-span MiniMax case (scratchpad #21,prompt.rs:1170-1284). - The headline parity evidence is no longer environment-gated.
canonical_processor_pixels_positions_and_resize(gemma4.rs:266-330) consumes a checked-in fixture,tests/frontend/gemma4_images.json(8 cases with SHA-256 of resized RGB, pixels and positions, acrossmax_soft_tokens280 and 1120) and runs unconditionally undercargo test; the generator is checked in. The two live-checkpoint tests are now honestly#[ignore]d (gemma4.rs:374-375). Retract previous key finding 4's framing — but note the ignored tests are still unverified by a neutral run: the author reports them passing, and the.venvtest still needs an unpinnedtransformers. - What still stands, unchanged by the event. Zero maintainer engagement (only the autobot review and the author's reply); no CI checks recorded on the head; self-run CPU-only evidence with no serving-path timing or memory;
helios/tests/support/contracts/gemma4_frontend.json:16-17,38still hasimage_preparation,image_layout,image_tokensall null so the contract suite still does not exercise the profile (the one review item the author did not claim to fix); nothing is servable without the companionhyperflare-recipesPR, now deferred explicitly indocs/TODO.txt:331-337. - Newly introduced narrowings the description does not mention. (a)
VisionCapabilities::validate()now rejects any nonzeropatch_featuresthat is not a multiple of 3 (helios/src/model.rs:79) — a new load-time failure for cores declaring such a width; legacy 0 still passes. (b)image_settings()gained keyword-onlytokenizer_config=/snapshot=and fails closed for profilegemma4without them (ignition/preparation/frontend.py:92-93, 142-144); in-repo the only caller passes both (frontend.py:301-314), but out-of-repo callers would now raise. (c) Error text changed: token faults in the extracted envelope now say "invalid image envelope tokens" (patch_merge.rs:28) while geometry/normalization keeps "invalid temporal patch-merge image settings" (patch_merge.rs:101); Bracketed extent failures now say "invalid bracketed image extent". - #426 is merged, retiring the collision framing. #426 landed 2026-11-25 05:03 (
da578c5c), so its TERMINAL_PREFILL / boundary-aware prefill machinery is on main; the surviving overlap with #483 is only that both touchhelios/proto/runtime_core.protoon disjoint fields.
Section replacement map
- Author: unchanged (
rickybrent, no association with the repo, 0 merged / 1 open in 180 days, Discordran.cossack). - Scale: "13 files, +732/−164" → 36 files, +2269/−240; head
f2340e42→2b4a31e9; base6d6fe0c6→27716185. - "The change" (four pieces): replace wholesale with: (1) new profile
frontend/images/gemma4.rs(534 lines); (2)Envelopeextraction frompatch_merge.rs(now with pure-Rust synthetic-tokenizerexpandtests); (3) Bracketed generalization driven byVisionCapacity.patch_featuresand any positive squarepatches_per_featureviasquare_merge_side(); (4) atomic spans emitted bylayouts/bracketed.rs. Add the new fifth piece: load-time validation layers (gemma4.rs:23-45,server/config.rs:443-489,model.rs:79). - "What the description does not say": the old (a)–(d) are stale. Replace with item 7 above plus: docs now updated in
helios/README.md:706-719,docs/runtime-core-design.md:181-196,helios/model-contract.md:82,docs/TODO.txt:331-337— butdocs/runtime-core-design.md:233-240still enumerates only Qwen/MiMo/DeepSeek image settings anddocs/model-development.mddoes not mention Gemma 4 image, so the doc item is only partly addressed. - "Claims and evidence": replace with: the geometry/pixel claim is now backed by a checked-in bit-exact fixture that runs in CI-shaped
cargo test(.github/workflows/native-serving.yml:63 (not opened),68runscargo test --features runtime-core,server); the checkpoint-parity claim remains self-reported behind#[ignore]; the "no serving-path timing or memory measured" caveat is now in the PR body. - "Why": unchanged, with one addition — the PR body now names the deferred end-to-end work explicitly rather than only in a limitation note.
- "Related work": #426 moved from open, collision risk to merged, disjoint fields; #479 no longer a conflict; proto-file contention is now broad (#504, #508, #505, #500, #507, #499, #498, #491, #387, #229 all touch it), so a rebase-and-regen will probably be needed again before merge.
- "Open questions": Q2 (pb2 regenerated?) — answered yes. Q3 (was
FLARE_GEMMA4_TEST_SNAPSHOTset?) — moot for the fixture path, still unverified for the two ignored tests. Q6 (degenerate-aspect resize arithmetic) — partly answered: the fixture pins grid[1,840,3]for 10×3000 and[1,3,840]for 3000×10 at 280 soft tokens, and a 1920×1080 case at 1120. Q1, Q4, Q5, Q7, Q8 stand. - Verdict shift: the previous "changes requested" posture becomes "scope and evidence substantially improved; residual blockers are the missing contract fixture, unengaged subsystem owners, no CI run, and cross-repo unserviceability."
Citations that replace the old ones (all re-read at 2b4a31e9)
helios/proto/runtime_core.proto:282—uint64 patch_features = 6;onVisionCapacity.helios/src/frontend/images/packing.rs:18-20,51,496—bracketed_patch_features()and its two call sites.helios/src/frontend/images/mod.rs:459-466—patch_features()over allProfilevariants;conditioned.rs:187uses it.helios/src/frontend/images/layouts/bracketed.rs:57-65,106—flush_spanandspans.helios/src/frontend/images/gemma4.rs:266-330(unconditional fixture test),:374-375(#[ignore = "requires FLARE_GEMMA4_TEST_SNAPSHOT"]),:23-45(load-time validation).helios/src/server/config.rs:443-489—validate_loaded_image_processor; test at:943-1024covers 1122/1121/1152/1088 and 282/320/256 boundaries.ignition/preparation/frontend.py:92-93,142-167— keyword-onlytokenizer_config/snapshot, fail-closed, tokenizer single-token validation.tests/frontend/gemma4_images.json(new, 256 lines),tests/frontend/generate_gemma4_image_fixtures.py(new),tests/preparation/test_frontend_gemma4.py(new, 216 lines; checkpoint casespytest.skipwhen uncached).helios/tests/support/contracts/gemma4_frontend.json:16-17,38— still null/unchanged.docs/TODO.txt:331-337— deferred E2B/E4B/26B-A4B/31B qualification and partial-span prefix-cache audit.docs/runtime-core-design.md:233-240— unchanged enumeration that omits Gemma 4 image.
What could not be found (unchanged or newly so)
- No maintainer review, label, linked issue, roadmap item or stated maintainer request — the merge bar the charter sets is still not visibly met.
- No CI run on
2b4a31e9; all numbers in the body (47 passed / 2 ignoredfrontend::images, 54model::, 28 protobuf, 3server::config, 202 heliopause, 22 pytest, 3 external recipes tests) are self-run. - Whether the two
#[ignore]d checkpoint tests actually pass — cannot be determined from the repo; they require a HF snapshot and, for one,../.venv/bin/pythonplus an unpinnedtransformers. - No contract fixture tying the Gemma 4 profile to
ImageLayoutKind::Bracketed, so nothing in the checked-in contract suite would catch a cross-layer drift in the profile→layout pairing.