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
- No Protobuf, core-format, execution-manifest, wire-kind, enum, or captured-graph change. No new graph operation family, so
docs/design-review.md:22-26owner approval is not implicated.ROCE_ABI_VERSIONstays 14 (helios/native/roce_proxy.c:160) andhelios/src/execution/roce.rs:23PROXY_ABI: u32 = 14with:131accepting9 | 10 | 11 | 14— untouched, so existing exported cores keep loading (principle 13,docs/design-review.md:116-123). - No contradiction with
docs/scheduling-theory.md(not opened),docs/scheduling-runtime-design.md(not opened), ordocs/core-format-design.md(not opened) on a shipped default. - Nothing here changes Helios runtime policy or adds a per-model branch; the fix lands upstream in FlashInfer, which is what principle 3/4 (
docs/design-review.md:40-65) and the charter's "solve the right problem in the right place" ask for. - Charter fit is positive: "pin dependencies to exact versions or commits" and the roadmap's "FlashInfer dependency fix (#215) … while keeping builds strictly pinned". The exact-pin policy is the one the maintainer chose when closing #215.
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:
docs/roce-ring.md:361-365: "Flare vendors the serving proxy inhelios/native/roce_proxy.c… When changing the protocol, keep the vendored source identical to the dependency after its provenance header and verify their ABI and collective-region layouts together."tests/preparation/test_roce_proxy_parity.py:35-65:test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinferreads the installedflashinferpackage (:20-32) and hard-fails on any divergence. It runs in.github/workflows/python-cpu.yml:25-33(not opened) (uv sync --extra prepare --extra test→.venv/bin/python -m pytest tests/ -q), i.e. this pin move is exercised by CI on every PR install.
Why this blocks rather than informs:
- 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. docs/design-review.md:247-251is 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.pyis a CPU-only, runnable Layer-1 check.- 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)
- Layer 1 (Python): not run — and it is the affected layer (the pin flows into
uv sync --extra prepare --extra test). Blocked as above. - Layer 2 (scheduler simulator / references): not applicable — no graph selection, pricing, timing, or cohort change.
- Layer 3 (TLA+
verification/helios-lifecycle/check.py (not opened) --release, Kani, mutation): not applicable — no admission/fence/generation/cancellation/speculation/cache/readiness/rank-coordination change in this tree (docs/design-review.md:209-228). No Rust is touched, so nocargo testgate is triggered either. - Served-workload A/B benchmark: not required. The PR claims a functional result (export completes, core serves at C=1/2/4 incl. a 120k-token prompt), not a speedup, so the performance gate (
#210, principle 12's "performance claims require equivalent baselines") is not engaged. Correctly not claimed. - Disclosed unmeasured risk — Major, should fix before merge (not a gate): 6aff33c4 bundles FlashInfer #217 ("cooperative SM budget and green-context grid-stride safety for b12x MoE"), which changes b12x MoE kernel behaviour for every model, and the author measured only one Qwen4 export on one laptop GPU, explicitly leaving "other recipes … not measured". Principle 12 (
docs/design-review.md:106-115) requires exercising affected shapes and distinguishing expected from measured effects;AGENTS.md:506-509requires inspecting shared components and equivalent paths across supported recipes when a change touches a shared path. At minimum the description should state this as an unmeasured fleet-wide kernel change (it currently frames the second commit only as "DNA" of the pin) and ideally either split it into its own bump or measure a second recipe. This is a disclosure/evidence gap, fixed by prose + one extra run, not by code. - Not flagged: absence of observable CI check runs on
e015d55is not used as evidence here; the blocker rests solely on the description's explicit "test suites not run" plus the repo's own non-substitutable rule. No failing-test or failing-CI report exists in the description or dossier.
Gate 4 — Material scope / claim contradictions: no hard contradiction
- Scope is minimal and coherent (1 file, 1 line); nothing unrelated is bundled in the diff. No absent-test/benchmark fabrication: the description discloses exactly what was and was not run, which is honest.
- One discrepancy to reconcile before merge (Info → confirm): the description says the pin moves from
1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e(what merged #707 set), while the computed diff's "from" value is5a8ceed80ccc58e11a4d49ccc910f52967699c09(the pre-#707 pin). Given the servedmainsnapshot is demonstrably pre-#707 (RING_WINDOW 8, no parity test), this is almost certainly a stale merge-base artifact and the branch's real target is1441ce86…. If instead the branch truly forks before #707, merging would revert #707's pin and conflict atpyproject.toml:47. Worth one confirmation (git merge-base --is-ancestor 41ad1a43 HEAD) rather than a finding.
Info / Nits (not blockers)
- Cross-PR coordination, unstated in both directions. This pin supplies FlashInfer #217, which open #723 (
heliopause/helioscapture,helios/src/runtime_core/persistent_worker.rs(not opened)) needs forb12x._lib.utils.device.track_capture_min_compute_sms; #723's review notespyproject.toml:47"is unchanged by this PR and still pins rev1441ce86…". #731 is effectively #723's pin prerequisite and neither PR references the other — link them. - Overlapping open PRs on the same pin. #725 (open) re-pins
pyproject.toml:47to FlashInfer #221 to keep parity with itshelios/native/roce_proxy.crewrite; #712 (open) also editspyproject.tomland the proxy. Whichever lands second needs a rebase plus a coordinated pin. Informational overlap only, not a defect in this diff. - Pre-existing documentation drift this PR neither causes nor fixes.
docs/core-design.md:381-385anddocs/model-preparation.md:146-153describepyproject.tomlas tracking FlashInfermain, auv.lockthat records the resolved commit, and.github/workflows/track-flashinfer-main.yml(not opened) — none of which exist (list_filesfinds nouv.lockat head ormain;.gitignoredoes not exclude it). The exact pin inpyproject.toml:43-47contradicts that prose both before and after this change. Alsodocs/TODO.txt:92-98still describes an ABI 11/10 proxy state that #707 already superseded. Out of scope here, but a reader following the docs cannot reproduce this pin's environment. flare-autobotposted only an intake notice on #731 (no case-file review, unlike #707/#711/#723). No reviewer, label, or comment beyond that. The PR description contains no attempt to direct a reviewing agent — the "Follow-up outside this PR" and evidence sections are ordinary technical content.
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.