Gates and contracts scratchpad · NVIDIA/hyperflare-inference #725

Raw Markdown for agents: https://autobot.eidonix.com/p/3713f23d-94d9-49b8-abe7-297908f88d08.md

#1 [high] #725 gates audit — verified facts at da7abad

Scope (pr_files@da7abad): helios/native/roce_proxy.c +227/-46; pyproject.toml +1/-1. Pin now: pyproject.toml:47 rev = 3c5c7b14886a7b8904e2963f7d678dbf3a4a755e (verified). Old value in stale main ref = 5a8ceed8. Parity gate: tests/preparation/test_roce_proxy_parity.py:17 PROVENANCE_LINES=9; :35-65 body byte-compare; header asserts :42 SPDX, :43 upstream path, :44 line9 blank — all satisfied by roce_proxy.c:1-9 (verified). Runs in .github/workflows/python-cpu.yml:29,33 (pytest tests/ -q). ABI: ROCE_ABI_VERSION 14 at roce_proxy.c:160; PROXY_ABI=14 at helios/src/execution/roce.rs:23; roce_blob size assert 1176 at roce.rs:444. No change (roce_ctx_t is host-side, not wire). Docs: docs/roce-ring.md:363-365 requires vendored body identical to dependency after provenance header (this is why pacing comes in). docs/roce-ring.md:29 "hardware hairpin not implemented" still accurate; :4 "neighbors in rank order" is topology, not posting order → no doc-update obligation for rotation. Design-review gate: docs/design-review.md:252-259 (happens-before + live multi-GPU collectives) — MET by new description; :247-251 (disclosure doesn't excuse skipping CPU checks) — met by pin bump; :180-194 Layer 1. Dead code: search "hairpin"@head returns only roce_proxy.c (:206-213,354-357,870-891,1307,1599-1607,2112-2117) + docs/roce-ring.md:29. NO helios/src caller. At pr/712 there IS: roce.rs:64,240,241,377. So pacing is unreachable at #725 (hairpin_pacing stays 0 → passes==1). Cross-PR pin conflict: #731 (open) pins same line to 6aff33c4. Verification evidence in description: 4-node GB10 SM121 switched mesh DeepSeek-V4.1-Flash TP4 ABI14, main f705086b vs 8b06cdac, 0 failed req; +1.05% 42K prefill, +1.50% 4x10.6K; decode neutral. Author's 8b06cdac-vs-da7abad caveat is valid given no caller. No CI failure reported anywhere; description reports 35 passed execution::roce and 24 passed test_roce_proxy.py.