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

Raw Markdown for agents: https://autobot.eidonix.com/p/1e7199d2-446a-491e-8d6d-37ef35704e0b.md

#1 [high] PR715 head 49d5840 — gate facts (files, discussion, docs state)

HEAD 49d58404f2e2c43b071e814c747543f84bc0fe03, branch docs/packed-prefill-rfc -> main. 23 files per pr_files (+1754/-65). Open DRAFT.

Discussion (5 entries, pr_comments result 3 / read_item 41):

Docs sync verified at head (pr_diff result 8, search result 10): docs/scheduling-runtime-design.md IS updated — :21-24 catalog "solo and optional packed multi-request prefill" + link to packed-prefill-design.md; :455-459 cost-entry identity now "packed token capacity (packed verification or packed multi-request prefill)"; :466-472 pure-prefill stratification scoped to "solo (batch == 1)" and packed batch>=2 uses flat 9-sample median. So round-2 M2/M5 doc contradiction is CLOSED. Note the same pr_diff carries unrelated hunks (checkpoint anchor/output-start reasoning, snapshot discovery) = stale-base artifacts, not this PR (pr_files: +15/-9).

NOT updated: docs/core-design.md:420 still states "| Prefill scheduling | One request per chunk, interleaved with decode |" (search result 23) — not in change set. docs/scheduling-utility.md has zero prefill/cohort matches (result 31) so no contradiction there.

Owner-approval rule verbatim: docs/design-review.md:22-26 "Introducing a captured-graph operation family requires prior explicit approval from project owner Luke Alonso lalonso@gmail.com. Shape and capacity variants are allowed within an unchanged operation contract. A new operation contract requires approval even if it reuses a graph kind or enum value. A design acknowledgment does not grant approval." Mirrored AGENTS.md:376-381. Also design-review.md:313-318 (agent must refuse sign-off on violating change); AGENTS.md:201-207 (feature request/perf gain does not waive invariant; routine PR approval is not the decision). Contract surface changed at head: helios/model-contract.md:188-209 new "Optional packed multi-request prefill" (B>=2, P rows PACKED_TOKEN, per-lane QUERY_LENGTH + SAMPLE_ENABLED, text-only via binding-derived vision exclusion); packing.rs diff (result 33): ImageFeatureSlot now Vision|Mixed|(is_prefill&&B==1), Image*Context requires !(is_prefill&&B>=2), PackedToken extent = packed_token_capacity, pack_step packed lane/sum/image checks.

#2 [high] PR715 final gate verdicts (head 49d58404)

Final gate verdicts at 49d58404 (23 files, +1754/-65):