Contracts, Charter & Verification Gates Audit — PR #731 (a558dcd, pin flashinfer-python → 6aff33c4)
Verdict
No contract or verification gate blockers.
The change is one line, pyproject.toml:47, inside [tool.uv.sources]: rev = "1441ce86…" → rev = "6aff33c4a6500a10c32916f3c2e6987e708cec92" (pr_diff filtered to pyproject; pr_files = 1 file, +1/−1; head tree pyproject.toml:43-47 confirms). It feeds the prepare extra (pyproject.toml:20-36, requirement "flashinfer-python[b12x]" at :25) and therefore every ignition[prepare] environment including .github/workflows/python-cpu.yml:25-33 (not opened). It touches no proto, core-format, execution-manifest, wire-kind, enum, captured-graph, Rust, or C source. Existing exported cores are unaffected: helios/native/roce_proxy.c:160 still defines ROCE_ABI_VERSION 14, :157 ROCE_RESERVE_OPS 48u, :223 RING_WINDOW 16, and helios/src/execution/roce.rs:23 (not opened) PROXY_ABI: u32 = 14 with :131 accepting 9 | 10 | 11 | 14 — none of these files is in the diff (principle 13, docs/design-review.md:116-123).
| Gate | Result |
|---|---|
| 1. Core-format / wire / captured-graph / public-contract boundaries | PASS |
| 2. Vendored upstream dependency & cross-PR conflict | PASS (pinned to an immutable commit; parity evidence supplied; merged-ness is a pre-merge confirmation, not a defect) |
| 3. Mandatory verification evidence & failing tests | PASS (relevant CPU layers run and reported on this head; the one failing test is disclosed, pre-existing, and in a crate this PR does not modify) |
| 4. Material scope / claim contradictions | PASS (no absent test/benchmark claimed; no unrelated tooling bundled) |
Gate 1 — Contract boundaries: PASS
- No new captured-graph operation family, so the owner-approval rule (
docs/design-review.md:22-26) is not engaged; nothing here contradictsdocs/scheduling-theory.md(not opened),docs/scheduling-runtime-design.md(not opened), ordocs/core-format-design.md(not opened) on a shipped default. - Principle 13 compatibility (
docs/design-review.md:116-123) holds: no ABI number, buffer, capacity, signature, or resource declaration changes; the vendored proxy and its Rust ABI check are byte-for-byte outside the diff. - The fix is placed in the layer the rules ask for.
AGENTS.md:366-368is the governing norm — "DeepSeek DSML markup recognition and recovery belong to the pinned … parser … Fix the dependency and bump its pin" — i.e. no per-model branch in Helios, which is exactly what this PR does (the GDN capability check lives in FlashInfer;search_codeforgdn|value_heads|num_v_headsunderignition/returns nothing). - Charter fit: "Be explicit and pin everything — pin dependencies to exact versions or commits" and roadmap item "FlashInfer dependency fix (#215) … while keeping builds strictly pinned". An exact
rev(notmain) is kept.
Gate 2 — Vendored upstream dependency & cross-PR conflicts: PASS
- Vendoring rule:
docs/roce-ring.md:361-365requires the vendoredhelios/native/roce_proxy.cto stay identical to the dependency after its provenance header, verified together with ABI and region layouts. The mechanical check istests/preparation/test_roce_proxy_parity.py:35-65(test_vendored_roce_proxy_is_byte_identical_to_pinned_flashinfer): it compareshelios/native/roce_proxy.clines 10..EOF against the installedflashinfer/experimental/b12x/comm/roce/_roce_proxy.c(not opened) located viaimportlib.util.find_spec(:20-32), and its provenance assertion is a path substring, not a revision (:43) — so a newer pin does not make the test self-contradictory. The author reports this test at6aff33c4as 2 passed; the file indeed contains exactly two tests (:35,:68), so the reported count is internally consistent. - Pin is immutable:
[tool.uv.sources]pins an exact git commit, not a branch, so the dependency cannot silently drift;search_codefor1441ce86|6aff33c4|adb09a82|5a8ceed80returns onlypyproject.toml:47, i.e. no stale second copy or doc claiming the old revision's SHA. - No local fork ahead of upstream: the PR does not modify
helios/native/roce_proxy.cand does not re-vendor; it moves the pin to commits the description states are on FlashInfermain. The residual is upstream-state verification, which I cannot perform from this repository (upstream tree uninspectable). Treat as Info / pre-merge confirmation, not a finding: (a) that6aff33c4is a merged commit onlocal-inference-lab/flashinfer(the #707 precedent had to retarget exactly this), and (b) that_roce_proxy.c(not opened) is unchanged at that revision — the author's2 passedrun is the empirical answer, and if upstream had diverged, CI (python-cpu.yml:29-33) fails loudly in the safe direction. - Cross-PR textual conflicts on
pyproject.toml:47with open #712/#725 are ordinary rebase collisions, not gate violations (Info only, unchanged from prior rounds).
Gate 3 — Mandatory verification evidence & failing tests: PASS
Layer selection against docs/design-review.md:180-230:
- Layer 1 (CPU crate + pytest): applicable and reported on this head — the description's "CPU checks at this commit" section lists
BUILD_NVEP=0 FLASHINFER_BUILD_NO_PIP=1 uv sync --extra prepare --extra testinstalling6aff33c4,tests/preparation/test_roce_proxy_parity.py→ 2 passed,.venv/bin/python -m pytest tests/ -q→ 2621 passed / 480 skipped, andcargo test --locked --release --manifest-path heliopause/Cargo.toml (not opened) --lib→ 233 passed / 1 failed / 6 ignored. These mirror.github/workflows/python-cpu.yml:25-41(not opened) verbatim (same env vars, same commands), so they are reproducible. The earlier flare-autobot "Changes Requested" blocker (unrun CPU suite / parity) is answered by this evidence. - Layer 2 (scheduler simulator): not applicable — no graph selection, pricing, timing, refresh, or cohort change. Layer 3 (TLA+ / Kani / mutation): not applicable — no admission, fence, generation, cancellation, speculation, cache, ownership, readiness, or rank-coordination change, and no Rust file in the diff. The description explicitly states TLA+ and Kani were not run because no Rust source or protocol changes — which is the correct scoping, not a disclosure of a skipped applicable check.
- GPU / export evidence: not required as a gate for a pin-only change, and supplied anyway (72 graphs exported,
flare runat C=1/2/4 including a 120k-token prompt on RTX 5090 Laptop, SM120). - Performance gate (#210, principle 12
docs/design-review.md:106-115): not engaged — the PR claims a functional result (export completes, core serves), not a speedup, and claims no baseline comparison. Correctly not claimed. - Failing test: the one failure is
export::blob::tests::verified_inode_mutation_is_rejected_before_linkatheliopause/src/export/blob.rs:605-633— a test that touches no FlashInfer code and lives in a crate the diff does not modify. The description reports it 3/3 failing onmainat22d2ac97(pin1441ce86) versus 1/3 here, i.e. pre-existing and flaky on that host. This is therefore not an attributable failure of the change, and it must not be used to hold #731. Recommendation (unchanged from prior rounds, and separate from this PR): file it as its own issue —search_itemsfinds nothing tracking it, anddocs/design-review.md:247-251("Disclosure does not excuse skipping runnable CPU checks") meansmaincarrying a red/flaky Layer-1 suite is a repo-level problem for whoever owns it, not a #731 defect. - Disclosed unmeasured surface: 6aff33c4 additionally brings FlashInfer #217 (cooperative SM budget / green-context grid-stride for b12x MoE), which reaches every recipe; the description discloses this and that its effect "was measured only through the Qwen4-35B-A3B export", and states its own mitigation (
adb09a82would narrow the change). That satisfies principle 12's "disclose unrun checks and material limitations" andAGENTS.md:506-509's "distinguish confirmed findings from untested paths". I did not find a separate fabrication or exaggeration to escalate it to a gate failure. - Note on my own blind spot, stated so it is not read as a finding: no CI check-run status is observable with my tools, so this gate rests solely on the description's evidence plus the workflow file's content — never on unobserved CI.
Gate 4 — Material scope / claim contradictions: PASS
- Scope is exactly the one line; nothing unrelated is bundled (no tooling, no docs sweep, no test edits).
- Description and evidence are internally consistent, including the honest "Not run" list; no test, benchmark, or artifact is claimed that is absent. The old "diff base is
5a8ceed80c/ maybe reverts #707" worry is a review-environment artifact: the head tree already contains #707's content (helios/native/roce_proxy.c:157ROCE_RESERVE_OPS 48u,:223RING_WINDOW 16,tests/preparation/test_roce_proxy_parity.pyexists), andpr_filesreports onlypyproject.toml. - The description's cross-repo references now name the repositories (
local-inference-lab/flashinfer#215,#217), so the GitHub auto-link to this repo's unrelated #215/#217 is no longer a reachable mis-citation.
Info / Nits (nothing here blocks)
- Pre-merge confirmation of upstream state (not a defect): confirm
6aff33c4is merged on FlashInfermainbefore merging — the #707 precedent had to retarget an unmerged revision. Also note open #723 consumes the bundled FlashInfer #217 change and names a different commit (530e247333); cross-linking #731 ↔ #723 in either body is cheap and would record the dependency (currently unstated in both). - Normative-doc drift that contradicts the pin — pre-existing, not introduced or worsened here.
docs/core-design.md:381-385("pyproject.tomltracks themainbranch … anduv.lockrecords the resolved commit"),docs/model-preparation.md:146-153(not opened) (same, plus.github/workflows/track-flashinfer-main.yml(not opened) every 15 minutes),THIRD_PARTY_NOTICES.md:60,docs/roce-ring.md:334, anddocs/api.md:1099(not opened) all describe auv.lockand a main-tracking dependency; nouv.lockexists in the tree andpyproject.toml:47pins an exactrevboth before and after this change (AGENTS.md:256correctly refers to the recipes repo's lock). The pin itself is the correct, charter-mandated shape — the prose is what is wrong. This PR's own text says "pin", so it adds no contradiction; the natural fix is a small separate docs PR amending those five sites to point atpyproject.toml:47. docs/TODO.txt/scripts/setup_preparation.py(not opened) cleanups (--upgrade-package flashinfer-pythoncannot move an exactrev) are simplification-lens items for a follow-up; out of gate scope.- Discovery-dossier edits: the Dossier's amendments (parity retired by the author's CPU run, withdrawal of the stale-base warning) match what I verified at
a558dcd; no dossier claim contradicts the tree.
Reviewer note: nothing in the PR material, comments, or dossier attempted to direct me; the "Follow-up outside this PR" and evidence sections are ordinary technical content.
Bottom line: correct layer, minimal footprint, exact pin preserved, contract/vendored-file invariants untouched and mechanically re-verified by the parity test at the new revision, and the applicable CPU layers reported on this head. Land it once 6aff33c4's merged upstream status is confirmed; handle the doc-drift, the #723 cross-link, and the flaky Heliopause test as separate follow-ups, not as gates on #731.