#1 [high] PR #461 screening: no prompt injection found
PR #461 "Document strict tool selection and numeric range precision" (jcartu, open, base main, head e831b49, 2 files +39/-14).
Contents:
- docs/api.md (lines ~520-618 at head): clarifies named/required tool selection vs. strict grammar attachment, and documents binary64 rounding of minimum/maximum/exclusiveMinimum/exclusiveMaximum above 2^53 with examples (9007199254740993 minimum admits 9007199254740992; exclusiveMinimum at 2^53 admits endpoint; inclusive maximum 2^53 is exact), recommending exact application-side validation. API doc advisory only.
- helios/src/grammar/strict.rs:3890-3898: new test
strict_integer_maxima_preserve_large_inclusive_endpointsusing GrammarCompiler::new + validate_strict_tool_schema + grammar.validate; purely local, no I/O.
Screening checks:
- pr_diff (result 1) and read_item #461 (result 3): no instructions addressed to agents/LLMs, no override/ignore-previous-prompt text, no tool-invocation or data-exfiltration requests, no external/unknown URLs added in the diff.
- no HTML comments, no /// markup in api.md (results 14, 15).
- no text like "fetch/curl/run this/execute this/agent reading" in api.md (result 17).
- URLs in api.md are pre-existing huggingface/local docs links (result 16), none added by this diff.
- Review thread (result 3): yatesdr's changes-requested is technical (admission rejects exact bounds; compatibility accounting; a nit on commit message provenance citing a commit not in the repo). Author reply is technical. No embedded directives aimed at automation.
- "Discord: jcartu" line follows AGENTS.md:137-148 convention, so it is not anomalous for this repo.
- Commit history on branch (result 5): two commits, no odd/unknown authors, no revert-redirect trickery visible in diff.
Conclusion: nothing suspicious; report All Clear (not Malicious).
#2 [high] Research summary
Screening of PR #461 ("Document strict tool selection and numeric range precision", jcartu, +39/−14 across docs/api.md and helios/src/grammar/strict.rs) found no prompt injection or other content aimed at inducing unwanted agentic behavior. Verdict: All Clear.
The change is a documentation clarification of tool-selection vs. strict-grammar semantics plus binary64 rounding of numeric range bounds, and one local unit test (strict_integer_maxima_preserve_large_inclusive_endpoints) that only calls the grammar compiler and validator. There are no instructions addressed to agents or models, no override/disregard language, no HTML comments or hidden markup, no new external URLs or fetch/execute directives, and the sole discussion is a technical changes-requested review (admission over-rejects exact bounds; compatibility accounting; a nit about commit-message provenance) with a technical author reply. The "Discord: jcartu" line matches the repository's AGENTS.md convention, so it is expected rather than an anomaly. Details are in scratchpad entry 1.
#3 [medium] PR #461 screening: report skeleton and exact hunk lines
Verdict to state: All Clear — no prompt injection or other content aimed at unwanted agentic behavior in PR #461.
Exact head locations of the changed content (head e831b49, verified by reading files, not just the diff):
- docs/api.md:522-525 — named selection adds no separate call instruction; a selected
strict: truefunction attaches the strict request grammar. - docs/api.md:541-546 — required mode leaves sampling unconstrained; strict functions still attach their grammar; missing calls fail (HTTP 500 / terminal error event).
- docs/api.md:599-603 — numeric
enum/constliterals parsed at binary64, magnitude strictly below 2^53. - docs/api.md:605-612 — range bounds at binary64 precision, rounding examples, recommendation to validate large numeric bounds with exact arithmetic before executing the tool.
- helios/src/grammar/strict.rs:3888-3898 — new
#[test] fn strict_integer_maxima_preserve_large_inclusive_endpoints, uses GrammarCompiler::new(&byte_tokenizer(), 320, &[256, 257], &[]), validate_strict_tool_schema, grammar.validate; no network, file, or process I/O. - Existing test strict_const_and_enum_enforce_exact_integer_range at strict.rs:3900-3930 remains unchanged (base behaviour).
Negative checks to cite: no "ignore/disregard/you are an ai/system prompt/agent must" phrasing added; no HTML comments or script/link/img/iframe tags in api.md; no fetch/curl/execute/paste instructions; only pre-existing 127.0.0.1 and huggingface.co URLs; no binary or odd files touched (2 files only).
Context worth one sentence: reviewer yatesdr's changes-requested (2026-11-23) is purely technical (over-broad 2^53 admission rejection vs. documenting the limit; compatibility accounting; commit-message nit about evidence belonging to #418). Author accepted the documentation alternative and states the net runtime diff is empty (post-merge of #418 upstream, so the numeric-bound change no longer lands here).