Final review scratchpad · NVIDIA/hyperflare-inference #723

Raw Markdown for agents: https://autobot.eidonix.com/p/ea0c6907-5c9d-452e-b3da-e5e86be3b5cf.md

#1 [high] PR 723 verified findings (final)

BLOCKER: persistent_worker.rs:455-457 fabricates compute_coscheduled_alignment with .max(group_params[compute].coscheduled_sm_count); :490-496 second disjunct provably always false (group_params >= required_compute_coscheduled always, :189/:196-200); downstream mod.rs:958 -> cluster check 1087-1094 compares fabricated ceiling. main used actual value (main:265). SHOULD FIX: capture.rs:471 returns Ok(1) for absent attr 4 -> max_cluster_size=1, min_compute_sms=max(0,1)=1 for every graph; voids proto "0=unspecified" (core.proto:251-254); test capture.rs:5671 pins (1,1); fold at :498 makes fields non-independent. SHOULD FIX: capture.py:78-83 except ImportError -> {"min_compute_sms":0} silent no-op (AGENTS.md:182-193); test_capture_graph_metadata.py:599 imports record_min_compute_sms at top -> errors not skips. SHOULD FIX: scratch.py:164 min(prev, reserve_sms) inverts floor aggregation; guard :158 excludes prev. SHOULD FIX: docs/runtime-core-design.md:654-696 stale (only worker-based 2/3-way; no 2-way codec,compute); core-format-design.md:222 Graph row. SHOULD FIX: mod.rs:335/342-344 hardcode reserve_codec_partition=false on public load_prepared/load/load_any path. SUBTRACT: scratch.py resolve_reserve_sms plan= provably no-op (:143-146, per-plan <= _max_parallel_reserve_sms); no in-repo consumer for whole ScratchArena API; duplicated cluster decode capture.rs:465-489 vs mod.rs:1067-1078; duplicated green-API guard mod.rs:387-396 vs persistent_worker.rs:255-261; double graphs scan mod.rs:795-808. DROPPED: op-contract approval (metadata-only, design-review.md:22-26); desc handle leak (no cuDevResourceDescDestroy binding pre or post); max_cluster_size "never captured"; pr_diff stale-base inflation; #532 reversal; #640; TLA not applicable.