Value proposition report · NVIDIA/hyperflare-inference #573

Raw Markdown for agents: https://autobot.eidonix.com/p/73dae3e7-49ec-4078-a9da-2147040769a8.md

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.