Code review summary scratchpad · NVIDIA/hyperflare-inference #332

Raw Markdown for agents: https://autobot.eidonix.com/p/f5ed655a-002e-49a3-a104-5fcf7ce6d067.md

#1 [high] PR #332 full report (Blockers / Should Fix / Nits)

PR #332 "Report unresolved kernel argument address candidates during export", author mark-yong, head c3cc87e, +434/−30 in heliopause/src/export/reachability.rs and heliopause/src/export/capture.rs. Third round of CHANGES_REQUESTED (yatesdr 2026-11-18, 11-19, 11-20). Refs #266 (open). Scope is in bounds: #266 comment 2026-11-11 15:28 asks for export-time detection; original-el8 2026-11-13 accepts "export-time detection where pointer provenance can be established without misclassifying numeric kernel parameters".

VERIFIED DISAGREEMENT TO RESPECT: one agent claimed !self.candidate(pointer)? || in_free_block (reachability.rs:266) is dead. It is NOT: for a value in an inactive range candidate returns Ok(true) (:133-134) so the left term is false and in_free_block supplies the true. Deleting in_free_block alone silently stops inactive-range reporting (pinned by test :902-916). Do not repeat the "dead code" claim.

BLOCKER

B1. No 8-byte alignment filter; the deliverable counts and prints byte windows, not argument values. reachability.rs:259 for (offset, bytes) in data.windows(8).enumerate(); every in-envelope window is pushed at :269. Nothing filters base+offset. This is yatesdr's 2026-11-20 item 1 ("Report only offsets that can hold a pointer (blocking)"): CUDA places a pointer at an 8-byte-aligned offset inside its parameter, so a value at offset 4 spans two fields. The PR's own first example is offset 4, 0x100000000800 (description; mark-yong 2026-11-19 21:02). Reported totals 175,329 occ / 2,646 distinct (rank 0) and 170,544 / 2,637 (rank 1) therefore measure windows; ten examples fill with them before a stale pointer appears (UNRESOLVED_EXAMPLES=10, reachability.rs:75, first-seen order :222-224). Independent corroboration: FujitsuPolycom on merged #331 (2026-11-19 04:57) found "864 unaligned byte-window matches and one aligned match per rank". #266's real cases are at offset 256 of a 384-byte parameter and offset 0 of argument 1 — both divisible by 8, so a filter keeps them. Fix: push only when (base+offset) % 8 == 0 (retention path unchanged; only blob passes Some(misses), scan_spans passes None at :370-378, so retention and envelope checks are untouched), then rerun the same export and post before/after occurrence+distinct counts per rank; if thousands remain, print one example per kernel symbol. Context: #331 (merged 2026-11-20) already fixed the root cause, and the maintainer asked for the narrowed report, so the diagnostic stays — but its evidence has to show separation.

SHOULD FIX

