#1 [high] Should fix: diagnostic summary line misdescribes inactive-range candidates
heliopause/src/export/reachability.rs:211-221 prints the summary line: "kernel argument scan: N occurrences and M distinct addresses fall inside the recorded address envelope but outside every live recorded allocation, so each may be a stale pointer or a numeric constant".
That wording contradicts the PR description's own Change section ("reports kernel-argument values in gaps between recorded allocations and in inactive parts of recorded segments") and the code.
Proof in the code: candidate() (reachability.rs:131-145) checks self.inactive FIRST and returns Ok(true) — i.e. it resolves the value — when the value lies in an inactive range. scan() (reachability.rs:259-272) then separately sets in_free_block and pushes a miss when in_free_block is true even though candidate() returned true. So a value in the free block of a segment that IS a recorded allocation is reported, while the printed sentence tells the operator the value is outside every recorded allocation. The doc comment on UnresolvedCandidate (reachability.rs:45-48) says "resolves to no live recorded allocation, including a value in an inactive range" — the two halves disagree with each other for the same reason.
Why it matters: the whole point of the diagnostic is operator triage of stale pointers; a line that misstates which rule was hit sends the reader to the wrong conclusion (and the maintainer raised exactly this wording problem for the commit message in the 2026-11-19 review, item 4: "Its first paragraph says values 'outside live recorded allocations', which no longer covers inactive ranges"). The commit message was changed; the printed text was not.
Fix: name both conditions, e.g. "… fall inside the recorded address envelope but outside every live byte of a recorded allocation or inside an inactive range", and make the doc comment at :45-46 say "inside a recorded segment's inactive range or in a gap between recorded allocations". The test unresolved_report_names_the_kernel_and_its_symbol (reachability.rs:830-841) pins the current sentence, so it needs the same edit.
#2 [high] Should fix: "… N more occurrences not shown" reports a number it does not compute
heliopause/src/export/reachability.rs:238-244: let hidden = occurrences - examples.len().min(UNRESOLVED_EXAMPLES); ... " … {} not shown", with_count(hidden, "more occurrence", "more occurrences")
occurrences is the total over all occurrences (unresolved_count, :190-195, sums per-address occurrences); examples.len() is the number of DISTINCT addresses. The subtraction therefore mixes units, and the printed number is not "the number of omitted occurrences" that the PR description claims ("and the number of omitted occurrences").
Worked example from the PR's own test unresolved_report_bounds_examples_and_counts_hidden_occurrences (reachability.rs:844-870): 12 addresses × 2 graphs = 24 occurrences, 10 examples printed. Each printed address occurs twice, so the 10 shown examples already account for 20 occurrences, and only 4 occurrences are not shown. The code asserts lines[11] == " … 14 more occurrences not shown" (hidden = 24 - 10 = 14), which is wrong by ten. The test locks the wrong number in.
Why it matters: the diagnostic's only quantitative handle for "did I get through all the candidates" is this count, and the PR description advertises it as omitted occurrences. Also note the hidden figure can be zero while whole distinct addresses are omitted (11 distinct, 11 occurrences → hidden = 1, but actually 1 address and 1 occurrence are omitted — coincidentally right) or wrong the other way, so the meaning changes with the data.
Fix: compute it from the occurrences represented by the printed examples, e.g. let shown: usize = examples.iter().take(UNRESOLVED_EXAMPLES).map(|(_, e)| e.occurrences).sum(); let hidden = occurrences - shown;, or print omitted distinct addresses instead, and make the description and the test agree with whichever is printed.
#3 [high] Should fix: validation evidence does not say whether the export predates the alignment rule
PR description, "Validation" and "Limitations", and the 2026-11-19 21:02 comment, present the two-GPU DeepSeek-V4-Flash-Vision-Exp run as evidence for a diagnostic whose printed examples the maintainer's 2026-11-20 review says cannot be pointers:
- Description: "The recipe configures its MXFP4 experts with A8 activations (
load_mxfp4_experts), but the printed diagnostic does not identify any W4A8 MoE kernel among its examples." That recipe path IS the W4A8 MoE configuration: ignition/components/weights.py:1574-1588 callsload_fp4_experts(..., format="mxfp4", activation_mode="a8")(andload_mxfp4_csf_experts, sameactivation_mode="a8"). So the sentence sets up "it is a W4A8 export" and then reports that W4A8 kernels are absent, without saying whether the recipe's experts were exercised in the scanned graphs. - The reported first examples are at "argument 0, offset 4" (comment table and description table). The last review (yatesdr, 2026-11-20, item 1) states that with
scansteppingdata.windows(8)one byte at a time (reachability.rs:259) an offset-4 window spans two parameter fields and is not a pointer, and that ~2,640 such windows per rank fill all ten slots before a stale pointer can appear. So the descriptions' 175,329/170,544 existence counts are counts of mostly-unresolvable windows, and the description does not say the run predates the alignment restriction the reviewer asked for. - AGENTS.md:98-107 requires evidence to state the configuration, result and limits of the conclusion, and to explain differences between runs where passed and skipped cases would otherwise look contradictory. A reader cannot tell whether the printed examples are the artifact the reviewer blocked on.
Fix: state that the export was captured at this head's scan rule (or re-run it), and either drop the "does not identify any W4A8 MoE kernel" contrast or state which kernels the recipe's experts compiled to.
Related, lower priority: the description's Limitations disclose the unrun four-GPU DeepSeek V4.1 export and the unverified W4A8 path, but that pending verification appears nowhere durable. AGENTS.md:53 requires pending measurements to be recorded in docs/TODO.txt. No docs/TODO.txt entry is added by this PR.
#6 [high] Research summary
Reviewed PR #332 through the prose lens: read the charter, AGENTS.md, CONTRIBUTING.md, .agents/skills/repo-prose/SKILL.md (not opened), docs/design-review.md and docs/runtime-core-design.md, then read both changed files in context (reachability.rs's scan/candidate/blob/report path and their callers in capture_rank), plus issue #266 and the three prior maintainer reviews. Findings are on the scratchpad.
Two should-fix prose defects in the diagnostic text the PR ships, both verified in code and both tied to rules the maintainer already raised:
- The printed summary line (reachability.rs:211-221) says the values fall "outside every live recorded allocation", but
scanreports free-block values inside a live segment too (in_free_block, :262-266), andcandidateresolves those first. The PR description's own Change section says "gaps … and inactive parts of recorded segments", so the printed text and the doc comment at :45-48 contradict the code they describe; the pinned expected string inunresolved_report_names_the_kernel_and_its_symbolmust change with it. - The closing "… N more occurrences not shown" (:238-244) subtracts the count of distinct examples from an occurrence total, so the number is not omitted occurrences as the description claims. The PR's own test asserts "14 more occurrences" for 24 occurrences across 12 addresses at two sites each, where only 4 occurrences are actually unshown.
One should-fix evidence problem: the description's Validation rests on a two-GPU Vision-Exp export whose first examples are at "argument 0, offset 4", which the 2026-11-20 review showed is a window straddling two parameter fields and cannot be a pointer; the description does not say whether that run predates the alignment restriction, and its "does not identify any W4A8 MoE kernel" contrast is uninformative because load_mxfp4_experts is itself the A8 MoE path (ignition/components/weights.py:1574-1588). The pending four-GPU/W4A8 verification also appears in no durable place, which AGENTS.md:53 directs to docs/TODO.txt.
Nits: the report's "kernel unknown (unknown)" placeholder, and docs/runtime-core-design.md:310-313's enumeration of rank-zero capture reports not mentioning the new scan output. The rest of the description (why, what changed, the #266 cuBLASLt-versus-W4A8 separation, the limitations paragraph) holds up against the code.
#7 [high] PR 332 context, rules cited, and findings summary (report skeleton)
PR #332 "Report unresolved kernel argument address candidates during export", author mark-yong (CONTRIBUTOR), branch fix/reject-unrecorded-graph-args into main, head c3cc87e (2026-11-20), 2 files +434/-30: heliopause/src/export/capture.rs (+6/-1) and heliopause/src/export/reachability.rs (+428/-29). State open, review CHANGES_REQUESTED by yatesdr (three rounds: 2026-11-18, 2026-11-19, 2026-11-20), author reply 2026-11-19 21:02, no CI checks on head. Refs #266. No docs files changed. Single commit, has Signed-off-by and Design-Signed-Off-By (checked with search_history); commit subject matches the description.
Rules the review applies (all in-repo):
- AGENTS.md:67-107 — every PR description must answer why / what changed / claimed result / evidence, in that order, with the evidence connected to claims and unrun checks disclosed. AGENTS.md:53 — unresolved defects, unrun checks and pending measurements go in docs/TODO.txt, not in design docs. AGENTS.md:47-55 — repository documents are present-state specifications. AGENTS.md:38-45 mandates the prose skill.
- .agents/skills/repo-prose/SKILL.md:8-46 — write without hidden context; 35-37 evidence as conditions/measurement/result/conclusion; 56-59 "quote the passage, identify the missing context or unsupported claim, supply a rewrite".
- charter line 11 (bring real evidence), line 44 (kernel code: concrete defects only), and the "PR descriptions: four parts" standard.
- docs/design-review.md:134-149 (principle 16) — the same four-part scheme for commit messages and PR text; reject unsupported claims.
- docs/runtime-core-design.md:310-313 — the enumeration of what native export reports on stderr.
Findings, in severity order (details in notes 1-4):
- Should fix — reachability.rs:211-221: printed summary says "outside every live recorded allocation" although free-block candidates inside a live segment are reported too (scan:262-266 sets in_free_block; candidate:131-135 resolves inactive first). Fix the string, the doc comment at :45-48, and the test expectation at :833-835.
- Should fix — reachability.rs:238-244: "… N more occurrences not shown" subtracts distinct-example count from an occurrence total; the test at :869 asserts a wrong 14 where 4 are unshown.
- Should fix — description Validation/Limitations: examples at "argument 0, offset 4" are the byte-window straddles the 2026-11-20 review rejected, and the description does not say the export predates the alignment rule; the "no W4A8 MoE kernel among the examples" contrast is uninformative since load_mxfp4_experts is the A8 path (ignition/components/weights.py:1574-1588). Pending four-GPU/W4A8 verification also needs a docs/TODO.txt entry per AGENTS.md:53.
- Nit — reachability.rs:232-233 "kernel unknown (unknown)"; docs/runtime-core-design.md:310-313 does not mention the new report.
No blocking finding from this lens: the description's structure and its remaining technical claims are accurate (note 5). The test-count claim ("205 passed, 4 ignored") was not reproducible from here (no build), so it was not disputed; the last reviewer's independent run of the same suite passed at this head.
#9 [high] Blocking: description still carries the pre-alignment export numbers and test counts
PR #332 head 1ac7073d, description "## Validation" (read with read_item(332), 2026-11-28 state):
- Table: "| 0 | 175,329 | 2,646 | b12x mHC Cutlass kernels, beginning with
MHCPostPrePartialKernelinprefill4096, node 34 |"; rank 1 "170,544 | 2,637". - "
cargo test ... --libpassed on the build host: 205 passed, 4 ignored." - "The recipe configures its MXFP4 experts with A8 activations (
load_mxfp4_experts), but the printed diagnostic does not identify any W4A8 MoE kernel among its examples." / "All ten printed examples per rank came from mHC kernels, not W4A8 MoE kernels."
Author's own 2026-11-28 19:09 comment on the same PR says item 7: "Commit message and PR description: reconciled both to match commit 1ac7073d, replaced the superseded unaligned counts ... with the aligned run below", and posts:
- "Prior unaligned (
c3cc87ea) occurrences / distinct" = 175,329 / 2,646 and 170,544 / 2,637 — i.e. the numbers now in the description are exactly the ones that comment labels superseded. - "Aligned (
1ac7073d)" = 22,618 / 762 and 19,417 / 832. - The aligned verbatim stderr's first example is
prefill4096node 35,MHCFinalizeGramKernel(module-15), argument 4, offset 8 — notMHCPostPrePartialKernel, node 34. - "cargo test ... --lib passed (221 passed, 0 failed, 5 CUDA tests ignored; 26/26 in export::reachability::tests)".
Code at head filters unaligned offsets (heliopause/src/export/reachability.rs:294-303, (base + offset).is_multiple_of(8)), so the 175,329/2,646 figures cannot come from the shipped code; the 205/4 test count cannot either, since this head adds ~14 reachability tests (reachability.rs:730-1135).
Rules: AGENTS.md:74-80 (description must let a reviewer with no working context reconstruct why/what/result/evidence), AGENTS.md:103-112 ("Connect each material claim to the relevant checks or measurements: the behavior tested, baseline or reference, configuration, result, and limits"; "Explain differences between runs when passed and skipped cases would otherwise appear contradictory"; "Never invent evidence"), prose skill .agents/skills/repo-prose/SKILL.md:30-37 (evidence = conditions, measurement, result, conclusion; disclose unrun checks), and maintainer yatesdr's 2026-11-20 blocking item 1 ("post the counts from the same export again" after the alignment change).
Fix: replace the table with the aligned run (22,618/762; 19,417/832; first example MHCFinalizeGramKernel, prefill4096, node 35), say the run is at 1ac7073d with the alignment rule, and correct the test counts to the head's; otherwise state that the posted export predates the alignment rule and that its counts are not the behavior under review.
#10 [high] Should fix: description never states the 8-byte alignment restriction of the scan
PR #332 head 1ac7073d, description "## Change": "The Heliopause export scan reports kernel-argument values in gaps between recorded allocations and in inactive parts of recorded segments." No mention of alignment anywhere in the description (Change, Validation or Limitations).
Code: heliopause/src/export/reachability.rs:294-303 — every 8-byte window is still tested for retention (self.candidate(pointer)? runs for all offsets), but a miss is pushed only when (base + offset).is_multiple_of(8). So an unresolved (possibly stale) pointer whose argument-relative offset is not a multiple of 8 is retained-and-silently-dropped exactly as before this PR.
The same PR's docs state the rule: docs/runtime-core-design.md:154-157 "Argument-relative 8-byte-aligned kernel-argument values inside the recorded address envelope that resolve to no active recorded allocation ... are reported on stderr per rank"; docs/runtime-core-design.md:339-341 "when kernel-argument reachability scanning finds aligned unresolved address candidates". Commit subject: "report aligned unresolved kernel argument addresses during export". So the description is the only artifact that omits the condition that defines the diagnostic's coverage.
Description "## Limitations" lists "Values outside the recorded envelope and stale values that alias live storage are not detected by this scan" but omits unaligned offsets, which is the larger blind spot for #266-style stale pointers (maintainer's round-3 note: real cases sit at aligned offsets, so unaligned is noise, but a reader cannot know that from the description).
Rules: AGENTS.md:88-94 ("What exactly did this PR change? ... Make the before/after explicit"), AGENTS.md:95-102 (limitations attached to the claimed result), AGENTS.md:103-112 (limits of the conclusion stated), prose skill 30-37.
Fix: add to Change and to Limitations: the scan still resolves every 8-byte window for retention, but only argument-relative 8-byte-aligned values are reported, because CUDA parameters place pointers at aligned offsets and unaligned windows span two fields (as the maintainer's 2026-11-20 review established).
#11 [high] Blocking: Validation table reports a superseded build's counts after claiming reconciliation
At head 1ac7073d the description's "## Validation" section still posts the numbers the author's own 2026-11-28 comment calls superseded:
- Description table: rank 0 "175,329 occurrences / 2,646 distinct addresses", rank 1 "170,544 / 2,637"; "first examples …
MHCPostPrePartialKernelinprefill4096, node 34"; "205 passed, 4 ignored". - Author comment 2026-11-28 19:09, item 7: "Commit message and PR description: reconciled both to match commit
1ac7073d, replaced the superseded unaligned counts and contradictory MXFP4/A8 phrasing with the aligned run below". Same comment's table labels 175,329/2,646 and 170,544/2,637 "Prior unaligned (c3cc87ea)", and gives aligned (1ac7073d) 22,618/762 and 19,417/832, "221 passed, 0 failed, 5 CUDA tests ignored". - The aligned verbatim stderr's first example is
prefill4096node 35,MHCFinalizeGramKernel(module-15), argument 4, offset 8 — notMHCPostPrePartialKernel, node 34.
Code at this head reports only aligned offsets (heliopause/src/export/reachability.rs:294-303, (base + offset).is_multiple_of(8)), so the posted 2,646/2,637 counts cannot come from the shipped code; the 205/4 test count also cannot, since this head adds 14 reachability tests (reachability.rs:730-1135: alignment, boundary, distinct/occurrence, hidden-count, symbol-lookup cases).
Rules: AGENTS.md:103-112 ("Connect each material claim to the relevant checks or measurements: the behavior tested, baseline or reference, configuration, result"; "Explain differences between runs"; "Never invent evidence"); AGENTS.md:74-80; .agents/skills/repo-prose/SKILL.md:30-37, 50-54 ("claims that exceed the evidence"); maintainer yatesdr 2026-11-20 blocking item 1 ("post the counts from the same export again").
Fix (text only): replace the table and first-example column with the aligned run, state it was produced at 1ac7073d with the alignment rule, and correct the test counts; or state explicitly that the posted export predates the alignment rule and is not the behaviour under review.
#13 [high] Research summary
Re-reviewed PR #332 at its new head 1ac7073d through the prose lens, against the charter, AGENTS.md (PR-description and TODO rules), the repo-prose skill, and docs/design-review.md (not opened). Two earlier should-fix findings are fixed at this head: the hidden-count line now prints distinct addresses plus their occurrence sum (reachability.rs:264-278, tests :911-975), and docs/TODO.txt:350-354 plus docs/runtime-core-design.md:339-341 now carry the pending four-GPU/W4A8 measurement and document the per-rank stderr summary.
New blocking finding: the description was not actually reconciled. Its "Validation" table still posts 175,329/2,646 and 170,544/2,637 with a first example of MHCPostPrePartialKernel, prefill4096, node 34, and "205 passed, 4 ignored" — the exact figures the author's own 2026-11-28 comment labels "Prior unaligned (c3cc87ea)" and "replaced"; the same comment gives 22,618/762, 19,417/832, node 35 MHCFinalizeGramKernel, and 221 passed / 5 ignored. The head's scan reports only offsets divisible by 8 (reachability.rs:294-303), so the posted counts cannot be produced by the shipped code, and AGENTS.md:103-112 requires the evidence to match the tested behavior.
Other findings: the description never states the 8-byte alignment restriction that defines the diagnostic's coverage (it is in docs/runtime-core-design.md:154 and the commit subject but not in Change or Limitations) — should fix; and one shipped sentence, "resolve to no active recorded allocation", is false for values inside the non-granule-aligned edge of an inactive range, because Reachability::new receives raw request.inactive (capture.rs:3164) while intervals are granule-trimmed by live_pieces (capture.rs:1259-1288, :1471-1486) and candidate checks inactive first (reachability.rs:157-160) — should fix (wording); plus a nit on the kernel unknown (unknown) placeholder (reachability.rs:257-258).
Details, citations and suggested rewrites are in scratchpad notes #9-#12.
#14 [high] Final report of 2026-11-28, head 1ac7073d: verdict and all confirmed findings
Verdict at head 1ac7073d (PR #332, "Report unresolved kernel argument address candidates during export", author mark-yong, 4 files +599/−37): one blocking prose defect, two should-fix, one nit. No code-behaviour objection from this lens; the technical account of #266 and the Change section hold up.
BLOCKING — Validation table reports a superseded build's numbers after claiming reconciliation.
Description "## Validation" still prints rank 0 "175,329 / 2,646", rank 1 "170,544 / 2,637", first examples "MHCPostPrePartialKernel in prefill4096, node 34", and "205 passed, 4 ignored". The author's own 2026-11-28 19:09 comment, item 7, says the description was "reconciled … replaced the superseded unaligned counts … with the aligned run below", labels those same figures "Prior unaligned (c3cc87ea)", and gives aligned (1ac7073d) 22,618 / 762 and 19,417 / 832, first example prefill4096 node 35 MHCFinalizeGramKernel (module-15) argument 4 offset 8, tests "221 passed, 0 failed, 5 CUDA tests ignored". The head reports only aligned offsets (heliopause/src/export/reachability.rs:294-303), so 2,646 distinct addresses cannot come from it; the 205/4 count cannot either, since this head adds 14 reachability tests (reachability.rs:730-1135).
Standard: AGENTS.md:103-112 (connect each claim to the behavior tested, configuration, result; explain run differences; never invent evidence), AGENTS.md:74-80, .agents/skills/repo-prose/SKILL.md:30-37 and 50-54, maintainer yatesdr 2026-11-20 blocking item 1 ("post the counts from the same export again").
Fix: replace the table, first-example column and test counts with the aligned run at 1ac7073d; or state that the posted export predates the alignment rule and is not the behavior under review.
SHOULD FIX — the description never states the 8-byte alignment restriction.
Description Change and Limitations omit it; code pushes a miss only when (base + offset).is_multiple_of(8) (reachability.rs:294-303) while every window is still resolved for retention, so unaligned unresolved values remain silently dropped. The restriction is stated in docs/runtime-core-design.md:154-157, :339-341 and in the commit subject, so the description is the only artifact missing the condition that defines coverage. AGENTS.md:88-94 (make the before/after explicit) and :95-112 (attach limits). Fix: state the rule and the reason (CUDA places pointers at aligned parameter offsets; an unaligned window spans two fields), as the maintainer established on 2026-11-20.
SHOULD FIX — "resolve to no active recorded allocation" is false for sub-granule inactive edges.
The printed summary (reachability.rs:236-246) and docs/runtime-core-design.md:154-157 say reported values resolve to no active recorded allocation. Reachability::new takes the raw request.inactive (capture.rs:3164) but intervals come from live_pieces, which trims inactive ranges inward to granule boundaries (capture.rs:1259-1288, applied :1471-1486); a value in the retained non-granule-aligned edge is inside a live interval, yet candidate checks inactive first (reachability.rs:157-160) and returns false, so it is reported. The raw list is deliberate (author comment item 5: trimming would let freed sub-granule pointers retain the segment), so the wording needs the qualifier, not the code. No test covers a non-granule-aligned inactive boundary (the test at :1020-1035 uses 0x3000..0x3100, aligned to the allocation start). Fix: e.g. "resolve to no active recorded allocation at the recorded granularity, or fall in an inactive range inside one"; add a non-granule-aligned boundary test.
NIT — reachability.rs:257-258 prints kernel unknown (unknown), which is indistinguishable from a kernel named "unknown"; the recorded index is authoritative (capture.rs:3208, :3220), so say the index was unresolved.
Fixed since the last report (do not re-raise): the hidden-count line now prints omitted distinct addresses and their occurrence sum (reachability.rs:264-278, tests :911-975); docs/TODO.txt:350-354 carries the four-GPU #266 and eight-GPU W4A8 measurement (AGENTS.md:53); docs/runtime-core-design.md:339-341 documents the per-rank stderr summary, matching capture.rs:3219-3223.
Verified accurate in the description: the why (the replaced pointer() returned Ok for inactive and gap values; now candidate() -> bool), the "does not retain / not an export failure" claims, the "single address-to-first-site/count map" and "resolves kernel names from the recorded function index" claims, "numeric exclusions and allocation-content scanning retain their existing behavior" (tests :1020-1050), and the #266 cuBLASLt-split-K-versus-W4A8-numeric-noise separation. Note that load_mxfp4_experts is no longer in this tree (ignition/components now holds only the 12 Helios-ABI modules; expert_format maps mxfp4 experts to "a8" at ignition/preparation/quantization.py:73-78), so the remaining MXFP4/A8 sentence can only be judged against the author's statement, not the tree; the Limitations paragraph's concession that the examples "do not establish W4A8 MoE kernel behavior" already covers it.
Rules cited: charter line 11 (bring real evidence); AGENTS.md:52-60 (pending measurements in docs/TODO.txt), :74-112 (four-part PR description); .agents/skills/repo-prose/SKILL.md:26-43 and 50-59; docs/design-review.md:134-149 (principle 16, same standard for PR text).
#5 [medium] Verified-accurate claims in the description (for balance)
Verified accurate against the code (so the report can say the description is largely correct and cite the parts that hold):
- "The export reachability scan previously discarded address-shaped values that fell inside the recorded address envelope but outside live allocations without reporting them" — the old
pointer()returnedOk(())for both the inactive range and the no-interval case; the diff replaces it withcandidate() -> Result<bool>(reachability.rs:131-145). - "Numeric exclusions and allocation-content scanning retain their existing behavior" —
contents()still callsscan(data, 0, None)and the numeric subtraction is unchanged (reachability.rs:367-375);allocation_contents_still_tolerate_gap_candidates(:918-926) pins it. - "A single address-to-first-site/count map retains report order and resolves kernel names from the recorded function index" —
unresolved: HashMap<u64, UnresolvedEntry>with anorderfield (:85, :170-185) andfunctions.get(candidate.function)(:227). - "Each rank reports … with its first graph, node, recorded kernel symbol and module, argument, and byte offset" — capture.rs:3137-3141 labels the rank (
request.rank) and passesoutput.index.ranks[0].functions, which holds symbol+module (capture.rs:2986-2991). - The description's separation of #266's two cases matches issue #266 ("Its only other hits are constants in the W4A8 MoE kernels"); the earlier reviewer objection that the description blamed cuBLASLt for the false positives is fixed.
- The Limitations paragraph is honest about what was not run (four-GPU DeepSeek V4.1 export, W4A8 path, values outside the envelope, stale values aliasing live storage).
Conclusion for the prose lens: the description's structure meets AGENTS.md:69-107 (why / what / result / evidence). Defects are the printed summary sentence and hidden-count (scratchpad 1, 2) and the evidence's staleness (scratchpad 3). No repository docs are changed by the PR, so the docs check reduces to whether the new stderr report belongs in docs/runtime-core-design.md:310-313 (scratchpad 4).
#12 [medium] Should fix: one shipped sentence overstates the rule; nit on the unknown-function placeholder
Two open prose points at head 1ac7073d (both verified in code):
- "resolve to no active recorded allocation" is not universally true. docs/runtime-core-design.md:154-157 and the printed summary (heliopause/src/export/reachability.rs:236-246) state that reported values resolve to no active recorded allocation.
Reachability::newreceives the rawrequest.inactive(capture.rs:3164) whileintervalscome fromlive_pieces, which trims inactive ranges inward to granule boundaries (capture.rs:1259-1288, applied :1471-1486). A value inside an inactive range but inside the retained non-granule-aligned edge is therefore a live recorded interval, yetcandidatechecksinactivefirst (reachability.rs:157-160) and returns false, so it is reported as unresolved. The author kept the raw list deliberately (comment item 5) to avoid weakening detection, so the wording, not the code, needs the qualifier: e.g. "resolve to no active recorded allocation of the granted granularity, or fall in an inactive range inside one". No test covers a non-granule-aligned inactive boundary (the test at reachability.rs:1020-1035 uses 0x3000..0x3100, which coincides with allocation start). - Nit: reachability.rs:257-258 prints
kernel unknown (unknown)when the recorded function index is out of range, indistinguishable from a kernel named "unknown"; the recorded index is authoritative (capture.rs:3208, :3220) so the placeholder should say the index was unresolved.
Resolved since the last report: docs/TODO.txt:350-354 now carries the four-GPU #266 and eight-GPU W4A8 measurement (AGENTS.md:53); docs/runtime-core-design.md:339-341 now documents the per-rank stderr summary, matching capture.rs:3219-3223 ("export: rank {rank}: …" on every rank); the hidden-count line now prints distinct addresses and their occurrence sum (reachability.rs:264-278, tests :911-975), matching the description.
#4 [low] Nit: unknown-function placeholder and docs enumeration of capture reports
Nit: heliopause/src/export/reachability.rs — function.map_or("unknown", ...) at :232-233 prints kernel unknown (unknown) when the recorded function index is out of range. Reached only on a mismatch between wire::Kernel.function and the rank's functions list, which capture_rank builds in the same order (capture.rs:2910-2992, 3039), so in practice it does not fire. The report has no way for a reader to tell "unknown" apart from a kernel literally named unknown. Not blocking; if kept, the text in the report should say the recorded function index was out of range. Covered by unresolved_report_bounds_examples_and_counts_hidden_occurrences (reachability.rs:866).
Nit, docs: docs/runtime-core-design.md:310-313 enumerates what rank-zero capture reports on native stderr ("storage clearing, graph inspection and serialization, module/global capture, storage scans, weight materialization, and frontend assets"). This PR adds a new exported diagnostic class ("kernel argument scan: …", capture.rs:3137-3141, on every rank with a rank label) that the enumeration does not mention. AGENTS.md:47-55 treats repository documents as present-state specifications, so the new report belongs in that sentence, with the non-blocking nature stated there rather than only in the PR description.
Nit, tests: allocation_contents_still_tolerate_gap_candidates (reachability.rs:918-926) plus kernel_argument_inactive_ranges_are_reported_but_numeric_ranges_stay_lenient (:902-916) pin "allocation contents and numeric ranges stay lenient while kernel arguments report". Good; but no test asserts the report is not printed for allocation contents through the capture-level path (capture.rs:3137's unresolved_count() > 0 guard is untested), so a future change that routes contents misses into unresolved would pass. Out of scope for the prose lens, noted for whoever reviews the tests.