Key findings
- No prompt injection or agent-directed content was found. PR #483's diff, description and (empty) discussion contain nothing addressed to an AI agent, reviewer, or tooling; nothing asks the reader to ignore instructions, run commands, or fetch external resources.
- The discussion is empty, so there is no channel of injected conversation:
pr_commentsreturns "No comments." There are no reviews and no inline review comments. - The file inventory is exactly what the description says and nothing extra (13 files, +732/−164):
helios/proto/runtime_core.proto;helios/src/frontend/images/{conditioned,gemma4,mod,packing,patch_merge}.rs;helios/src/model/{contract,packing,prompt}.rs;helios/src/runtime_core/{describe,protobuf}.rs;ignition/preparation/{frontend.py,runtime_core_pb2.py}. No.github/workflows, noscripts/, no docs, no dependency, lockfile or config changes that could alter build, CI or agent behaviour. - The only new process spawns are test-only, self-limiting and precedented:
helios/src/frontend/images/gemma4.rs:267and:356run the repo's own../.venv/bin/pythonwith a fixed inline script, early-returning when the venv orFLARE_GEMMA4_TEST_SNAPSHOTis missing (:236-246,:352-355), matching existing code onmainathelios/src/frontend/images/patch_merge.rs:174-212. - No concealed text: no zero-width (U+200B) or bidi-override (U+202E) characters anywhere in the PR.
- Several code-integrity observations the description does not mention (review notes, not injections): the regenerated
runtime_core_pb2.pyis built with an older protoc (header 7.36.2 → 7.36.1), the newdata.spanspopulation inhelios/src/model/prompt.rs:137-151is untested on the Rust side, and the PR's stated verification cannot be reproduced because headf2340e4has no CI checks.
Prompt injection and agent-directed content
Nothing found.
Specifically, screening covered:
- Description and discussion. The PR body is an ordinary technical "Why / What changed / Claimed result / Supporting evidence" description ending with "Discord: ran.cossack", a contact handle rather than an instruction.
pr_commentsreturned "No comments.", so there is no review or inline comment text in which an injection could hide. - New hand-written code. Searches for
agent|assistant|instruction|ignore|inject|autobot|revieweroverhelios/src/frontend/images/gemma4.rsandignition/preparation/frontend.pyreturned no matches. Searches for instruction-style phrasing (you are,your task,note to reviewer,dear reviewer,AI agent,Claude,ChatGPT,LLM) acrosshelios/srcandignitionreturned only pre-existing benign vLLM comments (helios/src/output/chatml.rs:407(not opened),helios/src/server/models.rs:72(not opened),helios/src/server/runtime.rs:42(not opened)), which are unrelated to this PR.Autobotappears nowhere in the changed tree. - Invisible characters. No U+200B or U+202E sequences were introduced; nothing that would hide text from a human reviewer while being read by a model.
- Generated code.
ignition/preparation/runtime_core_pb2.pyis a mechanical protoc re-serialisation: the new_GEMMA4IMAGESETTINGSdescriptor entry plus shifted_serialized_start/_serialized_endoffsets. Its embedded strings are protobuf field names and docstrings, not prose aimed at an agent.
Other items aimed at causing unwanted agentic behaviour
Nothing found.
- No new shell commands at runtime. Searches for
curl -s,wget http,/bin/sh,powershell,bash -c,rm -rfin the PR's added lines returned nothing new; hits in the repository are pre-existing files (Dockerfiles,docs/windows.md(not opened),flare-cli/orbittests) untouched by this PR. - New process spawns are confined to
#[cfg(test)]and match an existing in-repo precedent:helios/src/frontend/images/gemma4.rs:267(downloaded_template_asset, using../.venv/bin/python -cwith a fixed script) and:356(Gemma4ImageProcessorparity check, guarded byFLARE_GEMMA4_TEST_SNAPSHOTand a temp file at:238-299). Both skip cleanly when the interpreter or snapshot is absent (:236-246,:352-355), so they cannot be steered by PR-controlled input and cannot run unintended code in CI or a reviewer's environment beyond the repo's own venv. The same shape already exists onmainathelios/src/frontend/images/patch_merge.rs:174-212. - No new CI, hooks, config or dependency surface. The PR touches no workflow files, no install scripts, no
Cargo.toml(not opened)/lockfile, and nopyproject/requirements file, so it cannot silently change what gets executed during review or build.
What the change does that the description does not say, and where description and code disagree
Nothing malicious; listed because these are the parts a reviewer could not learn from the description.
- Protobuf generator downgrade.
ignition/preparation/runtime_core_pb2.pychanges its header from "Protobuf Python Version: 7.36.2" to 7.36.1 — regenerated with an older protoc than the file onmain.ValidateProtobufRuntimeVersionasserts a minimum, so imports still succeed; the description does not mention the regeneration toolchain changed. - New implicit span population.
helios/src/model/prompt.rs:137-151fillsprepared.data.spansfromprepared.conditioned_inputsonly when spans are empty andcontract.frontend.image_tokens.spanisSome, and the result is then validated byvalidate_conditioned_inputs(prompt.rs:158-193). The description calls this "populated ... whenImageTokenLayoutdeclares an atomicImageSpan" without noting the additional "only if currently empty" condition, which means a caller that pre-populates spans silently overrides it. No Rust test for this behaviour was added tohelios/src/model/tests.rs(not opened); the only related test change isImageSettings::Gemma4joining the profile list athelios/src/frontend/images/conditioned.rs:361. - Packing behaviour is broadened, not just parameterised.
helios/src/frontend/images/packing.rs:16-22bracketed_patch_geometrymaps4 => (2, 1176),9 => (3, 768), elseErr; the previous hard-codedpatches_per_feature != 4guard becomesgeometry.tokens * patches_per_feature == geometry.patches. Values other than 4 and 9 now fail with a different error path than before, and the derived stride is used by upload packing inhelios/src/model/packing.rs. The claim of no model-identity branching holds in the code, but the rejection surface changed for any config that previously produced the old guard's message. - Python profile validation is strict equality.
ignition/preparation/frontend.py:113-137uses_expected(...)(helper atfrontend.py:85-89) to require exactprocessor_class, image-processor fields,model_typeandvision_configvalues, hard-codes<|image|>/<|image>/<image|>tokens, and restrictsmax_soft_tokensto(70, 140, 280, 560, 1120). That is tighter than "additive profile" suggests: a checkpoint with a benign variant spelling will be rejected outright. - Proto surface.
GEMMA4_IMAGE_PREPARATION = 11(helios/proto/runtime_core.proto:386) andGemma4ImageSettingswith six scalar fields (runtime_core.proto:535-542); the Rust mirror athelios/src/model/contract.rs:68andhelios/src/frontend/images/mod.rs:333-340usesdeny_unknown_fields, so any extra field on the wire is a hard error rather than ignored. The description says "wire-compatible", which is true for existing cores but not for forward-compat with future Gemma 4 fields.
Claims with no evidence behind them
- The verification numbers cannot be reproduced from the PR. The description cites "45 passed" for
frontend::images, "53 passed" formodel::, a passingcargo checkforflare-cli, and "15 passed" for the two pytest files on base6d6fe0c6. The orientation packet records "CI on the head commit: no checks", and no logs are attached, so these are self-reported only. - Parity with Hugging Face is asserted, not demonstrated in-repo. Parity evidence lives in tests that require the operator's own
google/gemma-4-31B-itsnapshot842da379(FLARE_GEMMA4_TEST_SNAPSHOT), and the extreme aspect-ratio cases (10×3000,3000×10) are only exercised against synthetic Rust unit inputs, as the description itself concedes. - The author has no prior merged history in this repository (0 merged, 1 open PR besides this one: #484). That is context for review depth, not a security finding.
Open questions / what could not be found
- Whether
bracketed_patch_geometry's two supportedpatches_per_featurevalues are covered by an end-to-end upload-packing test, or only by the geometry unit tests. - Why no CI runs on head
f2340e4, so the claimed test counts cannot be independently checked. - Whether
data.spanspopulation should be tested for the pre-populated/non-empty case and for layouts whoseImageTokenLayoutdeclares no span. - No evidence of any attempt to direct the agent was found anywhere in the PR, its description, or its (empty) discussion.
Conclusion: All Clear.