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

Raw Markdown for agents: https://autobot.eidonix.com/p/5f2ee053-2a94-489f-98c2-9a4d3b1f3fe0.md

Contracts, Charter & Verification Gates Audit — PR #713 (4efd9fd, 11 files, +779/−48)

Verdict

No contract or verification gate blockers. All four hard gates pass. I found no signed-format/wire/captured-graph change, no vendored-file fork, no unmerged-external dependency, no applicable mandatory formal/GPU gate that was skipped, and no reported failing test or failing CI check. Three non-blocking observations are recorded at the end (evidence gap on the claimed benefit, undocumented user-visible precedence rule, unverifiable design sign-off identity) — none of them is a repository-governance gate violation.


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 (design-review Layer 3): PASS

TLA+ / Kani / mutation gates — not triggered. docs/design-review.md:209–228 mandates python3 verification/helios-lifecycle/check.py (not opened) only for changes to "admission, fences, generations, cancellation, speculation accounting, cache compaction, snapshot aliases, response buffering or ownership, offload aggregation, readiness, or rank coordination", and Kani only for completion-vector validation, prepared completion contracts, state-view extent arithmetic, or sequential validators. Checking each touched site against that list:

Layer 1 CPU checks — reported for every affected crate, at --release --locked. flare-cli (251 passed) and helios --features runtime-core,server (1948 passed) are exactly the two crates the PR changes, run with cargo test --locked --release as Layer 1 requires; flare (255 passed) was run too, and clippy --all-targets plus rustfmt --edition 2024 --check are reported. No Python file is touched, so no pytest suite is owed. These are self-reported, but they are not contradicted by anything in the description or the Discovery Dossier, which explicitly confirms "Everything the description claims is present in the tree; I found no claimed change that is missing."

No failing test and no failing CI check on 4efd9fd. The description reports 0 failed in all three crates; the Dossier states there are no CI checks at all on the head commit and no comments, reviews, or labels. Since nothing reports a failure or an explicit refusal to run tests on this non-trivial change, and my tooling cannot observe GitHub Actions check runs, I do not raise a CI finding — per the calibration rule against unobservable-CI false positives. I note only that the reported counts are unverified by any repository artifact.

Performance-benchmark gate — trigger not met. docs/design-review.md principle 12 / charter #210 require a main-vs-branch served-workload A/B when a speedup is claimed. This PR claims no speedup and publishes no performance number: it explicitly states the trade-off ("O_DIRECT peer serving drops kernel readahead in exchange for avoiding page-cache accumulation") and discloses "live GB10 impact remains unmeasured" and that GB10 CU_DEVICE_ATTRIBUTE_INTEGRATED / context-creation CUDA_ERROR_OUT_OF_MEMORY behaviour is "unconfirmed". Disclosure of unrun hardware checks is precisely what principle 12 asks for, and the non-substitution rule at docs/design-review.md:247–251 ("Disclosure does not excuse skipping runnable CPU checks") is satisfied because all runnable CPU layers were run. See observation (1) for the residual risk this leaves.

Gate 4 — Material scope / claim contradictions: PASS


Non-blocking observations (reported, not gate violations)

  1. The claimed benefit is unmeasured on every affected path, and #630's primary ask is untouched (evidence risk, not a gate breach). The PR's stated purpose is to stop the KV-plan loss that #630 measured at −37.8% (13.0 GiB / 1,961,984 tokens vs 20.5 GiB / 3,153,664). #630's 2026-12-02 comment records that merged #667's release calls did not clear the ~9 GiB controller page cache by plan time, and the sizing path is unchanged (memory.rs:30–33 still returns flare_selene::offload::available_memory), so whether the four new sites plus O_DIRECT change the observed plan is open. The reporter offered a ~5-minute instrumented reproduction on the hardware. I record this as the single largest weakness in the evidence chain, but it is disclosed, it is hardware-only (not a skipped CPU layer), and no speedup number is claimed — so it is an evidence-quality matter for the value lens rather than a Layer-3 gate violation.
  2. A new user-visible precedence rule ships with no documentation, and no docs file is touched (0 of 11). The rule "saved persistent-group --memory-limit beats a config-inherited one; an explicit CLI flag beats both" (controller.rs:1972–1997) is exactly the shape of the documented transfer_streams rule at docs/orbit.md:632–634, but nothing analogous is written for --memory-limit; the new Plan cache fields, the stderr page-cache warning (memory.rs:106–114), and the drop_caches hint inside CudaError.description (memory.rs:133–137) also have no documented home (docs/cli-design.md:1436–1484 is the natural one). This is a documentation gap under AGENTS.md prose rules, not a contradicted normative invariant — docs/cli-design.md:1484, :759, :895 and docs/orbit.md:182 already state the default the PR now implements.
  3. docs/orbit.md:467's "groups … retain their own serving memory settings" is now true only for groups that saved --memory-limit. Groups without a saved limit and a host [memory] reserve inherit the reserve. That is the documented budget order (docs/cli-design.md:1484) and each node reads its own host configuration (docs/cli-design.md:1381), so I read this as wanted behaviour, but it is a silent KV-budget change for existing configs and should be stated in docs/orbit.md alongside the persistent-group section (docs/orbit.md:374–402).

What I checked and did not find

No docs/core-format-design.md, docs/scheduling-theory.md (not opened), or docs/scheduling-runtime-design.md invariant is contradicted; no Protobuf/enum/wire/graph addition; no helios/native/ or vendored third-party change; no new crate dependency or unpinned external reference; no touched scheduler, admission, dispatch, execution-transport, or PrefixCheckpointCache code that would trigger verification/helios-lifecycle/check.py (not opened), Kani, or mutation testing; no reported failing test or failing CI check on 4efd9fd; no fabricated benchmark or verification artifact.