Contracts, Charter & Verification Gates Audit — PR #707 (head 81ef561)
Scope: docs/design-review.md, AGENTS.md, docs/roce-ring.md, docs/multi-host.md, vendored upstream pin, and Layer‑1–3 verification gates. Algorithmic correctness is out of scope.
Gate 1 — Signed core-format / wire / captured-graph / public contract boundaries: PASS
- No new captured-graph operation family, proto field, core-format enum, or wire kind.
ROCE_ABI_VERSIONstays14(helios/src/execution/roce.rs:23;roce.rs:164accepts9 | 10 | 11 | 14), sodocs/design-review.md:22-25owner approval for a new op contract is not triggered. - No scheduler, admission, speculation, cache-ownership, readiness, or rank-coordination files are touched. The TLA+ / conformance-fixture / Kani / scheduling-simulator gates (
docs/design-review.md:209-259) are therefore not triggered. - No contradicting edits to
docs/scheduling-theory.md(not opened),docs/scheduling-runtime-design.md, ordocs/core-format-design.md(searched: no RoCE / relay / collective-proxy content incore-format-design.md). - Info: the connect blob grows 1168 → 1176 bytes while the ABI number remains 14 and the record carries no revision marker, so a mixed-revision rank set now fails at
roce_connect. This is disclosed (docs/roce-ring.md:161-170, test atroce.rs:487-513) and matches the "ABI numbers are descriptive metadata" rule (design-review.md:116-123), so it is not a violation — but it is a real operational constraint worth a release note.
Gate 2 — Vendored upstream dependencies & cross-PR conflicts: VIOLATION (Major)
- Pin points at an unmerged upstream branch commit.
pyproject.toml:47movesflashinfer-pythonto524799c47fca54229c15b6db12261171854a7b7d, the commit of the still-openlocal-inference-lab/flashinfer#213. The merge-order section of the PR admits it must be repinned after that PR's squash-merge. The directly preceding precedent #643 re-vendored from a merged commit, and #672/#649/#577 were blocked repeatedly by review for exactly this.helios/native/roce_proxy.c:6-9documents the upstream path and ABI but names no upstream SHA and no body hash (the SHA and SHA-256 exist only in the PR body), so the pin is not traceable from the tree. - No
uv.lockexists in the repository (verified:list_files *lock*atmainreturns onlyCargo.lockfiles).docs/roce-ring.md:336still instructs readers to check out "the revision pinned inuv.lock", which does not exist. The consequence is that the new parity test (tests/preparation/test_roce_proxy_parity.py:35-65, run by.github/workflows/python-cpu.yml:29-33(not opened)) compares the vendored file against whatevergit revresolve to at install time; a force-push or squash of the FlashInfer branch breaksmainCI with no repository-side lock to fall back on. - Unmerged external dependency not pinned or linked. The claimed prefill gain requires
local-inference-lab/hyperflare-recipes#114(unmerged); the PR links it and states the merge order, so it is disclosed, but the branch cannot deliver the claimed 8K–128K prefill improvement without it. - Cross-PR collision on the same vendored file.
items_touching helios/native/roce_proxy.cshows #672, #649, #577 all still open on the same file. This PR states it "unifies and supersedes" all three, closes none, and leaves no comment or credit on those PRs — two of whose authors are first-time contributors. After merge, three open PRs become unmergeable. That is a duplication of in-tree contribution contrary to "Respect contributors" (AGENTS.md:199-212), and it must be discharged before merge (close with credit), not merely noted.
Gate 3 — Mandatory verification evidence & failing tests: VIOLATION (Blocker)
No CI failure and no failing test is reported or visible for 81ef561 — the single flare hub test that failed once is described as passing on immediate re-run, which is correctly disclosed. Layer‑1 crate tests were run with --release for helios (1,831), flare (247), flare-cli (247), heliopause (229), plus tests/preparation and tests/cli; cargo check was not substituted for cargo test. The new CI step (.github/workflows/native-serving.yml:114-115 (not opened)) genuinely closes the execution::roce blind spot. None of that is the problem.
The blocker is the mandatory layer above:
"Multi-GPU collective execution is mandatory for TP dispatch and transport changes. Replacing or reordering cross-rank launch, commit, cancellation, or drain paths in
helios/src/execution/{threaded,parallel,roce}*requires an explicit before/after cross-rank happens-before analysis and live multi-GPU execution of real collective graphs (for example, serving a multi-GPU exported core throughflare run), not only independent per-rank synthetic graphs. Disclosing busy or unavailable GPUs does not waive this requirement." —docs/design-review.md:252-259; reinforced by:247-251("Disclosure does not excuse skipping runnable CPU checks") and principle 12 (:106-115).
This PR reorders the transport setup path in helios/src/execution/roce.rs — roce_create_with_gids replaces roce_create (roce.rs:243-260), and roce_set_relay is inserted between roce_connect and roce_start (roce.rs:344-353) — and adds roce_create_with_gids to the serving FFI surface, on a file the rule names explicitly. What was actually executed is a single-host workstation, one active HCA (rocep82s0f0), 38 unit tests plus one live-HCA FFI smoke call. There is:
- no live multi-GPU/multi-node collective run (no multi-rank
flare run, nonvidia-smi-visible multi-GPU graph); - no before/after cross-rank happens-before analysis for the newly enabled relay data path (the FFI smoke test proves the call links and returns, not that the relaying plan orders correctly against peer commits);
- no legacy-core serve/replay. Principle 13 (
design-review.md:116-123, "Validate previous cores through loading and serving") is satisfied only at the descriptor level —ABI 9|10|11|14acceptance plusblob_bytes == 1176and 1168-byte rejection are asserted in unit tests (roce.rs:487-513), but no previously exported ABI‑14 core was actually loaded and served against the new 1176-byte handshake.
The PR explicitly lists "Multi-node RDMA serving, 4-node DGX Spark (SM121) prefill/decode throughput, and live switch-traffic reduction with roce_set_relay were not run" as limitations. Per :258-259, that disclosure does not waive the gate. A B3000/B2000-class 2–4 rank run of a multi-GPU exported core through flare run with the relay enabled, plus the happens-before analysis, is required before this can be accepted.
Secondary, same gate: RUSTFLAGS=-D warnings checks and the --features rdma Selene build were not run locally (the latter attributed to host rdma-core header mismatch); CI does cover --features roce,rdma at native-serving.yml:111-113, so this alone would be an Info note, not a violation.
Gate 4 — Material scope / claim contradictions: VIOLATION (Major)
- Unmeasured performance claim behind a default-on data-path change. The headline benefit — "expected to reduce switch-traversed mesh all-gather traffic by 25%" — has no derivation and no measurement of any kind; every other number is inherited from #649/#577 on 4× DGX Spark, on hardware different from the author's, and the prefill figure additionally depends on unmerged
hyperflare-recipes#114.AGENTS.md:95-102requires distinguishing an expectation from a measured result (done) — but the charter "Bring real evidence … performance PRs need benchmarks showing an actual speedup overmainon a served workload (#210)" anddesign-review.mdprinciple 12 ("Performance claims require equivalent baselines, complete GPU steps across all ranks, and actual Helios service measurements") are not met for the change that is actually being enabled by default. This is not scope creep; it is a behaviour change on already-exported cores shipped without the evidence the rules demand. - It reverses a documented decision from merged #279.
main'sdocs/roce-ring.mdsaid "Serving does not enable FlashInfer's all-gather relay", and #279's description says the same. This PR replaces that with on-by-default for everyShape::Mesh+ evenworld >= 4fabric with mutual direct-cable pairs (docs/roce-ring.md:166-169,roce.rs:344-353), opt-out only via--roce-switch-only. Reversing a recorded decision is legitimate, but the reversal of a merged invariant with no measurement falls underAGENTS.md:201-207("A feature request, passing tests, or a performance gain does not waive an architectural invariant … Resolve conflicts through an explicit maintainer decision on the design"). - Documentation now asserts unqualified support, and the contradicted doc is left stale.
AGENTS.md:52-56requires present-tense support claims to state what has been qualified and what has not, and prohibits presenting partially wired features as supported.docs/roce-ring.md:161-170now states serving "enables FlashInfer's two-shot all-gather relay" with no qualification statement and no hardware run behind it. Meanwhiledocs/multi-host.md— the operator-facing cross-node document — is not updated::94,:344,:574-577still describe relays only in the ring/chain sense and never mention that mesh all-gather relay is now on by default. A reader ofmulti-host.mdcannot learn that their 4-node direct-cable mesh changed collective routing. The PR's owndocs/roce-ring.md:422-424component table ("enables the ring or mesh all-gather relay") andmulti-host.md:574now contradict each other.
Additional Layer‑1 finding (Minor) — mock-based test bypasses the new contract
docs/design-review.md:186-189 requires tests to "exercise the actual production entry points … and avoid mocks or source-text checks that bypass runtime behavior." tests/preparation/test_roce_proxy_parity.py:68-131 injects fakes into sys.modules for both flare_heliopause and b12x.comm.roce.AllReduce. Two consequences:
- The new cross-boundary contract — that the pinned FlashInfer's
AllReduce.__init__acceptshca_namesandgid_indicesand that they arrive aslist[str]/list[int]— is asserted only against a hand-written Python class. Nothing exercises the real pinnedb12xclass, which is exactly the boundary a dependency repin can break. ignition/preparation/collectives.py:81-97selects the new path withinspect.signature(roce.AllReduce.__init__).parameters. PyO3/C-extension__init__objects commonly lack__text_signature__, so this probe can raiseValueErrorin production while the mock class always passes. This needs either a capability probe that survives a C-level__init__or an integration test against the real pinned dependency.
Summary
| Gate | Verdict |
|---|---|
| 1. Core-format / wire / captured-graph / public contract | PASS — ABI stays 14, no new graph family, no lifecycle files, no contradicted normative doc |
| 2. Vendored upstream & cross-PR | MAJOR — pin to unmerged FlashInfer #213; no uv.lock (docs still cite one); vendored header names no SHA/hash; three open PRs on the same file left unclosed/uncredited |
| 3. Mandatory verification | BLOCKER — design-review.md:252-259 live multi-GPU collective run + cross-rank happens-before analysis for helios/src/execution/roce.rs transport changes is unrun; no legacy ABI‑14 core loaded and served |
| 4. Scope / claim contradictions | MAJOR — default-on relay with no measurement (reverses merged #279); docs/roce-ring.md overclaims qualified support; docs/multi-host.md left stating the opposite |
| Layer‑1 test quality | MINOR — new Python test mocks the very dependency boundary it is meant to guard |
Required before merge: (a) live multi-rank flare run of a multi-GPU exported core with relay on, plus the before/after cross-rank happens-before analysis; (b) either an A/B measurement on a served workload or hold roce_set_relay behind an explicit flag until one exists; (c) repin pyproject.toml to a merged FlashInfer SHA (or land a uv.lock) and record the upstream SHA/body hash in helios/native/roce_proxy.c's provenance header; (d) add a qualification statement to docs/roce-ring.md and update docs/multi-host.md; (e) close #672/#649/#577 with credit to nepenth, FujitsuPolycom, and fordbmorris.
No docs/TODO.txt, no lint-level, and no unobservable-CI false positives are included above.