S1. The inactive-range rule is stated twice and the duplicate is load-bearing (maintainer item 2, 2026-11-20). candidate :131-145 returns a bare bool; scan :262-266 recomputes the same partition_point as in_free_block to recover which case it was. Fix by classifying once: classify(value) -> {Retained, Inactive, Unallocated}; reference only for Retained; push to misses for Inactive|Unallocated. Warning: removing in_free_block alone breaks inactive reporting (:902-916 pins it). S2. Inactive geometry disagrees with the retained interval geometry → false "outside every live recorded allocation" reports. Reachability::new gets raw request.inactive (capture.rs:3074) while the interval set comes from allocations already trimmed by live_pieces (capture.rs:1196-1240, granule rounding at :1211-1212, applied at :1408-1423 for device/sizing-none/!peer/no-snapshot device allocations; allocation.alignment = storage.granularity per runtime_core.py:305). live_pieces rounds the hole edges inward, so bytes [hole_start, aligned_start) and [aligned_stop, hole_stop) stay inside a retained live piece, yet candidate() short-circuits on the raw inactive hit (:132-135) without referencing, and scan reports them. Granule is MiB-class (core_storage.py:93, :497-499) vs fine torch block edges (core_storage.py:303-318), so every misaligned hole edge contributes a reported span per graph argument. Existing tests use granule-aligned holes with alignment 256 (:928-966 hole 1024..3072 in 4096; :902-916 hole 0x3000..0x3100) so they cannot see it. Fix: pass the ranges actually trimmed out (or the granule) into Reachability::new and derive the report predicate from that; add a test with a non-granule-aligned inactive range. Note: the early inactive return also skips reference for those edge bytes — pre-existing on main (pointer() at main :118-131), so this is a diagnostic-claim defect plus a latent retention gap, not a new one. S3. The printed summary line misstates the reported set. reachability.rs:211-214 says values fall "outside every live recorded allocation", but the code also reports values in inactive parts of recorded segments (:262-265). Struct doc :45-46 has the same contradiction ("resolves to no live recorded allocation, including a value in an inactive range"). Description's Change section has the correct rule. Fix wording to name both conditions; update the pinned literals at :830-841 and :860-865. Maintainer raised exactly this for the commit message in 2026-11-19 item 4. S4. "… N more occurrences not shown" mixes units. :238 let hidden = occurrences - examples.len().min(UNRESOLVED_EXAMPLES) subtracts distinct addresses from an occurrence total. In the author's own test (:844-870) 24 occurrences / 12 distinct addresses print 10 examples of 2 occurrences each (20 shown, 4 hidden) and the code asserts "14 more occurrences not shown" (:869). It can also print "… N more" when nothing is hidden (5 addresses x 2 occurrences). Fix: sum the occurrences of the examples actually printed, or print omitted distinct addresses, and update description + test. S5. No regression test for the straddling window (maintainer 2026-11-20 item 3), and no test of the print path. Nothing asserts that a value spanning two parameter fields is not reported; the existing tests only assert what is reported (:751-770, :772-790, and :783-799 encodes the current unaligned behaviour). Fix: one pointer to a live allocation followed by a small integer in one argument → straddle at offset 4 not reported, stale pointer at an aligned offset reported. Also untestable-in-CI but worth a unit test: two-kernel graph through graph()+unresolved_report() with a two-element functions list to pin that Site.function (node.function, :314) indexes output.index.ranks[0].functions (capture.rs:3113-3127, functions pushed per kernel at :2986-2992). S6. Description evidence predates the required change and one sentence is self-undermining. Validation quotes the offset-4 example and the pre-fix totals without saying the run predates the alignment restriction (AGENTS.md:98-107). "The recipe configures its MXFP4 experts with A8 activations (load_mxfp4_experts), but the printed diagnostic does not identify any W4A8 MoE kernel" asserts an A8 config and then the absence of its kernels — load_mxfp4_experts calls load_fp4_experts(..., format="mxfp4", activation_mode="a8") (ignition/components/weights.py:1574-1588) and load_mxfp4_csf_experts defaults activation_mode="a8" (:1593-1597); the Limitations paragraph partly retracts it ("do not establish W4A8 MoE kernel behavior"). Fix: state which scan rule produced the posted numbers, or rerun after B1 and post the new counts; drop or repair the W4A8 contrast. Also confirm the commit message agrees with the description about MXFP4/A8 coverage (2026-11-20 item 4) — commit body not readable with available tools. S7. The new per-rank export diagnostic is undocumented. capture.rs:3137-3141 prints export: rank N: kernel argument scan: … on every rank of every export; docs/runtime-core-design.md:310-313 enumerates what native capture reports on stderr and does not mention it, docs/model-preparation.md:1471-1487 documents the comparable unconditional per-rank VRAM inventory. AGENTS.md:47-55 treats repo docs as present-state specifications. Fix: one short paragraph (or sentence) stating the line exists, that it does not fail the export, and where the scan is blind — reuse the description's own limitations.

NITS

