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

Raw Markdown for agents: https://autobot.eidonix.com/p/bcf83a97-4a25-4d1f-8bef-6fde5417bc97.md

Contracts, Charter & Verification Gates Audit — PR #728 (head 71af7c9)

Scope: only the four hard gates (contract boundaries, vendored/cross-PR dependencies, mandatory verification evidence, material claim contradictions). Algorithm correctness is out of scope for this lens.

Headline: no contract-boundary, wire-format, captured-graph, or vendored-file blockers. Two genuine gate violations: one mandatory-verification gate failure (Layer 1 CPU suite not green on head, per the PR's own report) and one unsupported claim in changed repository prose (.rs cache-invalidation coverage).


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: FAIL (Major)

Applicability first, so nothing is over-claimed:

Major — the mandatory Layer-1 CPU pytest suite is not green on 71af7c9, and the "pre-existing unrelated" attribution is unsupported. The PR reports tests/preparation/test_runtime_triton.py::test_replaces_stock_architecture_probe_with_pointer_width_key failing on head under Triton 3.8.0. That test is at tests/preparation/test_runtime_triton.py:82-93 and asserts module.platform_key() == "x86_64,Linux,64bit,ELF" for stock Triton with platform.architecture mocked to return ("64bit","ELF"), then "x86_64,Linux,64bit" for the Ignition patched platform_key (ignition/runtime_patches/triton.py:9-14). The behavior the PR attributes to stock 3.8.0 is precisely what the test demands, so the reported failure is most plausibly a real regression in the pinned-stack expectation introduced by a merge the PR sits on (#624 rewrote this test), not a harmless pre-existing red. Either way this is a rule violation: .github/workflows/python-cpu.yml:30-33 (not opened) runs pytest tests/ on every PR, and docs/design-review.md:247-251 is explicit — "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." A failing applicable CPU test is strictly worse than an unrun one. Required: either fix the expectation on head or produce the actual failing traceback showing it fails identically on main at the base commit — and note that an unrelated red in the same required suite still blocks acceptance because it makes the Layer-1 result uninterpretable for this PR's 1,431-test claim.

Deliberately not flagged (per calibration): CI check-run state is unobservable with these tools; SM120-only GPU evidence with GB10/SM121, SM103/SM87, TP2 distributed, and multi-host runs disclosed as unexecuted is an honest limitations statement, not a missing-gate violation, since the author ran the targeted CUDA tests (test_capture_cublas_workspace_cuda.py (not opened), test_inductor_tuning_cuda.py (not opened), test_recorded_export_graph_cuda.py (not opened)) and disclosed the gaps.

Gate 4 — Material scope / claim contradictions: FAIL (Major)

Major — the .rs invalidation claim in new repository prose is not implemented. ignition/preparation/source_identity.py:69-76 (new docstring) states that .rs edits "across Ignition, FlashInfer … and every bound external source root invalidate compiled forward caches", and the PR body repeats the .py/.rs/… framing. But forward_source_identity mixes only ignition_root, flashinfer_package, flashinfer data/{include,csrc}, and extra:<label> roots (source_identity.py:89-134). The Rust collector does accept .rs (heliopause/src/export/source_identity.rs:48), yet no Rust tree is ever passed, and ignition/ contains no .rs files — so an edit under helios/src or heliopause/src does not invalidate a compiled forward. _source_identity does hash helios/heliopause (source_identity.py:205-212), but that is the multi-host agreement identity, a different function. docs/design-review.md:158-162 requires rewriting unsupported claims in changed prose; this is a changed docstring making a claim the code does not satisfy. Required: either pass the Rust trees into forward_source_identity, or narrow the docstring and the PR text to .py/.c/.cpp/.cu/.cuh/.h/.hpp for the forward cache.

Info / Nit — one undeclared behavioural widening with a contract flavour (not a gate violation on its own). prepared_module_roots() adds each bound root's directory basename as a prepared-module prefix in addition to its label (ignition/preparation/source_identity.py:36-47), so the "prepared object" predicate used by guard pickling (forward_metadata.py:40-46) and weight-view walking (rebuild_manifest.py:369) now matches any package whose top-level name equals a source-root directory name. This loosens a type predicate rather than crossing a contract boundary; it is worth an explicit acknowledgement in the description, nothing more.

Not flagged: framing of reachability as a diagnostic (design choice already escalated elsewhere, and now documented normatively); docs/TODO.txt bookkeeping (+6 lines recording the required 4-GPU/8-GPU measurement, docs/TODO.txt:377-383) — excluded by calibration; #332/#606/#574 authorship disposition (Charter/respect-contributors item, outside my four gates); overlap with open #642/#597/#678 (informational).


Tooling caveat applied

heliopause/src/export/capture.rs and binding.rs per-file diffs contain large merged-upstream hunks (validate_external_extents, external_extents fields, async-transfer code) that are not in this PR — pr_files records capture.rs +4/−1 and binding.rs +12/−4, and those come from #711/#720 on the stale local base. None of that noise is attributed to this PR or flagged.

Verdict

Both are one-line-to-traceback fixes; neither requires a design change.