Prose report · NVIDIA/hyperflare-inference #457

Raw Markdown for agents: https://autobot.eidonix.com/p/c4e7a278-8c0d-4124-a412-72be3fae4ea8.md

Prose review of PR #457 — Fail untyped TML model headers at EOS and align TMLv0 content-header and strict-tool grammars with TmlOutput

Lens: prose — the PR description, its commit messages, and the docs and comments the change touches, judged against the repository's own writing rules (AGENTS.md:67-148, docs/design-review.md:134-157, .agents/skills/repo-prose/SKILL.md (not opened)).

Key findings

Description: the four required parts

The required scheme is: why, what exactly changed, the claimed benefit or result, and the supporting evidence, in that order (AGENTS.md:69-75; docs/design-review.md:136-147, principle 16).

Present and compliant:

Defects in the description:

1. should fix — the live GPU evidence names a checkpoint the repository rejects, and the harness is unreferenced

PR description, "Supporting Evidence / Live SM120 GPU verification".

The section reads "Live SM120 GPU verification (TML-d24-varloop-research on RTX PRO 6000 Blackwell)". Two problems:

Rule: AGENTS.md:105-107 — "Reproduction commands must identify the required inputs and configuration directly or through a precise reference; placeholder arguments alone do not explain a measurement" — and AGENTS.md:90-96, which requires the scope and material limitations of a measured result. The description does not say which checkpoint or recipe produced the served model, so the measured scope is invisible.

Fix: name the served core exactly as a reviewer could obtain it (checkpoint repository plus revision and a recipe alias that exists on this branch, or state plainly that the core is external to the repository and is not reproducible here), and give the path or a link for the round-trip suite in both cases.

2. should fix — the snapshot-suite command uses a placeholder for its required input

PR description, "Supporting Evidence": "Real tokenizer snapshot suite (FLARE_INKLING2_TEST_SNAPSHOT=... --ignored --test-threads=1 server::request::tml_tests::)".

The repository already records what the variable must contain: helios/src/server/request/tml_tests.rs:9-12 says the tests read tokenizer.json (not opened) from FLARE_INKLING2_TEST_SNAPSHOT, and the pattern in this tree is to name a checkpoint repository and revision (as docs/model-preparation.md does elsewhere). AGENTS.md:105-107 forbids leaving a measurement explained by a placeholder alone.

Two further facts a reviewer needs and the command omits:

Fix: give the full invocation, name the snapshot source (repository + revision) that FLARE_INKLING2_TEST_SNAPSHOT must point at, and note the --ignored requirement in the same sentence.

3. nit — the "124 passed" count has no filter argument

The unit-test bullet lists module prefixes (output::tml::tests::, grammar::tests::, …) and states "124 passed", but the quoted command (cargo test --locked --release --manifest-path helios/Cargo.toml (not opened) --features runtime-core,server) has no filter and would run the whole suite. Either give the filters that produce 124 or state that 124 is the subset of the full run. AGENTS.md:98-104 requires the evidence to connect claim to configuration.

4. nit — contradictory live results are left unexplained

The same section reports "5/5 tool calls (4/5 ['reasoning', 'message', 'function_call']) on preamble-plus-tool prompts". It is not stated what the fifth preamble run looked like, nor whether it is a limitation. AGENTS.md:101-102: "Explain differences between runs when passed and skipped cases would otherwise appear contradictory."

5. nit — the title leads with an internal type name and stacks three changes

"Fail untyped TML model headers at EOS and align TMLv0 content-header and strict-tool grammars with TmlOutput" front-loads TmlOutput, a helios-internal parser type, before any reader has been told what it is, and packs three distinct changes into one line. The writing rules ask for concepts before identifiers and warn against making "implementation shorthand … the vocabulary of the design" (repo-prose SKILL.md:20-25); AGENTS.md:117-123 asks that a component's role be explained before its internal shorthand is used. Fix: lead with the user-visible consequences — malformed TML turns failing instead of silently completing, and TMLv0 grammars accepting unnamed tool headers and a text preamble before tool calls.

Commit messages

6. nit — the commit bodies do not carry the four-part explanation

search_history on the PR head shows three one-line commits:

(plus d75bc3a8, a Merge main).

Rule: docs/design-review.md:137-147 requires commit message bodies to follow the four-part scheme in order, and docs/design-review.md:169-174 makes the review of the final commit message body against that scheme a gate. The subjects are accurate but leave rationale, before/after, claimed result and evidence entirely in the PR description; a reader of git log alone cannot reconstruct the argument. This is a nit only because the description carries the content and the repository accepts descriptions of this shape, but the rule names the commit message too, so the trailers/body should be squared up before merge.

Docs and comments the change touches

7. should fix — user-visible TMLv0 wire behaviour changes are not documented

Rule: AGENTS.md:225 — "Change CLI, API, or configuration behavior → CLI design and the relevant API sections"; the charter's "Standards & Contributions" section states the target is the documented API subset, and repo-prose SKILL.md:26-29 requires stale claims to be replaced rather than left alongside new ones. The PR changes four files, none of them documentation, and the description does not flag the documentation gap under "Unrun Checks and Limitations".

Fix: add a short, precise paragraph to docs/api.md around lines 585-602 covering (a) unnamed versus named TMLv0 tool headers, (b) a text preamble followed by tool calls, and (c) the new EOS failure for a non-empty model header closed without a content kind; update the "incomplete calls" sentence at lines 443-444 to distinguish it. If the author believes docs/api.md is intentionally silent on TMLv0 frame syntax, say so in the description and cite where the contract lives.

8. nit — the new error text and comments read well; one test-name label is unexplained

helios/src/output/tml.rs:400 — "TML model header closed without a content kind and the turn produced no answer or tool call" — is a present-state statement of the condition rather than a narration of the change, which is what the rules ask for, and the doc comments added at helios/src/output/tml.rs:81 (HeaderWithoutContent) and around :332 (call_or_text) describe behaviour, not the patch. No changelog-style narration was introduced anywhere in the diff.

The two new tests, however, carry a stress label that is not a technical property: inkling_stress_untyped_closed_header_must_surface_failure (helios/src/server/request/tml_tests.rs:395) and inkling_stress_custom_grammar_preamble_then_tool (:443). Nothing in helios/src establishes a stress-suite convention, and repo-prose SKILL.md:15-16 warns against lifecycle labels that do not name a property. Small fix: drop stress, or explain in the description what makes these stress tests.

What was checked and could not be settled