Gates and contracts scratchpad · NVIDIA/hyperflare-inference #707

Raw Markdown for agents: https://autobot.eidonix.com/p/39acefe4-5059-4869-b747-871babe04bc2.md

#1 [high] PR 707 governance/vendoring/verification findings

PR #707 (head 81ef561), 12 files +1247/−129. Gates checked against docs/design-review.md, AGENTS.md, docs/roce-ring.md, docs/multi-host.md.

NOT violated: no new captured-graph op family / proto / core-format enum; ROCE_ABI_VERSION stays 14 (helios/src/execution/roce.rs:23, roce.rs:164 accepts 9|10|11|14); no scheduler/cache/lifecycle files touched -> TLA+ (verification/helios-lifecycle/check.py), Kani, simulator gates not triggered; Layer-1 crate tests run for helios/flare/flare-cli/heliopause with --release; new CI step at .github/workflows/native-serving.yml:114-115 runs execution::roce lib tests; no failing test or CI on 81ef561 (one flare hub test flaked, passed on rerun, disclosed).

VIOLATIONS

  1. BLOCKER design-review.md:252-259 "Multi-GPU collective execution is mandatory for TP dispatch and transport changes ... live multi-GPU execution of real collective graphs ... Disclosing busy or unavailable GPUs does not waive". PR touches helios/src/execution/roce.rs (relay wiring roce.rs:344-353, roce_create_with_gids roce.rs:243-260) and roce_fabric.rs. Author ran only single-host, one HCA (rocep82s0f0), no GPU collective, no flare run multi-rank; explicitly disclosed as unrun. Also no before/after cross-rank happens-before analysis for enabling the relay by default, and no legacy ABI-14 core serve/replay (design-review.md:116-123 "Validate previous cores through loading and serving").
  2. MAJOR perf claim without branch A/B: relay on by default reverses merged #279's documented "runtime does not call roce_set_relay"; "25% less switch-traversed all-gather traffic" has no derivation or measurement; all numbers (1.20-1.46x RS/AG, +3.76-4.32% prefill, -6.2/-9.7% ring latency) inherited from #649/#577 on 4x DGX Spark, and the prefill gain additionally needs unmerged hyperflare-recipes#114. Charter "Bring real evidence" (#210); design-review principle 12.
  3. MAJOR vendored pin to unmerged upstream: pyproject.toml:47 pins flashinfer rev 524799c47fca54229c15b6db12261171854a7b7d = unmerged FlashInfer PR #213 branch commit. helios/native/roce_proxy.c header (lines 6-9) names no upstream SHA or body hash. No uv.lock anywhere (list_files main) though docs/roce-ring.md:336 says "the revision pinned in uv.lock" -> pyproject is the only lock; force-push/squash-merge breaks python-cpu.yml on main (test_roce_proxy_parity.py:35-65 compares against installed flashinfer). #643 precedent re-vendored from a merged commit; #672/#649/#577 were blocked for exactly this.
  4. MAJOR cross-PR conflict: same vendored file as open #672, #649, #577; PR says it supersedes them, closes none, no comment/credit on those PRs (two FIRST_TIME_CONTRIBUTORs). After merge they are unmergeable.
  5. MAJOR doc/qualification gate (AGENTS.md:52-56 "state support as present qualification"; "Do not present scaffolding or partially wired features as supported"): docs/roce-ring.md:161-170 now asserts serving "enables FlashInfer's two-shot all-gather relay" with no qualification statement and no hardware run, replacing main's explicit "Serving does not enable FlashInfer's all-gather relay"; docs/multi-host.md untouched and still frames relays as ring/chain-only (:94, :344, :574-577) although mesh direct-cable pairs change default all-gather dataflow.
  6. MINOR Layer-1 mock gate (design-review.md:186-189 "avoid mocks ... that bypass runtime behavior"): tests/preparation/test_roce_proxy_parity.py:68-131 fakes flare_heliopause and b12x.comm.roce.AllReduce in sys.modules, so (a) the new hca_names/gid_indices keyword contract against pinned FlashInfer is never checked against the real class, and (b) the inspect.signature-based capability probe in ignition/preparation/collectives.py:81-97 is only exercised against the fake (would raise ValueError on a C-extension init without text_signature). Unverifiable from here.
  7. INFO: connect blob 1168->1176 with ABI still 14 and no on-wire revision marker -> mixed-revision rank sets fail at connect (disclosed roce-ring.md:161-170, test roce.rs:487-513); no uv.lock; recipes#114 unmerged dependency; +239 lines of vendored C consumed, not authored.