#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).
#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.