#1 [high] Research summary
Prose-lens review of PR #573 (9 files, +1423/−70). I read AGENTS.md, CONTRIBUTING.md, docs/design-review requirements via AGENTS.md, .agents/skills/repo-prose/SKILL.md (not opened), the full diff, and the surrounding code for every changed function (TaggedTools/TaggedOutput/parse_eos per dialect, docs/api.md in context). Findings:
Should fix — evidence count cannot be reproduced (AGENTS.md "Never invent evidence", lines 103–112). The Evidence section claims deepseek_output: 14 passed, 0 failed, but helios/tests/deepseek_output.rs contains exactly 10 #[test] functions (lines 310, 351, 388, 440, 494, 560, 586, 654, 695, 740) and no include!/macro expansion of tests. cargo test --test deepseek_output runs only that target, so the summary line should read 10 passed unless four tests are generated another way. Fix: paste the actual test result: line, or correct the count. (Contrast: the other counts in the description do check out exactly — 9 ignores in helios/tests/reasoning_delimiters.rs, 1 in glm_frontend.rs, 5 in parser_start.rs, and exactly 4 #[ignore] under helios/src/grammar{,/strict}.rs, matching the "4 ignored grammar::" claim.)
Should fix — "What changed" omits two changed files (AGENTS.md lines 88–94: name the affected components and the concrete behavior change). helios/src/server/logprobs.rs and helios/src/server/protocol/tests.rs appear only in Evidence. The logprobs file is not test-only in framing terms: it adds a test that pins logprob spans and reasoning-token accounting for a recovered call at EOS, which is a claim about behavior at the decoder/encoder boundary, not merely "a test". State it in the change list.
Nit — docs/api.md:447 and :514 use "natural completion"/"tagged tool parsers"/"tagged call" without a local definition. The code condition is specifically Termination::Eos (helios/src/output/tagged.rs:302–322), while UserStop, OutputLimit, Cancelled, ExecutionError omit (:303–312). Naming the end-of-sequence cause directly at line 447 would let a reader map the sentence to TaggedTools::finish; the doc already has the vocabulary at line 478 ("an honored end-of-sequence token").
Nit — docs/api.md:514–525 packs three different tags into one sentence. "omits its closing wrapper tag" is then qualified by "without </function> (also accepted when closed by </tool_call>)" and "without </invoke> (also accepted when closed by </tool_call>)". The rules are correct (verified below) but the reader must track wrapper, function closer, and invoke closer at once; splitting per-dialect into short clauses or a small table would remove the ambiguity.
Nit — the description does not mention open PR #514, which proposes exactly the naive ToolDialect::parse fallback the description argues is unsafe. A one-line reference lets a reviewer close #514 with context; the "Why" already contains the technical reason.
Verified against code (no defect): the description's before/after claims all hold — confirmed set only on starts_call(...) == Some(true) or OutputStart::ToolBody (tagged.rs:431, :698, :721, :760); in_json_string rejection (:317); outer_closed gating outer_tool_pending (:276–292, :593–596); calls incremented for ToolBegin emitted in finish (:522–529); GLM name/greedy-pair/strict rules (argument_tags.rs:36–50); function-tag !strict && !arguments.is_empty() && rest.is_empty() (chatml.rs:127–129, used by both parse_candidate and parse_eos, matching the "also accepted when closed by </tool_call>" claim); Gemma brace balance incl. {} and rejected bare headers (gemma_call.rs:109–149); MiniMax closed/values.is_empty()/parameters.trim().is_empty() gate (minimax_xml.rs:168–186); PlainText::parse_eos returning the existing error (pipeline.rs:49–51). The documented per-dialect rules in docs/api.md:514–525 match these conditions, and the "non-EOS terminations are unchanged" claim matches tagged.rs:303–312.
No blocking prose defects found; the documentation rewrite follows the repo-prose skill's present-state form and does not narrate the change history.
#2 [high] Should fix: PR #573 evidence claim "deepseek_output: 14 passed" not reproducible
PR #573 (helios: tolerate omitted closing tags on complete tagged tool calls at EOS), head 09cc524.
Evidence section claims:
cargo test ... --test deepseek_output --test reasoning_delimiters --test glm_frontend --test parser_start
deepseek_output: 14 passed, 0 failed.
Verified: helios/tests/deepseek_output.rs contains exactly 10 #[test] functions, at lines 310, 351, 388, 440, 494, 560, 586, 654, 695, 740, and no include!/macro that would generate more. cargo test --test deepseek_output runs only that target, so the summary line should say 10 passed.
Rule violated: AGENTS.md lines 103-112 ("Connect each material claim to the relevant checks... Never invent evidence to complete the description"), also lines 107-109 (keep counts tied to tested contract).
Fix: paste the actual test result: line, or correct the count to 10.
Contrast (these claims DID check out): the 4 ignored grammar:: tests match exactly 4 #[ignore] in helios/src/grammar.rs (1366, 1738, 1928) and helios/src/grammar/strict.rs (4343); reasoning_delimiters has 9 #[ignore] (lines 60, 69, 85, 145, 157, 170, 183, 201, 213); glm_frontend 1 (line 30); parser_start 5 (lines 109, 121, 133, 145, 157).