#1 [high] PR #571 screening verdict: All Clear
PR #571 "helios: force a wide round after persistent width-one selection" by malventano (CONTRIBUTOR), head aab9295, base main, 3 files +78/-3, no comments/reviews, no CI.
Files (pr_files + full pr_diff reviewed):
- helios/src/scheduler/policy.rs: new block at 1281-1309 inside select_plan(), after ordinary/discovery/refresh/acceptance-probe selection; filters candidates to GraphKind::Speculative && draft_tokens>0 && same batch && same mask, picks max by draft_tokens/capacity/packed_token_capacity/compare, clears host_lengths, returns available_plan(..., PlanOrigin::Ordinary).
- helios/src/scheduler/refresh.rs: adds
width1_streak: AtomicU64(line 37),force_wide_due()(53-55, streak>=2), and counting incommit()(65-74): increment when origin==Ordinary && step.kind==Speculative && step.draft_tokens==0, else reset to 0. - helios/src/scheduler/policy_tests.rs: new test
two_ordinary_width_one_plans_force_a_wide_round(51-82) asserting forced (Speculative, 7 drafts, capacity 8); one-line change in test helper completion_records (line 239)offered_drafts: (lane.tokens - 1)instead of(plan.token_capacity - 1).
Security screening performed:
- No network/process/fs/env access added (searched helios/src/scheduler for http, reqwest, process::Command, std::fs, env::var, base64 → no matches).
- No new dependencies, no Cargo/CI/build/script changes (pr_files lists only the 3 sources; diff is complete).
- No instruction-like text, no hidden/encoded content, no exfiltration in description, code, tests, or the single commit message (search_history pr/571).
- PR discussion: empty (pr_comments: "No comments"; read_item shows Discussion (0)).
- Description is ordinary repo-convention PR prose (Why/What/Result/Evidence/Limits, Discord handle, "do not merge before #540"), self-critical about missing A/B evidence. Not an injection.
#3 [high] Research summary
Verdict: All Clear
No prompt injections, hidden instructions, encoded payloads, or other attempts to induce unwanted agentic behavior were found in PR #571 ("helios: force a wide round after persistent width-one selection", head aab9295, 3 files, +78/−3).
What was examined
- Full diff plus the head versions of all three changed files (
helios/src/scheduler/policy.rs1281–1309,refresh.rs33–74,policy_tests.rs51–82 and the one-line helper change at 239). - The PR description, the single commit message (
aab92953), and the discussion — the PR has zero comments and zero reviews. - The changed area for anything executable or exfiltrating: searches for
http,reqwest,process::Command,std::fs,env::var,base64, log macros, and instruction-like phrases acrosshelios/src/scheduler/returned no matches.
Why it is benign in shape
The change is contained scheduler logic: an AtomicU64 width-one streak counter in RefreshState incremented on committed ordinary width-one speculative plans, and a candidate filter inside select_plan that, after two such plans, picks the widest same-batch/same-mask speculative candidate and returns it as an ordinary plan. No new dependencies, no Cargo/CI/workflow/script edits, no network or shell access, no obfuscation, and no deviation from the described behaviour.
Non-malicious observations (in scratchpad, not security findings)
- The description claims the selection is logged as
Forced wide:with several fields, but the diff adds no logging at all; the cited log evidence must come from an out-of-diff diagnostic image (…-argdiag-20261128). A documentation/evidence mismatch, not a safety issue. - The fallback can fire repeatedly (author discloses up to 30 forced rounds in a 3-second window at 64.9–66.6 ms versus ~5.3 ms normal), and the author states there is no A/B control and that it should not merge before the root-cause PR #540 — all openly disclosed in the description's Limits and Merge order sections, consistent with the project charter's preference for root-cause fixes over retries.
#4 [high] PR #571 screening coverage and limits of the check
Coverage of the injection screening for PR #571 (head aab9295, base main):
Examined:
- pr_diff (complete; the whole +78/-3), pr_files (only the 3 scheduler sources — no Cargo.toml, workflow, script, docs, or binary additions).
- Full head files: helios/src/scheduler/refresh.rs (all 112 lines), policy.rs 1180-1340, policy_tests.rs 1-120 / 195-310 / 1225-1245.
- Description via read_item #571 (Discussion (0)) and pr_comments → "No comments". No reviews, no CI checks on head (per orientation packet).
- Commit list for pr/571: only aab92953 "helios: force a wide round after persistent width-one selection" on top of d17efddc.
- Grep sweeps: helios/src/scheduler/ for
http|process::Command|reqwest|std::fs|env::var|base64|ignore previous→ no matches;autobot|agent|assistant|prompt injection|instructions(ignore case, path helios/src/scheduler/) → only two benign hits (checkpoints.rs:1088,1112 "agentic prompts" test names).Forced wide|Plan diagin helios/src → no matches. - Note: the search tool rejects
(?i)inline flags with alternation in this repo ("Invalid preceding regular expression"); use the ignore_case=true parameter instead.
Not covered / limits:
- Did not read the rest of policy.rs (1553 lines) or the remaining ~5,700 lines of policy_tests.rs; git does not let a diff hide code there, and the reported diff is the authoritative change set.
- Live image
flare-toolstream:v0.3.2-49-gd17efddc-argdiag-20261128and the 1017 service logs were not inspected (not reachable); the evidence strings in the description are unverified but contain no instruction-like or exfiltration content. - Related item #540 (open, by FujitsuPolycom) is the referenced root-cause PR; #571 defers to it. No adversarial relationship between the two descriptions.
Charter angle (read_charter): charter line about bug fixes needing root cause rather than retries (#397) is the relevant policy tension — the author discloses the fallback as a fail-safe, not a fix, and asks for #540 to land first. This is a legitimate engineering disagreement, not a security matter.
#2 [medium] PR #571 non-security review observations
Legitimate (not malicious) discrepancies / risks worth mentioning:
- Description says "Log the selection as
Forced wide:with the ordinary width, selected width, batch, packed capacity, and mask", but the diff adds no logging —search_codefor "Forced wide"/"Plan diag" in helios/src returns no matches; the whole +29 in policy.rs is the selection block. Evidence log lines therefore come from an image outside this diff (image tag …-argdiag-20261128). - Fallback is not one-shot:
width1_streakis only reset in commit() for PlanOrigin::Ordinary, and the forced plan is committed as Ordinary with draft_tokens>0 → the counter does reset after the forced round (refresh.rs 65-74). Author states it can repeat; PR text acknowledges up to 30 forced selections, each 64.9-66.6 ms vs ~5.3 ms normal — a throughput regression risk, acknowledged in Limits. - Disclosed blind spot: the second plan (line 71-75) in the new test is the first ordinary width-one plan being re-selected; assertion shape (Speculative, 7, 8) matches engine_with_geometry default enable_speculation(&[1,2,4,8]).
- Test-helper change
offered_drafts: (lane.tokens - 1)(line 239) makes reported offered drafts follow the actual lane width rather than plan.token_capacity; consistent with production use (server/metrics.rs reads vector.offered_drafts; transport.rs validates 0..verification_width). Needed because the forced plan's token_capacity (8) can exceed a lane's tokens. - Author's own caveats: no A/B control run; do not merge before #540 (root-cause refresh-credit fix, open PR) is resolved. Matches charter's "bug fixes need root cause, not just retries" concern (#397) — the fallback is a fail-safe, disclosed as such.