#1 [high] Change: #332 what it does, size, and undeclared behavior
PR #332 "Report unresolved kernel argument address candidates during export" by mark-yong, open, head c3cc87e (2026-11-20), base f9aec99, +434/-30 in 2 files: heliopause/src/export/capture.rs (+6/-1), heliopause/src/export/reachability.rs (+428/-29).
What it does (verified from diff and head files):
- reachability.rs:
pointer(value)becomescandidate(value) -> ExportResult<bool>: returns true for a value inside aninactiverange or inside a recorded allocation interval (still callingreference()so retention is unchanged); false for a value inside [floor,ceiling) of the recorded envelope but in no allocation. blob(data, numeric)now takes a&Site {graph,node,function,argument}and records "misses" (offset,address) into a newunresolved: HashMap<u64, UnresolvedEntry>keyed by address, holding the first site and an occurrence count plus a globalorderfor stable report order.blobschanged fromHashSet<(Vec<u8>, Vec<usize,usize>)>to aHashMapcaching per-blob misses (reachability.rs:84-85, :147-188).scangainedbase: usizeandOption<&mut Vec<(usize,u64)>>;contents()/opaque_contents()passNoneso allocation-content scans never produce candidates (reachability.rs:259-273, :367-380ish).- New
unresolved_count(),unresolved_unique_addresses(),unresolved_report(&[wire::Function])printing a summary line, up toUNRESOLVED_EXAMPLES = 10distinct addresses with first site, and a "… N more occurrences not shown" line (reachability.rs:45-75, :190-250). - capture.rs:
reach.graph(&graph.name, &nodes, &kernels)now passes the graph name (capture.rs:3102), and after the graph phase aneprintln!("export: rank {}: {line}")loop runs whenunresolved_count() > 0(capture.rs:3137-3141). Symbols resolved fromoutput.index.ranks[0].functions(built in kernel order at capture.rs:2910-2992), socandidate.function(node.function index) indexes it correctly. - 10 new tests in reachability.rs plus one renamed test (freed_interval_boundaries_report_kernel_candidates_without_retaining_storage).
Undeclared / not in the description:
- The scan still steps one byte at a time (
data.windows(8).enumerate(), reachability.rs:259) with no 8-byte alignment filter, so a value at every byte offset of an argument is recorded; a single stale pointer can be counted several times (windows straddling it) and unaligned windows fill the 10 example slots. This is exactly the reviewer's open blocking item. - Occurrence counts are byte-window hits, not call sites:
unresolved_count()sums per-address occurrences, which include every unaligned window that lands in the envelope. - Output goes to stderr via
eprintln!insidecapture_rank, not through the progress/status system, and is printed before module/global capture, so a later export failure still leaves the report on stderr. - Non-retention is preserved: no inactive allocation is retained, and nothing turns a candidate into an export error (matches description).
#2 [high] Community/Process: review state of #332 — three rounds, third blocking item unaddressed
Reviews (all by yatesdr; single reviewer, no other engagement):
- 2026-11-18 22:40 CHANGES_REQUESTED: (1) printed the
CUfunctionhandle not the symbol (capture.rs:3150); (2) printed per rank without a rank label; (3) ten examples were first hits, not one per address; (4) noise unmeasured — run one W4A8 export; (5) CONTRIBUTING.md requires Signed-off-by (f065ef1f had none). Should-fix: dedup untested, print block untested, duplicate test, commit message vs description divergence. - 2026-11-19 15:56 CHANGES_REQUESTED at 499710e9: symbol, rank label, one-example-per-address, sign-off, and matching texts fixed; CPU tests pass at head and merged into main d8fd1431 (206 passed, 4 ignored both). Open: (1) no export run; (2) cuBLASLt example contradicts #266 (cuBLASLt split-K args ARE the stale pointers; only other hits are W4A8 MoE constants); (3) inactive ranges still dropped silently; (4) bookkeeping: store function index instead of the CUfunction handle and collapse the parallel miss lists into one map.
- 2026-11-19 21:02 author reply: inactive ranges now reported; export posted; description updated.
- 2026-11-20 04:34 CHANGES_REQUESTED at c3cc87e (current head): accepts the earlier items as fixed ("inactive ranges are reported without being retained; one map now holds each address's first site and count; symbols come from the recorded function index; the description's account of #266 is fixed"). Remaining: (1 BLOCKING) report only argument-relative offsets divisible by 8, because scan steps one byte at a time and CUDA places pointers at 8-byte-aligned offsets within a parameter; cites the author's own first example "argument 0, offset 4, 0x100000000800" as a straddling window, and #266's stale args at offset 256 of a 384-byte param and offset 0 of argument 1; asks for counts from the same export again, and "one example per kernel symbol" if thousands remain. (2) State the inactive-range rule once —
scanrepeats the inactive lookup (in_free_block, reachability.rs:262-265) thatcandidatealready does. (3) Add a test: live pointer then small integer in one argument; assert the straddling window is not reported and a stale pointer at an aligned offset is. (4) Commit message says values "outside live recorded allocations" (no longer covers inactive ranges) and still lists W4A8 as untested while the description reports an MXFP4/A8 export.
Status at head (verified in pr/332 files): no alignment filter present (reachability.rs:259 for (offset, bytes) in data.windows(8).enumerate()); the duplicated inactive lookup is present (reachability.rs:262-266); no straddle/aligned test in the test module (searched the added tests: boundary test uses 8-byte-aligned values only). The author has not pushed since 2026-11-20 04:34 (item updated 2026-11-20); open 7 days, last update 5 days, CI "no checks" on head.
Note: I could not read the commit message body (only the subject "Report unresolved kernel argument addresses during export"), so item 4 is unverified.
#3 [high] Why: #266 is the driving defect; export-time detection was requested by its reporter
Issue #266 (open, P1, labels area:memory/packaging/preparation, bug, model:deepseek-v4.1, triage:investigate), by calvarado2004, opened 2026-11-11, updated 2026-11-13. Four DGX Spark GB10 (SM121) nodes, TP4, DeepSeek-V4.1-Flash-1017 at 7f534bb6: a package exported with --prefill-chunk-size 8192 Xid-31s on the first prefill8192 prompt; fault VA 0x812d3a00000 lies in a 104 MiB gap between recorded allocations and is carried by 10 kernel arguments (5 pairs): nvjet_sm121_..._splitK_TNNN (384-byte parameter, offset 256) and cublasLt::splitKreduce_kernel (argument 1). Root cause: PyTorch's cached cuBLAS workspace created in transient storage during warmup is baked into the first captured graph. The chunk-4096 export aliases instead of faulting.
The export-side check that #332 implements was requested by the reporter in the second comment (2026-11-11 15:28) as "a second suggestion, independent of the Ignition change": record [floor,ceiling) values inside no recorded allocation (case 2) and inside inactive free blocks (case 1) with graph, node, function symbol, argument index and byte offset, and either fail the export or warn; handle false positives via the existing typed numeric spans; optionally narrow the scan to 8-byte-aligned offsets of parameters. Their out-of-tree checker listed exactly the 10 split-K arguments on the faulting package and only W4A8 MoE constants on the chunk-4096 package. The exact 8-byte-alignment suggestion the current review's blocking item asks for came originally from the reporter here.
Third comment (2026-11-11 16:12): with the local capture fix, 0 arguments point outside recorded allocations on all four ranks; previously failing prompts serve; long-prefill throughput +18%/+26%. Fourth comment (2026-11-13 18:39, original-el8): prioritized P1; "the next step is a focused lifetime fix and regression covering the first captured graph, plus export-time detection where pointer provenance can be established without misclassifying numeric kernel parameters."
So #332 is the export-time detection half of a two-part response to #266; the lifetime half is #331 (merged 2026-11-20). Note the export-time half is explicitly a diagnostic, not the fix — the reporter's own script produced exactly 10 hits, whereas the author's export prints 175k/170k occurrences / ~2.6k distinct addresses, i.e. about three orders of magnitude more noise than #266's checker saw.
#4 [high] Related work: main has moved under this PR — #431 and #507 rewrote the same reachability.rs areas
Branch point of #332 is f9aec99 (2026-11-17). Four main-branch commits since then touch its files (per orientation packet, verified via search_history on main):
- 052fbdf5 (#431, original-el8, merged 2026-11-24) "Add Heliopause and Ignition PersistentWorker export binding and reachability": +113 to heliopause/src/export/reachability.rs, +1/-9 to capture.rs. It adds
Reachability::execution()(reachability.rs:87-106 on main: retainsexecution.buffersandpersistent_workers[*].stop_flag/.metrics), two persistent-worker tests, and removes ~9 lines in capture.rs by callingreach.execution(&execution)instead of the in-line buffer loop that #332 still has at capture.rs:3075-3086. Verified: at pr/332 head there is noexecution/persistent_workersin heliopause/src (search returns nothing), while main has it. So #332's branch is behind on this refactor and its rewrite ofblob/scan/graphmust be reconciled with #431's new method and tests. - f646bebc (#507, lukealonso, merged 2026-11-25) also modifies reachability.rs (+5): retains
worker.metricsallocations. - 040f39ff (#498, FujitsuPolycom, merged 2026-11-24) +259/-16 in capture.rs (D2H tail fence in the Downloader) — the diagnostic block from #332 sits at capture.rs:3137-3141, immediately before the module/global download phase that #498 rewrote; line drift is likely but semantics don't collide.
- 716df00f (#504, yatesdr, merged 2026-11-25) touches capture.rs (KV compression export). The reviewer's own check reported the branch merged into main d8fd1431 (2026-11-19) passing 206/4 tests, but that predates #431/#507/#498/#504. At head c3cc87e there is "no checks" on CI (orientation packet), so the merged-into-current-main state is unverified since 2026-11-19.
Other related: #314 (open, schopde-nvidia) touches capture.rs (+9) for diffusion tensor execution — no overlap with reachability reporting. #517 (open, jcartu) is a different Xid-31 class (_checkpoint_pages / continuation rows) and explicitly says "#266 concerns a cuBLAS workspace failure at first graph selection, unlike this delayed MMU fault"; it does not use this diagnostic. #395 (open, mark-yong) is the CUDAGraph.reset workspace-lifetime sibling issue; unrelated to export scanning but part of the same author's #266 follow-up series.
#5 [high] Change: description vs code — what the diff does that the text omits
Verified at head c3cc87e, PR description vs code:
Covered by the description: gap candidates, inactive-range candidates, non-retention, non-failure, per-rank occurrence/distinct counts, up to ten distinct addresses with first graph/node/symbol/module/argument/offset, omitted-occurrence count, one address→first-site/count map, symbol resolution from the recorded function index, numeric exclusions unchanged, allocation-content scans unchanged (contents()/opaque_contents() pass None for misses, reachability.rs:367-380).
Not stated in the description:
- No 8-byte alignment filter.
scanenumerates every byte offset (for (offset, bytes) in data.windows(8).enumerate(), reachability.rs:259). Consequence: each stale pointer is counted at up to 8 window positions and unaligned straddling windows (parts of two adjacent parameters) are reported as candidates. The author's own first printed example is one: "argument 0, offset 4, 0x100000000800" (PR comment 2026-11-19 21:02) — offset 4 of an argument, which cannot be a pointer field. - "Occurrences" means byte-window hits, not call sites:
unresolved_count()sums per-address occurrences (reachability.rs:190-195), so 175,329 occurrences / 2,646 distinct on rank 0 is a byte-window count, which makes the headline number hard to map onto "10 stale arguments" from #266. - Output is raw
eprintln!to stderr, not the progress/status system (capture.rs:3137-3141). It prints on every rank (each rank prints its own line, since capture_rank runs per rank; progress output is rank-0-only at capture.rs:2774). It runs before module/global capture, so a later export error still leaves the report on stderr and a clean exit prints nothing at all. - Scope limit: candidates are only recorded for kernel-argument blobs (blob()), never for allocation contents or module globals (
scan(..., None)), so a stale address embedded in non-kernel storage is not reported. The description says this indirectly ("kernel-argument values") but the limitation is not spelled out. - Excluded by construction: values outside [lowest allocation, highest allocation end) are not candidates at all (scan's floor/ceiling test), so a stale pointer above the top recorded allocation is silently dropped. The description says "values outside the recorded envelope ... are not detected" in Limitations — consistent.
- Nothing is written into the core, the index, or a log artifact; nothing an operator can inspect after the fact. There is no strict/fail mode (the reporter's original suggestion offered "or fail the export with a list";
validate_allocationsremains the only failure path).
Said but not done in the description: nothing found. The description is careful to downgrade its claims ("non-blocking diagnostic ... not proof that every graph argument has a live owner"; "These are counts across the entire graph scan, not counts attributed to W4A8 kernels").
#6 [high] Claims and evidence: what is verified, what rests on the author alone
Claims in #332 and what backs them:
CLAIM 1: "cargo test --locked --manifest-path heliopause/Cargo.toml --lib: 205 passed, 4 ignored."
Evidence: reviewer independently ran CPU-only cargo test --manifest-path heliopause/Cargo.toml --lib at 499710e9 and at that head merged into main d8fd1431: "206 passed, 4 ignored, both" (review 2026-11-19 15:56). Note the count differs by one (205 vs 206) — main gained a test in between; consistent with rebasing. 205/4 is also the number #431 reports for main (heliopause lib, CPU-only), so the counts are plausible and mutually consistent. No CI runs on the head commit (orientation packet: "no checks"), and heliopause has no CI job at all (grep of .github/workflows: heliopause is never built or tested in CI — native-serving.yml covers eos/selene/selene-manager/helios/flare-cli/flare only). So the heliopause test result rests entirely on the author's and the reviewer's local runs.
Verified by me: the 10 new tests exist (reachability.rs:733, 751, 773, 793, 810, 845, 873, 879, 903, 919) plus one renamed (929). They cover: gap candidate with site context; cap of examples with occurrence counting; offset counted from the argument start; one example per address across two graphs; symbol/module lookup from the function index (with a decoy function at index 1); bounded examples + hidden count; empty report; boundary values; inactive ranges reported while numeric ranges stay lenient; allocation contents tolerating gap candidates without reporting; freed-interval boundaries reporting without retaining. They use only 8-byte-aligned test values and never exercise an unaligned/straddling window, so the reviewer's blocking item has no failing test.
CLAIM 2: the SM120 two-GPU export of local-inference-lab/DeepSeek-V4-Flash-Vision-Exp-lossless-CSF completed with the diagnostic enabled; ranks 0/1 reported 175,329 / 170,544 occurrences and 2,646 / 2,637 distinct addresses; all ten examples per rank were b12x mHC Cutlass kernels, starting MHCPostPrePartialKernel in prefill4096 node 34 twice (module-13 on rank 0, module-6 on rank 1), argument 0, offset 4, addresses 0x100000000800 and 0x100000000900.
Evidence: author's comment 2026-11-19 21:02 and the PR description table. The reviewer accepted the numbers ("Thanks for the export numbers; they answer the first item of the last round", 2026-11-20). Nothing independent: not reproduced by the reviewer, not by any third party. The addresses 0x100000000800 / 0x100000000900 are unaligned-offset artifacts and sit at the very start of the recorded envelope — that is, they are examples of the scan's byte-window noise, which is why the reviewer asked for the offset-4 case to be filtered.
Gap the description admits: it does not reproduce #266's four-GPU DeepSeek V4.1 failure, cannot (author has three RTX PRO 6000), and no W4A8 MoE kernel appears among the printed examples, so the "W4A8 constants are noise" premise on which the non-failing design rests remains unverified by this PR.
CLAIM 3: "The recipe configures its MXFP4 experts with A8 activations (load_mxfp4_experts)". Verified only from the description; not checkable from this repository (recipes live in local-inference-lab/hyperflare-recipes per #431's description).
CLAIM 4 (implicit): "It does not retain the inactive allocation or turn these candidates into export failures." Verified in code: candidate() returns early for inactive without reference() (reachability.rs:131-145); nothing returns Err for a candidate.
CLAIM 5 (implicit): "Numeric exclusions and allocation-content scanning retain their existing behavior." Verified: blob() still subtracts merged numeric ranges before scanning (reachability.rs:152-165); contents()/opaque_contents() pass None misses and so report nothing (reachability.rs:367-380). One behavior change: blobs moved from HashSet to HashMap and is now used to memoize misses; identical argument bytes in a later graph replay the cached misses and increment the same address's occurrence count (test shared_argument_bytes_record_one_example_per_address at :793). So occurrence counts include repeats across graphs, which is intended but means the number is not "distinct call sites".
#11 [high] Research summary
Case file for PR #332 is complete: every angle in the brief was looked into and recorded on the scratchpad (10 entries, 5 of them high importance).
What it is. A +434/−30, two-file Heliopause change (reachability.rs, capture.rs) that turns the export reachability scan's silent dropping of address-shaped kernel-argument values into a per-rank stderr diagnostic: total occurrences and distinct addresses, up to ten distinct addresses with first graph/node/recorded-kernel symbol/module/argument/byte offset, and a hidden-occurrence count. Nothing is retained, nothing fails; it is the detection half of the response to #266 (the lifetime half is #331, merged 2026-11-20 by the same author).
Highest-value findings for a reader.
- Head c3cc87e is still CHANGES_REQUESTED on its third review round, with one blocking item: the scan still steps one byte at a time (
data.windows(8).enumerate(), reachability.rs:259), so the report records unaligned windows — the author's own first example is "argument 0, offset 4". The other three items (state the inactive rule once, a straddle test, reconcile commit message/description) are likewise unimplemented at head. The branch has not moved since 2026-11-20. - The validation is thin where it matters: no CI covers heliopause at all (no workflow builds that crate), the export evidence (175,329/170,544 occurrences; 2,646/2,637 distinct addresses; all ten examples b12x mHC
MHCPostPrePartialKernel) is author-only and was not reproduced by anyone, no W4A8 MoE kernel appears among the examples, and #266's four-GPU DeepSeek V4.1 failure is not reproduced (author has three GPUs). #266's own out-of-tree checker found exactly 10 hits, three orders of magnitude less than this report's ~2,600 — the gap is the alignment noise. - Related work collides: main has moved under the branch. #431 (merged 2026-11-24) added
Reachability::execution()and refactored exactly the capture.rs block #332 still carries, and #507 (merged 2026-11-25) added metrics retention in the same file; #498 rewrote the downloader immediately after #332's new print block. The reviewer's merge-into-main check dates from main d8fd1431 (2026-11-19), before all four. - Nothing is documented: docs/runtime-core-design.md:136-156 describes the scan behavior being instrumented, but no doc and no docs/TODO.txt entry mentions the new line or the pending W4A8/V4.1 verification the charter and AGENTS.md:56-58 ask to be tracked.
- Description-vs-code: the text understates the noise mechanism (no alignment filter; "occurrences" are byte-window hits, not call sites) and omits that the report is raw
eprintln!on every rank, only for kernel-argument blobs, unordered with the rest of the export, and never persisted. Nothing the description claims is absent from the code.
No sign of prompt injection or attempted instruction in the PR, issue, or review text. The one process irregularity is minor and already raised by the reviewer: earlier heads lacked the DCO Signed-off-by CONTRIBUTING.md:7-11 requires (fixed by round two).
#15 [high] Amendments: #332 rebased to 1ac7073d (2026-11-28) — alignment filter, docs, TODO added; description stale; granule item declined
PR #332 head moved c3cc87e -> 1ac7073d ("fix: report aligned unresolved kernel argument addresses during export", 2026-11-26, posted 2026-11-28 19:09) rebased onto nvidia/main c9935887. Scope now +599/−37 in 4 files: heliopause/src/export/reachability.rs (+579/−34), capture.rs (+6/−1), docs/runtime-core-design.md (+8/−2), docs/TODO.txt (+6/−0).
IMPLEMENTED (verified in pr/332 files):
- 8-byte alignment filter, reporting push only: reachability.rs:294-303
if pointer >= floor && pointer < ceiling && !self.candidate(pointer)? && let Some(misses)=misses.as_deref_mut() && (base+offset).is_multiple_of(8). Retention loop still enumerates every byte (test unaligned_pointer_across_chunks_retains_target, :513). Exactly what yatesdr/autobot asked for. Prior blocker now resolved. - Single rule:
candidate()reachability.rs:153-170 returns bool; inactive -> Ok(false) (no retention), live -> reference + true, gap -> false. Duplicatein_free_blockgone (no match in file). Autobot's warning about deleting it is moot. - Report formatting: summary now "resolve to no active recorded allocation (gap or inactive range)" (:236-246); per-address occurrence counts (:253-262); hidden line only when >10 distinct (:264-279) with exact distinct + occurrence sums; new tests :877-993.
- New straddle regression test: unaligned_straddling_window_is_not_reported_while_aligned_stale_pointer_is (reachability.rs:1046-1069) — straddle 0x1000_0000_0800 not reported, aligned stale 0x1800_0000_0000 at offset 16 reported.
- DOCS: new text at docs/runtime-core-design.md:151-157 (aligned argument values in gap/inactive reported per rank, non-blocking) and :336-341 (each rank writes bounded stderr summary). TODO entry appended at docs/TODO.txt:350-354 (measure on 4-GPU DeepSeek V4.1 #266 and 8-GPU W4A8 MoE). Prior "nothing documented" finding is obsolete.
- #431 content present on branch: reachability.rs:122-138
execution()+ persistent_workers stop_flag/metrics; capture.rs:3165-3169 calls it. Prior "no execution method -> cannot be green against main" obsolete.
STILL OPEN / NEW FINDINGS:
- Granule-trimmed inactive range (autobot blocker 2) NOT changed: capture.rs:3164 still passes raw
&request.inactive; author argues trimming inward would let pointers into freed sub-granule blocks retain the segment and drop from the report. Summary wording changed instead. No non-granule-aligned test added — test kernel_argument_inactive_ranges_are_reported...:1020-1032 uses (0x3000,0x3100), 256-granule aligned. So the requested test is still missing. - Description NOT updated despite the author's claim (comment item 7). read_item at head still shows Validation "205 passed, 4 ignored" and the old unaligned table 175,329/2,646 and 170,544/2,637, plus "the printed diagnostic does not identify any W4A8 MoE kernel". The comment reports 221 passed/5 ignored and aligned counts 22,618/762 and 19,417/832. Description/commit/comment now disagree — a regression of round-1 item 7.
load_mxfp4_expertsno longer exists in this repo (search ignition/components: no match; moved to hyperflare-recipes) so that description sentence cites unreachable code.- Noise still 76-83x #266's 10: 762/832 distinct, 22,618/19,417 occurrences. All 20 printed examples remain b12x CUTLASS mHC/DenseGemm; none is cuBLASLt splitKreduce and none W4A8 MoE. Values like 0x7cb800000004, 0xfff00000fff, 0x3fff000003ff, 0x100000001000 are clearly numeric constants with repeated halves — alignment alone does not separate constants from stale pointers. Author offers per-kernel-symbol grouping as a follow-up.
- Validation evidence:
cargo test --locked --manifest-path heliopause/Cargo.toml --lib(debug, no --release), 221 passed/5 CUDA tests ignored, 26/26 in export::reachability::tests; x86_64 host without CUDA; no clippy, no export from a CI. docs/design-review.md:180-184 (testing hierarchy, added by d7031b37 2026-11-27) now namesheliopauseandcargo test --locked --releaseas a mandatory layer, so the debug-only run falls short of a now-explicit standard. No workflow covers heliopause: .github/workflows/native-serving.yml tests eos, selene, selene-manager, helios, flare-cli, flare only; workflows are helios-lifecycle.yml, native-serving.yml, release.yml. - Review state: yatesdr's CHANGES_REQUESTED of 2026-11-20 is the latest human verdict and now stale; no human re-review of 1ac7073d, no approval. Only flare-autobot (2026-11-26 00:06) and the author's 2026-11-28 reply are newer. Single reviewer still. calvarado2004 / FujitsuPolycom still absent.
- Collision surface widened: docs/TODO.txt and docs/runtime-core-design.md are now also touched, not just the two source files. main moved again through 2026-11-28 (9375d679 gb206 #502, 19c098c8 #506 appends TODO at :271-275, 2bdc8472, a54a8b8a, 70e0f4a8, 1364062c, d3d0e783 #212...). docs/TODO.txt entries are appended at the end (:350-354), so textual conflict risk there is low but non-zero.
#17 [high] Research summary
Amendments recorded as scratchpad entries #15 (new facts at head 1ac7073d) and #16 (which previous notes they supersede).
Substance: the PR moved for the first time since 2026-11-20 — rebased onto main c9935887 as commit 1ac7073d, now +599/−37 across 4 files (reachability.rs, capture.rs, docs/runtime-core-design.md, docs/TODO.txt). My previous report's central finding — the blocking alignment item is unimplemented, so the report counts straddling byte windows — is now obsolete: scan filters the reporting push with (base + offset).is_multiple_of(8) while retention still scans every byte, candidate() is now the single live/inactive/gap rule, a straddling-window regression test exists, the summary/omitted-count wording is fixed, and the diagnostic is documented in runtime-core-design.md with a matching docs/TODO.txt follow-up entry. The #431 execution() overlap is also integrated, so "cannot be green against main" no longer holds.
What remains and is new: the PR description was not updated despite the author claiming it was (it still shows 205 passed/4 ignored and the superseded unaligned 175,329/2,646 and 170,544/2,637 counts against the comment's 221/5 and 22,618/762, 19,417/832), and it still cites load_mxfp4_experts, which no longer exists in this repository. The granule-trimmed inactive-range blocker was explicitly declined with a written rationale rather than fixed, and no non-granule-aligned test was added. Alignment cut noise by ~8x but leaves 762/832 distinct addresses — 76–83× #266's ten — with all twenty printed examples still numeric-looking CUTLASS constants, so the signal-to-noise concern stands in weaker form. Validation is still author-only on a two-GPU export, in debug mode, on a host without CUDA; the new testing hierarchy in docs/design-review.md:180-184 now names heliopause and cargo test --locked --release as mandatory, and no workflow covers the crate. The head has no human re-review; yatesdr's 2026-11-20 CHANGES_REQUESTED is the latest verdict and predates it.
#18 [high] Amendment: disposition table for the 2026-11-26 autobot review at 1ac7073d
Disposition of every item in flare-autobot's 2026-11-26 00:06 review at new head 1ac7073d (verified in pr/332 files unless noted):
BLOCKERS
- "Report counts byte windows, not argument values" -> FIXED. reachability.rs:294-303 filters reporting on
(base + offset).is_multiple_of(8); loop stilldata.windows(8).enumerate()for retention, as instructed. Rerun counts posted (below). - "Inactive ranges are raw while live intervals are granule-trimmed" -> DECLINED, not fixed. capture.rs:3164 still
Reachability::new(&allocations, &request.numeric, &request.inactive, &roots). Author's stated reason: trimminginactiveinward to granule boundaries (live_pieces, capture.rs:1259-1303, granule = allocation.alignment, applied capture.rs:1473-1486) would let a pointer into a freed sub-granule block inside a retained segment retain the segment and vanish from the report; instead the summary wording now names "gap or inactive range" (reachability.rs:236-246). No non-granule-aligned test added; the inactive test uses a 256-byte-aligned (0x3000,0x3100) range. - "No regression test for the straddling window" -> FIXED.
unaligned_straddling_window_is_not_reported_while_aligned_stale_pointer_is, reachability.rs:1046-1069 (straddle 0x1000_0000_0800 suppressed, aligned stale 0x1800_0000_0000 at offset 16 reported).
SHOULD FIX
4. "State the inactive rule once" (single Retained/Inactive/Unallocated classifier) -> PARTIALLY fixed: in_free_block is gone and candidate() returns bool (reachability.rs:153-170), but it is still a bool rather than a three-way classifier; autobot's warning that deleting the second lookup alone would silently stop inactive reporting was heeded (inactive now returns Ok(false) from candidate, so scan's single lookup drives both).
5. "Fix the printed summary line and the hidden-count units" -> FIXED (wording at :236-246; hidden line only when >10 distinct at :264-279 with exact distinct-address and occurrence sums; four tests at :877-993).
6. "Scope the posted evidence, repair one sentence, reconcile the commit message" -> PARTIALLY: commit + 2026-11-28 comment are reconciled (aligned counts, no W4A8 claim); the PR DESCRIPTION is still the old text (read_item shows 205 passed/4 ignored, 175,329/2,646 and 170,544/2,637, and the "no W4A8 MoE kernel" sentence, which cites load_mxfp4_experts — no longer present in this repo; ignition/components/ has no match, recipes moved to local-inference-lab/hyperflare-recipes).
7. "Document the new per-rank stderr line + add pending 4-GPU/W4A8 verification to docs/TODO.txt" -> FIXED. docs/runtime-core-design.md:151-157 and :336-341; docs/TODO.txt:350-354.
8. "8 nits" -> not individually re-checked; the nit list itself was not enumerated in the review text, so no disposition can be given.
ALIGNED RERUN (author, 2026-11-28): rank 0 22,618 occurrences / 762 distinct (752 / 14,776 omitted); rank 1 19,417 / 832 (822 / 13,614). Was 175,329/2,646 and 170,544/2,637 unaligned. All 20 printed examples are b12x CUTLASS MHCFinalizeGramKernel / MHCPostPrePrefillGramKernel / DenseGemmKernel; values such as 0x7cb800000004 (1286x), 0xfff00000fff (1395x), 0x3fff000003ff (860x), 0x100000001000 (4x) are repeated-half numeric constants, not cuBLASLt splitKreduce addresses. Run: 2x RTX PRO 6000 Blackwell Max-Q, DeepSeek-V4-Flash-Vision-Exp-lossless-CSF 45fd9976, driver 615.71.09, torch 2.14.1+cu132, FlashInfer 0.7.3 5d2a7107, hyperflare-recipes d1376bb, --gpus 0,1 --max-concurrency 1 --image-concurrency 1 --no-mtp --prefill-chunk-size 4096 --autotune-effort off --compile-workers 4. Not TP4, not four GPUs, not the #266 recipe.
#7 [medium] People: mark-yong's #266 series; yatesdr the only reviewer; Luke Alonso / original-el8 own this file
mark-yong (GitHub association CONTRIBUTOR; Discord myong_acct, stated in #332's description and #395's). History (last 180 days per orientation packet: 9 merged, 18 closed, 3 open). Recent merged work: #331 "Isolate cuBLAS warmup workspaces from CUDA graph capture" (merged 2026-11-20, Refs #266, 9 files, +322/-8 in ignition/preparation/capture.py and tests) — the lifetime fix for the same issue #332 references; #185 (Ignore unreferenced Inductor kernels in static launcher bundles), #179, #170, #102, #94, #83, #67. Areas their merged PRs touched: helios/src (7), docs (5), tests/preparation (3), ignition/preparation (2), helios (1). Open: #395 (CUDAGraph.reset frees the shared workspace), #332 (this PR), and one more. Pattern: the author works the #266 family — #331 closes the capture-side cause, #395 records a residual lifetime constraint, #332 adds the export-side diagnostic. Across GitHub commits on main they are an infrequent committer (8 commits found by search_history text "Mark Yong", latest 9d1e0137 2026-11-11), i.e. essentially all of this author's recent code is the #266/#331/#332 series.
Who usually works in heliopause/src: per orientation packet, last 180 days commits — Luke Alonso (55), Martin Vit (10), Jason Cook (5). yatesdr is the reviewer here and also a main-branch committer (recently #504, plus many PR merges); yatesdr is not in the heliopause/src top-3 list but did the deep line-level review. Luke Alonso (lukealonso, COLLABORATOR) owns the export/reachability design (commits: "Move runtime package export and publication into Heliopause" 14a6a273, "Restore reachability pruning" etc.) and is the project owner named in AGENTS.md priority-contributor list. Jason Cook (original-el8) wrote #431 which added Reachability::execution to the same file.
Who has engaged on #332: only yatesdr (3 review rounds, all CHANGES_REQUESTED->now still CHANGES_REQUESTED) and the author. No other reviewer, no third-party validation, no reaction/emoji, and — unlike #314, #498, #526 where flare-autobot opens a case file and posts an Autobot review — no Autobot review or case file appears on #332 (its last update 2026-11-20 predates the autobot rollout visible on PRs from 2026-11-24/25). calvarado2004 (the reporter of #266 who requested this exact check) has not commented on #332.
#8 [medium] Process: ready-for-review but CHANGES_REQUESTED with 4 open items; no CI covers heliopause
Process facts:
- Open, marked "ready for review", opened 2026-11-18 10:25, last updated 2026-11-20 04:34 (5 days before the packet was computed). Head c3cc87e. Branch fix/reject-unresolved-graph-args (branch name still says "reject", while the change deliberately does not reject — the intent changed over the review rounds).
- Review state: CHANGES_REQUESTED by yatesdr, three rounds (2026-11-18, 2026-11-19 15:56, 2026-11-20 04:34). The third round has one blocking item (8-byte-aligned offsets only) plus three smaller ones (state the inactive rule once; add a straddle test; reconcile commit message/description). None of the four is implemented at c3cc87e (no alignment filter,
in_free_blockstill duplicated inscan, no straddle test, commit message body unverified but the description already has the export). - CI: "no checks" on the head commit; heliopause is not built by any workflow (.github/workflows only covers eos, selene, selene-manager, helios, flare-cli, flare and Kani for helios), so no required check exists for this crate either way.
- CONTRIBUTING.md:7-11 requires Signed-off-by on every commit ("Any contribution which contains commits that are not Signed-Off will not be accepted"). Earlier heads lacked it (reviewer round 1, item 5, f065ef1f); the reviewer confirmed it fixed by round 2.
- AGENTS.md requires PR descriptions to answer why / what changed / claimed result / evidence in order (AGENTS.md:67-107) and to keep material limitations visible; #332 has Request/Change/Validation/Limitations, in that spirit. AGENTS.md:56-58 says unrun checks and pending measurements go to docs/TODO.txt, not design docs — nothing about this diagnostic or the unverified W4A8 DeepSeek V4.1 export appears in docs/TODO.txt on main (grep for pointer/workspace/#266/scan returns nothing), which is arguably a durable-tracking gap of the same kind flare-autobot flagged on #498 ("No docs/TODO.txt entry for the deferred sibling paths or the unrun control").
- .githooks/commit-msg requires a
Design-Signed-Off-By: <name>; design-review=<hash>trailer from docs/design-review.md; unverifiable from the PR view (commit message body not readable here). - Age: 7 days at packet time; the sibling #331 took 2 days from open to merge after 5 review rounds; #332 has had no push for 5 days since the last round.
#9 [medium] Project fit: charter demands evidence and TODO tracking; runtime-core-design.md documents the scan being added to
Charter (read_charter) relevant lines:
- "Bring real evidence. ... Bug fixes need to address the root cause; don't just swallow, skip, or retry an unexplained error (#397)." #332 does not address the root cause (that is #331, merged); it adds a non-failing diagnostic. It does not suppress an error either, but a report that prints and continues is a warning path, and its noise (175k occurrences / ~2,640 distinct) is exactly the "can show only noise" the reviewer objected to.
- "What gets merged: PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs." #332 addresses a reproducible bug's detection half, requested in #266 by the reporter and prioritized P1 by original-el8 ("plus export-time detection where pointer provenance can be established without misclassifying numeric kernel parameters").
- AGENTS.md:137-151 (Contribution scope): "Every contribution must address an explicit maintainer request, a demonstrated defect, a measured performance or memory problem, or inaccurate documentation." Satisfied via #266.
- AGENTS.md "Reject weakened guarantees ... Do not remove validation, suppress errors" — #332 keeps retention exactly as before and adds no failures, so it neither strengthens nor weakens the guarantee; it is purely additive reporting.
- AGENTS.md "Require focused, meaningful validation. Tests must exercise the affected behavior or contract" — the new tests are unit tests over Reachability, which is the affected behavior; but the discriminating property (only pointer-shaped offsets, i.e. aligned, are reported) is untested, and no end-to-end check on the known-bad #266 package exists (author cannot reproduce it; 3 GPUs vs 4 required).
- AGENTS.md:56-58: unresolved defects and pending measurements belong in docs/TODO.txt; the unverified DeepSeek V4.1/W4A8 export verification is exactly such a pending measurement and is not recorded there.
- Roadmap/vision: nothing about export diagnostics; project is "focused research prototype" for SM120/SM121/DGX Spark. The diagnostic targets those platforms (SM120 export, SM121 #266 report), so it lines up with the supported hardware matrix. Docs: docs/runtime-core-design.md:136-156 documents the existing contract this change sits inside — "Inactive blocks and the padding between a live block's requested size and its allocator-rounded size are cleared and excluded from payload reads. Their stale contents cannot retain other allocations, and stale address candidates cannot retain those unused bytes' backing segments" and "Untyped structs, tensor maps, globals ... are scanned for address candidates. This can retain false positives". So the design doc already frames inactive/gap candidates as knowingly dropped; #332 adds reporting on top without changing that documented contract. No doc in this PR is updated to describe the new stderr diagnostic line (docs mention no export diagnostics), which is itself a documentation gap a reader could expect: docs/runtime-core-design.md is the documented home of this behavior. helios/manifest.md / helios/model-contract.md unchanged — no core-format or compatibility surface is touched (confirmed: diff is 2 files, both heliopause, no proto/wire changes).
#10 [medium] Reach: export-time stderr only; no format/ABI/config/docs surface changes
Who/what is affected:
- Exporters/operators running
ignition exporton SM120/SM121/DGX Spark: they get new stderr lines during the "Serialize CUDA graphs" phase. No flags, no config, no env var, no fail mode, no opt-out: it cannot be disabled, and on a real export it currently prints ~2,640 distinct addresses' worth of counts and 10 examples per rank (only the summary + 10 + a "… N more occurrences not shown" line, so bounded output size — 12 lines per rank max plus others' ranks; not a log flood, but every rank prints). - No change to the core format, wire Protobuf, manifest, or serving; no re-export or re-signing needed for existing cores. Serving/runtime (helios) untouched. No dependency changes (Cargo.toml/Cargo.lock untouched; only std collections already imported).
- Correctness risk to the export itself:
blob()now memoizes misses per (bytes, numeric) key, which means the same argument bytes appearing in many nodes/graphs are scanned once and re-counted — the retention decision (reference()calls) is unchanged, so export output cannot change. The additional memory held is one Vec<(usize,u64)> per distinct (bytes,numeric) pair plus one entry per distinct candidate address (~2.6k entries/rank in the measured export) — negligible against an export that scans 1.08 GiB. - Documentation/deployment: nothing in docs/ or docs/TODO.txt describes the new line or its meaning ("kernel argument scan: N occurrences and M distinct addresses fall inside the recorded address envelope ..."), so an operator seeing it has no in-repo explanation; the only explanation is the PR text.
- The people who would act on it (#266's reporter, who wrote their own scanner, and anyone exporting DeepSeek V4.1 on 4+ GPUs) are the intended audience, but per the description the diagnostic has not yet been shown to fire on the actual stale pointers it targets.
- Compatibility: none of the "existing cores still load" obligations are touched; no Protobuf fields added (contrast #507/#431, which did add fields to runtime_core.proto and required additive-default care).
#12 [medium] Recent activity: heliopause/src moved four times under this PR, all after its last push
Branch point f9aec99 (2026-11-17, Luke Alonso "Keep one tuning compiler worker below estimated RAM allowance"). The author's last push (c3cc87e) is 2026-11-20; every main-branch commit that touched its files landed after that:
- 040f39ff 2026-11-24 PCCessna — #498 "Flush PCIe D2H tails before export completion in Heliopause" (+259/-16 in capture.rs). Rewrote the Downloader/module-global/weight download paths that begin at capture.rs:3142, immediately after #332's new print block (3137-3141). Line drift and a semantic neighbour (both add stderr/error detail to the same export phase), but no logical conflict.
- 052fbdf5 2026-11-24 Jason Cook (original-el8) — #431 "Heliopause and Ignition PersistentWorker export binding and reachability" (+113 reachability.rs, +1/-9 capture.rs). Adds
Reachability::execution(), whose two tests sit in the samemod testsblock #332 extends, and deletes the inline execution-buffer loop (#332 still has it at capture.rs:3075-3086). This is a real merge conflict plus a semantic one: #332's rewrittenblob/scan/graphsignatures must be reconciled with a fifth caller shape. Verified: pr/332 head has noexecutionmethod at all, so the branch cannot be green-shaped against current main. - f646bebc 2026-11-24 Luke Alonso — #507 (+5 reachability.rs,
worker.metricsretention). - 716df00f 2026-11-25 yatesdr — #504 "selene, selene-manager, helios, ignition, heliopause: add pure-CUDA GPU and CPU lossless KV compression" (capture.rs touched). Direction of fit: #332 builds on the file's existing design (reachability pruning, typed numeric spans) and reverses nothing; it is additive reporting. The tension is sequencing, not intent: it was authored against a file that has since been refactored twice by original-el8 and lukealonso, and its reviewer's merge test predates those commits. Also relevant historically: 3919c1db (2026-11-11, Luke Alonso) "Retain CUDA graph resources throughout core export" and b455be5e/0f0b7626 (2026-11-09) restructured native export, i.e. lukealonso has repeatedly owned this exact code path — a reader should expect his review to matter here even though he has not commented on #332.
#13 [medium] Community: one reviewer, three rounds, no third-party interest on #332
Discussion on #332 has exactly four entries: three reviews by yatesdr (2026-11-18 22:40, 2026-11-19 15:56, 2026-11-20 04:34 — all CHANGES_REQUESTED) and one author reply (2026-11-19 21:02) carrying the export numbers. No approvals, no reactions, no inline comments shown as separate threads beyond the review bodies, no autobot case file or autobot review (unlike #314, #498, #524/#525/#526, where flare-autobot opened a case file and posted a review — those all date from 2026-11-24/25, after #332's last update).
Notably silent: calvarado2004, the reporter of #266 who asked for exactly this export-time check and wrote their own scanner ("We can share the script if it is useful", #266 comment 2026-11-11 15:28) — they have not commented on #332, so the one person who could confirm the diagnostic catches the 10 known arguments has not. original-el8 prioritized #266 P1 and specified "export-time detection where pointer provenance can be established without misclassifying numeric kernel parameters" (2026-11-13) but has not reviewed. FujitsuPolycom, who independently validated #331 with a four-GB10 DeepSeek V4.1 export and its own pointer scan (86d679d5/#331 comment 2026-11-19 04:57: "864 unaligned byte-window matches and one aligned match per rank in a CUTLASS parameter of the vision1152 graph"), is the natural third-party validator for #332 and has not appeared here — that comment is the closest existing evidence about noise magnitudes on a real export other than the author's.
Interest level: low-to-moderate. The sibling #331 drew 12 discussion entries, three reviewers and an independent GB10 validation; #332 drew 4 entries and one reviewer, and stalled 5 days after the last round.
#16 [medium] Amendment map: which previous notes are superseded
Checklist of prior notes now needing amendment (report of 2026-11-25, run 918, scratchpad #14):
- Note #1 (what the diff does / undeclared behavior): diff size is now +599/−37 in 4 files; two versions of the "no alignment filter" and "no docs" items are obsolete. Behavior to describe now: aligned-only reporting (offset divisible by 8), single candidate() rule, bounded report with per-address counts, docs/TODO added.
- Note #2 (review state): "third blocking item unimplemented at c3cc87e" and "branch has not moved since 2026-11-20" are obsolete. Head is 1ac7073d (2026-11-26 push, 2026-11-28 comment). Blocking item 1 (alignment) is implemented; item 2 (one rule) is implemented; item 3 (test) is implemented; autobot blocker 2 (granule-trimmed inactive) is explicitly declined with a written rationale; autobot should-fix "document + TODO" is implemented; autobot should-fix "commit/description reconcile" is implemented in the commit and comment but NOT in the PR description, which read_item shows unchanged (still 205/4 and 175,329/2,646).
- Note #3 (#266 request): unchanged; note that "optionally narrow the scan to 8-byte-aligned offsets" in calvarado2004's 2026-11-11 15:28 comment is now the implemented rule.
- Note #4 (related work / conflicts): #431 items are now present on the branch (execution() at reachability.rs:122-138, call at capture.rs:3165-3169), so the "real conflict / will not merge cleanly" claim must be softened to "rebased; #431 content now integrated". New merged files in the diff: docs/TODO.txt, docs/runtime-core-design.md.
- Note #5 (description vs code): items 1 (no alignment filter) and 6 (nothing documented) are obsolete; add the new gap that the description still carries the unaligned counts and the "205 passed" figure that the author's own comment supersedes, and the
load_mxfp4_expertsreference that no longer exists in this repository (moved to hyperflare-recipes). - Note #6 (claims vs evidence): newer evidence: 221 passed/0 failed/5 ignored at 1ac7073d, debug build, x86_64 no-CUDA host, 26/26 reachability tests; aligned export rerun on 2 RTX PRO 6000 (not 4-GPU, not TP4, not cuBLASLt). Still no export on hardware that reproduces #266.
- Note #8 (process/CI): no CI for heliopause still true, but docs/design-review.md:180-184 (new, d7031b37 2026-11-27) makes
cargo test --locked --releaseon heliopause a named mandatory layer, so the author's debug-mode run is now short of a documented requirement rather than merely unstated. - Note #10 (reach): unchanged plus docs/runtime-core-design.md and docs/TODO.txt are now edited, so the "no docs surface" statement needs correcting.
- Note #12 (recent activity): main has moved further (through 2026-11-28); list only the adjacent additions: 19c098c8 #506 appends docs/TODO.txt entries and docs/runtime-core-design.md edit 716df00f; 9375d679 #502 gb206.
- Note #13 (community): unchanged in substance; add that the newest human verdict is 8 days old and pre-dates the head, and that autobot's 2026-11-26 review is now fully answered except the granule item.