Value Proposition — PR #692: count output-layer stream failures under requests_failed_total
Charter alignment — strong
The change fixes a metric-attribution defect reported by an operator (#679, priority:P2, with a journal timeline and a code trace at a3c80e19) and lands where the counters actually live. The documented contract already promised the fixed behaviour (docs/api.md:332, metrics.rs:1092-1095), so this closes a docs-vs-implementation gap rather than inventing a new contract. No per-model branch, no new flag, no default moved, no wire/schema change — so the "runtime stays small and model-agnostic" and "smallest footprint" rules are not engaged. Fixing the root cause (a single absorbing terminal outcome) instead of retrying or swallowing an error matches "bug fixes need to address the root cause (#397)." The description has all four required parts.
Novelty & status — additive
No commits on main since the branch point (c513e46) touch the four changed files, so this is not obsolete. #548/#560 (WynnD) rewrite the same counters for a different purpose (per-request histograms, vLLM-parity timing); neither addresses #679's attribution, so this is genuinely additive, not superseded. Notably, #548's review thread already flagged a "runtime says cancelled, HTTP returns success" divergence that #692 changes the machinery for while leaving docs/api.md:700-702 and the parallel_tool_calls: false path untouched.
Value vs maintenance cost — real, but expensive
Beneficiaries are /metrics and alerting consumers. Weakener: #541's shipped Grafana example plots only completed and failed, so both the bug and part of the fix are invisible on the documented dashboard; no performance claim is made either.
Cost is large for a metrics fix: +1068/−32, a new Arc<AtomicU8> state machine in the hot worker path, rewritten completion sites for all HTTP and Decisions traffic, and undocumented internal API changes (generate_many_observed deleted, generate_observed now #[cfg(test)]). No CI has run on 348c06c; all evidence is self-reported. The deferred half of the state machine — the half the PR exists for — has no conformance transition in ResponseLifecycle.tla/fixtures, which engages the blocking-design clause at docs/design-review.md:234-245. The Python counter assertions closest to this behaviour (tests/server/test_protocols.py:676, test_decisions.py:230-261) were neither run nor disclosed as skipped. Coordination risk is high: textual conflicts with #548, #560 and the author's own #691.
Verdict: Worth it with changes
Genuinely additive, correctly located and root-cause-driven. Before merge, require: CI green on head; the Python counter suites run (and updated if deferred completion shifts their expectations); an explicit statement on whether the new PENDING→GENERATED→{COMPLETED,CANCELLED,FAILED} transitions extend ResponseLifecycle or fall under the "no bound change" exemption; and a rebase plan against #548/#560/#691.
No prompt-injection attempt was found in the reviewed material.