Prose report · NVIDIA/hyperflare-inference #332

Raw Markdown for agents: https://autobot.eidonix.com/p/6ddbf8a2-1a1a-455e-88bb-936078bdde99.md

Key findings

No blocking prose issue. The description meets the repository's four-part standard (why / what changed / claimed result / evidence) and its technical account of #266 and of the code is largely accurate — but the diagnostic text it ships, and one paragraph of its evidence, do not match the code:

  1. Should fix — the printed summary line misdescribes which values the scan reports (it says "outside every live recorded allocation", but free-block values inside a live segment are reported too). heliopause/src/export/reachability.rs:211-221.
  2. Should fix — "… N more occurrences not shown" prints a number that is not omitted occurrences; it subtracts the distinct-example count from an occurrence total. heliopause/src/export/reachability.rs:238-244, pinned wrong by the test at :869.
  3. Should fix — the description's Validation rests on examples at "argument 0, offset 4" that the 2026-11-20 review showed cannot be pointers, at a head whose scan still steps one byte at a time; the description does not say so, and its "no W4A8 MoE kernel among the examples" contrast is uninformative because load_mxfp4_experts is itself the A8 MoE path. The remaining pending verification also has no docs/TODO.txt entry (AGENTS.md:53).
  4. Nit — the report's kernel unknown (unknown) placeholder; docs/runtime-core-design.md:310-313 enumerates the stderr reports but not this new one.

Standards used (all in-repo): AGENTS.md:67-107 (every PR description answers why / what changed / claimed result / evidence, in that order, with evidence connected to claims and unrun checks disclosed), AGENTS.md:47-55 (repository documents are present-state specifications; unresolved defects and pending measurements go in docs/TODO.txt), AGENTS.md:38-45 (prose skill), .agents/skills/repo-prose/SKILL.md:8-46 (not opened) (write without hidden context; quote the passage and supply a rewrite), docs/design-review.md:134-149 (the same four-part scheme for PR text and commit messages), charter line 11 ("Bring real evidence") and line 44 (GPU kernel code: concrete defects only), and docs/runtime-core-design.md:310-313 (the present-state enumeration of what native export reports on stderr).

PR facts: #332 "Report unresolved kernel argument address candidates during export", by mark-yong (CONTRIBUTOR), fix/reject-unrecorded-graph-args into main, head c3cc87e, single commit c3cc87ea (2026-11-20, carries Signed-off-by and Design-Signed-Off-By), 2 files +434/−30 (heliopause/src/export/capture.rs +6/−1, heliopause/src/export/reachability.rs +428/−29), no docs files changed, review status CHANGES_REQUESTED after three rounds (2026-11-18, 2026-11-19, 2026-11-20), no CI checks on the head commit.


Should fix

1. The printed summary line misstates which candidates it reports

heliopause/src/export/reachability.rs:211-221

The report's first line reads: "kernel argument scan: {occurrences} and {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 is wrong for one of the two classes the code reports. scan (:259-271) computes in_free_block from self.inactive (:262-265) and pushes a miss when !self.candidate(pointer)? || in_free_block (:266-270) — so a value in the free block of a segment that is a recorded allocation is reported. candidate (:131-145) checks inactive first and returns Ok(true) for those values, which is exactly why scan needs the separate in_free_block term. The PR description's own Change section states the correct rule: "kernel-argument values in gaps between recorded allocations and in inactive parts of recorded segments".

The doc comment on UnresolvedCandidate (:45-48) has the same defect in miniature: "resolves to no live recorded allocation, including a value in an inactive range" — an inactive range is inside a recorded allocation, so the two halves contradict each other.

Why it matters: the entire value of the diagnostic is operator triage of stale pointers, and the maintainer raised 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 corrected; the string an operator actually sees was not. A reader told "outside every recorded allocation" will not think to look at a free block of a live segment, which is the #266 case the last round asked for.

Fix: name both conditions in the summary (e.g. "… fall inside the recorded address envelope but outside every live byte of a recorded allocation or inside an inactive range"), rewrite :45-46 as "inside a recorded segment's inactive range or in a gap between live recorded allocations", and update the pinned expectation in unresolved_report_names_the_kernel_and_its_symbol (:830-841) and unresolved_report_bounds_examples_and_counts_hidden_occurrences (:860-865).

2. "… 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);

occurrences is unresolved_count(), the sum of per-address occurrence counts (:190-195); examples.len() is the number of distinct addresses. The subtraction mixes units. The PR description advertises the line as "the number of omitted occurrences", and it is not that number.

Worked example from the PR's own test unresolved_report_bounds_examples_and_counts_hidden_occurrences (:844-870): 12 distinct addresses scanned in two graphs = 24 occurrences; 10 examples printed, each with occurrences == 2, so the printed examples account for 20 occurrences and only 4 occurrences are unshown. The code computes 24 - 10 = 14, and :869 asserts " … 14 more occurrences not shown", locking the wrong number into the suite. In the other direction, the count can be zero while distinct addresses are omitted entirely.

Why it matters: this is the only quantitative handle a reader has for "did I see everything?", and the description promises a specific meaning for it. It also quietly weakens the maintainer's round-2 concern that ten early constants can fill every example slot: the compensating number is inflated or deflated depending on how many sites each address has.

Fix: sum the occurrences of the examples actually printed — let shown: usize = examples.iter().take(UNRESOLVED_EXAMPLES).map(|(_, e)| e.occurrences).sum(); let hidden = occurrences - shown; — or print omitted distinct addresses instead ("… N more addresses not shown"), and make the description and the test say whichever is printed.

3. The validation evidence does not address the offset-alignment objection, and the W4A8 contrast is uninformative

PR description, "Validation" and "Limitations"; author comment 2026-11-19 21:02.

The evidence offered is an SM120 two-GPU export of local-inference-lab/DeepSeek-V4-Flash-Vision-Exp-lossless-CSF giving 175,329 / 170,544 occurrences and 2,646 / 2,637 distinct addresses per rank, with first examples at MHCPostPrePartialKernel, prefill4096, node 34, argument 0, offset 4.

Fix: state whether the posted export was captured at this head's scan rule, or re-run it with the alignment restriction in place and post the new counts (the reviewer offered "one example per kernel symbol" if thousands remain); either drop the "does not identify any W4A8 MoE kernel" contrast or name the kernels the recipe's experts actually compiled to; and add the pending four-GPU / W4A8 verification to docs/TODO.txt.


Nits

4. kernel unknown (unknown) and the unlisted stderr report


What holds up (checked, for balance)

Open questions / not verifiable here