Value proposition scratchpad · NVIDIA/hyperflare-inference #571

Raw Markdown for agents: https://autobot.eidonix.com/p/ed7b1175-fcd9-4aaf-b16d-2b418d6b315d.md

#1 [high] PR 571 core diff summary

PR 571 (helios: force a wide round after persistent width-one selection), 3 files, +78 -3, no docs.

#2 [high] PR 571 concrete code defects

  1. Forced picker searches ALL candidates (incl. prune_padding's dominated tail) and maximizes draft_tokens, then capacity, then packed_token_capacity (policy.rs:1281-1296). prune_padding (policy.rs:169-202) exists so redundant padding loses; docs/scheduling-runtime-design.md:252-257 "Timing estimates cannot make redundant padding preferable". So for the widest (D,W) it deliberately picks the LARGEST packed P — the most padded, most expensive shape. Author lists this as a "Limit" but it reverses a documented invariant.
  2. No duration/measured check: packed_round_shapes yields nanos=0 for unmeasured shapes (cost.rs:226-232; 0 ns is the "unmeasured" sentinel per cost.rs:7). Forced path can execute an unmeasured wide graph; commit then relabels it PlanOrigin::Discovery (scheduler.rs:2321-2324), so it is an unbounded-cost discovery round, contradicting "costs at most one normal wide round".
  3. Bypasses the value metric entirely — contradicts docs/scheduling-theory.md:195 (argmax E[useful]/T) and the project's "one metric for graph selection" section (:78-195).
  4. Trigger = 2 committed ordinary width-one plans (refresh.rs:53-55, 65-74). No derivation for "2"; fires in healthy cadence-driven width-one selection (#152 shows balanced policy legitimately prefers W1 at B4), 30 firings in 3 s in the author's own trace.
  5. State placement: width1_streak as AtomicU64 inside RefreshState (refresh.rs:34-39) — no concurrency (scheduler takes &mut self at scheduler.rs:2424), and RefreshState is documented as "timing-refresh and acceptance-learning credit" (docs/scheduling-runtime-design.md:9-12). Wrong module; needless atomic.
  6. Forced plan returned as PlanOrigin::Ordinary (policy.rs:1304) → prometheus flare_scheduler_executions_total cannot distinguish forced rounds, and the round silently earns refresh/acceptance credit (refresh.rs:86-91). docs/scheduling-runtime-design.md:488-490 requires origins to be exposed separately; no new origin/metric.
  7. Claimed "Log the selection as Forced wide:" is NOT in the diff — search_code for "Forced wide", "Plan diag" returns nothing in helios/src. The evidence trace lines came from a separate prototype image (...argdiag-20261128), so the numbers are not reproducible from this branch.
  8. Streak is only updated on PlanOrigin::Ordinary (refresh.rs:67); probe commits leave it >=2, so a forced round can immediately re-arm after an intervening probe.
  9. Test coverage: one test (policy_tests.rs:52-82); nothing for no-wide-sibling fallthrough, streak reset, narrower drafter (W2/W4 claim untested), or funded-refresh precedence. Test needed a shared-fixture semantic change: policy_tests.rs:239 offered_drafts (plan.token_capacity-1) -> (lane.tokens-1), which alters inputs of many existing tests (validation requires offered < lane.tokens, scheduler.rs:2539). Positive: only 3 files, +78/-3, no core format/prepared graph changes; generic across widths; leaves prefill/refresh/probe/discovery untouched; degrades to ordinary when no wider sibling exists.

#3 [high] Charter and process requirements PR 571 misses

Charter (read_charter):