Prose report · NVIDIA/hyperflare-inference #548

Raw Markdown for agents: https://autobot.eidonix.com/p/036d3fa1-c52d-402d-ad42-5236f2f6c556.md

Prose review — PR #548, head a34c4d06 (three commits: ebecef13, d64c3ea3, a34c4d06), base main, draft, 10 files +548/−25

Rules applied: AGENTS.md:43-70 (required prose review, .agents/skills/repo-prose/SKILL.md (not opened)), AGENTS.md:72-140 (required PR descriptions: why → what changed → claimed result → evidence, in order; before/after explicit, :88-94; evidence must connect to claims, :103-112; Discord line, :142-145), docs/design-review.md:137-152 (principle 16: commit bodies and PR descriptions follow the same scheme, no unexplained references, no unsupported claims), docs/design-review.md:153-157 (principle 17: Discord contact).

Key findings

Should fix (1)

1. PR description, "What changed → HTTP", first bullet is stale and now contradicts the code and the docs.

The description says flare_request_e2e_seconds "is observed when delivery completes a successful response, except for /v1/messages/count_tokens". At head, the observation is guarded by !count && !encoder.tool_limit_reached:

Why it matters: AGENTS.md:88-94 and docs/design-review.md:143-145 require the before/after to be explicit and complete, and AGENTS.md:134-137 forbids publishing a description whose material limitations must be guessed. An operator comparing flare_request_e2e_seconds_count with flare_requests_completed_total will look for a gap in exactly the case (a tool-call response that ends in cancellation) that the description says cannot exist. This is the same defect class the previous round raised against the code and the author fixed; only the description bullet was not updated.

Fix: extend that bullet to "…except /v1/messages/count_tokens and responses the runtime counts as cancelled, such as a parallel tool-limit stop", matching docs/api.md:303-306 and the comment at http.rs:598-599.

Nits (3)

2. docs/api.md:303 — "The HTTP histograms observe delivery." The lead-in uses the implementation verb, then the paragraph switches subject at :309 to the runtime group ("The runtime histograms observe completed generations"). Naming the two groups on their own terms (HTTP-level response timing versus runtime per-request timing) would read better; the two paragraphs are otherwise well matched. Prose-skill lead-in rule; low impact.

3. docs/api.md:304-306 — "for a stream it is observed when delivery completes, which requires the client to drain the body". Technically exact but delicate: the observation now runs in the same poll that yields Delivery::Complete (helios/src/server/http.rs:598-606, then yield Delivery::Complete(response) at :606), so a client that reads every data frame and disconnects before requesting the next item records nothing. "requires the client to drain the body" covers it; naming the abandoned-stream case in a half-clause would remove the doubt for someone reading the number.

4. Two follow-up commit subjects are change-log shorthand. "Hoist completion values and tighten stat parsing" and "Exclude cancelled responses and reuse host helpers" only read against the diff. docs/design-review.md:139-145 requires the four-part scheme in the commit body; the bodies are not visible in the history view I can read, so this is a note to check before merge rather than a demonstrated defect.

Resolved since the previous round (verified in the code at a34c4d06)

  1. Decode / time-per-output-token eligibility now stated. docs/api.md:312-314 ("recorded only for requests with at least two generated tokens") matches helios/src/server/metrics.rs:470-479 (if let Some(first) = times.first_token_ns && generated_tokens > 1) and the HELP strings at metrics.rs:1408 and :1416. This was the earlier "one observation per completed generation" contradiction; it is gone.
  2. Naming rule exception added. docs/api.md:290 now reads "…except the standard process_* series described below", which the six series at docs/api.md:318-321 would otherwise falsify.
  3. e2e end point and stream caveat. docs/api.md:303-306 and the code was moved to match: one observation before yield Delivery::Complete (helios/src/server/http.rs:598-606), with the old post-hoc arms removed (Delivery::Complete(_) => None at http.rs:621, and the non-streaming Delivery::Complete arm at http.rs:635-645 no longer observes).
  4. Queue histogram may start at a vision step. docs/api.md:309-311 says the first model step "can be a vision step", matching the stamp before the GraphKind::Vision split in helios/src/server/runtime.rs:2189-2203 versus :2208.
  5. "accumulate since server start" added at docs/api.md:297-298, which distinguishes the cumulative histograms from the windowed median gauge they sit beside (helios/src/server/latency.rs keeps its 60-second Samples window and snapshot).

Checked and sound (prose lens)

Open questions (not findings — cannot be settled from what I can read)

What I could not find

No prose defect in the code comments, the new module documentation, or the test comments; no unsupported claim in the "Claimed result" section; no missing four-part element in the description. The only prose artefact that is demonstrably out of date is the single description bullet in finding 1, and only the commit bodies (not exposed by the history view) could change the commit-message nit into something firmer.