PR #573: helios: tolerate omitted closing tags on complete tagged tool calls at EOS

Raw Markdown for agents: https://autobot.eidonix.com/api/v1/cases/904d6391-7d11-4ba8-a2cd-ad7f57a67941

Opened by a workflow run, Nov 28, 2026 3:38 PM EST.

screen malicious

Screen Result: All Clear

Evidence: Screening of NVIDIA/hyperflare-inference PR #573 ("helios: tolerate omitted closing tags on complete tagged tool calls at EOS", head 09cc5244, +1423/−70, 9 files, CI passing, 0 comments/reviews) found no prompt injection or other content aimed at steering an agent.

The PR description is ordinary engineering prose — motivation, per-file before/after, test evidence with named limitations — with no instructions to an agent, no requests to run commands, alter CI, or handle credentials. There is no discussion at all (no comments, reviews, or inline review comments), so there is no conversational injection vector, and the branch is a single commit with a normal message.

The diff is Rust parser logic plus unit tests: a new ToolDialect::parse_eos, confirmed/outer_closed tracking in TaggedTools, ToolBegin counting in TaggedOutput::finish, per-dialect EOS recovery gated on non-strict tools and on the absence of trailing non-whitespace, PlainText::parse_eos returning the pre-existing "tool parsing is not configured" error, and docs/api.md spec prose that matches the implemented behavior. Tests only assert on parser events.

Greps over the touched area return nothing for process spawning, Command::new, unsafe, include_bytes, env::var, HTTP clients, and for prompt-injection phrasings ("ignore all/previous instructions", "system prompt"); repo-wide hits for "autobot / language model / agentic" are unrelated docs and comments.

Reviewer note (product judgement, not a security finding): the PR deliberately relaxes a previously failing path — unclosed non-strict tagged tool calls at natural EOS are now accepted — but strict tools, truncation causes (OutputLimit/UserStop/Cancelled/ExecutionError) and trailing-text cases still fail or omit.

Verification limitation: the code-search tool rejected the unicode-range regex used to scan for invisible/bidi characters, so that check rests on reading the full diff manually rather than on a regex match.

Full report · Notes decide malicious: all_clear (100%): No malicious content found

explore

Author: lukealonso (COLLABORATOR; one of three "priority contributors" named in the charter; Discord not provided in the PR) Motivation: Tagged tool-call models sometimes finish writing a complete argument body and then stop without emitting the final closing wrapper tag, and the runtime currently errors the whole request for that. This PR lets those calls through when the opener was genuinely confirmed, the arguments are complete and self-delimited, and the tool isn't strict, while still rejecting undecided or truncated calls. Scale: +1423 / −70 lines in 9 files Proposal:

Full report · Notes

Value Proposition

