#1 [high] Finding: PR description evidence overstates checked parity (silently-skipped tests)
PR #483 description, "Claimed result": "Helios natively decodes, resizes, normalizes, packs, and validates Gemma 4 images with exact f32 pixel and (x, y) position parity against Hugging Face's Gemma4ImageProcessor".
Code: helios/src/frontend/images/gemma4.rs
native_pixels_and_positions_match_the_checkpoint_processorstartslet python = .../../.venv/bin/python; if !python.is_file() { return; }and only compares (91,37), (10,3000), (3000,10).checkpoint_tokens_expand_the_image_envelopereturns silently withoutFLARE_GEMMA4_TEST_SNAPSHOT/tokenizer.json, and also returns if the python probe or template export fails (if !status.success() { return; }).geometry_matches_the_hugging_face_processoris a hard-coded expected table, not a live HF comparison.
Both silent returns count as passes, so "45 passed" cannot distinguish run parity from skipped parity. AGENTS.md #required-pr-descriptions item 4: "Keep material failures, skipped checks, and measurement limitations visible"; prose skill: "State evidence as conditions, measurement, result, and conclusion... disclose missing hardware, inputs, and unrun checks". Fix: say which of the 45 ran the HF comparison and which skipped, or mark skips (#[ignore]/eprintln) and report counts separately.
#2 [high] Finding: compatibility claim and unrelated persistent_workers evidence
PR #483 description, "Claimed result": "... Existing cores and non-Gemma image profiles remain wire-compatible and unaffected." No evidence item loads a previously exported core or exercises a non-Gemma profile; the evidence list contains only unit-test runs. AGENTS.md #required-pr-descriptions: "Remove process assurances that add no technical evidence"; docs/design-review.md principle 13 requires previous cores be "validated through loading and serving". Fix: either cite the core-loading check or state the compatibility claim as unverified.
Also: evidence bullet "plus Python runtime_core_pb2 round-trip verification for ImageSettings.gemma4 and Execution.persistent_workers" — Execution.persistent_workers is from #430 (merged 66bf6d03), unrelated to this diff, and is an unexplained reference (prose skill: no false definite references / resolve references). Remove it or explain.
Related disclosure gap: ignition/preparation/runtime_core_pb2.py header goes from "Protobuf Python Version: 7.36.2" to 7.36.1 (and ValidateProtobufRuntimeVersion arg 2 -> 1), while pyproject.toml pins protobuf>=7.36.2. A regeneration downgrade is a material change to a checked-in generated artifact and is not mentioned (AGENTS.md item 2: "Identify material numerical, compatibility, and resource-lifetime changes"; helios/manifest.md:465-472 documents the regeneration command).
#3 [high] Findings: description structure and missing docs for the new profile
Description prose defects in PR #483 (against AGENTS.md #required-pr-descriptions and .agents/skills/repo-prose/SKILL.md):
-
Why section gives mechanism, not causality: "Previously, Helios lacked a Gemma 4 image preparation profile, ...
prepare_image_inputsdid not populatedata.spans...". AGENTS.md item 1 requires the affected workflow and "the concrete defect, cost, or missing capability" plus "why it matters and why the chosen approach addresses it". Current text lists absences. Missing: which workflow fails without it (Gemma 4 multimodal checkpoints cannot be served by Helios at all; spans absence would let a prefill chunk split an image envelope sohelios/src/model/packing.rs:623-625returns "prefill splits an atomic image span" at serve time). It also does not say why the Bracketed layout can absorb 3x3 while remaining model-agnostic (patches_per_feature is prepared metadata), which is the design argument reviewers need. -
"What changed" over-inventories files as a bullet list and bundles two independent behaviours — the atomic-span population in
helios/src/model/prompt.rs:137-151applies to every span-declaring layout, not Gemma 4 specifically, and its before/after effect (which layouts previously failed) is not stated. AGENTS.md item 2: "A file list or a label ... does not explain what was done"; "Make the before/after explicit". -
Claimed result mixes an implementation inventory ("decodes, resizes, normalizes, packs, and validates") with the result. The measurable result (does a Gemma 4 image request now admit and produce a prompt that matches the checkpoint processor) is only implied.
-
Section headings "Why / What changed / Claimed result / Supporting evidence and limitations" are fine (headings not required, not forbidden), and the four parts are present and in order — this part passes.
-
"Branch logistics" block repeats repository/branch/commit/base — merge logistics only; AGENTS.md allows logistics last, so acceptable, but the base commit is already in the evidence preamble ("Verified on base 6d6fe0c6"), which is duplicated.
-
Tone/claims: "orthogonal", "no model-identity branching in upload packing" are design claims not evidenced in the evidence list. "Existing cores ... unaffected" unsupported (see entry 2).
-
Line-level prose: helios/src/frontend/images/gemma4.rs commits to a "// Gemma 4 patch vectors interleave RGB per pixel: (y, x, channel)." — that is a genuine invariant comment, acceptable. But gemma4.rs
SUPPORTED_SOFT_TOKENSand the magic validation constants (patch_size > 64, pooling > 16) have no comment explaining why those bounds; repo-prose skill: "Comments explain invariants, intent, and non-obvious constraints". Minor/nit. -
Doc updates absent: docs/runtime-core-design.md:226-233 enumerates per-profile frontend image settings ("Qwen image settings contain ... MiMo ... DeepSeek ...") and docs/runtime-core-design.md:206-210 states frontends are data not model identity; he similar enumerations in helios/model-contract.md:224-254. A new image preparation kind and a new ImageSettings oneof variant are not documented anywhere. AGENTS.md: docs are present-state specs; "Documentation is a present-state specification" and new enum/profile additions should appear. Also helios/README.md:698-745 "Native image preparation" lists the profiles; Gemma 4 is missing. This is a should-fix for a change that adds a served image profile.
#4 [high] Finding: new Gemma 4 image profile missing from the docs that enumerate profiles
Repository docs enumerate the image preparation profiles; PR #483 adds ImagePreparationKind::Gemma4 (helios/src/model/contract.rs:68) and ImageSettings oneof tag 11 (helios/proto/runtime_core.proto:522) without updating them:
- helios/README.md:702-704: "Profiles cover Qwen, MiMo, patch-merge, DeepSeek, DeepSeek row-major, Moonvit, Step, RADIO, and GLM inputs." — Gemma 4 missing.
- docs/runtime-core-design.md:226-233: "Qwen image settings contain ... MiMo ... DeepSeek's image profile has fixed geometry validated by Ignition" — no Gemma 4 entry, and no mention that Bracketed now derives patch width from patches_per_feature.
- helios/model-contract.md:224-254 "Frontend implementations" enumerates image preparation/layout selectors and states layout data declares feature IDs and atomic spans; a new preparation profile and its geometry/pooling settings belong here.
- docs/TODO.txt is where unresolved work goes (AGENTS.md:57-58); nothing added there.
AGENTS.md:52-56 and repo-prose SKILL.md:26 ("Documentation is a present-state specification"). Severity: should fix (docs, not wire behavior).
#5 [high] Line-level code-prose observations (in-lens) with severities
Files/lines verified for the prose-lens write-up of PR #483 (head f2340e42, base 6d6fe0c6, 13 files, +732/−164):
In-lens code prose (comments/docstrings) checked in context:
- helios/src/frontend/images/gemma4.rs:8 module doc "//! Gemma 4 area-bounded resize, interleaved RGB patch packing, and envelopes." — clear, cites the three behaviours.
- gemma4.rs:11
const SUPPORTED_SOFT_TOKENS: [usize; 5] = [70, 140, 280, 560, 1120];and gemma4.rs:33-41 validation (patch_size > 64,pooling_kernel_size > 16) — no comment says where these bounds come from (checkpointmax_soft_tokensset and the Gemma 4 processor's allowed values). repo-prose SKILL: "Comments explain invariants, intent, and non-obvious constraints". Nit. - gemma4.rs:134 "// Gemma 4 patch vectors interleave RGB per pixel: (y, x, channel)." — good invariant comment.
- gemma4.rs:159, 178 "side_multiple"/"max_patches" — derived names explain themselves.
- Error strings: gemma4.rs:37 "invalid Gemma 4 image settings"; gemma4.rs:57/78 "image resizes below one Gemma 4 patch group" / "Gemma 4 resize exceeds the soft-token budget" (both say what failed) — fine. packing.rs:20 "unsupported bracketed patches_per_feature" — names the field, fine; packing.rs:491 renamed "invalid temporal patch-merge image extent" → "invalid bracketed patch-merge image extent": "bracketed" is an ImageLayoutKind name, consistent with docs/runtime-core-design.md:206-210 (enums are the identity). Acceptable, but note "bracketed" is used only here as prose for a layout that the README (helios/README.md:703) calls "patch-merge"; slight terminology drift.
- patch_merge.rs:10 "/// Start/feature/end token envelope shared by enveloped image layouts." — self-referential ("enveloped ... envelope"); minor wording nit. patch_merge.rs:27 "invalid image envelope tokens" — fine.
- conditioned.rs:192 adds
Profile::Gemma4(_) => 768to a pixel-width match with no comment; the magic widths (1536/768/1176/1200) are pre-existing undocumented magic. Nit only, pre-existing pattern. - ignition/preparation/frontend.py:113-137 gemma4 profile: no docstring for the new branch; the surrounding branches (padded_grid:99, glm, mimo:213) carry explanatory comments (e.g. line 99 explains why
sizeis not a resize target; line 213 says the frontend consumes packaged values rather than fixing them). The gemma4 branch's fixed tokens"<|image|>","<|image>","<image|>"and fixed vision dims have no note saying they are the checkpoint's canonical values rather than console defaults, so a reader cannot tell why they are hard-coded. Should fix, small.
Not in lens (leave to other reviewers): whether bracketed_patch_geometry maps 4→1176 / 9→768 correctly, span population correctness, protobuf/oneof compat, the 3×3 pool math.
Note also docs/cli-design.md:749 lists a gemma4 sampling row and docs/model-preparation.md:345 lists Gemma 4 checkpoints, i.e. Gemma 4 text serving is documented; the image profile is the only undocumented half.