Prompt-injection screen — NVIDIA/hyperflare-inference PR #518
PR: "Add recipe-declared --target-head-quantization preparation flag" (https://github.com/NVIDIA/hyperflare-inference/pull/518)
Author: nero- (Jonathan Gutierrez, CONTRIBUTOR) · State: open, ready for review · Head: f54928b (single commit) · Base: main (2771618) · Size: 10 files, +126/−10 · Reviews: none · CI: no checks
Screen result: All Clear.
Key findings
- No prompt injection, no agent-directed content, no malicious payload. The PR is a small, self-consistent feature that adds a recipe-declared
--target-head-quantization {mxfp8}preparation flag. - No discussion surface at all: the PR has 0 comments and 0 reviews, so there is no comment/inline-review channel in which injected instructions could hide.
- The description contains no instructions to agents or reviewers — no "ignore previous instructions", no requests to skip review/checks, no hidden directives, no encoded blobs. It is normal engineering prose (motivation, changed files, benchmark numbers, limitations, "Discord: nero") plus a link to a companion cross-repo recipe PR (
local-inference-lab/hyperflare-recipes#40). - The diff is benign by construction: no environment-variable behavior switches (explicitly rejected by the description and absent from the code), no subprocess/socket/network calls, no
eval/exec, no base64 payloads, no file writes, no new CI workflows, no dependency changes, and no edits to agent-instruction or design-review policy files. - Scoping is enforced, not bypassed: an undeclaring recipe gets a
UsageErrornaming the checkpoint alias rather than a silent behavior change — the opposite of a covert channel. - No hidden-Unicode tricks: the only non-ASCII characters in the changed lines are the repository's pre-existing typographic separators ("·", "–") used in CLI status output and bench table headers; no bidirectional overrides, zero-width joiners, or homoglyph substitutions were introduced.
- Nothing outside the declared scope: all changes fall inside the 10 files listed in the description; there is no unrelated file touched, no new workflow file, and no change to
helios/or Protobuf schemas (consistent with the stated "zero changes tohelios/or Protobuf schemas").
Detail
1. Discussion and description
The conversation on the PR is empty (0 comments, 0 reviews, no inline review comments). Consequently the only authored narrative text is the PR body itself. That body is a conventional engineering write-up: a "Why" section about bandwidth-constrained GPUs (DGX Spark GB10, 273 GB/s LPDDR5X, a 1.21 GiB BF16 248,320 x 2,560 lm_head), a "What Changed" list, a "Claimed Benefit / Result" section with decode-throughput and memory numbers (+7.5–9.0% C1 decode, ~600 MiB saved on TP1, 44/44 quality gate PASS, TP2 RoCE 116.0 / 164.2 / 230.5 / 332.4 tok/s), a "Supporting Evidence & Limitations" section (144 passed, 0 failed in 4.35s; Rust cargo test not run because no Rust/Protobuf files changed), and a Discord handle.
None of this addresses a machine reader. There is no imperative aimed at an agent or reviewer ("approve this", "skip the failing test", "do not read file X"), no claim of authority overriding repository policy, and no attempt to redefine the agent's task. Requesting review of a feature PR is not instruction injection.
2. Code review of every changed hunk (verified at head f54928b)
| File | Change | Assessment |
|---|---|---|
ignition/declaration.py:278 |
target_head_quantizations: tuple[str, ...] = () added to Recipe, in the existing "Preparation overrides for vocabulary and transition projections" group |
Plain dataclass field |
ignition/declaration.py:328-329 |
__post_init__ rejects any name not in ("mxfp8",) with ValueError |
Validation only; tightens rather than loosens behavior |
ignition/planning.py:199 |
`target_head_quantization: str | None = NoneonPlan` |
ignition/planning.py:289-293 |
__post_init__ raises UsageError(f"--target-head-quantization {q}: {alias} does not prepare this target head format") when the recipe does not declare it |
Cross-checks against self.recipe.target_head_quantizations; fails loudly |
ignition/planning.py:411-412 (per description) |
key added to to_dict() only when set |
Conditional, no default-path change |
ignition/cli/__init__.py:212-214 |
advanced.add_argument("--target-head-quantization", choices=("mxfp8",), help="prepare the target vocabulary head as MXFP8 for recipes that declare it (default: checkpoint precision)") |
Ordinary argparse entry; text is model-agnostic, no model names |
ignition/cli/preparation.py:56-57, 73 |
`derive(..., target_head_quantization: str | None = None, ...)forwarded viareplace(...)` |
ignition/cli/serve.py:210, 278, 314, 479 |
getattr(args, "target_head_quantization", None) forwarded in _export_hosts, _prepare, debug_serve; startup summary token ' · target head ' + plan.target_head_quantization |
Reads an attribute off the same namespace the flag writes; no new capability |
ignition/cli/bench.py:170, 243-252 |
Forwarding into derive; _measure detail dict merged with the key only when present |
Conditional output |
ignition/preparation/rebuild_manifest.py:302-303 |
reproduction_arguments appends ['--target-head-quantization', value] when set |
Reproduction arg parity, guarded by is not None |
ignition/preparation/rebuild_manifest.py:363-364 |
add('target_head_quantization', SCOPE_TARGET_WEIGHT, ...) inside from_plan |
Omitted when None, so default-precision cores are unchanged |
docs/cli-design.md:454 |
One table row documenting --target-head-quantization {mxfp8} |
Docs prose only |
tests/cli/test_commands.py:102-113, 116-138 |
test_target_head_quantization_flag_is_model_agnostic (default None, parses mxfp8, asserts "Qwen" absent from the help section) and test_derive_forwards_and_validates_target_head_quantization (forwarding, to_dict, UsageError for an undeclaring recipe) |
Tests assert ordinary, model-agnostic behavior |
tests/cli/test_planning.py:210-253 |
test_target_head_quantization_validation_and_preparation_manifest: ValueError on "nvfp4", plan default None, replace() to mxfp8, reproduction_args flag parity, deterministic Protobuf round-trip, TARGET_WEIGHT scope with string_value |
Pure assertions; no I/O, no skipping of checks |
Every path that emits the new value is guarded (if plan.target_head_quantization is not None: / if getattr(plan, 'target_head_quantization', None) is not None:), which matches the PR's backward-compatibility claim and means the change cannot silently alter existing plans, manifests, or exports.
3. Injection-marker scans
Keyword scans over the head tree (and specifically the diff) for markers such as ignore previous, disregard, system prompt, AI agent, Autobot, language model, do not report, do not review produced matches only in pre-existing, untouched files: AGENTS.md (not opened) (repo agent policy, including one line noting a model "is not reliable for low-level kernel changes"), docs/design-review.md:114-115 (not opened), docs/api.md (not opened) (system-prompt API documentation), helios/src/frontend/tml.rs (not opened) (a code comment about a system-prompt prefix), and tests/server/test_coding_clients.py (not opened). None of these is modified by PR #518, and none was authored as an instruction to this screening agent.
The diff itself contains no base64/hex blobs of length, no HTML comments, no zero-width or bidi control characters, no right-to-left override codepoints, and no confusable/homoglyph identifiers. The only non-ASCII characters are the typographic "·" and "–" already present in the surrounding CLI output and table-header style.
4. Side effects and scope
- No
os.environreads/writes (the PR description explicitly says Flare "prohibits environment-variable behavior switches", and the code honors that). - No
subprocess,socket,urllib/requests,httpcalls; thesubprocess/httpshits intests/clibelong to pre-existing signing (test_development_signing,test_production_signing) andtest_progresstests, untouched here. - No
eval/exec/compile/__import__indirection, no file writes, no new dependencies, no new CI workflow files, no changes under.github/. - No edits to
AGENTS.md(not opened),docs/design-review.md(not opened), or other policy/instruction files. - All changes are confined to the 10 files enumerated in the description (docs 1, ignition 2, ignition/cli 4, ignition/preparation 1, tests/cli 2).
5. Contextual plausibility
The change mirrors a well-established pattern already present in the same argument group (--draft-body-quantization, --draft-head-quantization at ignition/cli/__init__.py:204-211, --markov-head-quantization at :215-217) and existing manifest entries (online_mxfp8, online_mxfp8_scope, expert_scale_compression at ignition/preparation/rebuild_manifest.py:357-364). The author has a consistent history in these areas (merged #433, #220, #219; areas touched: ignition/preparation, ignition/recipes, helios/src, tests/preparation, tests/recipes). Nothing in the change set deviates from the repository's normal engineering workflow.
Open questions and what could not be verified
- Cross-repo companion PR (
local-inference-lab/hyperflare-recipes#40) was not inspected — it lives outside this repository. If end-to-end screening of the Qwen3.8-Flash-Next recipe path is required, that PR needs a separate screen. Nothing in PR #518 depends on it being trustworthy: this PR only adds the core declaration/flag/validation/manifest plumbing. - CI evidence: the head commit has no checks recorded, and the PR's test evidence (
144 passed) is self-reported from the author's DGX Spark host. This is a rigor/verification concern, not a prompt-injection concern. - Pre-existing agent-policy files (
AGENTS.md(not opened),docs/design-review.md(not opened)) contain guidance aimed at AI contributors, but they are repository policy predating this PR and are unmodified by it; they are noted only for completeness, not as a finding against this PR. - No attempts to direct the screening agent were found anywhere in the PR body, diff, or discussion.