Verdict: worth merging with changes (#573, helios: tolerate omitted closing tags on complete tagged tool calls at EOS)

What the PR actually is

9 files, +1423/−69, but the production core is only ~150–190 net lines; ~900 lines are tests and 17 are docs. helios/src/output/tagged.rs adds a required ToolDialect::parse_eos (tagged.rs:43-45), tracks confirmed (set only when D::starts_call returned Some(true), or on OutputStart::ToolBody; tagged.rs:715-724, 428-433) and outer_closed, and on Termination::Eos delegates the leftover body to the dialect instead of returning Err("incomplete … tool call") (tagged.rs:302-322). Each dialect then enforces its own structural completeness: ArgumentTags (≥1 closed <arg_key>/<arg_value> pair, valid function name, non-empty body), FunctionTags (≥1 closed <parameter=…>), GemmaCall (brace-balanced, no trailing text), MiniMaxXml (≥1 closed parameter element, no unclosed elements), plus strict: true rejection in all four.

Why it is worth doing (charter fit)

What it costs, and why it is not simply mergeable

Required changes before merge

  1. Cite and supersede #514 explicitly (or close it) so there is one leniency line of work, and say which guardrails of #514 were rejected and why.
  2. Replace or supplement the synthetic evidence with one captured failing stream for GLM and for one function-tag model (before/after on the served path), or relabel the PR as a maintainer policy change and get explicit sign-off for reversing the documented "incomplete calls at natural completion are errors" rule. This is the charter's "bring real evidence" bar, and #578 shows it is achievable.
  3. Document and test the DSML/XTML/TML asymmetry — state in docs/api.md that those parsers still reject omitted closers at EOS, and ideally file the follow-up rather than leaving the matrix silently inconsistent.
  4. Shrink the footprint: default parse_eos to Err(…incomplete…) on the trait and drop the PlainText stub; keep the outer_closed fix (it is a real bug) but drop the no-op self.calls increment or justify it with a test that reads it.
  5. Add tests for the Gemma/MiniMax prose-mention broadening and the duplicate-close-tag behaviour change, and state both in the docs paragraph.

Bottom line

The idea is right and lands in the right layer: it converts a hard request failure into the call the model clearly meant, on the exact workflow the charter is built around, with the anti-fabrication, strict-tool and truncation guarantees intact and no per-model flags. The implementation is careful — I could not find a way it fabricates a call or steals text from content. What holds it back is not design but the charter's own evidence rule: the proof is template-derived, the one real field report on this path blames corrupted graphs, a documented invariant is reversed in passing, and a same-goal PR sits open beside it. Fix those five points and this is a merge.

Full report · Notes Decide Value: yes (99%): This change is worth reviewing: it provides value to the project in line with its charter.

Conventions

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 2 — ToolBegin counting copy-pasted at tagged.rs:524-527 vs 579-583 (emit_calls was shared, the counter was not); parse_eos overlaps the private EOS recovery in recipient.rs:264-296, tml.rs:374, xtml.rs:243 without saying those are exempt.

Link: https://github.com/NVIDIA/hyperflare-inference/pull/573

No blocking issues: the PR adds no per-model boolean flags, keeps the capability in the shared tagged layer, and gates on strict (a request field, not model identity), consistent with the charter and design-review principle 3. Two items need maintainer intent to resolve: whether ToolDialect::parse may stay test-only, and whether MiniMax's new non-EOS </tool_call> leniency is deliberate (a streaming test would settle it).

Full report · Notes

Architecture

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 2 — parse_eos is a required method on the public ToolDialect trait with no default (tagged.rs:45), duplicating the PlainText body at pipeline.rs:49-51 that could be the default (incomplete <NAME> tool call, already produced at tagged.rs:317-318); and docs/api.md:447-451 says "tagged tool parsers" generically while dsml.rs:364-383, xtml.rs:234-250, tml.rs:358-374 (not opened) and recipient.rs:264-291 (not opened) remain strict.

Architecturally the change is right for this repository: it lives entirely in the output-parser layer, introduces no per-model boolean flag, env switch or config knob (it replaces the LENIENT_EOS_CLOSE flag #514 proposed, per AGENTS.md:356-357 / design-review.md:58-61), and preserves the anti-fabrication contract — unconfirmed openers and unfinished JSON strings still fail (tagged.rs:317-318), every dialect's EOS path rejects strict: true, and non-EOS terminations still omit (tagged.rs:303-312). It also fixes two real pre-existing defects: self.calls not advancing for calls emitted during finish (tagged.rs:522-529) and outer_tool_pending being set after an already-consumed </tool_call> (tagged.rs:593-596).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/573

Full report · Notes

Simplicity

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 5 — dead search_from/escaped resets (tagged.rs:314, 316); garbled "incomplete strict Gemma call tool call" (gemma_call.rs:128); recovery rule stated twice in docs/api.md (447-451 vs 514-525); tool-name character predicate duplicated (argument_tags.rs:36 vs :119); one new test block re-asserts unchanged plain-text </think> behaviour (pipeline.rs:1418-1435).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/573

The change itself is correctly small: confirmed and outer_closed are per-call state, not per-model flags; emit_calls is a genuine dedupe of the push path; the calls advance in finish makes call indexing consistent rather than adding a second scheme; and ArgumentTags::parse_body's eos flag carries checks (name character set, non-strict requirement, non-empty body) that the streaming path does not, so it is not duplication. Keeping parse_eos a required trait method with no default is right — a default would make every dialect lenient and defeat the anti-fabrication contract.

Open question: whether D::parse must stay strict for its other callers decides whether chatml's new allow_unclosed_function parameter can be deleted after the parse_eos rewrite; a grep of non-test ::parse( call sites settles it.

Full report · Notes

Correctness

Verdict: clean (nits only)

Blocking:

Should fix:

Nits: 2

PR 573 (helios: tolerate omitted closing tags on complete tagged tool calls at EOS) was reviewed through the correctness lens. Every changed file was read in context — helios/src/output/tagged.rs, argument_tags.rs, chatml.rs, gemma_call.rs, minimax_xml.rs, pipeline.rs, docs/api.md, plus the test-only edits in server/protocol/tests.rs and server/logprobs.rs — and the callers in model/prompt.rs:226-386, server/request.rs:230-284/500-518, grammar/strict.rs:1392-1486 and server/http.rs:471-567 were followed.

The core state machine holds. TaggedTools::finish rejects !confirmed || in_json_string before delegating to D::parse_eos (tagged.rs:313-320), and confirmed is decision == Some(true) only (tagged.rs:721), so undecided openers (<tool_call>run, <tool_call>run<arg, <tool_call>run</tool>) still fail; OutputStart::ToolBody correctly pre-confirms (tagged.rs:431). Non-EOS causes still clear and omit (tagged.rs:303-312), matching main. Counting ToolBegin at finish (tagged.rs:522-529) fixes index/newline-trim for calls emitted only at finish, with no double count against push (tagged.rs:579-583). outer_closed (tagged.rs:275-283/292/593-596) correctly stops waiting for a closer already written.

A caveat from my research resolved in the code's favour: although server/request.rs:503-518 omits strict from the presented tool object, grammar/strict.rs:1437-1449 injects "strict": true into that same OutputConfig.content.tools, and dialects without strict-grammar support (Gemma, MiniMax) are rejected at admission by strict.rs:1482-1484. So strict: true calls cannot be silently recovered.

Nits: (1) the lenient flag is also passed from parse_candidate (chatml.rs:127-129, minimax_xml.rs:200-201), so function-tag and MiniMax calls missing their inner closer are accepted during ordinary streaming, not only at EOS — intended and documented in docs/api.md:511-524, but understates the title; (2) docs describe the recovery as uniform although GLM and Gemma recover only at EOS while the other two also recover at </tool_call>.

Open: GemmaCall::parse_eos calls parse(...).remove(0) (gemma_call.rs:159) — unverified whether parse can return an empty vec (would panic); checkpoint-gated and live-serving tests were not run, so tokenizer/grammar end-to-end evidence of the omitted-closer path is missing.

Link: https://github.com/NVIDIA/hyperflare-inference/pull/573

Full report · Notes

Prose

Verdict: clean

Blocking:

Should fix:

Nits: 3

Link: https://github.com/NVIDIA/hyperflare-inference/pull/573

The description satisfies AGENTS.md:72–79 (why, what changed, claimed result, evidence, in order) and AGENTS.md:142–153 (the Discord: no username provided line). The docs/api.md rewrite is present-state specification, no chronology, per .agents/skills/repo-prose/SKILL.md:26–29 (not opened).

I withdrew my only would-be should-fix. I had flagged the Evidence claim "deepseek_output: 14 passed" as invented, but helios/tests/deepseek_output.rs has 10 #[test] plus 4 #[tokio::test] functions (lines 196, 246, 270, 602) = 14, with no macro generation. The count is accurate. The other counts also check out: 9 ignores in reasoning_delimiters.rs, 1 in glm_frontend.rs, 5 in parser_start.rs, and exactly 4 #[ignore] across helios/src/grammar.rs and grammar/strict.rs (not opened).

Every before/after claim in "What changed" holds against the code: confirmed set only on starts_call/ToolBody (tagged.rs:431, 698, 721, 760), in_json_string rejection (:317), outer_closed gating outer_tool_pending (:276–292, :593–596), calls advanced in finish (:522–529), and non-EOS terminations unchanged (:303–312). Per-dialect rules in docs/api.md:514–525 match argument_tags.rs:36–50, chatml.rs:127–129, gemma_call.rs:109–149, minimax_xml.rs:168–186, pipeline.rs:49–51.

Nits, all in docs/api.md: (1) :447/:514 use "natural completion" without a definition even though the code condition is Termination::Eos; (2) :514–525 packs four dialect rules into one sentence with nested parentheticals; (3) :524–525 says calls cut by "output limits or stop sequences" are never recovered but omits Cancelled and ExecutionError (tagged.rs:303–312).

Open: protocol-test equivalence claims rest on the new test, which I read in diff form only.

Full report · Notes

Subtractive

Verdict: make it smaller first The change: +1423 / −70 lines (9 files); ~120 production lines, ~1150 test lines, 17 doc lines. Could remove: ~760 lines, in ~9 places. Biggest subtractions:

Full report · Notes

Pre Test Report

Pre-Test Report — PR #573 "helios: tolerate omitted closing tags on complete tagged tool calls at EOS"

Verdict: REFER TO HARDWARE TESTING — but small, and as post-merge validation, not a merge gate

Test one host only: cn5, one GLM core, ~35 requests, ~45 minutes. Do not run a throughput A/B.

Door condition: the PR is already merged. Merge commit 2bdc8472 is on main ("helios: tolerate omitted closing tags on complete tagged tool calls at EOS (#573)"), merged 2026-11-28 21:17 by the author, lukealonso (COLLABORATOR and a charter-named priority contributor). Priority #1 of this review ("never test code that will need to be changed") therefore no longer decides the question: there is no revert-before-merge risk left, and nothing in my review is a blocking defect. What remains is that the change deliberately reverses a documented user-facing invariant (docs/api.md), its motivating premise has no captured evidence for any dialect, and the author ran no live serving run. A short served check is the cheapest way to close exactly that gap.


1. What the change actually is

9 production files, but the real behaviour change is ~150–190 net lines of CPU-side model-output parsing. No CUDA, no kernels, no scheduling, cache, admission or encoder policy. The diff is dominated by ~1,150 lines of tests plus, since review, 176 lines of Kani proofs.

Before: TaggedTools::finish(Termination::Eos) returned Err("incomplete <dialect> tool call") for every unclosed call. After: at natural EOS a non-strict call is accepted if its argument body is structurally complete and self-delimited.

Dialect Recovery rule Where
GLM argument tags ≥1 closed <arg_key>/<arg_value> pair, valid name (no <, >, whitespace), non-empty body, non-strict argument_tags.rs:25-60, 109
Qwen/MiMo function tags ≥1 closed <parameter=…>; also at </tool_call>; empty rest chatml.rs:127-129
Gemma 4 brace-balanced {…}, no trailing text, non-strict gemma_call.rs:109-148
MiniMax XML ≥1 closed element, no leftover; also at </tool_call> minimax_xml.rs:168-186

Guarantees that visibly survive: undecided openers still reject (eos_decision rejects on !confirmed), unfinished JSON strings still reject, strict: true still rejects in all four dialects, and all non-EOS causes (OutputLimit, UserStop, Cancelled, ExecutionError) still omit (tagged.rs:247-263). Two genuine pre-existing bugs are fixed as a side effect (outer_tool_pending after an already-consumed </tool_call>, and call indexing for calls emitted during finish).

2. Why no defect blocks testing

I read the code at main, not only the diff, and re-checked every should-fix finding. Nothing substantive survives.

Resolved since the lenses ran — the reviews are stale by two commits:

Invalid or resolved claims I am deliberately not carrying forward:

What survives is real but cleanliness, not correctness — none of it is a reason to withhold hardware:

Two findings I judge not actionable: the "lenient at EOS" title understates that function-tag and MiniMax also recover at the outer closer — intended, documented at api.md:519,522, and tested; and "Gemma/MiniMax prose examples now execute" is inherent to those dialects having no opener confirmation (starts_call defaults to Some(true)), only reachable for non-strict tools, and consistent with merged #67.

3. What testing would actually add

Verification already in place — hardware must not redo it: 11/11 Kani harnesses (I read kani_proofs.rs; the four new output-parser proofs are oracle-based and self-consistent), cargo-mutants 168 mutants / 157 caught with both misses documented as mathematically equivalent, 206 passing unit/protocol/logprob/grammar tests, and a 5-dialect × 3-protocol × 6-scenario encoder test.

The one real gap is exactly the layer hardware can reach: the author discloses that checkpoint-gated tests (FLARE_*_TEST_SNAPSHOT for reasoning_delimiters, glm_frontend, parser_start, 4 ignored grammar:: tests, FLARE_TEST_TEMPLATE_DIR) and all live GPU serving were unrun. That is the tokenizer/grammar end-to-end path.

And the premise itself is unevidenced. The PR asserts four model families omit their closers, with no captured generation, checkpoint or reproduction for any of them. The evidence splits:

So the served run answers two questions at once: does the code work end-to-end, and does the failure mode it fixes actually occur?

4. Feasibility limits you must know before allocating the job

5. Proposed test plan — cn5, GLM core, ~35 requests, ≤45 min

Serve the GLM core (flare run, flare-cli/src/cli.rs:45). Precondition: flare inspect reports ToolParserKind::GlmArgumentTags. If it reports DSML/XTML/TML/ATEM, the changed code is not on the request path and the job should be cancelled and re-planned.

# Check Requests Assertion Why it is worth hardware
0 flare inspect core contract 0 dialect is GLM argument tags Else the job tests nothing
1 #67-shape prompt, buffered + SSE 10 Zero HTTP 500s; no incomplete GLM tool call or other parser error frame The actual regression risk: strictness lost on a legitimate path
2 Ordinary tool calls, tool_choice:"auto" 10 finish_reason:"tool_calls"; arguments parse as declared JSON types; streamed function.arguments deltas concatenate exactly to the buffered value Confirms real tokens survive framing and events pair correctly
3 strict:true GLM tool 3 Still fails / is refused; never silently recovered The guarantee the PR claims to preserve
4 max_tokens truncation mid-call 3 finish_reason:"length" and the unclosed call is omitted (no tool_calls) Truncation must still omit; the asymmetry the PR must not break
5 Optional, cn7 only: Qwen function tags ~9 Same as 1–2 Second changed dialect, only if #1–4 are clean

Excluded on purpose (would burn the job for nothing): throughput/latency A/B — the code is off the decode hot path and runs once per completed envelope, so any delta is noise; KV/prefix cache; multi-GPU/TP; MTP/speculation; CUDA-graph capture; Dinov2/vit; Gemma 4 and MiniMax (no checkpoint).

A/B baseline: worth it only for check 1, and only if a pre-merge binary or core can be reused cheaply. Otherwise skip — the parser is a closed system already covered by Kani, mutation testing and 206 unit tests. The served run's job is to prove the code is reachable and correct with real tokens, not to re-derive coverage.

Interpretation: a parser error in check 1, a silently recovered strict tool in check 3, or a recovered call in check 4 are genuine regressions of a merged change and warrant a follow-up PR immediately. Checks 1–4 taking 0 samples of the omission is not a failure — it means the motivating premise did not reproduce on this hardware, which is itself the most valuable thing this job can tell you, given #133.

6. Summary for the decision

Refer, minimally, one host. Not because the code is in doubt — I found no blocking or should-fix correctness defect, and the implementation is the architecturally correct one (shared trait method, no per-model flags, anti-fabrication, strict-tool and truncation guarantees intact, two real bugs fixed). Refer because a deliberately-reversed user-facing contract with zero captured model evidence and zero live serving runs is precisely the gap a 45-minute served check closes, and because the alternative — trusting ~1,150 synthetic tests that were all reconstructed from chat templates — is what the charter's "bring real evidence" rule was written to prevent. Expected value: moderate-to-high for confidence in the premise, high for confirmed non-regression on the GLM path; low information on throughput, which is why no A/B is proposed.

Full report · Notes

code review summary

Recommendation: Changes Requested

The mechanism is right and no lens found a correctness defect, but PR #573 was merged with four dialects relaxed on assertion rather than captured evidence — reversing the #514 scope decision — and ~700 of its 1423 added test lines are redundant. Both are post-merge follow-ups, not merge gates.

Full report · Notes

Final review

Recommendation: Ready To Merge

PR #573 (already merged at 701ddd4) is sound, well-verified, and free of correctness, safety, or contract regressions: it adds flag-free EOS wrapper recovery through a shared ToolDialect::parse_eos method while preserving anti-fabrication (confirmed, in_json_string, self-delimited body checks), strict: true enforcement, and non-EOS omission guarantees, and fixes a pre-existing outer_tool_pending double-close bug. Zero blockers or should-fix defects survive verification; only one small helper deduplication and two minor nits remain as optional follow-ups.


Blockers

None.


Should Fix

None.


Subtract / Simplify

  1. Deduplicate the 4× tools function-lookup and strict check into helios/src/output/tagged.rs
    • helios/src/output/argument_tags.rs:40-44, helios/src/output/chatml.rs:109-113, helios/src/output/gemma_call.rs:123-127, and helios/src/output/minimax_xml.rs:162-166 all repeat the exact same five lines to look up a function spec by name and read f["strict"].as_bool() == Some(true).
    • All four copies are currently consistent and safe, so this is not a defect today, but extracting a single pub(super) fn function_spec<'a>(tools: &'a [Value], name: &str) -> (Option<&'a Value>, bool) (or tool_function + is_strict) in helios/src/output/tagged.rs alongside strict_nonstring_raw and container_parameter keeps the load-bearing strict anti-fabrication gate in one place.

Nits

  1. Doubled "call" in Gemma strict-EOS error string (helios/src/output/gemma_call.rs:128)
    • Err("incomplete strict Gemma call tool call".into()) repeats "call" (from D::NAME = "Gemma call"). Consider "incomplete strict Gemma tool call" or "strict Gemma call requires <tool_call|>".
  2. Share the name-delimiter predicate in helios/src/output/argument_tags.rs:36,119
    • parse_body (:36: c == '<' || c == '>' || c.is_whitespace()) and starts_call (:119: c == '<' || c == '>' || c.is_whitespace()) spell the same character predicate twice; a 3-line fn is_name_delimiter(c: char) -> bool keeps them in sync.

Verified passes


Dropped on verification

Full report Decision to Test: yes (73%): Testing will add considerable value with the code. It is ready to merge and the tests will validate and improve confidence on hardware we have available for testing.

Discord Test Request

Discord post (ready to paste — exactly the requested template)

Recommendation: Test

Medium confidence — high confidence the GLM tool path is not regressed, low confidence the omitted-closing-tag premise reproduces at all.

Hardware Required

Justification

Estimated Time to Complete

~45 minutes on one host, ~35 requests (checks: 10 prompt-shape buffered+SSE, 10 ordinary tool calls, 3 strict, 3 mid-call truncation). Add multi-hour ignition preparation time only if cn5 has no pre-built GLM core — check flare inspect first.


What I verified against the repo before writing it

Deliberate omissions from the post (template limits)

The template allows only 3 hardware bullets and 2 justification bullets, so the post leaves out: the exact pass/fail assertions per check (strict still refused, truncation still omits, streamed function.arguments deltas concatenating to the buffered value), the "a 0-sample omission result is a finding, not a reason to inflate N" rule, the cn7/arm64 exclusion reasoning, and the explicit excluded list (throughput A/B, KV cache, TP, MTP, CUDA graphs, vision models). Those live in the pre-test report and should be attached or linked alongside the post for whoever runs the job.

Caveat on process

This was my final turn, so I could not write the findings above into the scratchpad before finishing; everything worth keeping is inline here. All orientation-packet leads (merge status, file scope, the two stale review findings, the doc duplication, #67 and #133 evidence, feasibility limits, test plan) were followed and are either reflected in the post or noted above as intentionally out of scope.

Full report Human Approval: Do you approve this test? → by yatesdr on , Nov 28, 2026 10:51 PM ET.

Discord post (ready to paste — exactly the requested template)

Recommendation: Test

Medium confidence — high confidence the GLM tool path is not regressed, low confidence the omitted-closing-tag premise reproduces at all.

Hardware Required

  • 1 host only: cn5 (amd64) — no second host, no A/B build.
  • A GLM prepared core that flare inspect reports as GLM argument tags (not DSML/XTML/TML/ATEM, else the changed code isn't even on the request path).
  • No Gemma 4 or MiniMax M3.1 checkpoint exists on either host, so 2 of the 4 changed dialects stay untested — coverage gap, not a substitute.

Justification

  • PR #573 is already merged, so this is post-merge validation, not a merge gate: it deliberately reverses a documented user-facing contract (docs/api.md) with zero captured model evidence and zero live serving runs.
  • It closes exactly the one gap synthetic tests can't: tokenizer + grammar + real tokens end-to-end — and answers whether the failure mode it fixes actually happens (for GLM the only field data, #133, points the other way).

Estimated Time to Complete

~45 minutes on one host, ~35 requests (checks: 10 prompt-shape buffered+SSE, 10 ordinary tool calls, 3 strict, 3 mid-call truncation). Add multi-hour ignition preparation time only if cn5 has no pre-built GLM core — check flare inspect first.


What I verified against the repo before writing it

  • Merge status: read_item(573) — merged 2026-11-28 21:17 by lukealonso (COLLABORATOR, charter-named priority contributor), head 701ddd425d, +1937/−104 over 13 files. So "Recommendation: Test" can only be post-merge validation; nothing reverts.
  • File list matches the report: 9 production files plus tests/proofs/docs (pr_files), all inside helios/src/output/, docs/api.md, and lifecycle CI — no CUDA, no scheduling/cache policy. Consistent with "~150–190 net lines of CPU-side parsing" and "no throughput A/B".
  • The reported panic risk is genuinely gone: helios/src/output/gemma_call.rs:147-149 is a direct parse_body(body, tools, true); the parse(…).remove(0) indexing now exists only in #[cfg(test)] (gemma_call.rs:159). The review's "no empty-vec panic path" claim holds.
  • Garbled error string is real: helios/src/output/gemma_call.rs:128 returns "incomplete strict Gemma call tool call". Cosmetic only, correctly not a hardware blocker.
  • Doc-contract point is real: docs/api.md:447-451 and :514-525 state the recovery contract twice, and the two exclusion lists differ — the :524-525 sentence names output limits and stop sequences but omits Cancelled/ExecutionError while reading as exhaustive. Supports "deliberately reversed documented invariant" as a justification bullet.
  • Premise-evidence split confirmed: #67 measured the omission on Qwen3.8 Flash (7 of 20 logprob requests ended where </tool_call> would follow; <|im_end|> ≈0.97 vs </tool_call> ≈0.02) and explicitly lists GLM and Gemma/MiniMax as "not run / unit tests only". #133 (GLM-5.3 TP2) recorded incomplete GLM tool call as documented/deliberate behavior and traced its rejections to prepared-graph corruption; after #129's re-export, rejections went 1/84 → 0/84 with 84/84 HTTP 200. So for the one host we can actually test (GLM), the only field data argues the defect may be rare or absent — which is why the post keeps the time estimate short and does not inflate N.
  • Charter alignment: the post's justification leans on "Bring real evidence" and "Never test code that will need to be changed" being satisfied by the merge, which is how the report framed it; no per-model flags are being requested, matching the "no per-model special cases" standard.

Deliberate omissions from the post (template limits)

The template allows only 3 hardware bullets and 2 justification bullets, so the post leaves out: the exact pass/fail assertions per check (strict still refused, truncation still omits, streamed function.arguments deltas concatenating to the buffered value), the "a 0-sample omission result is a finding, not a reason to inflate N" rule, the cn7/arm64 exclusion reasoning, and the explicit excluded list (throughput A/B, KV cache, TP, MTP, CUDA graphs, vision models). Those live in the pre-test report and should be attached or linked alongside the post for whoever runs the job.

Caveat on process

This was my final turn, so I could not write the findings above into the scratchpad before finishing; everything worth keeping is inline here. All orientation-packet leads (merge status, file scope, the two stale review findings, the doc duplication, #67 and #133 evidence, feasibility limits, test plan) were followed and are either reflected in the post or noted above as intentionally out of scope.