Amendments to the 2026-11-27 report on PR #560 (run 1702)
The PR changed under the original report. Head is now 046aaef0 (2026-11-28 04:12), +1757/−77 over 22 files (was 037b9d5f, +1898/−123 over 18), rebased onto #548's current head 66245920. Per the request, below are only the amendments — the section-by-section corrections plus what later evidence produced — not a restatement of the unchanged report.
Key findings (amendments)
- Three of the five "Proposal" bullets no longer describe this PR.
GenerationEvent::Committed { at_ns }, thecommitsadmission flag and the1 + observed + commitsoutput-event multiplier are gone from #560 — they now live in a brand-new draft, #562 "Report the first content token of per-request metrics in streams" (opened 2026-11-28 04:12, +1920/−129, zero discussion, depends on #560).output_event_capacityis back to #548'stokens * (2 if observed else 1)(runtime.rs:62-82),time_to_first_content_token_msis permanentlynull(encode.rs:263; docs/api.md:1020), and #560's own share of its diff is ≈ +749/−26. - My "no
[server]key, so the WinUI controller cannot enable it and a saved Orbit group cannot turn it off" finding is wrong and is withdrawn. Commitf0ccabccadds[server] per_request_metricsend to end. Two narrower caveats survive, and one new asymmetry appears (see item 3). - New defect the PR does not state: Responses streams never reach llama-swap. llama-swap reads
metricsonly at an event's top level; #560 nests it insideresponse(encode.rs:731-743, docs/api.md:1031-1032), which the author's own live table confirms ("Responses streams show none", comment 03:26). Combined with thestream_options.include_usagegate,Closes #551and "llama-swap reads it without changes" are overstated — the same shape of overstatement autobot flagged against #548'sCloses #536. - Two of my strongest negatives must be withdrawn: live evidence now exists. The author posted a live run on one RTX PRO 6000 Blackwell serving
local-inference-lab/Qwen3.8-Flash-Next-FLAREgb202 behind llama-swap v250 (40/40 request-matrix checks; CPU 15.4–15.9 s on vs 16.0–16.3 s off per 16×512-token run; unit 820 + CLI 33), re-validated at 04:12 through the config key instead of the flag. "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 both false as of 2026-11-28 03:26. - Process findings flip, mostly in the PR's favour. The autobot case file exists (02:18) and the 03:21 review is Changes Requested with 2 blockers / 4 should fix / 7 subtractive / 5 nits, whose verdict is "the mechanism is right-sized and correct" — not #553's "low value or does not align with the project charter". #548's fourth review (03:31) now reports Blockers: 0. The stack is four deep: #548 → #560 → #562.
Section-by-section corrections to the previous report
Scale / headline numbers. +1757/−77 over 22 files at 046aaef0, description updated 2026-11-28 04:12. The "diff carries a stale copy of #548" concern is gone: the branch sits on #548's current head 66245920, the last six commits (4a063e63, c4fef6b2, 6c07ef44, a5d47950, f0ccabcc, 046aaef0) are #560's own, and #560's share is ≈ +749/−26. The structural point still stands (see "What still stands", item 1).
Proposal — 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; runtime.rs:62-82 is tokens.checked_mul(if observed { 2 } else { 1 }), and Finished gains only arrival_ns + times (runtime.rs:95-106).
Proposal — replace the content-TTFT bullet with: time_to_first_content_token_ms is always null (encode.rs:263; docs/api.md:1020, "Always null: Flare does not report when answer text first appeared"). The stream-only content latch moved to #562.
Proposal — delete the config/flag bullet's conclusion, replace with: the setting now has a config-file home — per_request_metrics: Option<bool> in flare::configuration::Server (flare/src/configuration.rs:34), resolved by Settings::resolve (flare/src/settings.rs:224), pushed into the served core's config by flare/src/controller.rs:2566, parsed by the core with a strict bool check (helios/src/server/config.rs:353-357; tests :727-738), and in flare-cli applied only when the flag is absent (flare-cli/src/config.rs:73-75; precedence test :223-232). Docs: docs/cli-design.md:736, :1318, :1349; docs/api.md:1007. Consequences: a persistent Orbit group can be turned off (per_request_metrics = false), and a desktop user can enable it by editing config.toml (not opened) — my previous claim that neither was possible is withdrawn. Surviving caveats: (a) no GUI toggle — flare_runtime_settings and RuntimeSettings have no such field (flare-winui/bridge/include/flare.h:93-104; flare/src/runtime_settings.rs:15-33), so only TOML reaches it; (b) ignition's Python config schema rejects the key — unknown key per_request_metrics in [server] (ignition/cli/config.py:21-33, :112-114; ignition/cli/serve.py:486-487 forwards only thinking_token_budget and scheduler_checkpoint_extra_work_fraction), so the same config file is not portable between ignition serve and flare run, and the Python exporter's write_initial (:183-216) does not emit the key as a comment either. flare's reader remains #[serde(default)] without deny_unknown_fields (configuration.rs:26-35, contrast PrefixCache at :50-57), so it silently ignores typos while ignition errors.
Proposal — add: RequestTimes is exported (pub use metrics::{RequestTimes, Snapshot}, helios/src/server.rs:33 (not opened)); first_scheduled_ns is now stamped after packing in reserve_and_pack (runtime.rs:2269-2285) so a failed pack leaves it unset (documented helios/model-contract.md:343-357 (not opened)), and the non-stream body reports the earliest value across generations — first_scheduled_ns.into_iter().chain(times.first_scheduled_ns).min() (http.rs:538) fed to observation.finish(...) at http.rs:609. That closes the "last choice wins" latent I flagged in the previous report.
Touches. Add flare/src/{configuration,settings,controller}.rs and flare-cli/src/config.rs; drop helios/src/scheduler.rs and scheduler/tests.rs from "this PR's own work" — those two hunks are #548's (cache_lookup_tokens) and are byte-identical to #548's diff.
Autobot comments / process — rewrite entirely. Case file opened 2026-11-28 02:18 (~14 min after open), so #560 is no longer the odd one out among #548/#549/#553; review 2026-11-28 03:21 is Changes Requested, verdict "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". 2 blockers / 4 should fix / 7 subtractive / 5 nits. Blocker 2 (cost claim) is fixed at 046aaef0: the description now reads "This PR adds no clock read; the one monotonic read per scheduled model step comes from #548", and commit 046aaef0's title is literally "State the per-request metrics boundaries and the include_usage gap". Blocker 1 (a named requirement) is not — the only named requirement remains #551, filed by the same outside author. Auto-review fires ~90 min after a push (≈05:42 for 046aaef0) and had not run at review time.
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: 40/40 live matrix (Chat JSON + stream, stop string, Completions n=2 and two prompts, Responses JSON + stream, stream without usage) behind llama-swap v250; tokens_per_second/mean_itl_ms equal vLLM's definitions computed from the other fields — a definitional identity, so weak as external validation, but it does exclude unit/off-by-one errors; performance.first_scheduled_ns between enqueue_ns and the first token timestamp, an independent check of the new pre-pack stamp; CPU overhead indistinguishable, and measured on the earlier revision that still emitted per-step content instants, so it bounds #562's design too. Still not run, per the description: multi-GPU cores and the Windows build.
Change direction / Closes #551. Closes #551 is overstated: llama-swap gets rates for non-streaming Chat/Completions JSON (any body) and for Chat/Completions streams only when the client sets stream_options.include_usage (encode.rs:233-241 gate; docs/api.md:1031-1038); Responses streams — which #560 does place the object into — show nothing. #551 itself proposed a top-level timings/metrics key beside response, which would have worked. Neither the description nor docs/api.md states the nesting gap; docs/api.md:1031-1038 quotes the vLLM convention and mentions only the include_usage gap. Either split the close or document it.
Tests — strengthen (my "capacity arithmetic / end-to-end deliverable untested" caveat lapses for #560's own code). Worker-driven harness timed_pass + served_through_worker (helios/src/server/runtime/phase_tests.rs:4516-4847 (not opened), with per_request_metrics_report_the_runtime_instants_of_a_stopped_reasoning_answer :4685, ..._reach_completions_and_responses_where_vllm_places_them :4731, ..._are_absent_without_the_option_and_null_for_several_choices :4780); encoder placement/null matrix at helios/src/server/protocol/tests.rs:2347 (not opened); CLI/config/settings/bootstrap tests at flare-cli/src/cli.rs:1379-1400, flare-cli/src/config.rs:223-232, flare/src/settings.rs:76-86, helios/src/server/config.rs:727-738. Caveat that survives: the phase tests drive a fixture worker, so they prove the plumbing and arithmetic, not GPU-timed correctness — only the live table does that.
Open questions — drop and add. Drop "whether the flag clears AGENTS.md:188-193" as a separate question (it is now the reviewer's own blocker wording, so it is the key risk, not an open question) and drop "what changed between #548's head and the copy in this branch" (answered: nothing, the base is current). Add: (i) does #562 have to land for docs/api.md:1020's "always null" to stay honest, and does it inherit the same Responses/llama-swap gap for content TTFT; (ii) does the Responses placement need a top-level mirror for llama-swap before Closes #551 can stand; (iii) is the ignition/flare run config-portability split intentional (it is stated as Native-only for the surrounding sentence, but the Python validator errors rather than ignoring).
Latest activity. Unchanged: no rebase onto main since 883abc17; docs/TODO.txt still has no entry for per_request_metrics (grep: no matches), so the two surviving limitations (no force-include-usage analogue; Responses nesting unreadable by llama-swap) live only in prose.
What still stands from the previous report (guard against over-correcting)
- The published diff is still several PRs.
helios/src/server/metrics.rs(+548/−2) andlatency.rs(not opened) (+24/−8) are still #548's changes byte-for-byte; #562 adds a third layer. GitHub expresses none of this; the dependency lives only in prose, so a reviewer still sees a change several times the PR's own size. Still the largest process risk. - The
include_usagegate. A Chat/Completions stream carries the object only withstream_options.include_usage(encode.rs:234; docs/api.md:1031-1038). Now documented by the author (was undocumented in the description at037b9d5f), and now compounded by the Responses-nesting finding. Flare still has no--enable-force-include-usage. - #551's authority is thin. The requirement is a bug report from the same outside contributor, filed 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) against :188-193 ("configuration switches without a concrete requirement") is the tension, and it is now literally autobot's blocker 1.
- No human maintainer has commented in this cluster, ever — including after the live evidence and the config key landed.
- Succession stands: #560 is the third design iteration in two days (#552 llama.cpp (not opened)
timings, #553 HTTP-timed vLLM object, #560 runtime-instant vLLM object), with #562 a fourth; #553's "low value / charter" halt applies to #553's variant, and #560's reviewer called the mechanism correct. - Ownership / no maintainer signal: Luke Alonso owns the touched areas (#507 metrics surface, ~208 commits in
helios/srcin 180 days) and has said nothing. - Description quality is materially better at 04:12 than at
037b9d5f— it states the include_usage gap, the missing force-include-usage analogue, the queue-time origin (includes the channel send and worker pickup), the all-six-keys rule, and the forced reasoning-close token counted without an instant. The previous complaint that "the description does not note it narrows the llama-swap case" is false for streams and true only for the undocumented Responses nesting. - Author behaviour is unchanged (WynnD / Wynn Drahorad, Discord
oystersmiles; association NONE, 0 merged): rewrites scope down each round, self-closed #552/#553 within a minute of each other, and now carves a follow-up PR instead of dropping scope, pushing and re-validating live within 6 minutes of the review.
Open questions (net)
- Will the 05:42 re-review clear blocker 1, given no maintainer has endorsed the need?
- Does #562 need to land before docs/api.md's "always null" is honest, and does it repeat the Responses-nesting gap?
- Should the Responses placement get a top-level mirror (as #551 asked) before
Closes #551is accurate? - Is the ignition Python schema's rejection of
per_request_metricsdeliberate?
Not found / could not verify
- No maintainer statement anywhere in the cluster endorsing the feature; no roadmap or
docs/TODO.txtentry forper_request_metrics. - No multi-GPU-core or Windows build evidence (the author states both as not run).
- I did not open the ignition or WinUI sources beyond the cited line ranges, so the GUI-toggle conclusion rests on
flare_runtime_settings/RuntimeSettingshaving no matching field rather than on a test. - The 05:42 auto-review result for
046aaef0was not available at review time.