#1 [high] PR #332 head-state verification (blocking issues)
PR #332 "Report unresolved kernel argument address candidates during export" (mark-yong, CONTRIBUTOR), head c3cc87ea, base main, 2 files +434/-30 (heliopause/src/export/reachability.rs +428/-29, heliopause/src/export/capture.rs +6/-1). Review status CHANGES_REQUESTED (yatesdr 2026-11-18, 11-19, 11-20); head unchanged since 2026-11-20; no CI checks. flare-autobot case file 2026-11-25.
VERIFIED IN CODE AT HEAD:
- reachability.rs:259
for (offset, bytes) in data.windows(8).enumerate()— still steps one byte per window; NOoffset % 8/(base+offset) % 8filter anywhere. This is yatesdr's 2026-11-20 blocking item 1 ("Report only offsets that can hold a pointer... report only argument-relative offsets divisible by 8, and post the counts from the same export again"). Unimplemented. - reachability.rs:262-266:
inactive.partition_pointrecomputed inscanasin_free_block, aftercandidate(:131-135) already returns Ok(true) for an inactive value. Duplicate lifetime rule = yatesdr item 2 ("One rule, one place"), still open. - reachability.rs:211-221 summary text says "outside every live recorded allocation", but inactive-range (free-block) candidates inside a live segment ARE reported (scan :266
|| in_free_block). Shipped user-visible text contradicts the code and the PR description. - reachability.rs:238
let hidden = occurrences - examples.len().min(UNRESOLVED_EXAMPLES)— subtracts distinct-address count (<=10) from an occurrence total; the "N more occurrences not shown" line is not omitted occurrences. Pinned wrong in test :869 ("14 more occurrences" where 4 occurrences are actually unshown). - reachability.rs:229-236 examples taken in first-seen order (sort by entry.order :223), capped at UNRESOLVED_EXAMPLES = 10 (:75). No ranking by rarity; thousands of benign constants crowd out a rare true positive.
- capture.rs:3137-3141 print block:
if reach.unresolved_count() > 0 { for line in reach.unresolved_report(&output.index.ranks[0].functions) { eprintln!("export: rank {}: {line}", request.rank) } }— raw eprintln on every rank, outside StartupProgress.
MERGEABILITY: main moved. main heliopause/src/export/reachability.rs has execution() (:87) and graph(&mut self, nodes, kernels) (no name param); main capture.rs:3159 calls reach.execution(&execution)?. This branch's reachability.rs has no execution() and its capture.rs:3075-3086 still inlines the execution-buffer reference loop. Branch predates merged #431/#507/#498 → rebase mandatory, conflicts in the exact functions this PR rewrites.
CI: .github/workflows/native-serving.yml runs eos, selene, selene-manager, helios, flare-cli, flare tests — heliopause is NOT in CI at all. Author-only validation (205 passed, 4 ignored, claimed on build host).
#2 [high] Recommendation: no hardware test for PR #332
REFER TO HARDWARE TEST: NO. Return to author first.
Reasons (none of them hardware-fixable):
- Blocking maintainer item unimplemented at head c3cc87e: yatesdr 2026-11-20 "One change before this can merge … report only argument-relative offsets divisible by 8, and post the counts from the same export again." reachability.rs:259 still
data.windows(8).enumerate()with no filter. All counts/examples/hidden lines regenerate after the fix → any hardware measurement now is discarded work. - User-visible text is wrong in two independent ways and both must change: summary line reachability.rs:211-214 claims "outside every live recorded allocation" although free-block candidates inside a live segment are reported (scan :266
|| in_free_block); andhidden = occurrences - examples.len().min(10)(:238) subtracts a distinct-address count from an occurrence total, so the "N more occurrences not shown" line is not omitted occurrences (the PR's own test :869 pins 14 where 4 are unshown). - Branch will not merge as-is: main has
Reachability::execution()(main reachability.rs:87) andgraph(&mut self, nodes, kernels); this branch hasgraph(&mut self, name, nodes, kernels)and inlines the execution-buffer loop at capture.rs:3075-3086 where main callsreach.execution(&execution)(main capture.rs:3159). Merged #431/#507/#498 touched the same functions → rebase/conflict resolution in the exact code under test. - Duplicated lifetime rule (candidate :131-135 vs scan :262-266) is a refactor the maintainer already demanded; removing it changes the code path being tested.
- Granule-mismatch false positives (correctness lens S1) need a code fix + new test, not a hardware run.
Expected value of hardware testing NOW: near zero. The only hardware-only facts are (a) real candidate counts on a real export and (b) whether alignment filtering separates signal from noise. (a) the author already produced on equivalent SM120 hardware (2x RTX PRO 6000: 175,329/2,646 rank0, 170,544/2,637 rank1) and (b) is already answered by FujitsuPolycom's independent 4xGB10 run in #331 discussion (2026-11-19 04:57): "864 unaligned byte-window matches and one aligned match per rank" — i.e. ~863 of 864 candidates are the misaligned artifact this PR must filter. That measurement already exists on GB10 hardware; we do not need to buy it again.
HARDWARE CANNOT RUN THE DECISIVE TEST: #266's reproducer is deepseek-ai/DeepSeek-V4.1-Flash-1017 at TP4 on 4x GB10. cn7 has 1x GB10 (cannot reach TP4). cn5 has 4x RTX PRO 6000 but none of the listed models is DeepSeek-V4.1 or any known-bad package; no archived stale-pointer package exists. So a true-positive test is impossible on the available fleet — hardware testing could only re-measure false-positive volume on a different model (GLM-5.3 / Qwen3.8), which is not comparable to the author's Vision-Exp numbers.
CI gap: .github/workflows/native-serving.yml tests eos, selene, selene-manager, helios, flare-cli, flare — heliopause is not in CI at all. But the PR's logic is CPU-testable: everything except the capture.rs print call site and the 3-way index wiring (wire::Kernel.function → kernels → functions) runs without a GPU, so a test engineer is not needed to validate it.
Verified sound (do not change): retention unchanged (candidate returns Ok(true) for inactive before reference(); reference only on live-interval hit); report additive/non-blocking; allocation-content scans pass misses=None (:370-378) so they cannot report; offsets are argument-relative (base is chunk start, :159-164); symbol lookup index is correct because capture.rs:2911-2991 pushes one wire::Function per kernel in kernel order and node.function indexes kernels (reachability.rs:290-292 validates bounds); no wire/core/CLI/config surface added.
#3 [medium] Semantics + test-gap details for #332
Note for the pre-test report: "occurrences" semantics. reachability.rs:147-188 — blob caches the miss list keyed by (data, numeric) and REPLAYS it for every site (every node/argument with identical bytes). So occurrences = (misses per unique blob) x (number of call sites sharing those bytes). Rank 0 reported 175,329 occurrences over 2,646 distinct addresses ≈ 66 replays per distinct address across thousands of nodes. Consequence: "occurrences" is NOT a count of distinct bad arguments and must not be read as severity/volume. Any future test plan must assert distinct-address counts, not occurrences.
Also note for the eventual post-fix test: examples are chosen in first-seen order (order field + sort_unstable_by_key, :222-224), capped at UNRESOLVED_EXAMPLES=10 (:75), with no ranking by rarity. With thousands of benign candidates the ten printed examples are systematically uninformative — the maintainer's suggestion of "one example per kernel symbol" addresses this. A regression test should assert that a rare candidate is reachable in the output (e.g. per-symbol grouping), not just that ten lines print.
Alignment fix caution: deleting in_free_block while keeping !candidate(...) silently stops reporting inactive-range values (candidate returns true for them). Test :902-916 pins the reporting half, so the fix must return a classification (Live/Inactive/Gap) rather than a bool, and the alignment filter must apply to the reporting decision only — retention must not change.
Granule mismatch (correctness S1), my verification: capture.rs:1410-1423 rebuilds allocations via live_pieces (:1196-1240) which rounds each hole inward to allocation.alignment (:1211-1212), so retained live pieces still cover the raw hole's unaligned edges; but Reachability::new at capture.rs:3074 gets raw request.inactive and candidate checks that raw list FIRST (:131-135). So a value inside a live retained piece but inside the raw hole edge is reported as "outside every live recorded allocation" — false. Existing tests all use granule-aligned holes (reachability :908 hole 0x3000..0x3100; :943 hole 1024..3072 in 4096-byte alloc; capture.rs:4545 test holes 0x1080/0x1380 with granule 0x100) so none exercises an unaligned edge. Fix belongs together with the "one rule, one place" refactor.