PR #571 Screening Report — "helios: force a wide round after persistent width-one selection"
Key findings
Verdict: All Clear. No prompt injection, hidden instructions, encoded payloads, jailbreak-shaped text, or attempts to induce unwanted agentic behavior were found in PR #571 (head aab9295, base main, 3 files, +78/−3, author malventano/CONTRIBUTOR).
- The change is contained scheduler logic that matches its description: a width-one streak counter and a bounded "force a wide round" fallback in speculative decode planning.
- The diff is complete and touches only three Rust files (
helios/src/scheduler/policy.rs,refresh.rs,policy_tests.rs). NoCargo.toml(not opened)/lockfile, CI workflow, build script, shell script, binary, or documentation changes exist in the change set. - No new network, process, filesystem, or environment access; no new dependencies; no obfuscation, encoding, base64 blobs, zero-width characters, or unfamiliar-string sweeps triggered.
- The PR has zero comments, zero reviews and no CI checks on the head commit, so the only prose to screen is the description and the single commit message — both ordinary engineering text, and both explicitly self-critical about missing evidence.
- The only directive-shaped sentence in the description ("Do not merge before #540 is resolved … Discord: malventano") addresses human reviewers and asks for sequencing with the root-cause PR #540. It is not agent-addressed and is not an injection attempt.
Non-malicious discrepancies worth a reviewer's attention are listed under "Secondary observations"; none is a security matter.
What was examined
Change set (pr_files, complete pr_diff)
Only three files are touched:
| File | Change | Substance |
|---|---|---|
helios/src/scheduler/policy.rs |
new block, +29 | forced-wide candidate selection inside select_plan |
helios/src/scheduler/refresh.rs |
counter + accessor | width1_streak in RefreshState |
helios/src/scheduler/policy_tests.rs |
new test + 1-line helper change | two_ordinary_width_one_plans_force_a_wide_round |
No other paths appear, so there is no hidden build, packaging, or CI surface to inspect.
Code, verified at head
helios/src/scheduler/refresh.rs:33-74
- Line 37:
width1_streak: AtomicU64added toRefreshState. - Lines 53-55:
force_wide_due()returns true when the streak is>= 2. - Lines 65-74:
commit()increments the streak only whenorigin == PlanOrigin::Ordinaryand the committed step isGraphKind::Speculativewithstep.draft_tokens == 0(i.e. width one), and stores0otherwise. Nothing here reads input, spawns work, or touches the environment; it is pure in-process bookkeeping.
helios/src/scheduler/policy.rs:1281-1309
- The block runs after the ordinary, discovery, refresh (
PlanOrigin::RefreshStart, line 1273) and acceptance-probe (lines 1276-1280) paths have already declined, exactly as described. - Lines 1282-1296 filter
candidatestoGraphKind::Speculative,draft_tokens > 0, samebatch, samemask, and take the max bydraft_tokens, thencapacity, thenpacked_token_capacity, then the existingcomparehelper. - Lines 1297-1308 clear
host_lengths(recomputing lane lengths rather than reusing packed lengths) and returnavailable_plan(..., PlanOrigin::Ordinary); falling through to line 1310 leaves ordinary selection intact. - No hardcoding to width 8: the selection is over the prepared catalog, matching the description's claim about narrower drafters.
helios/src/scheduler/policy_tests.rs
- Lines 51-82: the new test commits two ordinary width-one plans and asserts the fallback returns a
Speculativeplan with 7 drafts and capacity 8 (the engine-with-geometry defaultenable_speculation(&[1,2,4,8])). - Line 239: helper
completion_recordsnow reportsoffered_drafts: (lane.tokens - 1)instead of(plan.token_capacity - 1). This is a test-side consistency change needed because a forced plan'stoken_capacitycan exceed a lane's own tokens; production readsoffered_draftsfrom the vector (server/metrics.rs(not opened)), andtransport.rs(not opened) validates it against the verification width.
Prose screened
- Description: Why / What / Result / Evidence / Limits / Merge order sections, a Discord handle, a code-block log excerpt, and test-count tables. No imperative addressed to an automated reader, no "ignore previous instructions", no tool/credential requests, no links to external payloads.
- Discussion: empty —
read_itemfor #571 showsDiscussion (0)andpr_commentsreports "No comments"; no reviews, no CI checks onaab9295. - Commit list for
pr/571: a single commitaab92953"helios: force a wide round after persistent width-one selection" on top ofd17efddc, with a conventional message.
Targeted sweeps (over helios/src/scheduler/)
http,reqwest,process::Command,std::fs,env::var,base64: no matches — no new network, shell, filesystem, or environment surface.ignore previousand agent/prompt-injection-oriented wording (autobot,agent,assistant,prompt injection,instructions, case-insensitive): the only hits are two benign test names incheckpoints.rs:1088 (not opened),1112referencing "agentic prompts", unrelated to this diff.Forced wideandPlan diaginhelios/src: no matches — see the first secondary observation below.- (Tooling note for reproducibility: this repository's search rejects inline
(?i)combined with alternation; passignore_case=trueinstead.)
Secondary observations (engineering, not security)
- Logging claim is not in the diff. The description says the selection is logged as
Forced wide:with ordinary width, selected width, batch, packed capacity and mask. The diff adds no logging, andForced wide/Plan diagdo not exist anywhere inhelios/src. The quoted evidence log therefore comes from a diagnostic image outside this change set (flare-toolstream:v0.3.2-49-gd17efddc-argdiag-20261128). This is a documentation/evidence gap for reviewers to weigh — not malicious, and the author explicitly frames the fallback as an image-tested prototype. - The fallback is not one-shot.
width1_streakis reset incommit()for any ordinary plan that is not a width-one speculative plan, so a forced round (ordinary,draft_tokens > 0) clears it — but if ordinary selection returns to width one, the streak rebuilds and the fallback fires again. The author discloses this in Result and Limits, including up to 30 forced selections between 18:00:09 and 18:00:12 at 64.9–66.6 ms versus roughly 5.3 ms for a normal width-eight plan. A real throughput-regression risk under a pathological trigger, disclosed rather than hidden. - Self-declared evidence limits. No A/B control run exists; the author states the sequence does not prove causality and asks reviewers to compare the same request sequence against a build without the fallback. Merge order explicitly defers to #540 (open PR, "Retain bounded timing-refresh credit across idle and exclude readiness wait"), the prevention-side fix.
- Charter alignment. The project charter (line 12, runtime/model-agnostic, and the referenced preference that bug fixes target root causes rather than retries, #397) is the source of the only real tension: this change is a fail-safe layered on top of #540 rather than a repair. The author says so plainly ("This is not a recovery fix … not a replacement for #540"), which is a legitimate engineering disagreement about approach, not a security matter.
Open questions and what could not be verified
- The prototype image
flare-toolstream:v0.3.2-49-gd17efddc-argdiag-20261128and the "1017 service" logs could not be reached or inspected, so the quoted log excerpt and the "30 forced-wide selections" claim are unverified. The text contains no instruction-like or exfiltration content regardless. - The
Forced wide:log line asserted in the description cannot be corroborated in the repository at any commit reachable frompr/571; it presumably lives in the diagnostic image. - The remainder of
policy.rs(~1,550 lines) and the other ~5,700 lines ofpolicy_tests.rswere not read line by line; the diff is authoritative for the change set and cannot hide code in unrelated files. - Whether the fallback should exist at all given #540 is a review question for the maintainers, not a screening question.
- No adversarial relationship or contradictory intent was found between #571 and #540's descriptions.
Conclusion: All Clear — nothing in PR #571 attempts to steer an agent, exfiltrate data, or introduce unreviewed executable surface.