Amendments to my 2026-11-25 report (PR #483, run 529)
Per the task, this is only the amendment, not a re-iteration. The new event is a third autobot review (2026-11-25 10:48 — "Changes Requested", explicitly zero blockers, 5 should-fix + 5 nits) and the author's second fix push ab9a432b with a point-by-point reply at 12:20. Everything not mentioned below stands as written in the 2026-11-25 report.
Key findings
- Re-base again. The PR is no longer 36 files / +2269 −240 at
2b4a31e9; it is 38 files / +2490 −251 atab9a432b, base still main27716185(pr_files;read_item 483, headab9a432b8cc4380f1c98a855a38ce1dd85cf0a20). Still open, no label, no linked issue, no maintainer. - Most of what I flagged is now closed, including two items I had listed as residual: the load-path test exists (
helios/src/model/tests.rs:1277-1452) and the doc enumeration now names Gemma 4 (docs/runtime-core-design.md:233-242). - One residual got sharper, not weaker:
patch_featuresis authored by nobody, in either language.ignition/preparation/contract.py:109-119only defaults it to0and warns in a docstring;frontend.pyemits no width. A recipe filling the historical four vision keys still exports 0 →bracketed_patch_features()reads 1176 → bootstrap rejects the core. - New finding — a false claim in the author's reply: the fixture-provenance test is said to run "actively … in CI". No workflow runs pytest.
- Verdict shift: three review rounds have found no blockers and no correctness defect on the served path. The merge bar is process and evidence: a maintainer decision on landing ahead of the recipe, Ignition authoring
patch_features, a CI run on the head, and one contract fixture that actually mountsBracketed.
1. Scale and head
| previous report | now | |
|---|---|---|
| Head | 2b4a31e9 |
ab9a432b |
| Scale | 36 files, +2269/−240 | 38 files, +2490/−251 |
| Base | main 27716185 |
main 27716185 (unchanged) |
Sources: pr_files (38 files including the three new test assets), read_item 483. Status unchanged: open, unlabelled, no linked issue, no maintainer.
2. Items now closed — delete them from the report
- Per-condition load errors.
gemma4.rs:25-71now has one message per condition naming the field and both values:patch_size1..=64 (:27-33),pooling_kernel_size1..=16 (:34-40), soft-token allowlist (:41-47), pooling area vs preparedpatches_per_feature(:48-60), patch budget vsmax_patches_per_image(:61-71), plus the defensive-wire-cap comment at:26. Verified at this head. - Duplicated width expression.
process()callsself.patch_features()(gemma4.rs:164; helper:86-88=3*patch_size²), matchingserver/config.rs:450. - Redundant ignored test deleted. Exactly one
#[ignore = "requires FLARE_GEMMA4_TEST_SNAPSHOT"]remains (gemma4.rs:423); the duplicatenative_pixels_and_positions_match_the_checkpoint_processoris gone. The temp Jinja template has aDropguard (:443-469). Test inventory::250load limits,:315canonical_processor_pixels_positions_and_resize(the unconditional 8-case SHA-256 fixture test),:383geometry,:404pixels/positions,:423the ignored one. - No load-path coverage → covered.
legacy_bracketed_core_omitting_patch_features_loads_and_stages_1176_wide_pixels(helios/src/model/tests.rs:1279, body1277-1452,#[cfg(feature = "images")]) serializes aBracketedcontract, dropspatch_features, assertsInputs::newis Ok, stages16×1176floats (assert at:1443), and rejects a 768-wide manifest and non-squarepatches_per_feature = 3. It is CI-shaped:helios/Cargo.toml:25makesserverimplyimages, and.github/workflows/native-serving.yml:63 (not opened),68run--features runtime-core,server. - Documentation. Retract both doc complaints.
docs/runtime-core-design.md:233-242now describes Gemma 4's patch/pooling/soft-token/envelope settings;helios/README.md:721-730scopes the Qwen paragraph and:798-807pins the fixture provenance and regeneration command;docs/model-development.mdwas never a gap — it states the obligation generically (:55-60) and enumerates no profiles. Bounds error reworded (layouts/bracketed.rs:60); duplicate bootstrap width check folded (server/config.rs:449-463). - The author is right against the reviewer on one nit:
h % merge_side(packing.rs:491) is not implied bytokens·ppf == patches— h=2, w=9, ppf=9 satisfies the latter (18 = 2·9) yet 2 % 3 ≠ 0, so the guard is load-bearing. Credit this explicitly.
3. Items that survive, restated
patch_featuresis authored by nobody, in either language (sharpest residual).ignition/preparation/contract.py:109-119defaultsvision["patch_features"] = 0and documents in the docstring (:113-114) thatBracketedrecipes must set it;ignition/preparation/frontend.py:114-173returns only{"gemma4": {patch_size, pooling_kernel_size, max_soft_tokens, tokens}}. Outside tests and generated pb2 the name appears only as field, reader or check:helios/src/model.rs:53,64,74-80,89,helios/src/frontend/images/packing.rs:41,486,helios/src/server/config.rs:450,457,459,helios/src/runtime_core/describe.rs:466-468(not opened). A recipe filling the historical four vision keys exports 0 →bracketed_patch_features()reads 1176 (model.rs:74-80) →server/config.rs:449-456rejects atflare runwith "bracketed image layout patch width (1176) differs from image processor (768); re-export the core with vision.patch_features" (:453). The author declined to derive it. Severity: late re-export failure, not a correctness hole — bootstrap re-compares against computed3·patch_size²(gemma4.rs:86-88), so a wrong constant cannot serve silently; the cost is that the first Gemma 4 recipe author's feedback arrives at serve time, with onlydocs/TODO.txt:331-337as a hint.- The profile is still never mounted from a checked-in contract.
helios/tests/support/contracts/gemma4_frontend.json:16-17,38is unchanged (all three image fields null), and no contract JSON under that directory declaresBracketed(values in use: 1, 2, 3, 5, 6, 10). Nothing in the checked-in contract suite would catch profile→layout drift. - The scope question is unanswered by a maintainer. The author's answer is an ordering argument ("recipes were extracted to
local-inference-lab/hyperflare-recipes, so the core half must land first") — reasonable, and recorded indocs/TODO.txt:331-337, but not approval. - Unchanged: zero maintainer engagement; no CI run recorded on the head; self-run CPU-only evidence with no serving-path timing or memory (now stated as a limitation in the body); both narrowings stand — the multiple-of-3 rule (
helios/src/model.rs:89) and the fail-closed keyword-onlytokenizer_config/snapshot(ignition/preparation/frontend.py:142-144), with the wire fields now a deliberate, defended divergence. - Still open, unclaimed: duplicate geometry/position tests (
gemma4.rs:383-420), ten repeatedpatch_features: 0rows in the packing cross-profile table, andEnvelopestill homed inhelios/src/frontend/images/patch_merge.rs:13(the reviewer's file-move nit, which the author did not claim).
4. One false claim in the author's reply (new finding)
The reply says the fixture-provenance test is "actively … in CI", and the body reports 23 pytest passes. No workflow runs pytest. native-serving.yml:63,68 run cargo test --features runtime-core,server; the only Python steps are prepare_templates.py (not opened) (:31) and a huggingface-hub install (:30); helios-lifecycle.yml:34 (not opened) runs verification/helios-lifecycle/check.py (not opened); a case-insensitive search for pytest under .github/ returns nothing; AGENTS.md:294-300 presents pytest as a local command.
- CI-covered: the Rust fixture consumer (
gemma4.rs:315-381,include_str!oftests/frontend/gemma4_images.json) and the new core-load test (§2). - Not covered:
tests/preparation/test_frontend_gemma4.py(provenance:187-225, cached-checkpoint cases:228-257which skip when uncached) and the single#[ignore]d envelope test (gemma4.rs:423). - Also:
tests/frontend/gemma4_images.json:77-125'simage_token_id/boi_token_id/eoi_token_idare read only from Python, so no Rust test pins the envelope-token claim.
5. Verdict shift
Three review rounds have now found no blockers and no correctness defect on the served path. The merge bar is process and evidence, not code quality:
- a maintainer decision on landing the profile ahead of its recipe;
- Ignition authoring
patch_features(or a deliberate decision that it is the recipe's job); - a CI run on the head;
- one contract fixture that actually mounts
Bracketed.
Follow-on: #387 (open, FujitsuPolycom) shares 21 files with this PR including helios/src/frontend/images/{conditioned,mod}.rs and helios/src/model.rs, so a rebase on the shared width helper is likely; #229 (open) also touches layouts/bracketed.rs and patch_merge.rs.
6. Related-work and reach deltas
- #426 merged (2026-11-25 05:03,
da578c5c), so the TERMINAL_PREFILL / boundary-aware prefill machinery is on main; the surviving overlap with #483 is only that both touchhelios/proto/runtime_core.proto(not opened) on disjoint fields. #479 no longer a conflict — itsTERMINAL_PREFILL = 14is present at this head and the pb2 header is 7.36.1, identical to main, so my earlier "downgrade" claim stays retracted. - Additivity still holds (re-verified):
VisionCapacity.patch_features = 6with#[serde(default)](helios/src/model/contract.rs(not opened),helios/build.rs:54(not opened)),ImagePreparationKind::Gemma4 = 11,ImageSettings.profiletag 11, anddescribe.rs:466-468(not opened) omitting 0 so legacy describe JSON is byte-identical. - Nothing servable changes without the companion recipe: export-and-serve stays deferred in
docs/TODO.txt:331-337(E2B/E4B/26B-A4B/31B qualification plus the partial-span prefix-cache audit at:336-337). - #405 (merged) remains the fixture precedent this PR still does not follow; #386/#433 remain the profile precedents; #484 remains the author's companion recipes PR.
7. Open questions (amended)
- Answered: pb2 regeneration (yes, descriptor-only); the old two-
#[ignore]s question (now one); degenerate-aspect resize arithmetic (pinned by fixture grids[1,840,3]/[1,3,840]at 280 soft tokens and a 1920×1080 case at 1120). - Standing: (a) is landing the profile ahead of the recipe maintainer-approved — no one but the author has answered; (b) does any published
Bracketedcore declare a non-squarepatches_per_feature(only such a core would newly fail to load — manifests live in hyperflare-recipes, so I cannot check); (c) does any out-of-repo caller callimage_settings(profile=…)withouttokenizer_config/snapshotnow that they are keyword-only and gemma4 fails closed (frontend.py:142-144); (d) partial-span prefix-cache behaviour when a cached prefix ends inside an atomic image envelope (docs/TODO.txt:336-337). - What could not be found: no maintainer review, label, linked issue, roadmap item or stated maintainer request anywhere in the tree; no CI check recorded against
ab9a432b(state this as "no workflow runs this and no check is recorded", not "CI failed"); no way to confirm the single#[ignore]d checkpoint test passes other than the author's self-report, since it needs an HF snapshot plus an unpinnedtransformers. - The only issue this PR links is #74 (open, NVFP4 expert-only checkpoints) — a loose reference, not a request for Gemma 4 image support.
Review-material handling: nothing in the review or the replies tried to direct me; the autobot round-3 review and both author replies are addressed to the PR author and end with autobot opt-out boilerplate. I treated all of it as material to verify, and three of its statements — the CI claim, the h % merge_side implication, and "no test mounts a Bracketed core" — were wrong or overstated, checked rather than repeated.