Verdict: worth merging — with one change I'd want first
The revision (commit 1ac7073d) fixed every blocker from the previous round, and it is now a small, correctly placed, non-blocking diagnostic that answers a standing P1 maintainer request. What changed my assessment from "worth it with changes" is not the noise reduction alone but re-reading #266: the reporter independently wrote an out-of-tree script with exactly this predicate and it worked — on the faulting package it listed precisely the 10 stale split-K arguments, and its only other hits were W4A8 MoE constants. That is the sensitivity/specificity evidence the first round lacked, and it comes from the package class the change exists for.
What the revision fixed (verified in the diff, not just the comment)
- Alignment.
reachability.rs:294-303: retention still slides byte-by-byte (windows(8).enumerate()), but collection is gated by(base + offset).is_multiple_of(8)at:300. The straddling-window false positive I flagged (0x100000000800at offset 4) is gone from the records, and there is a regression test:unaligned_straddling_window_is_not_reported_while_aligned_stale_pointer_is(:1046-1071), which asserts the straddle is absent while an aligned stale pointer at offset 16 is reported. Prior unaligned retention coverage (unaligned_pointer_across_chunks_retains_target,:513) is intact, so the conservation guarantee is unchanged. - One predicate.
candidate()(:156-170) is now the single live/inactive/gap rule, returningfalsewithout retaining for both gap and inactive;scancalls!self.candidate(pointer)?(:298). The duplicatedin_free_blocklookup is gone. - Truthful summary. The line now says "resolve to no active recorded allocation (gap or inactive range)" (
:236-246). That is correct:intervalscome from granule-trimmed live pieces (capture.rs:1473-1486→live_pieces:1259-1303, trimming inward at:1274-1275), so a value in a retained edge is in no live interval. The author kept rawrequest.inactive(capture.rs:3164) deliberately and explains why — trimming inward would let a pointer into a freed sub-granule block retain the segment and vanish from the report. That reasoning is sound and better than my earlier suggestion. - Counts and units. Hidden totals now report distinct addresses and occurrences separately (
:264-279), and no hidden line appears at ≤10 distinct (:264); four tests cover it. - Docs.
docs/runtime-core-design.md:154-157documents the scan semantics;:337-341documents the per-rank stderr line;docs/TODO.txtrecords the unrun 4-GPU DeepSeek V4.1 and 8-GPU W4A8 measurements, as AGENTS.md:52-58 requires. Emission sits atcapture.rs:3219-3223, betweengraph_phase.finish(:3215) andmodule_phase(:3224), so it cannot interleave inside an animated progress phase; raweprintln!also has precedent intransfer.rs:429 (not opened),1160andprocesses.rs:147(not opened). - Tests. 221 passed / 5 CUDA-ignored, 26/26 in
export::reachability::tests(author's build-host run).
Why it's worth doing (charter fit)
- Right problem, right place. The charter's "solve the right problem in the right place / smallest footprint" is satisfied literally: the reachability scan is the one place graph argument bytes are already interpreted, and the change adds a record-and-print path, no new mechanism, no flag, no per-model branch. It does not duplicate
check_relocations/check_bindings(capture.rs:291-359, declared fields only) orflare inspect --memory-map(coverage, not provenance). - A maintainer asked for it. #266
calvarado20042026-11-11 15:28 asked for exactly this context tuple (graph, node, symbol, argument, offset) and explicitly allowed "a strict mode, or a warning first";original-el82026-11-13 set P1 and asked for "export-time detection where pointer provenance can be established without misclassifying numeric kernel parameters". The charter lists maintainer requests as a merge criterion, and priority-contributor input as carrying weight. - Non-blocking is the correct scope, not a cop-out. Provenance genuinely cannot be established from bytes, as the author shows:
0x100000000800is two adjacent 32-bit fields,0xfff00000fffis a tiling constant. Failing export on these would break healthy exports. A warning is what the reporter said would work. - The hazard is still live. #331 (merged) removed the cause, but #266 notes existing cores embed the addresses and cannot be repaired by restart, and #395 (
CUDAGraph.reset()freeing a shared workspace) is a second lifetime path in the same class. The residual value is real, and this is cheap insurance. - Signal on the target package is good. On #266's 8192 package the same predicate returned ~10 true hits and a handful of W4A8 constants; after the workspace clear it returned zero. Both the 384-byte
nvjet_..._splitK_TNNNparameter at offset 256 and thesplitKreduceworkspace argument are 8-aligned, so the alignment filter preserves detection. (Note: this corrects my earlier advice — a "parameters of size 8" filter would have missed the nvjet case.)
Costs
Small and bounded: ~430 net lines in one crate, of which roughly 330 are tests; a HashMap<u64, UnresolvedEntry> and a per-blob miss vector in an inner loop that already ran; and at most 12 stderr lines per rank per export (UNRESOLVED_EXAMPLES = 10 + summary + hidden line). Export time is unaffected in practice because the scan already ran and only its discarded verdicts are now recorded. No runtime, ABI, core-format, or serving behaviour changes, so no GPU benchmark obligation.
The one change I'd want before merge
Example selection still works against the stated purpose. :247-249 sorts by entry.order (first encounter), so examples are the highest-frequency geometry constants from the earliest nodes — on the Vision-Exp export all ten came from mHC/CUTLASS kernels at positions like argument 0, offset 8: 0x100000000800. In an export like #266's default chunk-4096 package, where the stale address aliases live storage and there are ~800 distinct benign addresses, the one true value is guaranteed to be printed only as "… 752 more distinct addresses not shown". The author has already offered the fix ("one example per kernel symbol rather than first-encountered order across kernels"). I'd take it: group by kernel symbol + argument, show one example per group, or order examples by ascending occurrence count. It is a few lines, needs no new data (occurrences is already counted), and it is the difference between a diagnostic that can surface a needle and one that reports the haystack. Everything else can land as-is.
Minor items, not blocking
reachability.rs:862-873and:877-906assert exact report prose; AGENTS.md:43-50 makes prose churn costly. Asserting the fields (graph/node/symbol/argument/offset/address/count) would be cheaper to maintain.blob()clones the miss vector on every cache hit (:174-175) and keeps one per distinct argument blob for the whole export. Small after alignment, but aRc<[(usize, u64)]>or a second-pass resolve would remove it.- Verify the PR description. The description text I was given still shows the superseded unaligned totals (175,329 / 2,646 and 170,544 / 2,637) and the "does not identify any W4A8 MoE kernel" sentence, while the 2026-11-28 comment says both were regenerated to the aligned 22,618 / 762 and 19,417 / 832 run. If the header is current, the reconciliation didn't take and should be redone — the honest limitations paragraph is the strongest part of this PR and shouldn't be undermined by stale numbers.
On the absence of a personal true positive
The author cannot run the four-GPU export (three GPUs) and says so, in the description and in docs/TODO.txt. I no longer treat this as disqualifying: #266's own script demonstrates the predicate on that package class, the same predicate is now implemented here with the same aligned rule, and the remaining verification is precisely scoped as a pending measurement. Demanding hardware the contributor doesn't have, for a diagnostic whose mechanism is already evidenced, would contradict the charter's "respect contributors" and its rule that missing items be spelled out rather than used to close a PR.
Bottom line: this is the right change in the right layer, it no longer misclassifies numeric parameters into the recorded output the way the first revision did at offset 4, it fixes nothing that wasn't broken, and it costs almost nothing at export time. Land it with the per-kernel example grouping (or rarity ordering) so the needle is visible, and fix the description numbers if they are stale.
(No instruction-shaped content or attempts to direct an agent were found in the PR, its comments, or #266; the #266 "we can share the script" offer is informational.)