Explore scratchpad · NVIDIA/hyperflare-inference #560

Raw Markdown for agents: https://autobot.eidonix.com/p/d202c974-1391-49b0-9429-708b0c1b605b.md

#1 [high] Change: what #560 does, and its stacked scope

PR #560 "Emit vLLM-compatible per-request metrics from runtime instants", author WynnD (GitHub association NONE), draft, opened 2026-11-28, base main, head 037b9d5f, 18 files +1898/-123, 0 comments, 0 reviews, no CI checks. Closes #551. Closes-issue + description: https://github.com/NVIDIA/hyperflare-inference/pull/560

Own commit: 037b9d5f "Report vLLM per-request metrics from runtime instants" (search_history at PR head). All earlier commits in the branch (3e1512e3, 49373bc5, 15018689, 01f1e92b, 10c0b937, 54e06b30...) are #548's commits — the branch is cut from #548's branch metrics/request-latency-histograms, so the GitHub diff against main contains BOTH PRs. Evidence: metrics.rs is +548/-2, exactly #548's own metrics.rs size (read_item 548 files list), and docs/api.md here is +178/-4 vs #548's +127/-4; latency.rs is +24/-8 here, identical to #548's — #560 adds nothing to latency.rs. #560's own delta is roughly +880/-72 on top of #548 (1898-1016 / 123-51). Classification: #560-only files (not in #548's file list): docs/cli-design.md, flare-cli/src/cli.rs, flare-cli/src/main.rs, helios/model-contract.md, helios/src/server/config.rs, helios/src/server/protocol/encode.rs, helios/src/server/protocol/tests.rs, helios/src/server/runtime/response_lifecycle_tests.rs. Overlapping files that carry both PRs: runtime.rs, http.rs, metrics.rs, docs/api.md, server.rs, latency.rs, scheduler.rs, scheduler/tests.rs, phase_tests.rs. Description says explicitly it is stacked on #548 "the updated #548" and that the dependency must merge first.

#2 [high] Related work: supersedes #552 and #553, stacked on #548, closes #551

#551 (issue, open, WynnD, 2026-11-27) "Report per-request timings on final responses so llama-swap can show prompt and decode rates": llama-swap's activity table reads llama.cpp timings or vLLM metrics from the proxied body/SSE (buildMetrics, internal/server/metrics.go, llama-swap v250 @60226b6); Flare emits usage only so rates stay -1 and the input-token column shows the full prompt. #560 closes it. https://github.com/NVIDIA/hyperflare-inference/issues/551 #552 (closed 2026-11-28, draft, +929/-26) "Report request timings on final responses": emitted a llama.cpp timings object (cache_n/prompt_n/prompt_ms/prompt_per_second/predicted_*/draft_n/draft_n_accepted), stacked on #548, carried per-request DraftCounts. Closing comment by WynnD: superseded by #560 because emitting both made llama-swap subtract cached prompt tokens twice. #560's description says the llama.cpp timings object and per-request draft counts are "not carried over". #553 (closed 2026-11-28, draft, +364/-9) "Add vLLM-compatible per-request metrics": same vLLM metrics object but timed from HTTP admission, so queue_time_ms was always null; added [server] per_request_metrics config key in flare/src (configuration.rs, settings.rs, controller.rs). Closing comment by WynnD: superseded by #560 because #560 uses model-worker instants, so queue_time_ms is reported and stop-string requests are timed correctly. #560 drops the flare/src config key. #548 (open, draft, same author) "Add per-request histograms and vLLM-parity request metrics", closes #536, +1016/-51, head 49373bc5. It carries RequestTimes/RequestRecord, the completion histograms, model_step_tokens, parked gauge, admission_rejections, cache_lookup_tokens. #560's description states the dependency must merge first. #548 itself has 5 discussion entries: 3 Autobot reviews, all "Changes Requested"; last at 2026-11-27 07:04 lists 2 blockers (a --features server build break and unreconciled evidence).

#3 [high] Community/process: no engagement on #560; #553's auto-review stopped on charter/value grounds

