Gates and contracts report · NVIDIA/hyperflare-inference #731

Raw Markdown for agents: https://autobot.eidonix.com/p/679fd091-18bc-4d47-8c89-ef59a0bae517.md

Contracts, Charter & Verification Gates Audit — PR #731 (pin flashinfer-python to 6aff33c4)

Scope of this lens: hard repository governance, contract boundaries, vendored upstream dependencies, mandatory verification gates. Algorithm/kernel correctness is out of scope (separate lens).

Change under review: one line, pyproject.toml:47, [tool.uv.sources] flashinfer-python git rev → 6aff33c4a6500a10c32916f3c2e6987e708cec92. pr_files confirms 1 file, +1/−1. The extra files in the computed pr_diff (AGENTS.md, THIRD_PARTY_NOTICES.md, docs/api.md (not opened), docs/TODO.txt, three workflows) are base-side noise from a stale merge base — the served main snapshot is provably older than merged #707 (it holds pyproject.toml:47 = 5a8ceed8…, helios/native/roce_proxy.c with RING_WINDOW 8 at :205 instead of 16, and has no tests/preparation/test_roce_proxy_parity.py at all), so that diff is a comparison artifact, not PR content.


Verdict

One mandatory-verification-gate blocker. No contract/wire/captured-graph boundary violation. No scope expansion.

Gate Result
1. Signed core-format / wire / captured-graph / normative contract boundaries PASS
2. Vendored upstream dependency & cross-PR conflicts BLOCKER (unverified parity with the moved pin — the load-bearing claim of the PR)
3. Mandatory verification evidence (Layer 1/2/3) BLOCKER (docs/design-review.md:247-251 "Disclosure does not excuse skipping runnable CPU checks")
4. Material scope / claim contradictions No hard contradiction; one must-confirm discrepancy (base/"from" revision)

Gate 1 — Contract boundaries: PASS

Gate 2 — Vendored upstream dependency: BLOCKER (unverified, not disproven)

helios/native/roce_proxy.c is a byte-parity vendored copy of FlashInfer's flashinfer/experimental/b12x/comm/roce/_roce_proxy.c (not opened) below a 9-line provenance header (helios/native/roce_proxy.c:6-8; PROVENANCE_LINES = 9). The rule is normative in two places:

Why this blocks rather than informs:

  1. The PR's own load-bearing claim is exactly this assertion — "Neither commit changes the RoCE proxy source vendored in helios/native/roce_proxy.c, so no re-vendoring is needed" — and the description simultaneously states "Not run: this repository's test suites". The one gate the repository can mechanically falsify for this change is the one left unexecuted.
  2. docs/design-review.md:247-251 is explicit and non-substitutable: "Disclosure does not excuse skipping runnable CPU checks. All three layers run without a GPU or model checkpoint. Leaving an applicable crate test, simulator sweep, TLA+ conformance run, or Kani proof unrun blocks commit and PR acceptance; noting it as a limitation does not make the omission acceptable." pytest tests/preparation/test_roce_proxy_parity.py is a CPU-only, runnable Layer-1 check.
  3. Precedent: the closest analogue to this PR, merged #707, was reviewed as requiring a merged upstream commit and verified 0-byte diff (7 passed, 0 failed) against the pin before landing — and #725's autobot review records a hard CI failure on this exact test when the pin and the vendored file disagree. A pin move that silently breaks parity is a release-blocking, cross-repo failure (preparation and serving would then disagree on proxy ABI/layout for every rank set).

Required: run pytest tests/preparation/test_roce_proxy_parity.py (or the workflow's pytest tests/ -q) against the 6aff33c4 environment and report the result, or re-sync the vendored body if it diverges. Until then the "no re-vendoring needed" claim is unverified.

Secondary Gate-2 item that must be confirmed, not assumed: whether 6aff33c4 is a merged upstream commit on local-inference-lab/flashinfer. #707's review had to retarget an unmerged pin (524799c4… → merged 1441ce86…), and #723's tester reports FlashInfer #217 at a different commit (530e2473). I could not resolve upstream state with the tools available; treat it as a pre-merge confirmation, not a finding.

Gate 3 — Mandatory verification evidence: BLOCKER (same defect)

Gate 4 — Material scope / claim contradictions: no hard contradiction

Info / Nits (not blockers)


Bottom line

The change is correctly located, charter-aligned, minimal, and honestly described. It is blocked on exactly one thing: the vendored-proxy parity claim is unverified and the applicable CPU-only test was not run, which docs/design-review.md:247-251 makes non-waivable for a change that reroutes the ignition[prepare] dependency for every install. Run pytest tests/preparation/ (at minimum test_roce_proxy_parity.py) against a 6aff33c4 sync and post the result — or re-sync helios/native/roce_proxy.c if it diverges — then confirm the merge base is post-#707 and that 6aff33c4 is a merged upstream commit. Separately (should fix, not a gate), disclose the bundled FlashInfer #217 b12x-MoE behaviour change as unmeasured fleet-wide, and link #723.