#1 [high] PR #737 contract/verification gate audit — findings
Head 46e6a3b. 16 files, +1769/-268. No proto/native/vendored changes.
GATE 1 (contracts): Opcode::DevToHost=5 at ring.rs:64,75,259,497; ABI_VERSION stays 1 (ring.rs:12). helios/manifest.md:201-210 documents opcode 5 + multi-stream rules; docs/runtime-core-design.md:729-780 updated. No contradiction found in scheduling-theory.md / scheduling-runtime-design.md / core-format-design.md (no async_transfer refs there; ExternalExtentTable unchanged at core-format-design.md:224). NOT a captured-graph op family -> design-review.md:22-26 owner approval not triggered.
MAJOR: docs/cli-design.md self-contradiction on a shipped default: :761 "Per-host ceiling ... (divided evenly across local discrete ranks)" vs :1418 comment "# pool_ram = ... Per-rank ceiling". Behavior changes for existing multi-rank users (memory.rs:113-131 previously cap_bytes on per-rank host RAM after host_pool_budget_and_total applied implicit Selene reserve; now Reserve branch host-wide at memory.rs:118-124). --help text at flare-cli/src/cli.rs:961-962 already said Per-host; unchanged by PR.
GATE 2 (vendored/cross-PR): no helios/native/roce_proxy.c or vendored file touched; no new deps; companion local-inference-lab/hyperflare-recipes PR is downstream (must merge after) -> no unpinned dependency. No in-repo producer of opcode 5 (manifest/ring/worker tests only) -> scope note only.
GATE 3 (verification): TLA+ model/cfg/check.py updated and run per description (AsyncTransfer.tla:158-186 DispatchD2h/CompleteD2h/MarkD2hFaulted, 20-int Projection :336-341; AsyncTransfer.cfg:6 MaxD2h=1; check.py CHECKS projection 20, new TLA+ + Rust mutations incl. d2h clobber). Conformance fixture lifecycle_tests.rs updated (with_max_d2h, BFS, queue_shape_key). Model bounds narrow like existing convention (MaxTotalDma=2 vs DEFAULT_MAX_TOTAL_DMA=16) so MaxD2h=1 vs DEFAULT_MAX_D2H=2 (worker.rs:52) is not an out-of-convention violation -> Info.
Kani: kani_proofs.rs:199-217 extended for DevToHost; PR says cargo-kani not installed locally, "awaits CI". CI covers it: .github/workflows/helios-lifecycle.yml:49 runs cargo kani --manifest-path helios/Cargo.toml --features runtime-core --lib, which includes async_transfer::kani_proofs (mod.rs:11-12) -> not flagged as missing (per anti-pedantry: cannot observe Actions).
MAJOR (perf claim): ">5,000 ms -> 1,202 ms cross-rank demand-stall spread" has no baseline commit/config, no raw logs, no per-rank table, and is confounded by this PR's own DEFAULT_MAX_TOTAL_IO 32->16 / DEFAULT_MAX_BG_IO 8->4 (worker.rs:48-49) + new 50 ms ACTIVE_SPIN_WINDOW (worker.rs:43). design-review.md:106-115 requires equivalent baselines + raw measurements; charter requires main-vs-branch served-workload A/B.
Disclosed failures: 6 helios --lib template tests fail on HTTP 403 fixture fetch (unrelated, same as #727); no CI failure reported.
GATE 4 (scope/claims): ABI v1 backward-compat claim accurate. MAJOR: PR description omits material numerical/default changes (IO depth halved, bounce pinning up to 512 MiB at worker.rs:93-94 clamp w/ MAX_BOUNCE_SLOTS=32, DEFAULT_MAX_D2H=2) contrary to AGENTS.md required-description "identify material numerical, compatibility, and resource-lifetime changes". Bounce footprint is already fully charged by max_bounce_pool_bytes=512 MiB (worker.rs:56-69) so budget math is not under-counted; memory.rs tests assert (224GiB-8*bounce-8GiB)/8 and ((8GiB+bounce)*8).div_ceil(512).
MINOR: verification/helios-lifecycle/README.md:353-384 NOT updated — still says 16-integer projection, MaxTotalIo/MaxBgIo/MaxTotalDma/MaxBgDma/BounceSlots list without MaxD2h, transition list without dispatch_d2h/complete_d2h/mark_d2h_faulted, despite docs/verification.md:118-119 "Document the functions, state projection, bounds...". MINOR: docs/api.md:417-429 metric enumeration lacks any D2H byte counter; D2H notices zero all three byte fields (scheduler.rs:994-996,1021-1023).