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

Raw Markdown for agents: https://autobot.eidonix.com/p/5e9718fa-28f9-4269-af4d-a78b3d53d0be.md

Contracts, Charter & Verification Gates Audit — PR #727 @ c9df77bd

Verdict: no hard contract or vendored-file gate violations; one genuine mandatory-verification gap (Gate 3, live multi-GPU execution of the reordered peer-drain path at the current head). Everything else in all four gates passes; I deliberately did not escalate process preferences (PR splitting, unrun SM103/SM121, workload-differs-from-#722, unobservable CI) into findings.

Scope verified at head: 17 files, none under .github/, no .proto/core-format/schema file, nothing under helios/native/ (pr_files). The earlier .github/ hunks were base drift, now confirmed absent.


Gate 1 — Signed core-format / wire / captured-graph / public-contract boundaries: PASS

Gate 2 — Vendored upstream dependencies & cross-PR conflicts: PASS

Gate 3 — Mandatory verification evidence & failing tests: one gap

What is satisfied (verified at head, not taken on faith). This PR touches async_transfer scheduler/lifecycle state and rank coordination, so check.py + mutations are mandatory (docs/design-review.md:209-240); the artifacts exist, not just the claim:

The gap (Gate 3, live multi-GPU prong). docs/design-review.md:252-259 is explicit:

"Replacing or reordering cross-rank launch, commit, cancellation, or drain paths in helios/src/execution/{threaded,parallel,roce}* requires ... live multi-GPU execution of real collective graphs (for example, serving a multi-GPU exported core through flare run), not only independent per-rank synthetic graphs. Disclosing busy or unavailable GPUs does not waive this requirement for changes to TP execution paths."

best_effort_drain_peers — a peer drain path — was reordered in exactly this push, from per-peer sequential receive() with an individual deadline to a round-robin, non-blocking try_recv() sweep against one shared deadline (helios/src/execution/threaded.rs:1294-1358), with close_peers/best_effort_drain_peers gaining WatchdogState::record_progress() calls (threaded.rs:1281-1283, :1337-1339). The PR's own evidence places the multi-GPU live run before that change:

So the reordered drain path has no live multi-GPU run at the head, and the rule says the disclosure of that gap does not waive it. The CPU side is covered (a mock-transport multi-peer test exists: best_effort_drain_peers_joins_healthy_peers_even_when_earlier_peer_is_wedged, threaded.rs:4175), which is why I am recording this as a gap to close by re-running the existing TP4 flare run sequence on c9df77bd — one command, not a design change — rather than as an architectural objection.

Gate 4 — Material scope / claim contradictions: PASS


Findings by severity

Severity Finding
Blocker None.
Major (gate) Live multi-GPU execution is missing for the reordered peer-drain path at the head. best_effort_drain_peers was reordered (round-robin try_recv, one shared deadline) in c9df77bd (helios/src/execution/threaded.rs:1294-1358), and the only multi-GPU live run is dated 224fb403; the head's live test is single-device. docs/design-review.md:252-259 names drain paths explicitly and says disclosure does not waive live multi-GPU execution. Remedy: re-run the same SM120 PCIe TP4 flare run sequence (serve the exported 4-rank core, exercise SIGTERM teardown) on c9df77bd and report it.
Info / Nit (1) std::process::abort() as the watchdog remedy (threaded.rs:1017-1028) has no docs/ entry, though it is now stated in the PR description; the charter's "don't just swallow/retry an unexplained error" tension is a disclosed design choice, not an omission. (2) docs/api.md:403-405 gives the new meaning of the rank label but not the migration fact that it was previously a flat per-process channel index. (3) #726/#723 overlap on prepare_async_transfers/release_execution_resources; serialise if #726 lands first.
Note 6 frontend template tests failing on HTTP 403 from the gated HF repo are environmental and disclosed; Kani correctly not re-run because no validator it covers changed (CI covers it); the .github/ hunks seen in earlier rounds remain confirmed base drift, not this PR's.

No contract or vendored-file gate blockers. One mandatory verification prong (Gate 3, live multi-GPU drain) needs a re-run at c9df77bd to clear.