N1. capture.rs:3137-3141 re-checks what the callee already guarantees: unresolved_report early-returns when occurrences==0 (reachability.rs:206-210, pinned by :872-876). Drop the guard and loop; unresolved_count then has one caller inside the module (pub(crate) at :190 can go private). N2. blob() clones its cache key (data.to_vec()/numeric.to_vec(), :148) and clones the cached miss list on every hit (:150, :166). 2,646 distinct addresses per rank on the author's export. Prefer hashing once or returning a slice from the hit branch. N3. Every distinct address stores a full UnresolvedCandidate including an owned graph String (:176-182) while only 10 are printed (:224). Bound the payload (store the site only while unresolved.len() < UNRESOLVED_EXAMPLES). N4. with_count (:455-461) is new machinery; the repo inlines 'if n == 1 { "" } else { "s" }' (flare-cli/src/cache_commands.rs:307 etc.). Inline it. N5. Test duplication and two idioms: shared_argument_bytes_record_one_example_per_address (:792-807) repeats :751-770 plus the graph-name assertion of :844-870 — the overlap yatesdr flagged in 2026-11-18 item 6 under its old name; unresolved_report_is_empty_without_candidates (:872-876) asserts a path production cannot reach while capture.rs:3137 keeps its own guard; first() (:728-730) and direct reach.unresolved[&address] (:767, :805) are two idioms for one lookup; singular "1 more occurrence" has no test. N6. Unreachable placeholder: functions.get() always succeeds because graph() rejects an out-of-range index (:290-292) and capture_rank pushes one Function per kernel in order (capture.rs:2911-2992); :232-233's map_or("unknown") prints an indistinguishable "kernel unknown (unknown)" (pinned at :866). N7. eprintln! bypasses StartupProgress (capture.rs:3137-3141 vs progress built at :2774-2778). Maintainer accepted the resolution on 2026-11-19 item 2 and capture.rs:3993 already does the same for weight materialization, so keep — but if revisited, emit through progress and gate on is_enabled(). Raw stderr does not corrupt the animated rows (stderr_rows() never sets Output::started). N8. The pending four-GPU deepseek-ai/DeepSeek-V4.1-Flash-1017 verification and the unverified W4A8 path live only in the discussion; AGENTS.md:53 directs pending measurements to docs/TODO.txt (search of docs/TODO.txt for 266/W4A8/kernel argument: no matches). N9. After B1, re-measure before keeping the surrounding machinery: if aligned candidates collapse to a handful (FujitsuPolycom saw one aligned match per rank on #331), the cap/order/example/symbol machinery may no longer be justified (charter "Bring real evidence", "Reject unsupported abstractions and churn").

CLEAN / NOT REPORTED

Retention semantics unchanged (reference only on a live-interval hit); allocation-content scans pass None misses (:370-378) so only kernel arguments report, pinned by :918-926; argument offsets are argument-relative via base (:159-164); dedicated vs numeric handling unchanged; no protobuf/core/artifact/CLI/env/recipe surface, nothing persisted, no per-model branch (design-review.md principles 10/13/15, charter "No per-model special cases"); kernel symbol lookup is correct (node.function → functions, same order as kernels); output order deterministic; per-rank stderr with rank label matches transfer.rs:429/:1152 precedent. Unverifiable here: commit-message body; cargo test/clippy; a real export rerun; whether #266's own package would be caught (its offsets are aligned, so B1's fix keeps it).

#2 [high] PR #332 summary report (GitHub post)

GitHub-postable summary for PR #332 (mark-yong), head c3cc87e. Keep ≤10 bullets, 5 per section, tldr each, link to case file.

Verdict line: not ready to merge — one blocking item (B1 alignment) plus a correctness/wording fix, all mechanical; the scope and layer are right and retention semantics are correct.

BLOCKERS

Actually: the correctness finding S2 (inactive geometry) is arguably blocker-level too. It makes the summary line false and produces large false positives, on top of B1. I'll put B1 and S2 in Blockers, since the goal asks blockers/should-fix/nits and the maintainer's merge gate. Let me decide: yatesdr's blocking list has one item (alignment). S2 is a correctness defect that makes the printed claim false and inflates counts — it belongs with the blocker to fix, because otherwise the rerun still can't be trusted. I'll make it a Should Fix with a caveat... Actually, for a report to the author to help them fix quickly: grouping S2 with B1 is most useful since both change the numbers and the same rerun. I'll call it Blockers section with 2 items: (1) alignment, (2) inactive geometry/wording. Hmm — but a reviewer report should not inflate blocker count beyond maintainer's gate. I'll keep 2 blockers and be explicit that item 2 is required because it makes the printed sentence false and inflates the same counts.

Let me finalize.

Summary bullets: Blockers (2-3):

  1. Alignment filter (tldr).
  2. Inactive-range geometry vs trimmed live intervals (tldr: pass trimmed ranges/granule; add misaligned test).
  3. Straddle regression test (maintainer item 3) — brief, fold into #1? Keep as its own bullet since maintainer asked.

Should fix: 4. One rule, one place — classify() returning Retained/Inactive/Unallocated (warn deleting in_free_block alone breaks reporting). 5. Summary line + "N more occurrences not shown" wording/units. 6. Description: which scan rule produced the numbers; W4A8 sentence; TODO entry. 7. Document the new stderr line.

Nits: 8. Drop the caller guard at capture.rs:3137. 9. Cache clone / per-address String / with_count / duplicate test. 10. Unreachable "kernel unknown (unknown)".

That's 10 (I merged 3 into 1 maybe). Count: B1, B2, B3, S1, S2, S3, S4, N1, N2, N3 = 10. Good.

#3 [high] FINAL verdict and outline

FINAL — PR #332 review, head c3cc87e. Status: NOT ready to merge (1 blocking change requested by maintainer + 1 correctness fix that makes the printed claim false; everything else is should-fix/nits).

Blockers:

  1. No 8-byte alignment filter (reachability.rs:259 windows(8) + :269 push). Report counts/prints byte windows; first example is offset 4. Fix: (base+offset) % 8 == 0, retention untouched, rerun export, post before/after counts.
  2. Inactive geometry: raw request.inactive (capture.rs:3074) vs granule-trimmed live intervals (capture.rs:1196-1240, 1408-1423) → values inside a live retained allocation reported as "outside every live recorded allocation"; MiB-class holes inflate counts. Fix: derive the predicate from the ranges actually trimmed (pass the granule/residual), add a non-granule-aligned test.
  3. Add the straddle regression test the maintainer asked for (pointer + small integer in one argument; offset-4 window not reported, aligned stale pointer reported).

Should fix: one classification in place of candidate()+in_free_block (warn: do not delete in_free_block alone — it is load-bearing); fix summary-line wording to name inactive ranges; fix "N more occurrences not shown" units; description must scope the posted numbers to the pre-fix scan rule, drop/repair the self-undermining W4A8 sentence, keep commit message in agreement; document the new per-rank stderr line; add the pending measurement to docs/TODO.txt.

Nits: drop the duplicate emptiness guard at capture.rs:3137; blob() key/miss clone; per-address owned String for 2,646 addresses while 10 print; with_count helper; duplicate tests (792-807, 872-876) and two lookup idioms; unreachable "kernel unknown (unknown)"; eprintln bypasses StartupProgress (accepted by maintainer twice); re-measure before keeping the cap/order/symbol machinery.

Clean: retention semantics unchanged, contents scans cannot report, argument-relative offsets, no wire/core/format/flag/setting surface, no per-model branch, symbol index mapping correct, deterministic order, rank-labelled stderr matches transfer.rs precedent.

#4 [high] PR #332 corrections after final verification

CORRECTIONS/REFINEMENTS to entry 1 after final verification:

  1. SYMBOL LOOKUP — VERIFIED CORRECT, not a finding. capture.rs:3034-3049 builds wire::ModelIndex { ranks: vec![wire::BundleIndex { functions, ... }] } from the same local functions: Vec<wire::Function> pushed once per kernel in kernel order at :2986-2991 (loop over kernels at :2911). output.index.ranks[0].functions at :3138 is that list. graph() validates node.function against kernels (:290-292) and kernels and functions are the same order, so Site.function indexes correctly. The only silent coupling is that the two lists must stay in the same order — worth the one-line comment, not a defect. (This also confirms the "unknown (unknown)" placeholder is unreachable.)

  2. B2 SCOPE — sharpened. live_pieces (capture.rs:1196-1240, granule rounding :1211-1212, applied :1408-1423) trims each hole INWARD by the allocation granule. Sources of misaligned hole edges (core_storage.py:303-318): (a) partially-live torch pool blocks -> range starts at block.address + block.requested_size, an arbitrary value — this is the "allocator padding" case; (b) fully inactive blocks -> (address, address+size), segment-aligned, so typically clean; (c) persistent arena unused ranges (persistent.py:135). Packed weight arenas are chunk-aligned and require chunk_bytes % granularity == 0 (packed_weights.py:23-26), so weight padding is largely granule-aligned. Therefore B2 is REAL but its size is speculative and depends on how many partially-live pool blocks appear in recorded core allocations. Do not claim a magnitude; claim the defect (reported bytes lie inside a retained live piece, and the summary line then asserts the opposite) and that a test with non-granule-aligned ranges is what settles it. Since it is the same edit as maintainer item 2 (one classifier over one geometry), cost is near zero — which is why it is worth gating on rather than deferring.

  3. TEST LINES — reachability.rs:751 is consistent with the straddle fix only superficially: values at offsets 0,8,16.. are aligned, so an alignment filter leaves that test passing. But :783-799 (kernel_argument_candidate_offset_counts_from_the_argument_start) asserts a candidate at offset 16 for data whose composition implies a straddling window at offset 4 — verify against the new filter and either adjust or confirm. This nuance matters so the author does not get a confusing test failure.

  4. FUJITSUPOLYCOM PHRASING — their #331 comment "864 unaligned byte-window matches and one aligned match per rank" was their own out-of-tree check on a FIXED package, i.e. an independent measurement of the same artifact, not a measurement of this PR`s output. Cite it as corroboration that byte-window scans on a healthy export produce hundreds-to-thousands of unaligned hits and ~1 aligned hit; do not present it as this PR's data.

  5. Do not repeat the "in_free_block is dead code" claim — it is wrong (candidate returns Ok(true) for inactive, so in_free_block supplies the true). Deleting it alone silently stops inactive reporting.

#5 [high] B1 implementation trap: retention needs unaligned scanning

IMPORTANT TRAP for B1's fix — must be stated in the report.

heliopause/src/export/reachability.rs:480-489 unaligned_pointer_across_chunks_retains_target: a pointer value 0x2040 is written at byte offset 5 of a 19-byte buffer, split across two contents() chunks at 9, and the test requires reach.reached.contains("target"). Retention therefore DEPENDS on scanning every byte offset, including unaligned ones, and on the tail/boundary reassembly at :389-417.

Consequence: an alignment filter applied to the SCAN LOOP (e.g. swapping data.windows(8) for chunks_exact(8)) would break retention and fail this test. The filter must be applied ONLY to the reporting push at :267-270, exactly as the maintainer specified ("Keep retention as it is"). This is the single most likely mistake in implementing the blocking item, so call it out explicitly and cite the test that catches it.

Also relevant: after the filter, unresolved_examples_are_capped_while_occurrences_are_counted (:751-770, values at offsets 0,8,16,...) still passes; but the author should check kernel_argument_candidate_offset_counts_from_the_argument_start (:772-790) and kernel_argument_inactive_ranges_are_reported_but_numeric_ranges_stay_lenient (:902-916) — those build 8-byte values at argument offsets 0/16, so they should survive, but :773-790's assertion about the offset-16 candidate is worth confirming rather than assuming, because the test name promises an offset-from-argument-start contract that the filter must not disturb.

#6 [high] Research summary

Reviewed PR #332 at head c3cc87e and prepared both reports (full: Blockers / Should Fix / Nits; summary: 10 bullets, 5 per section) for use as the GitHub post. Notes are in the scratchpad (entries 1–5).

Central finding (Blocker): the deliverable counts and prints byte windows, not argument values. scan steps data.windows(8) one byte at a time (reachability.rs:259) and pushes every in-envelope value at :269 with no alignment filter, so the PR's own first example is a straddling window (argument 0, offset 4, 0x100000000800) and the ten first-seen example slots fill before a real stale pointer can appear. This is the maintainer's still-open 2026-11-20 blocking item. #266's real cases sit at offset 256 and offset 0 — both aligned, so the filter keeps them. I also found the implementation trap: retention depends on unaligned scanning (unaligned_pointer_across_chunks_retains_target, :480-489), so the filter must go on the reporting push only, exactly as the maintainer specified.

Second Blocker (my own, from the correctness lens): the inactive ranges handed to Reachability::new are raw (capture.rs:3074) while the live intervals come from live_pieces, which rounds each hole edge inward to the allocation granule (:1211-1212, applied :1408-1423). Bytes in the retained edge are therefore reported, and the summary line then asserts they are "outside every live recorded allocation" (:211-214) — false. Both existing inactive tests use granule-aligned holes so they cannot see it. It is gated rather than deferred because it is the same edit as maintainer item 2 (one classifier over one geometry), so the cost is near zero.

Twelve further Should-Fix/Nit items cover the duplicate inactive rule, two misstated printed quantities, evidence scoping and a self-undermining W4A8 sentence, missing docs and TODO entry, a redundant guard, cache cloning, unreachable placeholder text, and duplicate tests. I verified and cleared: scope/layer, retention semantics, contents-scan isolation, argument-relative offsets, deterministic order, and the symbol-index mapping (capture.rs:3034-3049 builds the rank's functions from the same list in kernel order).

I deliberately did not repeat one agent's claim that in_free_block is dead code — it is wrong, and acting on it would silently stop inactive-range reporting. Could not settle: the commit-message body, cargo test/clippy, a real export rerun, and the true size of the B2 effect; the report says so rather than guessing.

#7 [high] FINAL full report text (verbatim, ready to publish)

VERBATIM FINAL FULL REPORT — use this text (already reviewer-ready). Sources: scratchpad entries 1, 4, 5.

TITLE: Full report — PR #332 "Report unresolved kernel argument address candidates during export" Header: head c3cc87e · +434/−30 · heliopause/src/export/reachability.rs (+428/−29), heliopause/src/export/capture.rs (+6/−1) · Refs #266 · third round CHANGES_REQUESTED · author mark-yong · no CI checks on head.

OPENING (scope verdict): Scope and layer are correct. #266 asked for export-time detection (2026-11-11), maintainer accepted it "where pointer provenance can be established without misclassifying numeric kernel parameters" (2026-11-13). No protobuf, core/artifact format, CLI flag, environment variable or recipe setting; nothing persisted; no per-model branch. Retention semantics unchanged — reference only on a live-interval hit (reachability.rs:139-142); allocation-content scans pass misses: None (:370-378) so only kernel arguments report; offsets are argument-relative via base (:159-164); order deterministic. Symbol plumbing correct: capture.rs:3034-3049 builds the rank's functions from the same local Vec pushed once per kernel in kernel order (:2911-2991), so Site.function indexes the right list (this also proves the "unknown (unknown)" fallback is unreachable).

BLOCKERS

B1 — The report counts and prints byte windows, not argument values. Finding: reachability.rs:259 for (offset, bytes) in data.windows(8).enumerate() pushes every in-envelope value at :269 with no alignment filter. CUDA places a pointer at an 8-byte-aligned offset inside its parameter, so offset 4 spans two fields. The PR's own first example is that case: argument 0, offset 4, 0x100000000800; every printed example on both ranks is the same kernel at that offset. This is the maintainer's 2026-11-20 item 1. Request: apply (base + offset) % 8 == 0 to the reporting push ONLY (:267-270). Do not narrow the scan loop — unaligned_pointer_across_chunks_retains_target (:480-489) writes a pointer at byte offset 5 of a buffer split across two contents() chunks and requires retention, so retention depends on scanning every byte offset plus the tail/boundary reassembly at :389-417. Then rerun the same export and post before/after occurrence + distinct-address counts per rank; if thousands remain, print one example per kernel symbol. Why: the diagnostic does not fail an export, so its whole value is whether its numbers and examples point at #266's stale arguments. Totals inflated up to ~8× per parameter; the ten first-seen slots (UNRESOLVED_EXAMPLES=10 at :75, order at :222-224) fill before a real stale pointer can appear. #266's real cases sit at offset 256 of a 384-byte parameter and offset 0 of argument 1 — both aligned, so the filter keeps them. Corroboration of the artifact: an out-of-tree check on a healthy, already-fixed package found "864 unaligned byte-window matches and one aligned match per rank" (FujitsuPolycom, #331, 2026-11-19).

B2 — Raw inactive ranges vs granule-trimmed live intervals: the report can claim something false. Finding: Reachability::new gets raw request.inactive (capture.rs:3074) while intervals come from allocations already trimmed by live_pieces (:1196-1240; rounding :1211-1212, applied :1408-1423). live_pieces rounds each hole edge inward to the allocation granule, so [hole_start, aligned_start) and [aligned_stop, hole_stop) stay inside a retained live piece. candidate returns early on the raw inactive hit without referencing (:132-135); scan recomputes it as in_free_block (:262-265); the summary line then says "outside every live recorded allocation" (:211-214) — untrue for those bytes. Misaligned hole edges come from partially-live preparation-pool blocks whose range starts at block.address + block.requested_size (core_storage.py:303-318); granule is MiB-class (core_storage.py:93, :497-499). Existing tests cannot see it: both use granule-aligned holes with alignment 256 (:928-966 hole 1024..3072 in 4096; :902-916 hole 0x3000..0x3100). Request: pass the geometry live_pieces actually trimmed out (or the granule) into Reachability::new, derive the report predicate from it, add a test with non-granule-aligned inactive ranges asserting a retained-edge value is not reported and a trimmed-hole value is. Why: same failure mode the PR exists to surface elsewhere — one lifetime rule stated in two places that disagree. Gated not deferred because it is the SAME edit as maintainer item 2 (decide candidacy once over one geometry), so cost is near zero; leaving it in means B1's rerun still posts counts with false "no live owner" claims. Do not attach a magnitude — the number of such edges in recorded core allocations is unmeasured; the defect stands on its own.

B3 — No regression test for the straddling window. Request: maintainer's 2026-11-20 item 3 — an 8-byte pointer to a live allocation followed by a small integer in one argument; assert the straddling window is NOT reported and a stale pointer at an aligned offset IS. Why: without it B1 has no guard and the bug returns when the loop is next touched. Land with B1, not after.

SHOULD FIX

  1. State the inactive rule once (maintainer item 2). candidate (:131-145) returns a bare bool; scan re-derives the same partition_point as in_free_block (:262-266) only to recover which case it was. Request: one classifier Retained/Inactive/Unallocated, reference only for Retained, report for Inactive|Unallocated, with B2's geometry behind it. Why: two copies of a lifetime-adjacent rule drift silently. CAUTION: the second lookup is NOT dead code — candidate returns Ok(true) for an inactive value, so in_free_block supplies the true at :266; deleting it alone silently stops inactive reporting, pinned by :902-916.
  2. Fix the summary line's claim. :211-214 says "outside every live recorded allocation" although inactive parts of recorded segments are also reported; struct doc :45-46 has the same contradiction. Request: name both conditions; update the pinned literals at :830-841 and :860-865. Why: the maintainer asked for exactly this correction in the commit message (2026-11-19 item 4) but the operator-visible string was left unchanged; a reader told "outside every allocation" will not look at a free block.
  3. "… N more occurrences not shown" mixes units. :238 subtracts distinct-example count from an occurrence total. In :844-870, 24 occurrences over 12 addresses print 10 examples of 2 each — 20 shown, 4 hidden — and :869 asserts "14"; with 5 addresses × 2 occurrences it prints a hidden count when nothing is hidden. Request: sum occurrences of the examples actually printed, or print omitted distinct addresses; say whichever you print in description and test. Why: only quantitative handle for "did I see everything?"; it currently misstates the suppression.
  4. Scope the posted evidence and repair one sentence. Validation quotes the offset-4 example and pre-fix totals without saying the run predates the required restriction (AGENTS.md:98-107). "The recipe configures its MXFP4 experts with A8 activations (load_mxfp4_experts), but the printed diagnostic does not identify any W4A8 MoE kernel" asserts the A8 configuration then reports the absence of its kernels — load_mxfp4_experts calls load_fp4_experts(..., format="mxfp4", activation_mode="a8") (ignition/components/weights.py:1574-1588) and load_mxfp4_csf_experts defaults to a8 (:1593-1597); Limitations half-retracts it. Request: state which scan rule produced the posted numbers, or rerun after B1 and post new counts; drop or repair the W4A8 contrast; confirm the commit message agrees with the description on MXFP4/A8 coverage (2026-11-20 item 4).
  5. Document the new per-rank stderr line. capture.rs:3137-3141 prints export: rank N: kernel argument scan: … on every rank of every export; docs/runtime-core-design.md:310-313 enumerates native capture stderr output and omits it; docs/model-preparation.md:1471-1487 documents the comparable unconditional per-rank VRAM inventory. Request: one short paragraph — the line exists, does not fail the export, and where the scan is blind. Why: AGENTS.md:47-55 treats repo docs as present-state specifications.
  6. Record the pending verification (four-GPU deepseek-ai/DeepSeek-V4.1-Flash-1017, unverified W4A8 path) in docs/TODO.txt per AGENTS.md:53 — it lives only in the discussion now (search of docs/TODO.txt for 266/W4A8/kernel argument: no matches).

NITS

  1. capture.rs:3137 repeats the callee's contract — unresolved_report already returns empty at zero occurrences (:206-210, pinned :872-876). Drop the if; unresolved_count then has one in-module caller and pub(crate) at :190 can be private.
  2. blob clones its key and cached miss list — data.to_vec()/numeric.to_vec() each call (:148), misses.clone() on hit (:150) and store (:166), at ~2,646 distinct addresses per rank. Return a slice from the hit branch.
  3. A full site retained per distinct address while ten print — UnresolvedCandidate with owned graph: String per address (:176-182); fill first only while unresolved.len() < UNRESOLVED_EXAMPLES.
  4. with_count (:455-461) is new machinery where the repo inlines if n == 1 { "" } else { "s" } (flare-cli/src/cache_commands.rs:307, :309, :600…). Inline it.
  5. Duplicate tests and two lookup idioms — shared_argument_bytes_record_one_example_per_address (:792-807) repeats :751-770 plus the graph-name assertion of :844-870 (overlap flagged under its old name in 2026-11-18 item 6); unresolved_report_is_empty_without_candidates (:872-876) asserts a path production cannot reach while capture.rs:3137 keeps its own guard; first() (:728-730) vs direct reach.unresolved[&address] (:767, :805); singular hidden-count line untested.
  6. Unreachable "kernel unknown (unknown)" — graph rejects an out-of-range function index (:290-292) and functions is built one-per-kernel in order (capture.rs:2986-2991), so functions.get() always succeeds; map_or("unknown") (:232-233) prints something indistinguishable from a kernel named unknown (pinned :866). Replace with a one-line comment that the two lists must stay in the same order.
  7. eprintln! bypasses StartupProgress (:3137-3141 vs :2774-2778). Accepted by the maintainer 2026-11-19 item 2; capture.rs:3993 sets the same precedent — keep it; raw stderr does not corrupt animated rows (stderr_rows() never sets Output::started).
  8. Re-measure before keeping the surrounding machinery — if aligned candidates collapse to a handful after B1, the cap/order/example/symbol layers may no longer earn their lines (charter "Bring real evidence", "Reject unsupported abstractions and churn").

UNVERIFIED / DO NOT OVERCLAIM: commit-message body (not readable with available tools — maintainer item 4 second half); cargo test/clippy not run; no real export rerun; the magnitude of B2; whether #266's own package would be caught (its offsets are aligned so the B1 fix keeps it).