PR #533 — "Cap the per-request context target": injection screening
Verdict: All Clear. No prompt injection, no hidden payloads, and no text aimed at steering an
agent's behavior was found in PR #533 (author roobyz, GitHub association CONTRIBUTOR; head
e623985, base main, 8 files, +79/−10; no CI checks on head).
Key findings
- No injection content in the diff. I read the whole diff, not the summary. Every hunk is an
ordinary parameter declaration, accessor, keyword pass-through, help string, documentation row,
or unit test. No matches for agent-directed idioms ("ignore previous/summary/above instructions",
"system prompt", "you are an AI", "autobot"/"claude"/"chatgpt" directives, base64 or
curlone-liners) anywhere in the changed files. - No hidden content. Regex scan of the head for HTML comments, zero-width characters
(U+200B/U+200E), and bidirectional overrides (U+202A) returned no matches in the diff. The only
assistant-related strings underignition/are pre-existing chat-template markers in files this PR does not touch (ignition/direct/server.py:71 (not opened),220,ignition/preparation/contract.py:92 (not opened),99). - No dangerous code introduced. No new imports, no
eval/exec, no subprocess, no network call, no file write, no dynamic code loading. - The description's unusual detail is accurate, not deceptive. Every claim I could verify against the code matched exactly (details below). The measured VRAM table is not verifiable from this environment, but it is internally consistent engineering data with no injection angle.
- One agent-addressed text in the thread is bot output, not an instruction — the repository's
own
flare-autobotreview comments with external links labelled "[Full Review] for Agents". I did not follow them and they carried no instruction that redirected my task. Recorded as an observation, not a finding.
Detail — what changed, and the security-relevant reading of it
ignition/parameters.py:1309-1320— newcontext_target: int | Nonefield (flag="--request-context",metavar="N",value_type=int,min_value=1,manifest_key="context_target",scope=ParameterScope.DEPLOYMENT,status_label=lambda v: f"request context {v:,} tokens" if v else None). Nomax_fn, so there is genuinely no upper bound and the documentedmin(recipe.context, N)clamp is reachable.ignition/parameters.py:1484-1485,:1492-1495—--request-context Nis emitted explicitly in theRecipeParameters.reproduction_args()override because the base-class generic loop skips base-class fields; consistent with the description thatrepro_alwaysis dead forRecipeParameters-defined fields.ignition/planning.py:186-190— the new page-alignment validation, gated ontarget <= self.recipe.context.ignition/planning.py:212— bench check comparesrequired_contextagainstprepared_context.ignition/planning.py:357-363—Plan.prepared_context: recipe max when no target, elsemin(recipe.context, N);Plan.contextstays stock.ignition/planning.py:594-597— prefill-chunk bound againstmin(result.context, result.prepared_context).ignition/cli/serve.py:67-70—max_body_bytesusesplan.prepared_context;context_hintnames the cap only when active.ignition/cli/help.py:46— recipe context labelled a maximum that--request-contextcan lower.ignition/preparation/bootstrap.py:132—"context": plan.prepared_context, the single seam all recipes consume.docs/cli-design.md:446(universal-field enumeration),:466(new flag row),:1436(context-limit ownership row);docs/preparation-development.md:15-19(universal field list);tests/cli/test_planning.py:295-329(new tests).
None of these touch privilege boundaries, artifact trust, credentials, or the request-admission contract in a way that a reviewer could not see. The change is a capacity/export knob and its plumbing.
Thread review
pr_comments shows normal traffic: a phase-1 note from roobyz (refactor note, testing note,
Discord handle rzr2020, sign-off), then flare-autobot case-file intake and three "Changes
Requested" review comments (2026-11-26 05:17, 2026-11-26 09:57, 2026-11-27 01:01).
The bot comments contain links to autobot.eidonix.com/p/….html labelled "[Full Review] for
Agents" / "[Value Proposition] for Agents", plus /api/v1/cases/… cards, and an opt-out line
offering #autobot:ignore in a post/comment. Assessment: this is the repository's own CI
automation output. The links are opaque external URLs; I did not fetch them, and nothing in them
formed an instruction to me. Not malicious, but it is the only agent-addressed text in the PR
thread, so it is worth naming. Separately, #autobot:ignore is a mechanism by which an author
could suppress automated review — no author used it here, and its presence is a process
observation rather than a defect of this PR.
The bot's review content is substantive and consistent with the code: it flagged an earlier
max_fn blocker that the current head has since removed (parameters.py:1309-1320 now declares no
max_fn).
Non-security observations for the author (not blockers, not injection)
- Page-alignment gate vs. help text. The validation is skipped for targets above the recipe
maximum (
ignition/planning.py:187), so--request-context 262145against a 256K recipe passes and clamps to the recipe max — which is the intended no-op per the description. But the flag's help string states unconditionally that the value "must be a multiple of the page token count" (ignition/parameters.py:1319), andtests/cli/test_planning.py:310-313relies on the unaligned500000case being accepted.docs/cli-design.md:466("resolves to the smaller of N and the recipe maximum") matches the code, so the inconsistent pair is the help string and the doc row. Worth reconciling the help text with the gate, or validatingmin(recipe.context, target)instead. - Redundant but correct bound.
planning.py:594-597compares againstmin(result.context, result.prepared_context); sinceprepared_context <= contextby construction, theminis redundant, but it is defensive and harmless.
Open questions / could not be found
- The description's VRAM measurements (Qwen3.8-27B on one RTX PRO 6000 Blackwell, SM120, 96 GB; total VRAM 31.0 → 55.8 GB across concurrency 1–4 at 256K, versus 27.1 → 39.8 GB at the 131072 cap) cannot be reproduced in this screening environment; I screened them for injection content and internal consistency only, and found both fine.
- The external
autobot.eidonix.comreview pages were deliberately not fetched, so their contents are unknown to me. If policy requires screening bot-supplied external links, that is a separate step not covered here; the inline text of those comments contained no instructions. - No CI checks exist on the head commit, so there is no automated signal to corroborate the manual review above.
- Related items worth a maintainer's eye if they want cross-PR context (none showed injection
content in this screening): #454 (closed predecessor "Cap the prepared per-request context"),
#545 (the compositional
RecipeParametersrefactor this builds on), and #516/#518 (sibling recipe-declared flag PRs touching the same files).