#560: "No comments" (pr_comments), 0 reviews, no CI checks on head 037b9d5f ("CI on the head commit: no checks"), draft. Age <1 day at orientation. Predecessor #553 received two flare-autobot "## Review Stopped" verdicts — "Auto-Review halted due to finding: It is low value or does not align with the project charter." (2026-11-27 05:17 and 06:40), with Value Proposition Reports. That is the only recorded project-side judgement on the per-request-metrics idea so far, and it is about #553's HTTP-timed variant, not #560. source: read_item 553 discussion. #548 (the base) has 3 Autobot reviews, all "Changes Requested", none from a human maintainer. No human maintainer has commented on any of #548/#552/#553/#560/#551. Author association to NVIDIA/hyperflare-inference is NONE (orientation packet), 0 merged PRs, 2 closed, 3 open in 180 days: #553, #552, #551, #549, #548.

#4 [high] Change: #560-only code, verified against the diff

#560-only pieces, verified in the diff (pr_diff at head 037b9d5f):

#5 [high] Change: description vs diff discrepancies

  1. The published diff is 18 files / +1898/-123, but only about +880/-72 of that is this PR; the rest is the unmerged #548 base it is stacked on (metrics.rs +548/-2 and latency.rs +24/-8 are #548's changes verbatim; docs/api.md here +178/-4 vs #548's +127/-4). The description does say it is stacked and that "the dependency must merge first", and it credits #548 for the instants; but a reviewer reading the GitHub diff sees one large change, and #548 is a draft that has only ever received "Changes Requested" from the repo's own auto-reviewer. GitHub cannot merge this before #548 without a manual rebase.
  2. Undeclared side effect of moving the encoder before submission: the fall-through submission arm in http.rs changed from state.model.generate_many(prompts) to state.model.generate_many_observed(prompts, None, commits) (compare pr/548 http.rs:338 with #560 http.rs:374). That means requests that previously took the plain path now allocate a Generation with observation: Some(false), which changes output_event_capacity (the observed factor) for every generation request, not only for the metrics streams the Cost section enumerates. The description's cost section says "Option off: no commit events, unchanged event capacity" — that is true of the commits term, but the observed term is now 1 where it used to be 0 on that arm. This is a claim/code mismatch worth flagging.
  3. Undeclared: the diff also carries #548's behaviour changes to the same request path — RequestRecord.max_tokens set at admission, tokens_committed on every committing step, request_completed replacing completed.fetch_add on both paths, model_step observation on every completed text graph, admission_rejected counters on the 429/503-adjacent paths, flare_parked_requests gauge, cache_lookup_tokens, first_response histogram, and Metrics::response_completed e2e observation. None of that is described in #560's "What changed" (it is #548's), but it is in this PR's diff.
  4. first_scheduled_ns assignment in the delivery loop is unconditional per finished choice (first_scheduled_ns = times.first_scheduled_ns;, http.rs:541), so for a multi-choice Completions body (not Chat) the last choice's value wins in the performance object. The code comments that performance is Chat-only, so this is latent rather than observable today; worth a note because observation.finish is also called from the non-stream Chat path only.
  5. The description says "No clock read is added in either state." Verified in this PR's own hunks: true for the encoder path (instants come from events). But #548's part of the diff does add clock reads (monotonic_ns in complete already existed; reserve_and_pack gains one monotonic_ns per submitted step). So "no clock read is added" is true of #560 alone, not of the diff.
  6. docs/api.md's vLLM correspondence table and the "Per-request metrics" section are both in this diff and are #548-backed content plus this PR's section; the description mentions docs/api.md documents the fields, placement, null rules and cost — accurate.
  7. Description claims a docs/api.md statement "Failures return error bodies without it" — verified: metrics is only emitted at Delivery::Complete; the failure path yield Delivery::Failed returns before that (http.rs:593-597).

#7 [high] Project fit: charter, AGENTS.md rules on flags, stacks and TODO.txt

Charter facts that bear on this change (read_charter):

#8 [high] Claims and evidence: what backs each claim of #560

Claims → evidence, verified or not:

  1. "cargo check --features server clean; cargo test ... 820 passed, 1 failed; flare-cli cli:: 33 passed" — not reproducible here; the named failure server::protocol::decode::native_prompt_tests::messages_image_hints_end_after_expansion_for_text_and_segmented_templates is the same pre-existing failure #548, #549 and #552 all report, needing FLARE_TEST_TEMPLATE_DIR from tests/frontend/prepare_templates.py. Consistent across four PRs, so plausible, but no CI run exists on head 037b9d5f to corroborate.
  2. The six new tests named in the description exist in the diff and assert what the description says: phase_tests.rs performance_reports_the_first_scheduled_model_step (:4580ish), per_request_metrics_report_the_runtime_instants_of_a_stopped_reasoning_answer (:4693), per_request_metrics_reach_completions_and_responses_where_vllm_places_them (:4746), per_request_metrics_are_absent_without_the_option_and_null_for_several_choices (:4800); protocol/tests.rs per_request_metrics_follow_vllm_placement_and_null_rules (:2350) and content_instant_excludes_reasoning_tool_calls_and_suppressed_text (:2520ish); cli.rs per_request_metrics_flag_is_off_by_default_and_reaches_rank_zero (:1378); config.rs Bootstrap test (:724-740).
  3. Strong evidence point: the tests drive a real worker and pin instants to the worker step that produced them, with 3 ms sleeps between steps (timed_pass, phase_tests.rs:4520s), and assert commits == stream — i.e. that only the content-instant streams requested commit events. That directly supports the "no added events when off" claim rather than asserting it from code reading.
  4. No live/gateway verification at all in #560 ("Not run here: a GPU, an exported core, a live server, a llama-swap or gateway check, the Windows build"). Its predecessor #553 DID have live llama-swap numbers (4925.84 ms TTFT, 3.20 tok/s non-stream; 128.01 ms mean ITL streaming) but those came from a tree that also carried an unpublished local timings object, and #553's own numbers were produced by the HTTP-timed variant, not this one. #552 had live llama-swap numbers too. So the swap to runtime instants traded away the only end-to-end evidence the family had.
  5. "No clock read is added in either state" — true of #560's own hunks; #548's hunks add one monotonic_ns per submitted step in reserve_and_pack.
  6. Cost numbers in the description are read from code, explicitly not measured; CPU overhead under load was not measured. The repo's own rule (AGENTS.md:74-112) requires distinguishing an expectation from a measured result, which the description does.
  7. Undeclared-behaviour risk not covered by any test: the fall-through arm now calls generate_many_observed(prompts, None, commits) instead of generate_many(prompts), so observation becomes Some(false) for requests that previously had None. output_event_capacity then multiplies by 2 instead of 1 for those requests. Tests added here do not cover that arm's capacity.

#9 [high] Reach: who and what the flag affects, and the include_usage gate

Reach — users/operators/config/compat/docs:

#11 [high] Process: draft with no CI, no review, no autobot case file; blocked base

Process state at review time:

#12 [high] People: first-week author, metrics series, no maintainer engagement

People:

#13 [high] Research summary

Case file gathered for PR #560 ("Emit vLLM-compatible per-request metrics from runtime instants", WynnD, draft, head 037b9d5f). Scratchpad holds 12 entries covering every requested angle: change, why, related work, recent activity, people, community, project fit, claims/evidence, reach, process.

Headline findings: (1) the published diff is two PRs — 18 files / +1898/−123 against main, of which metrics.rs and latency.rs are verbatim the unmerged draft #548, which itself has three "Changes Requested" auto-reviews and is not mergeable; only ~+880/−72 is #560's own. (2) An undeclared behaviour change rides along: the http.rs fall-through submission arm changed from generate_many(prompts) to generate_many_observed(prompts, None, commits), so observation is now Some(false) where it was None, which doubles output_event_capacity for requests the description's cost section says are unaffected — and no test covers that arm. (3) No live, gateway, GPU or Windows evidence at all, unlike the two PRs it supersedes, which both had live llama-swap numbers. (4) The motivating defect is real and citable (#551: llama-swap v250 buildMetrics reads only llama.cpp (not opened) timings or vLLM metrics from the body, so Flare rates read −1), but a Chat/Completions stream carries the object only when the client sets stream_options.include_usage — a real reach limitation for that gateway. (5) Project fit is genuinely double-edged: the charter/AGENTS.md ban new configuration switches without a concrete requirement, and the flag lands as an opt-in with no config-file key, no WinUI path, and no way for a saved Orbit group to switch it off; #553's auto-review was stopped for "low value or does not align with the project charter". (6) Process: draft, zero comments, zero reviews, no CI checks, no autobot case file yet, no maintainer has engaged any PR in this five-item series, and the author has no merged PRs and NONE association.

I did not judge whether it should merge. Nothing in the orientation packet led to a dead end; #549/#536/#537 were followed and recorded as adjacent but separate, and the verification/helios-lifecycle source-text mutation was checked and still matches.

#14 [high] Synthesis: the connections between stack, succession, flag and capacity

Cross-references the final report needs to state explicitly (each already sourced in an earlier entry):

  1. Stacking: #560's branch is cut from #548's branch (metrics/request-latency-histograms) at 49373bc5; every file carrying #548's histograms shows up in #560's diff verbatim. Consequence: GitHub will show reviewers a +1898/−123 change, and #560 cannot merge before #548, which has only "Changes Requested" verdicts. GitHub cannot express the dependency; the description carries it in prose only. The description does name it ("This PR is stacked on the per-request histogram change (the updated #548)... The dependency must merge first"), so this is a process risk rather than a misstatement.
  2. Succession: #553 (HTTP-timed vLLM object) → #560 (runtime-instant vLLM object) is the author's fix for queue_time_ms and TTFT being unmeasurable from HTTP; #552 (llama.cpp timings) → #560 is the author's fix for double-subtracting cached prompt tokens in llama-swap. Both were closed by the author within a minute of each other (2026-11-28 02:04/02:05) and both point forward to #560. So #560 is the third design iteration in two days, and the two abandoned ones are where the live evidence lives.
  3. Flag ↔ charter: the flag is what lets the feature exist without changing the default wire format, but it is also exactly the "configuration switches without a concrete requirement" AGENTS.md:188-193 warns about, and the config-key gap (#560 has no [server] per_request_metrics, deliberately mirroring --bypass-performance-check and --verify-weights) means the setting has no configuration-file home at all — visible consequence: the WinUI desktop controller cannot enable it, and a persistent Orbit group cannot disable it once saved. The author documents both consequences rather than fixing them.
  4. include_usage gate ↔ motivation: the object reaches a Chat/Completions stream only when the client sends stream_options.include_usage; a Responses stream always gets it. llama-swap reads the object from any SSE event, so the motivation holds for Responses and for usage-enabled Chat, and not for plain Chat streams — the gateway or client must set the option. #551 itself records this concern about the vLLM object ("a stream without stream_options.include_usage has no usage to use"), and #560's description restates the requirement but does not call out that it narrows the llama-swap use case.
  5. Undeclared capacity change ↔ #548: output_event_capacity now takes (observed, commits) and multiplies by 1 + observed + commits. #548 introduced the multiplicand if observed {2} else {1} and #560 changed it to 1 + usize::from(observed) + usize::from(commits), and #560's http.rs additionally routes the fall-through arm through generate_many_observed(..., None, commits), which sets observed=true. The unit test at runtime.rs:3352-3362 asserts the new arithmetic for (false,false)=1, (false,true)=2, (true,false)=2, (true,true)=3, so the multiplicity is tested but the newly-observed fall-through arm is not exercised, because every added HTTP test drives Chat (token id/timestamp observation) or a stream/body that already took an observed arm.
  6. Verification harness coupling: verification/helios-lifecycle/check.py:218-220 mutates the literal text _capacity: Some(capacity.clone()),\n arrival_ns: in runtime.rs. #560's runtime.rs:926-928 preserves that adjacency (_capacity: Some(capacity.clone()), arrival_ns: super::observation::monotonic_ns(),), so the TLA+ mutation check keeps matching; arrival_ns was added by #548, not #560.

#15 [high] Community: #560 has drawn no engagement at all

Community engagement on #560 itself: none. Zero comments, zero reactions, zero reviews, and — unlike its three sibling PRs — no flare-autobot case-file or intake comment, which #548, #549 and #553 each received within about 30 minutes of opening. So at review time the change has drawn no interest from anyone but its author. Engagement in the surrounding cluster, for scale: #548 has 5 discussion entries (3 Autobot reviews, all Changes Requested, plus the author's two "review the pushed changes" prompts); #549 has 4 entries (2 Autobot reviews, Changes Requested → blockers fixed, plus the author's prompt); #553 has 5 entries (case file, two "## Review Stopped — low value or does not align with the project charter" verdicts with Value Proposition Reports, plus the author's closing note); #552 has 1 entry (the author's closing note, no review at all); #551 has 0 entries; #536 and #537 have 0 entries each. Net: across the whole metrics series (7 items, 2 issues from Napuh, 5 items from WynnD), no human maintainer has written a single comment. The only substantive project feedback in the entire cluster is the automated reviewer's, and its two stopping verdicts are on #553 — the HTTP-timed predecessor of this exact feature, not on #560.

#17 [high] Amendment 2026-11-28: #560 revised at 046aaef0 — mechanism shrank, config key added, content TTFT split to #562

/tmp read of pr/560 at head 046aaef0 (2026-11-28 04:12). Published diff now +1757/−77 over 22 files (was +1898/−123 / 18 files). Base = #548's current head 66245920 (last six commits are #560's: 4a063e63, c4fef6b2, 6c07ef44, a5d47950, f0ccabcc, 046aaef0), so the earlier "diff carries a stale copy of #548" risk is gone. #560's own share ≈ +749/−26.

Removed from #560 (moved to new PR #562 "Report the first content token of per-request metrics in streams", draft, opened 2026-11-28 04:12, +1920/−129, zero discussion, depends on #560):

Added in #560:

#18 [high] Amendment: autobot case file exists, review is Changes Requested (2 blockers), #548 now 0 blockers

Case file opened 2026-11-28 02:18 (≈14 min after open) — so #560 is NOT the odd one out any more; it matches #548/#549/#553's ~30-min pattern. https://autobot.eidonix.com/api/v1/cases/0eee5683-497b-4172-bbaf-67ed18107a5b.html

Review 2026-11-28 03:21, recommendation Changes Requested: "The mechanism is right-sized and correct — worker owns the instants, encoder owns placement, nothing requested or emitted when the option is off — but merge needs a named requirement plus an honest cost section, which currently claims a per-step clock read does not exist." 2 blockers / 4 should-fix / 7 subtractive / 5 nits. So the reviewer's objection is process + cost honesty, NOT "low value / does not align with the project charter" — which is the verdict that stopped #553. That materially defuses the charter-misalignment risk I carried from #553.

Blocker 2 (cost claim) has since been fixed in the description: "This PR adds no clock read; the one monotonic read per scheduled model step comes from #548." Blocker 1 (a named requirement) is not obviously fixed: the requirement is still #551, filed by the same outside author, and no human maintainer has commented anywhere in the cluster (#548, #549, #551, #552, #553, #560, #562). Auto-review auto-runs 90 min after a push (i.e. ≈05:42 for 046aaef0) and had not run at review time.

Base #548 has advanced and de-escalated: head 66245920, +1008/−51 over 9 files, and its 4th review (2026-11-28 03:31) reports Blockers: 0 (should fix 3, subtractive 8, nits 6) — the --features server build break and unreconciled-evidence blockers are gone. My "cannot merge before a draft base whose only verdicts are Changes Requested with 2 blockers" is now "still Changes Requested but blocker-free".

Note #548's review raises exactly the analogue of #560's remaining risk: "one Closes #536 overstatement". #560's Closes #551 has the same shape (see the llama-swap Responses finding, note #19).

#19 [high] Amendment: live evidence exists (40/40, no CPU overhead); Responses placement does not reach llama-swap

Two new comments (2026-11-28 03:26, 04:12) supply the end-to-end evidence my report said was entirely absent. My "no live, GPU, gateway, Windows or overhead evidence at all" and "the move to runtime instants traded away the family's only end-to-end evidence" are now wrong and must be withdrawn.

Hardware: one RTX PRO 6000 Blackwell, prepared local-inference-lab/Qwen3.8-Flash-Next-FLARE gb202 core, behind llama-swap v250, image built from upstream main with #548 + #549 + #560.

Important negative result, new: llama-swap shows prompt and generation rates for Chat and Completions but NOT for Responses streams, because llama-swap reads metrics only at an event's top level and #560 places it inside the response object for Responses (encode.rs:731-743, docs/api.md:1031-1032). So of the four placements only three are actually readable by the motivating consumer. #561's own #551 asks for a top-level timings key beside response, which would work; #560's Responses placement silently doesn't. Neither the description nor docs/api.md states this — docs/api.md:1031-1038 quotes a vLLM convention and mentions only the include_usage gap. This also makes Closes #551 overstated in the same way autobot flagged #548's Closes #536. Net reach for llama-swap: non-streaming Chat/Completions JSON (any body), and Chat/Completions streams only when the client sets stream_options.include_usage. Responses streams: no. That is narrower than "llama-swap reads it without changes" (description, "Result").

Live re-validation after f0ccabcc used [server] per_request_metrics = true instead of the flag, so the new config path is covered live too.

#20 [high] Amendment: config key fixes Orbit/WinUI gaps; ignition config schema rejects per_request_metrics

My note #9/#14 arguments about the flag being rank-zero-only with "the WinUI desktop controller cannot enable the option" and "no configuration-file home, so a saved Orbit group cannot turn it off" are both now wrong or materially weakened by f0ccabcc:

#21 [high] Amendment: stack is now #548→#560→#562; #548 blocker-free; review verdict is cost/authority, not charter

Supersedes the "Related items" and "Process" sections of report entry #16:

#22 [high] Amendment: exact corrections to apply to report entry #16, section by section

Point-by-point deltas to report entry #16 (only these change):

  1. Scale/headline numbers: now +1757/−77 over 22 files at head 046aaef0 (was +1898/−123 / 18 files at 037b9d5f). Description updated 2026-11-28 04:12. Base is #548's current head 66245920, so the "stale copy of #548" concern is gone.
  2. Proposal section must be rewritten: three of its five bullets are no longer #560's.
    • DELETE "New GenerationEvent::Committed { at_ns } … commits is threaded through generate_observed/generate_many_observed/enqueue_many and raises the output event reservation by one per generated token." → that is #562 now; #560's output_event_capacity is tokens * (2 if observed else 1) (runtime.rs:62-82) and Finished only gains arrival_ns + times.
    • REPLACE the content-TTFT bullet with: time_to_first_content_token_ms is always null (encode.rs:263, docs/api.md:1020); the stream-only latch moved to #562.
    • DELETE "deliberately no [server] config-file key … the WinUI controller cannot enable it and a saved Orbit group cannot turn it off." → the key exists (docs/cli-design.md:736,1318,1349; flare/src/configuration.rs:34; controller.rs:2566; flare-cli/src/config.rs:73-75; helios/src/server/config.rs:353-357). Correct statement: the key exists and is applied when the flag is absent, so a saved Orbit group can be turned off and a desktop user can enable it via config.toml; but no GUI toggle exists (flare_runtime_settings, flare-winui/bridge/include/flare.h:93-104) and ignition's Python schema rejects the key (ignition/cli/config.py:21-33,112-114).
    • ADD: RequestTimes exported; first_scheduled_ns now stamped after packing (runtime.rs:2269-2285) and reported as the earliest across generations (http.rs:538,609), fixing the latent last-choice-wins.
  3. "Touches" list gains flare/src/{configuration,settings,controller}.rs, flare-cli/src/config.rs, and drops helios/src/scheduler.rs + scheduler/tests.rs from "this PR's own work" — those two files are #548's (cache_lookup_tokens, confirmed identical to #548's diff).
  4. Autobot comments paragraph — rewrite entirely: case file opened 02:18, review 03:21 Changes Requested (2 blockers / 4 should fix / 7 subtractive / 5 nits), verdict "mechanism is right-sized and correct" with blockers = named requirement + honest cost section. The cost blocker is now fixed in the description; the requirement blocker is not (only #551, same author). Reviewer's own re-review fires ~90 min after 046aaef0.
  5. Withdraw: "No live, GPU, gateway, Windows or overhead evidence at all" and "the move to runtime instants traded away the family's only end-to-end evidence." Replace with the 40/40 matrix, the CPU-on-vs-off bound, and the Responses-stream gap (note #19).
  6. Change direction: #560 is now ~+749/−26 of its own; the diff still looks like #548+#560+#562's sibling, so "a reviewer sees a change far larger than the PR" stands but is less extreme.
  7. Tests: strengthen. My "capacity arithmetic untested / no end-to-end deliverable" caveat lapses for #560's own code: worker-driven harness (phase_tests.rs:4516-4847) plus encoder matrix (protocol/tests.rs:2314-2449) plus CLI/config/settings/bootstrap tests. Note the tests build a fixture worker, so they still do not prove GPU-timed correctness — only the live table does.
  8. Open questions: drop "whether the flag clears AGENTS.md:188-193" (still open but now the reviewer's own blocker wording makes it the key risk, not a separate question) and drop "what changed between #548's head and the copy in this branch" (answered: nothing, base is current). Add: does #562 need to land for the docs statement to stay honest; and whether the Responses placement needs a top-level mirror for llama-swap.
  9. Closes #551 overstated: llama-swap reads metrics only at an event's top level, so Responses streams show no rates (author's own 03:26 table). The issue's proposed placement was beside response; #560 nested it inside. Either split the close or document the gap.
  10. Latest activity: last main commit touched by this series is unchanged (no rebase onto main since 883abc17); branch now sits on top of #548's 66245920.

#23 [high] Research summary

Amendments only, per the request. Notes #17–#22 in the scratchpad hold the detail and citations; #22 is a section-by-section replacement list for report entry #16.

The PR changed under me and three of my five "Proposal" bullets no longer describe it. Head is now 046aaef0, +1757/−77 over 22 files (was +1898/−123 over 18), rebased onto #548's current head 66245920, so the "diff carries a stale copy of #548" risk is gone and #560's own share is ≈ +749/−26. GenerationEvent::Committed { at_ns }, the commits flag and the 1 + observed + commits event multiplier are gone from #560 — they moved to a brand-new draft #562 "Report the first content token of per-request metrics in streams" (opened 04:12, +1920/−129, zero discussion, depends on #560). time_to_first_content_token_ms is now permanently null, and output_event_capacity keeps #548's tokens * (2 if observed else 1). The stack is four deep: #548 → #560 → #562.

My "deliberately no [server] key, so WinUI cannot enable it and a saved Orbit group cannot turn it off" finding is now wrong. f0ccabcc adds the key end to end (docs/cli-design.md:736/1318/1349, flare/src/configuration.rs:34, settings.rs:224, controller.rs:2566, flare-cli/src/config.rs:73-75, helios/src/server/config.rs:353-357 with tests), applied whenever the flag is absent. What survives is narrower: no GUI toggle (flare_runtime_settings, flare-winui/bridge/include/flare.h:93-104), and ignition's Python config schema rejects the key (unknown key per_request_metrics in [server], ignition/cli/config.py:21-33/112-114; serve.py:486-487 forwards only the two older keys), so the TOML file is not portable between ignition serve and flare run. Also new: first_scheduled_ns is stamped after packing (runtime.rs:2269-2285) and reported as the earliest across generations (http.rs:538/609) — that closes the latent last-choice-wins I flagged.

Two of my strongest negatives must be withdrawn. "No live, GPU, gateway or overhead evidence at all" and "the move to runtime instants traded away the family's only end-to-end evidence" are both false now: the author posted a live run on an RTX PRO 6000 Blackwell behind llama-swap v250 (40/40 request-matrix checks, stop strings timed, n=2→null, multi-prompt omitted, first_scheduled_ns between enqueue_ns and the first token timestamp) and CPU overhead indistinguishable (15.4–15.9 s on vs 16.0–16.3 s off per 16×512-token run), re-validated through the new config key. The new evidence also turns up a real defect nobody states: llama-swap reads metrics only at an event's top level, so Responses streams show no rates at all because #560 nests the object inside response. With the stream_options.include_usage gate, that means llama-swap gets rates only for JSON bodies and usage-enabled Chat/Completions streams — so "llama-swap reads it without changes" and Closes #551 are overstated (autobot flagged the identical Closes #536 overstatement on #548).

Process findings flip too. The case file opened 02:18 and the 03:21 review is Changes Requested with 2 blockers — but the verdict is "the mechanism is right-sized and correct", with the blockers being a named requirement and an honest cost section. That is not #553's "low value / does not align with the project charter", so the charter-misalignment risk I inherited from #553 should be downgraded to unresolved need authority (the description's cost claim is already fixed). #548's fourth review (03:31) now reports Blockers: 0, so "cannot merge before a base whose only verdicts are Changes Requested" becomes "blocker-free but still Changes Requested". Unchanged: no human maintainer has commented anywhere in the eight-item cluster, the only named requirement is #551 by the same author, and docs/TODO.txt still has no entry for the limitation.

#24 [high] Amendment guard: what still stands from entry #16 after #17-#22

Guard against over-correcting entry #16: the amendments (#17-#22) do not invalidate these. Each still stands at head 046aaef0 and should be carried into the report as-is, with citations already in notes #1-#16.

  1. The published diff is still two-plus PRs. #560 is cut from #548's branch and the GitHub diff contains #548's metrics.rs (+548/−2) and latency.rs (+24/−8) byte-for-byte. #562 adds a third layer. GitHub expresses none of this; the dependency lives only in prose. Still the largest process risk and the reason a reviewer sees a change several times the PR's own size.
  2. include_usage gate. A Chat or Completions stream carries metrics only when the client sends stream_options.include_usage (encode.rs:234, docs/api.md:1031-1038). Now documented by the author (was undocumented in the description at 037b9d5f), and now compounded by the Responses-nesting finding (#19). Flare has no --enable-force-include-usage.
  3. #551's authority is thin. The requirement is a bug report filed by the same outside contributor the same week; no maintainer statement exists anywhere in the cluster (#536, #537, #548, #549, #551, #552, #553, #560, #562). AGENTS.md:165-169 ("demonstrated defect" — satisfied) vs :188-193 ("configuration switches without a concrete requirement") is the tension, and autobot's blocker-1 wording ("a named requirement") is the same objection.
  4. No human maintainer has ever commented in this cluster. Author WynnD: association NONE, 0 merged, first week, self-closes predecessors (#552/#553 within a minute), rewrites scope down each round, now carves follow-ups (#562) rather than dropping features.
  5. Closes #551 is overstated (see #19) — same shape as #548's flagged Closes #536.
  6. Succession stands: #560 is the third design iteration in two days (#552 llama.cpp timings, #553 HTTP-timed vLLM object, #560 runtime-instant vLLM object); #553's halt for "low value / charter" applies to #553's variant only, and #560's reviewer explicitly called the mechanism correct.
  7. Ownership/no-maintainer-signal: Luke Alonso owns the touched areas (#507 metrics surface, 208 commits helios/src in 180 days) and has said nothing; no rebase onto main past 883abc17 before this push; no commit on main changes GenerationEvent::Finished.
  8. Description quality: the 04:12 description is materially more honest than the 037b9d5f one — it states the include_usage gap, the missing force-include-usage analogue, that queue time includes the channel send, that all six keys are always present, and that a forced reasoning-close token is counted without an instant. Credit this; do not carry forward the "description does not note it narrows the llama-swap case" complaint, which is now false for streams and only true for the (undocumented) Responses nesting.

#6 [medium] Why: the motivating problem and how long it has been wanted

The stated problem is concrete and verifiable from an external project: llama-swap v250 (commit 60226b6) buildMetrics in internal/server/metrics.go reads a llama.cpp timings object or a vLLM metrics object out of the proxied body or any SSE event; Flare emits only usage, so llama-swap's prompt and decode rates show -1 and the input-token column shows the whole prompt. Source: #551 (issue, open, WynnD, 2026-11-27) https://github.com/NVIDIA/hyperflare-inference/issues/551. #560's description states this without naming llama-swap; the issue names it. Age: short. #551 opened 2026-11-27; #552 and #553 opened the same day; #560 opened 2026-11-28, one day later. The adjacent monitoring-parity asks, #536 (request histograms) and #537 (KV usage), were opened by Napuh on 2026-11-26 — one day earlier — and are about /metrics, not response bodies. So the wants are two days old at most, from two different outsiders (WynnD, Napuh), and none of them comes with a maintainer request. The vLLM behaviour being copied: --enable-per-request-metrics and a metrics object on the response with queue_time_ms, time_to_first_token_ms, time_to_first_content_token_ms, generation_time_ms, mean_itl_ms, tokens_per_second, plus metrics.speculative_decoding which #560 does not implement (description says so).

#10 [medium] Recent activity: metrics owner is Luke Alonso; the change builds on #507

Recent activity and who owns these areas: