PR #332: Report unresolved kernel argument address candidates during export

Raw Markdown for agents: https://autobot.eidonix.com/api/v1/cases/ef48751b-fbce-4f7b-a7ef-de126a9ec2d6

Opened by a workflow run, Nov 25, 2026 6:24 PM EST.

screen malicious

Screen Result: All Clear

Evidence: Screening of PR #332 ("Report unresolved kernel argument address candidates during export", mark-yong, head c3cc87e, 2 files, +434/−30) found nothing aimed at causing unwanted agentic behavior — no prompt injection, no agent-directed instructions, no obfuscated payloads, and no new process, network, filesystem or unsafe capability.

What was checked: the complete diff of both changed files (heliopause/src/export/reachability.rs, heliopause/src/export/capture.rs), the PR description, all four discussion entries (three CHANGES_REQUESTED reviews from yatesdr, one reply from mark-yong), the referenced issue #266, and the branch's single-commit history. Targeted searches over the changed folder for injection patterns (ignore previous instructions, as an AI, SYSTEM:, LGTM, please approve, do not flag, autobot) and for I/O and execution primitives (std::env, fs::, Command, unsafe, include_str/include_bytes, reqwest, base64, .ssh, exfil, api_key) produced no matches in the PR's code; the only hits in heliopause/src/export are pre-existing base64 signed-weight-envelope code in core.rs (not opened) and weight_reuse.rs (not opened), neither of which this PR touches.

The change is exactly what the description claims: a non-blocking diagnostic that records kernel-argument values falling in gaps between recorded allocations or in inactive parts of recorded segments, and prints per-rank occurrences, distinct-address counts, up to ten example sites, and an omitted-occurrence count. Verified in code: the print block at capture.rs:3137-3141 (gated on unresolved_count() > 0, prefixed with rank {request.rank}, eprintln! only, no error path); the inactive-segment test at reachability.rs:131-135; the address→first-site/count map at reachability.rs:170-185; the eight-byte-window scan at reachability.rs:248-274.

Borderline items examined and dismissed: "Discord: myong_acct" in the description is ordinary author attribution, not a directive; issue #266 contains a genuine torch._C._cuda_clearCublasWorkspaces() code suggestion aimed at the capture path (implemented by the merged #331), not at an agent; the reviewer's three rounds are specific, line-referenced engineering comments with no request to alter tooling, CI, or review process; mark-yong's Limitations section candidly discloses unvalidated scope rather than asserting unproven results, which is consistent with charter line 11 ("bring real evidence").

Non-security residual notes for a human reviewer: the reviewer's round-3 blocking item (report only argument offsets divisible by 8) appears unaddressed at head c3cc87e — scan() still steps data.windows(8) by one byte at reachability.rs:259, and the inactive-range test is duplicated between candidate() (131-135) and scan() (262-266). These are code-quality concerns, not injected behaviour.

Open questions: none bear on the security assessment. The PR's own limitation — that no W4A8 MoE export was validated and #266's four-GPU DeepSeek V4.1 failure was not reproduced — is a correctness/validation gap for reviewers, disclosed by the author.

Full report · Notes decide malicious: all_clear (100%): No malicious content found

explore

Author: mark-yong (CONTRIBUTOR; Discord myong_acct) Motivation: A captured CUDA graph can keep a kernel argument pointing at a workspace that no longer belongs to the exported model, and serving that core then faults (issue #266: cuBLASLt split-K arguments carrying a stale pointer caused Xid 31 on DeepSeek V4.1). The export reachability scan used to drop such address-shaped values silently, so this PR makes it print them as a non-failing report instead. Scale: +434 / −30 lines in 2 files Proposal:

Full report · Notes

Value Proposition

Verdict: worth it with changes — not as it stands

The change is in the right place, does not weaken any existing guarantee, and answers a real maintainer request. But in its current form it does not meet the condition the maintainers attached to that request, and the author's own evidence shows the output is dominated by exactly the false positives it was supposed to avoid. It needs narrowing, better example selection, and a demonstrated true positive before it can merge.

What it does (verified in the diff)

Two files, +434/−30, one commit c3cc87ea.

Behaviour is strictly non-blocking and retention is unchanged: candidate() still returns before reference() for inactive ranges, so no allocation that was previously dropped is now retained, and nothing new can fail an export.

Why it is worth doing

Why not as-is

  1. The maintainer's condition — do not misclassify numeric parameters — is not met, by the PR's own numbers. The SM120 two-GPU export reports 175,329 occurrences / 2,646 distinct addresses on rank 0 on a healthy package, all ten examples coming from b12x mHC Cutlass MHCPostPrePartialKernel in prefill4096 node 34, at "argument 0, offset 4" of 0x100000000800/0x100000000900. An offset of 4 inside an 8-byte-aligned parameter is the signature of two adjacent 32-bit fields, not a pointer — precisely the misaligned byte-window false positive #266 warned about ("narrow the scan to 8-byte-aligned offsets of parameters whose size is 8"). @FujitsuPolycom's independent run on #331 measured 864 unaligned byte-window matches per rank on a clean export. A diagnostic that fires ~170k times per rank with no observed true positive is noise, not evidence.
  2. No true positive is demonstrated. The PR does not reproduce #266 (three GPUs, four-GPU DeepSeek V4.1 export not runnable), and the one export it does report identifies no stale pointer — only mHC values it explicitly does not claim are stale. So the change is untested against the case it exists for.
  3. Example selection works against the purpose. reachability.rs:73-75, 222-224 keeps the first ten addresses in first-encounter order. In #266 the real signal is one address carried by ~10 arguments out of 175k occurrences; a rare value is guaranteed to be crowded out by pervasive constants from the earliest nodes. The occurrences field is counted but never used to rank.
  4. The remaining defects: scan() (:262-269) re-computes the inactive-range test that candidate() (:131-134) already did, so one predicate lives in two places that the new tests depend on; the blob cache now clones the whole miss vector on every cache hit (:149-169) and holds a miss list for every distinct argument blob for the whole export, where the old HashSet short-circuited duplicates; and eprintln! at capture.rs:3139 bypasses both StartupProgress/Phase (helios/src/startup.rs:241-369) and the established Python-side inventory reporting path (ignition/preparation/runtime_core.py:346-348 → memory_inventory.print_inventory, memory_inventory.py:323-327), so on a terminal it interleaves with phase rows and is invisible to startup observation.
  5. Tests and docs. Several tests assert exact prose strings (reachability.rs:~826-846, ~858-875), which will churn on every wording edit; the repo's prose rules (AGENTS.md:40-45) make that costly. docs/cli-design.md:1609 enumerates what ignition export prints and is not updated, and AGENTS.md:52-55 requires the unresolved limitation ("values outside the recorded envelope and stale values aliasing live storage are not detected") to live in docs/TODO.txt rather than only in the PR text.

Costs

Small in code (two files, ~430 lines including ~330 lines of tests) and negligible in export time — the scan already ran, this only records misses it was discarding. The real cost is operational: ~350 KB-range of stderr per export on a clean package, and the risk that maintainers learn to ignore the message, which is worse than no message. Maintenance cost is one more map and one more report format in the hottest inner loop of export.

What would make it mergeable

  1. Narrow the scan to what provenance can support: 8-byte-aligned slots of parameters whose driver-reported size is 8, plus the tensor-map base-address field. function_layout/parameter_sizes already reach this code (capture.rs:2911-2942, ignition/preparation/tensor_metadata.py:140-149), so this is a filter, not a new mechanism.
  2. Group the report by kernel symbol + argument rather than by raw address, with distinct-address counts per group, and order examples by rarity (or show one example per group) so a handful of stale arguments is visible next to 2,646 benign ones.
  3. Route the output through the existing progress/console path (a phase detail line, or the --verbose/print_inventory route) instead of bare eprintln!, and document it in docs/cli-design.md:1609 with the limits in docs/TODO.txt.
  4. Collapse the duplicated inactive predicate into one function returning an enum (live / inactive / gap), and stop cloning the miss vector per cache hit.
  5. Add one true-positive check: a captured-graph fixture, or an archived known-bad package, where a stale split-K argument is actually reported, plus a false-positive budget on a real export. Drop the prose-equality assertions.
  6. Fix the description so the claimed result matches the evidence: state that no stale pointer was found and that the observed hits are numeric constants in mHC kernels — which is the argument for change 1, not a success story.

With those changes this becomes a genuinely useful, low-cost export guard for a class of defect that the #331 fix and the #395 hazard show is still reachable. As submitted it is a well-placed diagnostic whose sensitivity is far too high and whose specificity is unproven.

(No instruction-shaped content or attempts to direct an agent were found in the PR, its comments, or #266; the #266 thread's "we can share the script" offer is informational only.)

Full report · Notes Decide Value: yes (98%): This change is worth reviewing: it provides value to the project in line with its charter.

Simplicity

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 5 (unbounded per-address first-site retention while only 10 addresses print; two thin map accessors with duplicate test assertions; needless pub(crate) on two module-local structs plus an unreachable "unknown (unknown)" fallback; two tests repeating the report sentence and a stale ..._are_capped_... test name; the cached miss list cloned per repeated call site).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Full report · Notes

Prose

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 2 — "kernel unknown (unknown)" placeholder (:232-233); docs/runtime-core-design.md:310-313 lists what rank-zero capture reports on stderr and does not mention the new kernel-argument scan line (capture.rs:3137-3141).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Otherwise the description's structure and its technical account (why, what changed, the #266 cuBLASLt-versus-W4A8 separation, the limitations paragraph) hold up against the code; no docs files are changed by the PR.

Full report · Notes

Architecture

Verdict: blocking issues

Blocking:

Should fix:

Nits: 2 — raw eprintln! at capture.rs:3137-3141 bypasses StartupProgress/is_enabled and never reaches StartupObservation (the maintainer did accept rank-labelled per-rank printing, and capture.rs:3993 has the same raw-stderr precedent, so this is a nit, not a gate); and blobs clones its miss vector on every cache hit (reachability.rs:149-169) while unresolved retains one graph-name String per distinct address (2,646 per rank) inside a function whose comments stress bounded memory.

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Full report · Notes

Correctness

Verdict: blocking issues

Blocking:

Should fix:

Nits: 3 Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Full report · Notes

Conventions

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 5 — capture.rs:3137 caller guard duplicates unresolved_report's own empty check; blob (reachability.rs:147-188) clones its cache key three times per kernel argument and the map keeps two count accessors (:190-199); with_count (:455) is a new module-level pluralisation helper where flare-cli/helios inline the suffix; the new per-rank export message is undocumented next to docs/model-preparation.md:1471 and docs/runtime-core-design.md:118-156; shared_argument_bytes_record_one_example_per_address (:793-807) duplicates :751-770 plus :845-870 and the tests use two lookup idioms for one map.

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Coverage: heliopause/src/export/reachability.rs read in full (1-988) and capture.rs at the changed site (:3133-3141) plus its surroundings; rules read were AGENTS.md, CONTRIBUTING.md, docs/design-review.md, docs/runtime-core-design.md, docs/model-preparation.md and the repo-prose skill. Nothing in the diff reuses an existing helper that should have been used directly (kernel_symbols is gone; merge_ranges/subtract_ranges remain the shared range primitives). Seven other constructs (HashMap cache swap, explicit order field plus sort, per-rank eprintln!, symbols from the recorded function index, the optional out-parameter on scan) match precedent and are cleared. Caveat: I did not run cargo test or clippy here; the no-op claim rests on reading candidate (:131-145) and reference (:121-129), neither of which mutates inactive. A test asserting that an inactive value is reported while nothing is retained (the existing :903-916) settles it, but it passes today, so it does not prove the copy is needed.

Full report · Notes

Subtractive

Verdict: should not be merged The change: +434 / -30 lines (heliopause/src/export/reachability.rs +428/-29, heliopause/src/export/capture.rs +6/-1) Could remove: about 110-130 lines in 5 places as submitted; about 300 of the 434 if the scan is narrowed to pointer-aligned offsets first Biggest subtractions:

Full report · Notes

Pre Test Report

Pre-Test Report — PR #332 "Report unresolved kernel argument address candidates during export"

Author: mark-yong (CONTRIBUTOR) · Branch: fix/reject-unrecorded-graph-args → main · Head: c3cc87e (unchanged since 2026-11-20) · Size: 2 files, +434/−30 (heliopause/src/export/reachability.rs +428/−29, heliopause/src/export/capture.rs +6/−1) · Refs: #266 (open), #331 (merged)

Recommendation: DO NOT REFER TO HARDWARE TEST

Send back to the author. Three pre-test blockers, none of which a test engineer can resolve, and every one of which invalidates the measurements a hardware run would produce:

  1. The maintainer's blocking item is unimplemented at head. yatesdr's 2026-11-20 review closed with "One change before this can merge": report only argument-relative offsets divisible by 8, then repost the counts from the same export. heliopause/src/export/reachability.rs:259 still reads for (offset, bytes) in data.windows(8).enumerate() with no % 8 filter anywhere in the file. The PR's own headline example (argument 0, offset 4: 0x100000000800) is exactly the straddling window the maintainer said cannot be a pointer. Status is still CHANGES_REQUESTED after three rounds.
  2. Two user-visible outputs are wrong and must be rewritten (details below): the summary line misstates which values it reports, and the "N more occurrences not shown" line prints a number that is not omitted occurrences.
  3. The branch will not merge cleanly, and the conflicts are in the code under test. main now has Reachability::execution() (main:heliopause/src/export/reachability.rs:87) and graph(&mut self, nodes, kernels); this branch has graph(&mut self, name, nodes, kernels) and still inlines the execution-buffer reference loop at capture.rs:3075-3086 where main calls reach.execution(&execution) (main:heliopause/src/export/capture.rs:3159). Merged #431/#507/#498 rewrote precisely these functions. Rebasing changes the exact lines any test would exercise.

Expected value of a hardware test right now: near zero. Even with the blockers fixed, hardware cannot settle the two questions this PR exists to answer (see "Why hardware cannot settle this" — the decisive measurement was already taken on GB10 hardware by a third party, and #266's reproducer is unrunnable on the available fleet).

Cost avoided: the author's export takes ~73 minutes (#266, 2026-11-11 comment) and produces ~170k-report-per-rank runs; re-running it twice (before/after an alignment fix that will land) is pure waste.


What the change does

A non-blocking, always-on diagnostic in the Heliopause export scan. pointer() becomes candidate() (reachability.rs:131-145) returning whether a value resolved to a live allocation; scan (:248-274) optionally collects address-shaped values that fall in gaps between recorded allocations or in inactive parts of recorded segments; blob (:147-188) charges each miss to an address→entry map keeping first site (graph, node, function index, argument, offset), an insertion order, and an occurrence count; unresolved_report (:205-246) renders a summary line, ≤10 examples, and a hidden-count line; capture_rank prints them per rank via eprintln! (capture.rs:3137-3141). No wire, core-format, CLI, env-var or recipe surface is added; nothing is persisted; retention behaviour is unchanged.

Verified sound — do not ask the author to change these

Blocking issues (must be fixed before any hardware time is spent)

B1. No 8-byte alignment filter — the report cannot pick out a stale pointer (reachability.rs:259)

scan slides an 8-byte window one byte at a time, so a value spanning two CUDA parameters is recorded as a candidate at a half-pointer offset. The measured consequence is in the PR itself: 175,329 occurrences / 2,646 distinct addresses on rank 0 and 170,544 / 2,637 on rank 1 on an export that completed normally, all ten printed examples per rank being b12x mHC Cutlass MHCPostPrePartialKernel at offset 4, with the author stating they "do not establish … whether the mHC values are constants or stale pointers."

Why this blocks testing rather than merely needing polish: with ~2.6k distinct candidates ahead of them in first-seen order, #266's real stale arguments (offset 256 of a 384-byte parameter; offset 0 of argument 1 — both aligned, so an alignment fix preserves them) would be buried in the … N more occurrences not shown line. The artifact that would merge is a permanent diagnostic whose only consumer is an operator reading rank-wide stderr; a diagnostic that trains operators to scroll past it is worse than none.

Fix: report only when (base + offset) % 8 == 0, leaving retention and the inactive/gap classification unchanged. Then rerun the export and post before/after distinct-address counts per rank. The maintainer also offered: if thousands remain, one example per kernel symbol.

B2. The summary line misstates what is reported (reachability.rs:211-214)

The shipped string says candidates "fall inside the recorded address envelope but outside every live recorded allocation". But scan:266 pushes when !self.candidate(pointer)? || in_free_block, so a value in the free block of a segment that is a recorded allocation is reported too — which is why the duplicate in_free_block term exists at all. The PR description states the correct rule ("gaps between recorded allocations and in inactive parts of recorded segments"); the string an operator actually reads does not. The UnresolvedCandidate doc comment (:45-46) has the same defect in miniature ("resolves to no live recorded allocation, including a value in an inactive range" — an inactive range is inside a recorded allocation).

B3. "… N more occurrences not shown" prints a number it does not compute (reachability.rs:238)

let hidden = occurrences - examples.len().min(UNRESOLVED_EXAMPLES);

occurrences is a sum of per-address occurrence counts; examples.len() is a count of distinct addresses. The subtraction mixes units. The PR's own test pins the wrong number: :869 asserts " … 14 more occurrences not shown" where each of the 10 printed examples has occurrences == 2, so 20 of 24 occurrences are shown and only 4 are unshown. At scale (2,646 distinct / 175,329 occurrences) the line reads "175,319 more occurrences not shown" when what is actually omitted is 2,636 distinct addresses. Fix: sum the occurrences of examples actually printed, or print omitted distinct addresses and say so.

B4. A second, independent false-positive source: raw inactive ranges vs granule-trimmed live intervals (correctness, verified)

Reachability::new takes raw request.inactive (capture.rs:3074, stored at reachability.rs:107), but allocations were already rebuilt by live_pieces (capture.rs:1410-1423), which rounds each hole inward to allocation.alignment (capture.rs:1211-1212). The retained live piece therefore still covers [raw_start, aligned_start) and [aligned_stop, raw_stop). A kernel-argument value sitting in that edge is inside a live recorded allocation, but candidate checks the raw inactive list first (:131-135) and returns early, and scan recomputes in_free_block from the same raw list (:262-265), so it is reported with the false claim that no live allocation covers it. Granule is MiB-class (cuMemGetAllocationGranularity), so each hole can contribute up to a granule of live-but-reported addresses per side, for every graph argument.

No existing test reaches this: every test uses granule-aligned holes — :908 (hole 0x3000..0x3100), :943 (hole 1024..3072 in a 4096-byte allocation), and capture.rs:4545 (holes 0x1080/0x1380 with granule 0x100). A non-granule-aligned hole test is missing.

B5. The duplicated lifetime rule (reachability.rs:131-135 vs :262-266) — the maintainer's open item 2

candidate already treats an inactive range as a hit, and scan repeats the identical partition_point as in_free_block. Since candidate cannot mutate inactive, !candidate(pointer)? || in_free_block always equals !candidate(pointer)? — the second copy changes no result, yet it is paid on every 8-byte window of every argument and every byte of every scanned allocation segment (the misses: None path at :370-378 pays it too, because the predicate is evaluated before the && let short-circuit). It is also the mechanism that produced B4: two copies of one lifetime rule that already disagree.

Caution for whoever fixes it: deleting in_free_block alone and keeping !self.candidate(...) would silently stop reporting inactive-range values, because candidate returns true for them and does not record them. The fix must return a classification (Live/Inactive/Gap), and B4 should be fixed in the same edit by deriving candidacy from the same geometry as self.intervals. Test :902-916 pins the reporting half and must keep passing.

B6. Missing tests the maintainer asked for (reachability.rs:248-274, capture.rs:3137-3141)

Should-fix and nits (not test gates, but they will move the output)

Semantic caution for any future test: "occurrences" is not a severity figure

blob caches the miss list keyed by (data, numeric) and replays it for every site sharing those bytes (:147-188). So an "occurrence" is (misses in one unique blob) × (number of nodes/arguments with identical bytes) — rank 0's 175,329 occurrences over 2,646 addresses is ~66 replays per distinct address. Anyone reading the counts as "how many bad arguments" would be misled by an order of magnitude. Any future test must assert distinct-address counts, never occurrence counts. Similarly, examples are chosen in first-seen order with no ranking by rarity, so a rare true positive is structurally invisible behind thousands of benign constants; a regression test should assert a rare candidate is reachable in the output (e.g. per-symbol grouping), not merely that ten lines print.

Why hardware cannot settle this PR's questions — and what is already measured

Question Can our hardware answer it? Status
Do aligned-only candidates separate signal from noise? No Already answered on GB10 hardware. FujitsuPolycom's independent 4×GB10 TP4 export posted in #331 (2026-11-19 04:57): "864 unaligned byte-window matches and one aligned match per rank." ~863 of 864 candidates are the exact artifact B1 removes. That is the before/after the maintainer wanted, from a third party, on hardware equivalent to ours.
Does the diagnostic catch #266's real stale pointers? No #266's reproducer is deepseek-ai/DeepSeek-V4.1-Flash-1017 at TP4 on 4× GB10. cn7 has 1× GB10 — cannot form TP4. cn5 has 4× RTX PRO 6000 but none of its models is DeepSeek-V4.1, and no archived known-bad package exists.
False-positive volume on a 4×RTX PRO 6000 export Technically yes (GLM-5.3 or Qwen3.8 export on cn5) Not comparable to the author's Vision-Exp numbers, so it would not answer the maintainer's "post the counts from the same export again."
Does an export still complete with the diagnostic enabled? Yes, but pointless The author already ran a full SM120 two-GPU export that completed. The code path will change again (B1/B4/B5).

Two further resource facts: an export runs ~73 minutes (#266) and a job on cn5 gets only 16 GiB scratch — GLM-5.3-Flash NVFP4/DeepSeek-class exports are large. Spending that on a branch that will be rewritten is a poor trade.

Testability note: the PR is CPU-testable today. Everything except the capture.rs:3137-3141 print site runs without a GPU or a model (cargo test --manifest-path heliopause/Cargo.toml (not opened) --lib, which the author reports as 205 passed / 4 ignored, and the maintainer independently reproduced at an earlier head as 206 passed / 4 ignored). Note heliopause is not in CI at all — .github/workflows/native-serving.yml (not opened) covers eos, selene, selene-manager, helios, flare-cli and flare only — so the suite is author/maintainer-run by hand. That is a real gap, but it argues for adding heliopause to CI, not for buying a GPU.

What to tell the author (minimal path back to a test)

  1. Filter reporting to (base + offset) % 8 == 0; keep retention and the gap/inactive classification untouched (B1).
  2. Fix the summary string and the UnresolvedCandidate doc to name both conditions — gap between live allocations, or inactive range inside a recorded segment (B2).
  3. Fix the hidden-count line to subtract printed occurrences, or print omitted distinct addresses (B3).
  4. Replace the duplicated inactive lookup with one classifier (Live/Inactive/Gap), and derive candidacy from the same granule-trimmed geometry as self.intervals, so the granule-edge false positives go away with the same edit (B4+B5). Add the unaligned-hole boundary test.
  5. Add the straddling-window test the maintainer specified, fixing the existing :783-799 expectation that encodes unaligned reporting (B6); add a two-kernel symbol-mapping test for the print path.
  6. Rebase onto main (#431/#507/#498) and show the branch builds and the heliopause suite passes — including a conflict-free capture.rs around reach.execution().
  7. Rerun the same Vision-Exp export and post before/after distinct-address counts per rank, plus (if thousands remain) one example per kernel symbol — the maintainer's own fallback offer.
  8. Add the docs/runtime-core-design.md:310-313 sentence and the docs/TODO.txt entry for the unrun four-GPU/W4A8 verification.

Deferred test plan — for the next round only, NOT authorized now

If the above lands and the maintainer lifts CHANGES_REQUESTED, a single-purpose test should validate the diagnostic's specificity, since that is the only thing hardware adds. I would keep it to one job:

That is at most one cn5 job (~2 GPU-hours) and it should only be authorized after the code stops moving.

Security / integrity check

I read the PR description, all five discussion entries, and #266 in full. Nothing instruction-shaped: no prompt injection, no requests to alter tooling/CI/review process, no data-exfiltration instructions. #266 contains a genuine torch._C._cuda_clearCublasWorkspaces() suggestion aimed at the capture path (fixed by #331), and an offer to "share the script" — informational only. Discord: myong_acct is ordinary author attribution. This matches the intake screen's all-clear. The author's Limitations section is candid about what was not run, which is to their credit and is reflected above rather than treated as a defect.

Full report · Notes

code review summary

Recommendation: Changes Requested

Blockers:

Should fix:

Nits:

8 nits

Full report · Notes Decision to Test: no (100%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.

screen malicious

Screen Result: All Clear

Evidence: Screened NVIDIA/hyperflare-inference PR #332 ("Report unresolved kernel argument address candidates during export", author mark-yong, open, head 1ac7073d, base main, 4 files +599/−37). No prompt injection, no hidden instructions, and no content aimed at steering agent or reviewer behaviour was found — in the description, the comment thread, the diff of all four files, or the surrounding source.

The PR prose is ordinary engineering writing: a change summary, a per-rank validation table, an explicit limitations section (missing GPUs, no reproduction of issue #266), and a Discord handle. It never addresses an agent, never asks anyone to run a command or visit a URL, never asks for a verdict, and contains no "ignore previous instructions"-style text, no invisible/bidi/zero-width characters, and no embedded blobs.

The code is what it claims: heliopause/src/export/reachability.rs adds a non-blocking diagnostic that records 8-byte-aligned kernel-argument values resolving to no active recorded allocation, counts occurrences and distinct addresses, and prints up to ten examples per rank (reachability.rs:226-281, with the graph name Debug-quoted at :254); capture.rs only threads the graph name and emits the per-rank stderr block (capture.rs:3219-3223). Searches for process spawning, shell-outs, network calls, env-var reads and injection keywords in the changed code found nothing new; the only hits were pre-existing test-only std::process::id() and HuggingFace URL literals.

One low-severity, non-injection hygiene note: the new stderr diagnostic interpolates CUDA kernel symbol and module names coming from the exported model's cubins without escaping control characters or newlines (reachability.rs:257-258), unlike the Debug-quoted graph name. A hostile cubin could in principle forge log lines in the operator's own export output. This is a log-hygiene nit, not an injection, and not a reason to block on security grounds.

Substantive review is a separate matter: reviewer yatesdr requested changes, the author answered and rebased, and there are no CI checks on the head commit. The claims in the description about W4A8 MoE kernels remain unverified by the author's own admission.

Full report · Notes decide malicious: all_clear (100%): No malicious content found

explore

Author: mark-yong (CONTRIBUTOR; Discord myong_acct) Motivation: Exporting a captured CUDA graph can bake in a kernel-argument pointer to a workspace nobody owns any more, which faulted a DeepSeek V4.1 export (issue #266). This patch makes the export reachability scan print a bounded, non-blocking summary of argument values that look like pointers but resolve to no live allocation, so such packages can be spotted instead of crashing at serve time. Scale: +599 / −37 lines in 4 files Proposal:

Full report · Notes

Value Proposition

Verdict: worth merging — with one change I'd want first

The revision (commit 1ac7073d) fixed every blocker from the previous round, and it is now a small, correctly placed, non-blocking diagnostic that answers a standing P1 maintainer request. What changed my assessment from "worth it with changes" is not the noise reduction alone but re-reading #266: the reporter independently wrote an out-of-tree script with exactly this predicate and it worked — on the faulting package it listed precisely the 10 stale split-K arguments, and its only other hits were W4A8 MoE constants. That is the sensitivity/specificity evidence the first round lacked, and it comes from the package class the change exists for.

What the revision fixed (verified in the diff, not just the comment)

Why it's worth doing (charter fit)

Costs

Small and bounded: ~430 net lines in one crate, of which roughly 330 are tests; a HashMap<u64, UnresolvedEntry> and a per-blob miss vector in an inner loop that already ran; and at most 12 stderr lines per rank per export (UNRESOLVED_EXAMPLES = 10 + summary + hidden line). Export time is unaffected in practice because the scan already ran and only its discarded verdicts are now recorded. No runtime, ABI, core-format, or serving behaviour changes, so no GPU benchmark obligation.

The one change I'd want before merge

Example selection still works against the stated purpose. :247-249 sorts by entry.order (first encounter), so examples are the highest-frequency geometry constants from the earliest nodes — on the Vision-Exp export all ten came from mHC/CUTLASS kernels at positions like argument 0, offset 8: 0x100000000800. In an export like #266's default chunk-4096 package, where the stale address aliases live storage and there are ~800 distinct benign addresses, the one true value is guaranteed to be printed only as "… 752 more distinct addresses not shown". The author has already offered the fix ("one example per kernel symbol rather than first-encountered order across kernels"). I'd take it: group by kernel symbol + argument, show one example per group, or order examples by ascending occurrence count. It is a few lines, needs no new data (occurrences is already counted), and it is the difference between a diagnostic that can surface a needle and one that reports the haystack. Everything else can land as-is.

Minor items, not blocking

On the absence of a personal true positive

The author cannot run the four-GPU export (three GPUs) and says so, in the description and in docs/TODO.txt. I no longer treat this as disqualifying: #266's own script demonstrates the predicate on that package class, the same predicate is now implemented here with the same aligned rule, and the remaining verification is precisely scoped as a pending measurement. Demanding hardware the contributor doesn't have, for a diagnostic whose mechanism is already evidenced, would contradict the charter's "respect contributors" and its rule that missing items be spelled out rather than used to close a PR.

Bottom line: this is the right change in the right layer, it no longer misclassifies numeric parameters into the recorded output the way the first revision did at offset 4, it fixes nothing that wasn't broken, and it costs almost nothing at export time. Land it with the per-kernel example grouping (or rarity ordering) so the needle is visible, and fix the description numbers if they are stale.

(No instruction-shaped content or attempts to direct an agent were found in the PR, its comments, or #266; the #266 "we can share the script" offer is informational.)

Full report · Notes Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.

Simplicity

Verdict: should-fix issues only Blocking:

Full report · Notes

Conventions

Verdict: clean

Blocking:

Should fix:

Nits: 4 — (1) heliopause/src/export/capture.rs:3219-3223 guards unresolved_report with unresolved_count() > 0 although the callee already returns an empty Vec (reachability.rs:230-235, test :989-993); (2) reachability.rs:172-194 blob builds its cache key twice and clones the whole miss vector on both hit and insert branches, where the replaced HashSet insert copied the key once (:215-224 also has two accessors over one map, and Site/UnresolvedCandidate at :50-72 are field-for-field identical); (3) reachability.rs:824-839 shared_argument_bytes_record_one_example_per_address is subsumed by :782-802 plus :876-905, and the tests mix first() (:760-762) with direct reach.unresolved[&address] (:799-800, :836-837) — the same shape the maintainer flagged on 2026-11-18; (4) reachability.rs:487-493 adds a module-scope with_count pluralisation helper where flare-cli/src/cache_commands.rs:307 (not opened),309,600,602,612, doctor.rs:365 (not opened),812, inspect.rs:888 (not opened) and helios/src/runtime_core/model.rs:619 (not opened) inline if n == 1 { "" } else { "s" } (weakest finding; five call sites make it defensible).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Detail the summary can't hold: my earlier should-fix — the inactive-range rule stated twice (candidate plus scan's in_free_block) — is resolved at head 1ac7073d; candidate (reachability.rs:156-170) returns Ok(false) for both inactive ranges and gaps and retains only live intervals, scan (:294-304) just tests !self.candidate(pointer)?, and in_free_block is gone. That closes the maintainer's 2026-11-20 item 2, the only duplication item anyone had called blocking in this lens. The documentation gap is closed too: docs/runtime-core-design.md:154-157 and :339-341 specify the diagnostic and the per-rank stderr summary, and docs/TODO.txt:350 records the pending four-GPU measurement as AGENTS.md:52-60 requires.

Nothing new duplicates an existing helper: no other with_count or pluralisation helper exists in the tree, kernel_symbols is gone in favour of the recorded function index (reachability.rs:252-258), merge_ranges/subtract_ranges (:12-43) remain the only range primitives, and blobs is an evolution of the existing cache (HashMap/HashSet already coexist, :8). Seven other constructs were compared with precedent and are consistent: the order field plus sort (:60, :248, matching capture.rs:598), rank-labelled eprintln! (capture.rs:3221, precedent transfer.rs:429 (not opened), :1152; progress rows are rank-0 only), the Option<&mut Vec<_>> out-parameter instead of the crate's FnMut visitors (scan mutates self and returns ExportResult), and the alignment filter applied to reporting only (:300) while retention stays byte-by-byte (:294).

Caveat: I did not run cargo test or clippy; the author reports 221 passed / 5 ignored at 1ac7073d, and all claims here come from reading the code. The cache-cost nit is a code-reading claim, not a measurement — a profile would quantify it. The PR's remaining risk is evidentiary, not conventional: the two-GPU export cannot reproduce #266's four-GPU failure and printed no W4A8 MoE kernel among its examples (PR comment 2026-11-28, recorded at docs/TODO.txt:350); that belongs to the correctness and evidence lenses.

Full report · Notes

Correctness

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 3 (first-encountered example ordering lets one kernel family fill all ten slots; test-only pub(crate) on UnresolvedCandidate/Site; summary-line wording that cannot distinguish stale pointers from constants).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Full report · Notes

Prose

Verdict: blocking issues

Blocking:

Should fix:

Nits: 1 — reachability.rs:257-258 prints kernel unknown (unknown), indistinguishable from a kernel named "unknown"; say the recorded function index was unresolved.

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Full report · Notes

Architecture

Verdict: should-fix issues only

Blocking:

Should fix:

Nits: 2 — raw eprintln! at capture.rs:3219-3223 bypasses StartupProgress (so it cannot be silenced by a caller and never reaches StartupObservation); small retained state in Reachability (blob clones its cached miss vector, unresolved keeps a graph-name String per distinct address).

Link: https://github.com/NVIDIA/hyperflare-inference/pull/332

Full report · Notes

Subtractive

Verdict: should not be merged The change: +599 / −37 lines, 4 files Could remove: about 200 lines with no behaviour lost, in 15 places; about 350–450 lines if cut to what the maintainer asked for Biggest subtractions:

Full report · Notes

Pre Test Report

Pre-Test Report — PR #332 "Report unresolved kernel argument address candidates during export"

Author: mark-yong (CONTRIBUTOR) · Branch: fix/reject-unrecorded-graph-args → main · Head: 1ac7073d (rebased onto c9935887, pushed 2026-11-28) · Size: 4 files, +599/−37 (heliopause/src/export/reachability.rs +579/−34, heliopause/src/export/capture.rs +6/−1, docs/runtime-core-design.md +8/−2, docs/TODO.txt +6) · Refs: #266 (open), #331 (merged)

Recommendation: DO NOT REFER TO HARDWARE TEST

Send back to the author for one substantive change plus bookkeeping. This is a much closer call than my 2026-11-25 report: all three of my previous pre-test blockers are genuinely fixed at this head, and I verified that in the code rather than trusting the review summaries. What keeps it off the bench is that the diagnostic's printed output is still scheduled to change, so a hardware run would measure lines that will be rewritten — and the two questions that actually decide the PR cannot be answered on our fleet at all.

Important context for the reader: the latest human verdict is still CHANGES_REQUESTED from 2026-11-20, which predates this head and was never revised. Treat it as stale. Autobot's 2026-11-26 review (previous head c3cc87e) listed three blockers that are now fixed.


Blockers from round 1 — verified fixed (do not re-open)

  1. The 8-byte alignment filter is implemented correctly, and retention is untouched. scan still steps data.windows(8) one byte at a time (reachability.rs:294), and only the reporting push is gated on (base + offset).is_multiple_of(8) (:300). Critically, !self.candidate(pointer)? is evaluated before the misses/misalignment conjuncts (:298-300), so every byte offset is still resolved for retention. The count collapse (175,329→22,618; 170,544→19,417) is consistent with this filter.
  2. One rule, one place. candidate() (:156-170) is now the single classifier, statement-for-statement equivalent to main's pointer() (main:reachability.rs:118-131); in_free_block no longer exists anywhere. Maintainer's 2026-11-20 item 2 closed.
  3. Straddling-window regression test exists — unaligned_straddling_window_is_not_reported_while_aligned_stale_pointer_is (:1046-1069): asserts the straddle is absent, an aligned stale pointer at offset 16 is present, and the count is exactly 1. Maintainer item 3 closed.
  4. Hidden-count units fixed — hidden distinct addresses and their occurrence sum are computed separately (:264-279), and the line is omitted at ≤10 distinct. Four tests cover it (:907-942, :944-987).
  5. Docs landed — docs/runtime-core-design.md:154-157 (scan semantics, non-blocking, no retention) and :339-341 (per-rank stderr summary); docs/TODO.txt:350-354 records the pending four-GPU DeepSeek V4.1 and eight-GPU W4A8 measurements, as AGENTS.md (not opened) requires.
  6. Symbol lookup is CPU-tested — unresolved_report_names_the_kernel_and_its_symbol (:842-874) passes a two-element &[wire::Function] with a decoy and asserts the exact rendered line. The 2026-11-26 claim that the print path is untested is now nearly moot; only the eprintln! wrapper and rank prefix (capture.rs:3219-3223) are uncovered, which is trivial.
  7. Rebase is current — main has moved to 7745deea, but search_history on heliopause/src/export at main shows no change after c9935887. My round-1 "#431/#507/#498 conflict" blocker is gone.

Why still not ready for the bench

S1. The ten printed examples are chosen by graph order, not by kernel (reachability.rs:247-249)

examples.sort_unstable_by_key(|(_, entry)| entry.order) then .take(10). On the author's own aligned run that is 10 of 762 distinct addresses on rank 0 and 10 of 832 on rank 1, and every printed example is a CUTLASS mHC/DenseGemm constant (0xfff00000fff, 0x3fff000003ff, 0x200000000020, 0x100000001000). #266's stale arguments would land in the … 752 more distinct addresses (14776 occurrences) not shown line.

Both the maintainer ("one example per kernel symbol", 2026-11-20) and the author ("let me know if you also want one example per kernel symbol…", 2026-11-28) have this on the table, and docs/TODO.txt:350-354 names per-kernel grouping as the thing the pending measurement decides. The printed evidence is about one kernel family per rank and must not be read as a survey. Testing the current example lines would validate text likely to be rewritten.

S2. The summary sentence is literally false for values in a retained hole edge (reachability.rs:236-246)

Live intervals come from live_pieces (capture.rs:1259-1303), which rounds each hole inward to allocation.alignment (:1274-1275), applied at :1473-1486 for device, non-sizing, non-peer, non-snapshot allocations. But Reachability::new receives raw request.inactive (capture.rs:3164). I confirmed raw hole edges are not granule-aligned in practice: core_storage.unused_ranges() returns torch block slack (core_storage.py:308-323, (block.address + live, block.address + block.size)) and PersistentTensorArena.unused_ranges() returns alignment padding (persistent.py:135-141).

So a value inside the retained unaligned edge is simultaneously inside a live exported interval and inside raw inactive; candidate() checks inactive first (:157-160) and reports it, while the operator-facing string claims it "resolve[s] to no active recorded allocation". That is both a false statement and count inflation. Cheapest fix: qualify the sentence, or derive the report predicate from self.intervals.

Correction to the 2026-11-26 correctness review, worth carrying forward: its second consequence — that values in a genuinely freed sub-granule block are "not reported at all" because "!self.candidate(pointer)? is false, so nothing is pushed" — is inverted. candidate() returns Ok(false) for an inactive hit, so !candidate is true and the value is pushed. Every inactive value inside floor..ceiling at an aligned offset is reported. The author's rationale for keeping raw inactive (their comment item 5: trimming would let a freed sub-granule pointer retain the segment and silently drop out of the report) is therefore sound; my round-1 B4 "second false-positive source" framing overstated it. The residual defect is only over-report in the retained edge plus the wording.

S3. Small should-fix and nits (not test gates)

S4. The PR description is stale (documentation, not architecture)

It still posts 205 passed / 4 ignored and 175,329/2,646 (rank 0) / 170,544/2,637 (rank 1) with node 34 MHCPostPrePartialKernel, while the author's own 2026-11-28 comment labels those "Prior unaligned (c3cc87ea)" and supersedes them with 22,618/762, 19,417/832, node 35 MHCFinalizeGramKernel, 221 passed/5 ignored. The scanned code cannot produce the posted totals. It also names load_mxfp4_experts, which no longer exists in the tree after the recipe split (AGENTS.md (not opened) now scopes ignition/components/ to 12 Helios-ABI modules). Fix the description; no code change.


Expected value of a hardware test: near zero

The regression surface is empty. Retention equivalence with main is a code-level proof, not a hardware question: candidate() vs pointer() are the same retention logic with a bool return; scan still resolves every byte window (:294-300); contents/opaque_contents both route through scan_spans to scan(..., None) (:405, :410), so allocation-content scans cannot report; and blob still scans each unique (data, numeric) key once. Nothing is persisted; there is no wire, protobuf, core-format, flag, env-var, setting, or per-model branch. For a given model and recipe the exported core should be byte-identical to a main export, and nothing on the serving path changes.

The two questions that gate the PR are unrunnable here:

Question Can our hardware answer it? Why
Does the diagnostic surface a real stale pointer (is per-kernel grouping needed)? No Needs #266's reproducer: deepseek-ai/DeepSeek-V4.1-Flash-1017 at TP4 on 4× GB10. cn7 has 1× GB10 — cannot form TP4. cn5 has 4 GPUs but no DeepSeek-V4.1 core or checkpoint.
Does W4A8 MoE produce numeric noise rather than false pointers? No docs/TODO.txt:350-354 scopes it as an eight-GPU export; our widest box is 4 GPUs.
Does an export complete with the diagnostic enabled? Already answered The author ran a full SM120 two-GPU export to completion at this commit (1ac7073d) on 2× RTX PRO 6000 Blackwell Max-Q — the same GPU model as cn5.
Reproduce the counts on "the same export"? No That export is local-inference-lab/DeepSeek-V4-Flash-Vision-Exp-lossless-CSF via hyperflare-recipes d1376bb. cn5 lists only dinov2-base, GLM-5.3-Flash-NVFP4 ×2, and a timm ViT, all at 0 GiB (not downloaded), and cn5 gets only 16 GiB scratch — too small for a large NVFP4 export.

Cost avoided: the reference export in #266 runs ~73 minutes, and its counts would not be comparable to the author's (different hardware, different model) anyway.

One process gap worth telling the author (CPU, not GPU): heliopause is not in CI at all — native-serving.yml:45-77 covers eos, selene, selene-manager, helios, flare-cli, and flare only. The newly added testing hierarchy in docs/design-review.md (not opened) requires cargo test --locked --release on every affected crate "including heliopause, matching the native-serving workflow", but the workflow does not include heliopause, and the author's 221/5 run was --lib in debug on a host without CUDA. Adding heliopause to the workflow is the correct fix here — not buying a GPU.


What to tell the author (minimal path back to a test)

  1. Add per-kernel-symbol grouping to unresolved_report — group by Site.function + argument, one line per group with distinct-address and occurrence totals, per-address detail still capped. The maintainer already offered it and the author already offered to do it; it is what makes the report actionable and what docs/TODO.txt:350 is waiting on.
  2. Reconcile the reported geometry with the printed claim — qualify the summary sentence to say values may sit in a retained granule edge, or derive the report predicate from self.intervals; either way add a non-granule-aligned hole test (every existing test uses aligned holes: :1086 hole +1024..+3072 on a 256-aligned allocation; capture.rs:4798 uses granule 0x1000).
  3. Delete the unresolved_count() > 0 guard at capture.rs:3219 and make unresolved_count private.
  4. Fix the PR description to the aligned run (22,618/762, 19,417/832, node 35, 221 passed/5 ignored), state that only argument-relative 8-byte-aligned offsets are reported, and drop the removed load_mxfp4_experts identifier.
  5. Add heliopause to native-serving.yml and run the suite with --release.

Deferred test plan — next round only, NOT authorized now

If S1/S2 land and the maintainer lifts CHANGES_REQUESTED, hardware adds exactly one thing: a specificity check on a real export. Keep it to one job:

That is at most one cn5 job (~2 GPU-hours), authorized only after the code stops moving.

Security / integrity check

I read the PR description, all five substantive discussion entries, and #266. Nothing instruction-shaped: no prompt injection, no requests to alter tooling/CI/review process, no data-exfiltration instructions, no attempt to direct an agent. #266 contains a genuine torch._C._cuda_clearCublasWorkspaces() suggestion aimed at the capture path (fixed by #331) and an offer to share a script — informational only. Discord: myong_acct is ordinary attribution, now required by the repo's own AGENTS.md (not opened). This matches the intake screen's all-clear on both heads. The author's Limitations section is candid about what was not run, which is to their credit and is reflected above rather than treated as a defect.

Full report · Notes

code review summary

Recommendation: Changes Requested

The change is in scope and at the right layer, and every earlier blocker (three maintainer rounds plus the 2026-11-26 Autobot round) is fixed at 1ac7073d. Two merge-gate items remain: the report's ten printed examples are chosen by first encounter so they are all CUTLASS constants from one kernel family, and the shipped PR body still posts the superseded pre-alignment numbers plus test totals from a different build while never stating the 8-byte alignment restriction that bounds the diagnostic.

Full report · Notes

Final review

Recommendation: Changes Requested

The core implementation at 1ac7073d is sound—retention semantics are preserved, inactive ranges and gaps share one clean predicate in Reachability::candidate, and the 8-byte argument-relative alignment filter cuts the 2-GPU export diagnostic noise by ~8× without missing #266's aligned split-K arguments. However, the GitHub PR description still presents the superseded pre-alignment c3cc87ea numbers and an example the shipped code can no longer emit, and two small targeted improvements (per-kernel example grouping and a non-8-byte-aligned base test) should land before merge.


Blockers

  1. PR description posts superseded c3cc87ea measurements and omits the alignment restriction.
    • Evidence: The current PR body still reports the pre-alignment run from c3cc87ea: rank 0 175,329 / 2,646, rank 1 170,544 / 2,637, first example MHCPostPrePartialKernel in prefill4096 node 34 (which was an offset-4 straddling window, 0x100000000800), and cargo test ...: 205 passed, 4 ignored. At head 1ac7073d, heliopause/src/export/reachability.rs:300 filters reporting with (base + offset).is_multiple_of(8), which cannot emit an offset-4 window and produced the aligned rerun posted in the 2026-11-28 comment (22,618 / 762 on rank 0, 19,417 / 832 on rank 1, starting at node 35; 221 passed, 0 failed, 5 CUDA tests ignored).
    • Additionally, ## Change omits the argument-relative 8-byte alignment filter (documented in docs/runtime-core-design.md:154-157) and still describes the old omitted-occurrences-only trailing line instead of omitted distinct addresses plus omitted occurrences, and ## Limitations does not mention that unaligned unresolved values are not reported.
    • Comment item 7 on 2026-11-28 notes that the description was reconciled to 1ac7073d, so the edit to the GitHub PR body appears not to have been applied. Update the PR description to match 1ac7073d per AGENTS.md:88-112 and the charter's PR description standard.

Should Fix

  1. Deduplicate printed examples by kernel symbol so repeat constants from early kernels do not fill all ten slots (heliopause/src/export/reachability.rs:247-263).

    • unresolved_report currently sorts by entry.order and takes the first UNRESOLVED_EXAMPLES (10) distinct addresses across all kernels.
    • In the 2026-11-28 verbatim stderr output, 7 of the 10 printed lines on rank 1 come from just two DenseGemmKernel symbols at nodes 40 and 44 (3 from node 40, 4 from node 44), and all 10 slots on both ranks come from 5 symbols in nodes 35–74, hiding 752–822 distinct addresses (13,614–14,776 occurrences).
    • Because entry.first.function and functions are already available in unresolved_report, taking at most one example per kernel symbol (as offered in the 2026-11-28 comment) is a local change that doubles symbol visibility without altering retention or counts.
  2. Test (base + offset).is_multiple_of(8) with a non-8-byte-aligned base (heliopause/src/export/reachability.rs:184-189, :300).

    • Every existing test with a scanned span after numeric exclusion has base % 8 == 0: unaligned_straddling_window_is_not_reported_while_aligned_stale_pointer_is (:1046-1069) uses numeric = vec![] (base = 0), and kernel_argument_candidate_offset_counts_from_the_argument_start (:805-822) uses numeric = vec![(0, 8)] (base = 8).
    • Replacing (base + offset).is_multiple_of(8) at :300 with offset.is_multiple_of(8) still passes all 26 tests, even though a 4-byte numeric prefix (0, 4) shifts slice offsets by 4 bytes relative to the argument start.
    • Add one CPU test with a 4-byte numeric span (0, 4), 4 bytes of padding forming a straddling address-shaped window at argument offset 4 (slice offset 0), and a stale pointer at argument offset 8 (slice offset 4), asserting that offset 4 is excluded and offset 8 is reported with offset == 8.

Subtract / Simplify

  1. Eliminate both misses.clone() allocations in Reachability::blob (heliopause/src/export/reachability.rs:172-212).
    • blob() clones the cached Vec<(usize, u64)> on every cache hit (:175) and clones it again when inserting on a miss (:191) solely to avoid holding an immutable borrow on self.blobs while mutating self.unresolved.
    • Splitting the borrow via a small helper (e.g., record_unresolved(&mut self.unresolved, misses, site)) lets the hit path borrow &misses directly and the miss path move misses into self.blobs.insert(key, misses) with zero vector clones on the repeated-argument hot path.

Nits

  1. Redundant emptiness guard in heliopause/src/export/capture.rs:3219-3223: reach.unresolved_report(...) already returns an empty Vec when self.unresolved_count() == 0 (reachability.rs:232-235), so the if reach.unresolved_count() > 0 wrapper can be dropped.
  2. Stale test name in heliopause/src/export/reachability.rs:782-802: unresolved_examples_are_capped_while_occurrences_are_counted inserts 12 distinct addresses and checks self.unresolved entries/order without ever calling unresolved_report (capping is tested by unresolved_report_bounds_examples_and_counts_hidden_occurrences at :877-905). Rename it to match what it verifies.

Verified passes


Dropped on verification

Full report Decision to Test: no (100%): Testing will not add significant value as the code stands today. The code is either not yet ready to merge, or adequate testing has already been done to validate the contents of the code, or the available hardware is not suitable to test with.

Apply Labels

Applied: +triage:review, +enhancement, +area:preparation

Classification Confidence

Threshold: 65%

Triage

Priority

Type

Area

Model

explore

Author: mark-yong (CONTRIBUTOR; Discord myong_acct) Motivation: A DeepSeek V4.1 export on four GB10 nodes produced a package that crashed at serving time because stale kernel-argument pointers were silently kept alive; this PR adds an export-time warning that lists such arguments per rank instead of letting them hide until a load failure. Scale: +756 / −30 lines in 4 files Proposal:

Full report · Notes

Classify intake

Selected: triage:review, enhancement, area:preparation

Threshold: 65%

Triage

Priority

Type

Area

Model

Apply Labels (Intake)

No label changes

Value Proposition

Value Proposition — PR #332 "Report unresolved kernel argument address candidates during export"

Charter alignment. The change sits in heliopause/src/export/ — export tooling, not the Helios runtime — and adds no per-model branch, alias, flag, or captured-graph op contract, so it does not trip the runtime/model-agnostic or new-op-approval rules. It stays within the supported matrix (SM120 export) and off the non-goals. It targets issue #266, a documented defect (stale workspace pointers in captured kernel arguments), which the charter admits as a reproducible-bug class. But the charter asks bug fixes to address the root cause; this reports the symptom, while #266's lifetime half moves in separate work (open PR #606 on _seed_warmup_workspaces' MemPool, issue #395 on CUDAGraph.reset()). Location is defensible; "right problem in the right place" is passed only weakly.

Novelty & status. Genuinely additive — not obsolete, not superseded. #606 fixes allocation lifetime in the warmup path, not export-time detection; no merged PR or open PR covers this scan. The dossier calls #332 "its only export-time detector."

Value vs maintenance cost. This is the weak point. Evidence is below the project's own bar: cargo test in debug on a host without CUDA, no heliopause job in CI (.github/workflows has none), diverging from docs/design-review.md:180-195; the 231-passed figure is self-reported. The only GPU sample is author-only, predates the new per-symbol example selection, and — by the PR's own admission — prints ten mHC CUTLASS examples out of 762/832 distinct addresses and ~175k/170k occurrences; nothing shows #266's cuBLASLt splitKreduce arguments, and no head reproduces #266 at all. Cost is high: +756/−30 across 4 files, 738 lines in reachability.rs plus 28 module tests and docs churn, for a stderr diagnostic of unmeasured signal-to-noise. Review blockers are declined rather than fixed (raw &request.inactive at capture.rs:3239, candidate() still a bool rather than the Retained/Inactive/Unallocated classifier, no call-site test), and yatesdr's CHANGES_REQUESTED is two heads stale with no human re-review.

Verdict: Worth it with changes. The direction is right and uniquely positioned, but it should not merge as is. Required: (1) demonstrate on a real export that the report surfaces the actual #266 arguments; (2) shrink or justify 738 lines for a non-blocking diagnostic; (3) settle the granule-inactive alignment, the classifier, and the untested capture.rs call site; (4) run release-profile tests and add heliopause CI so counts are verifiable; (5) obtain a human re-review on head 38805ba3.

Full report Decide Value: yes (100%): This change is worth reviewing: it provides value to the project in line with its charter.

Subtraction and simplicity

Subtraction/Simplicity/Conventions lens on PR #332 (head 38805ba3): the diff is largely lean — no dead code, no speculative flags, no enum/wrapper fallbacks, and no duplicated repo helper. Four concrete simplifications, highest value first.

  1. heliopause/src/export/reachability.rs:254-282 — example selection is two loops plus a parallel vec![false; examples.len()] plus a final selected.sort_unstable() that only undoes pass 2's appends, yet examples is already in encounter order. One partition pass with truncate(UNRESOLVED_EXAMPLES) is behaviourally identical in ~10 lines. Same block: map_or(Err(f), |f| Ok(f.symbol.as_str())) builds a Result<&str, usize> as a HashMap key where Option<&str> matches the "unknown" already printed at :294.
  2. heliopause/src/export/capture.rs:3294-3296 — the new loop is the only informational eprintln! in capture_rank outside the helios_core::startup::StartupProgress channel used at :2939-2943, :2944, :3246-3293, :3297; it writes for every rank (non-zero ranks are otherwise silent()) and repeats "export: rank N: " on each of up to 11 lines because the report is a Vec<String>. Return one Option<String> and print once.
  3. heliopause/src/export/reachability.rs:50-72, 221-230 — UnresolvedCandidate, Site, unresolved_count, unresolved_unique_addresses are pub(crate) (with pub fields) but have no caller outside the module; unresolved_report (capture.rs:3294) is the only external entry point. Drop the visibility and shrink the 3-4 line doc comments.
  4. Minor docs: docs/TODO.txt:357-361 is a 5-line entry restating the PR body's Limitations; AGENTS.md:517-520 asks for brief entries.

Explicitly cleared (not removal targets): the blobs miss-cache replay and record_unresolved split, with_count (no existing pluralization helper in the repo), scan's base/Option<&mut Vec> params, both docs edits, and the 28-test block. Merging Site into UnresolvedCandidate was considered and rejected: the borrowed &'a str avoids a String allocation per kernel argument.

Open question: whether the repeated per-line rank prefix and the unconditional non-zero-rank output are intentional; no test covers the capture.rs call site, so retargeting it to a single summary line is unguarded.

Full report · Notes

Correctness and contracts

Reviewed PR #332 at head 38805ba (reachability.rs +738/−27, capture.rs +4/−1, two docs) under the correctness/contracts/system-consequences lens. The change is retention-neutral — candidate() is main's pointer() returning a bool, used only to fill the report — so no core-compatibility or export-output risk.

Most important findings:

Open: no export reproduces #266's split-K arguments, so diagnostic usefulness is unproven; yatesdr's CHANGES_REQUESTED is two heads stale with no human re-review.

Full report · Notes

Re-review

Recommendation: Ready To Merge

At head 38805ba, all prior review blockers and follow-up items from both yatesdr (2026-11-20) and the previous Autobot pass (2026-11-28) are resolved, and the implementation is correct, bounded, and isolated to export-time diagnostics. Allocation retention semantics are unchanged from main, per-symbol example prioritization and argument-relative 8-byte alignment filtering are cleanly implemented and covered by isolated unit tests, and the PR body and documentation accurately match the code and its limitations. Two small non-blocking simplifications in heliopause/src/export/reachability.rs are listed under Subtract / Simplify.

Merge Risk

Level: Low

Walkthrough

Pre-merge Checks

Blockers

None.

Should Fix

None.

Subtract / Simplify

  1. Collapse the two-pass example selection (heliopause/src/export/reachability.rs:256-282): The chosen: Vec<bool> buffer and second loop can be replaced with a single pass that collects up to limit backfill indices while preserving early exit when selected.len() == limit and exact Result<&str, usize> symbol keying:
    let limit = UNRESOLVED_EXAMPLES.min(examples.len());
    let mut selected = Vec::with_capacity(limit);
    let mut backfill = Vec::with_capacity(limit);
    let mut seen_symbols = HashSet::with_capacity(limit);
    for (index, &(_, entry)) in examples.iter().enumerate() {
        if selected.len() == limit {
            break;
        }
        let symbol_key = functions
            .get(entry.first.function)
            .map_or(Err(entry.first.function), |function| {
                Ok(function.symbol.as_str())
            });
        if seen_symbols.insert(symbol_key) {
            selected.push(index);
        } else if backfill.len() < limit {
            backfill.push(index);
        }
    }
    selected.extend(backfill.into_iter().take(limit - selected.len()));
    selected.sort_unstable();
    
  2. Narrow module-internal visibility (heliopause/src/export/reachability.rs:50-56,67-72,221-230): UnresolvedCandidate (and its fields), Site (and its fields), unresolved_count, and unresolved_unique_addresses are only referenced inside reachability.rs (capture.rs:3294 only calls unresolved_report). Drop pub(crate) and pub on those internal items; the inline mod tests retains full access.

Nits

Dropped on verification

Full report Decision to Test: yes (56%): Testing will add considerable value with the code. It is ready to merge and the tests will validate and improve confidence on hardware we have available for testing.

Classify triage

Selected: triage:review

Threshold: 65%

Triage

Apply labels

No label changes

Pre Test Report

Pre-Test Report — PR #332 "Report unresolved kernel argument address candidates during export"

Author: mark-yong (CONTRIBUTOR) · Branch: fix/reject-unrecorded-graph-args → main · Head: 38805ba3 (rebased onto 0a8c20f4, pushed 2026-11-30) · Size: 4 files, +756/−30 (heliopause/src/export/reachability.rs +738/−27, heliopause/src/export/capture.rs +4/−1, docs/runtime-core-design.md +8/−2, docs/TODO.txt +6) · Refs: #266 (open), #331 (merged)

Recommendation: REFER TO HARDWARE TEST — two jobs, ≤8 GPU-hours, one model, hard stop rules

Unlike my 2026-11-28 report, the code is no longer moving in a way that invalidates measurement. 38805ba3 fixed every item I raised (alignment filter, single rule, straddle test, per-symbol example selection, the unaligned-base test, the wrong hidden-count units, the misses.clone()s, the redundant guard, the test name), and the author's own 2026-11-30 comment states plainly the one thing that is still unmeasured: "the per-symbol 10-line GPU stderr sample has not been re-captured on GPU." That single sentence is exactly what a GPU job can and should buy.

Be precise about what this buys. Hardware cannot validate the PR's stated purpose (does it catch #266's real stale pointers), cannot close the TODO it added, and cannot reproduce the author's counts. It can validate the only new behavior added since the last GPU run — per-symbol example selection, reachability.rs:256-282 — and it can prove, with byte-level evidence, that the diagnostic does not change the exported artifact. Both are worth ~2 GPU-hours; neither requires a second look at anything the author already ran, and no serving benchmark belongs anywhere in this plan.

Note for the reader: @yatesdr's CHANGES_REQUESTED verdict dates from 2026-11-20 and predates this head; the 2026-11-28 Autobot review's blockers are all fixed. The current Autobot re-review of 38805ba3 is Ready To Merge with no blockers. Do not treat the 2026-11-20 label as a gate on hardware time.


What was verified at 38805ba3 (so the engineer does not re-litigate these)

What hardware can and cannot answer

Question cn5 cn7 Verdict
Do the ≤10 printed examples now span ≥2 kernel symbols instead of one CUTLASS family? Yes — 4×RTX PRO 6000 = same GPU model as the author's SM120 run, and a 4-rank export exercises the per-rank label path TP1 only, no multi-rank Run on cn5 (Stage 1)
Does the diagnostic change the exported core? (non-retention / non-blocking) Yes — byte-identity A/B against main n/a Run on cn5 (Stage 2)
Does it catch #266's real stale split-K arguments? No — needs deepseek-ai/DeepSeek-V4.1-Flash-1017 at TP4 on 4×GB10; cn5 has no such checkpoint No — 1×GB10 cannot form TP4 Out of scope; say so in the report
Close docs/TODO.txt:357-361? No — needs 4-GPU DeepSeek and 8-GPU W4A8 MoE; widest host is 4 GPUs No Out of scope; leave the TODO open
Reproduce 22,618/762 and 19,417/832? No — that export is local-inference-lab/DeepSeek-V4-Flash-Vision-Exp-lossless-CSF via hyperflare-recipes d1376bb; different checkpoint, recipe, and rank count No Do not attempt

One further caution the engineer must respect: assert distinct-address counts, never occurrence counts. blob caches each unique (data, numeric) miss list and replays it for every node/argument sharing those bytes (:196-219), so occurrences overstate the number of bad arguments by roughly the replay factor (the author's run: ~66×).


Stage 0 — Free, no GPU (mandatory, ~15 min, run first)

This is the release-profile crate layer from docs/design-review.md:180-185 (cargo test --locked --release … "and heliopause, matching the native-serving workflow"). The author ran debug --lib only, and .github/workflows contains no heliopause job at all (.github/workflows/native-serving.yml (not opened) covers eos, selene, selene-manager, helios, flare-cli, flare). That is the real verification gap here, and it costs nothing.

On the export host, at 38805ba3:

cargo test --locked --release --manifest-path heliopause/Cargo.toml --lib

Expectation to record: the author reports 231 passed, 0 failed, 6 ignored (all 6 CUDA-gated), including 28 tests in export::reachability::tests. If this fails, stop — do not spend GPU time on a build whose own suite does not pass in the required profile.

Optional, 2 minutes, and it directly protects Stage 1's budget: confirm the plan resolves before downloading anything. ignition export resolves the model, discovers GPUs through NVML, and derives the plan before downloading (docs/cli-design.md:1521-1523), and a capacity failure exits 4 (:1533-1534):

.venv/bin/ignition export glm-5.3-flash-nvfp4 --gpus 0,1,2,3 --help

Use this to read the recipe's declared tensor-parallel sizes. If TP4 is not listed, skip straight to TP2 in Stage 1.

Stage 1 — cn5: one export of nvidia/GLM-5.3-Flash-NVFP4 (the deliverable job)

Job shape: one cn5 job, all 4 GPUs, 48 CPUs, 125 GiB RAM. Budget: ~3–5 h wall clock (the author's reference export was ~73 min on 2 GPUs; a 4-rank GLM NVFP4 export with tuning and compilation is larger).

Why this model: it is the only recipe-supported model on the box — nvidia/GLM-5.3-Flash-NVFP4 → recipe glm-5.3-flash-nvfp4 (docs/model-preparation.md:318). facebook/dinov2-base and timm/vit_base_patch14_dinov2.lvd142m are on the host but have no Ignition recipe, so they cannot be exported. Note all listed models are at 0 GiB, i.e. not downloaded; the checkpoint fetch happens inside this job.

Preflight the engineer must do before launching (this is where a job gets wasted):

  1. Disk. A job gets only 16 GiB scratch, which is far too small for a GLM-5.3 Flash NVFP4 export (checkpoint + payload objects + staging). Point every preparation path at a large persistent filesystem in ~/.config/flare/config.toml (not opened) (ignition/cli/config.py:20):
    [paths]
    hub_cache = "/big/hf"
    kernel_cache = "/big/flare/kernels"
    core_cache = "/big/flare/cores"
    export_staging = "/big/flare/staging"
    
    export_staging defaults to empty, meaning "beside the core" (config.py:48, docs/cli-design.md:1395), so setting core_cache moves staging too — but hub_cache and kernel_cache default under ~/.cache and must be moved explicitly. Then df -h /big and confirm headroom per docs/multi-host.md:316-321: checkpoint + cached payload objects + payloads this export adds + temporary staging, all on one filesystem so hardlinks keep working. I could not verify free space on cn5; if the large FS is not big enough, that is a genuine blocker, not something to squeeze.
  2. Extension built from the PR head. After any Rust change: uv pip install --python .venv/bin/python --no-deps ./heliopause (docs/model-preparation.md:157-162). heliopause is a cdylib (heliopause/Cargo.toml:11) imported as flare_heliopause; a stale build silently measures main.
  3. Recipe package present. ignition/recipes/ is not in this repository; recipes come from local-inference-lab/hyperflare-recipes (docs/model-preparation.md:310-330). The job needs access to that dependency pin.

Command (TP4 first — this is the qualified configuration):

git checkout 38805ba3
cargo build --locked --release --manifest-path flare-cli/Cargo.toml (not opened)
uv sync --locked --extra prepare --extra test
uv pip install --python .venv/bin/python --no-deps ./heliopause
.venv/bin/ignition export glm-5.3-flash-nvfp4 --gpus 0,1,2,3 --verbose \
  > /big/logs/pr332-tp4.out 2> /big/logs/pr332-tp4.err
echo "exit=$?"

--gpus 0,1,2,3 is right: GLM at TP4 is the only qualified GLM configuration (docs/model-preparation.md:168-171: "Qualified end to end: Qwen at TP1 and TP2, and GLM at TP4"). Ignition spawns ranks with torch.multiprocessing spawn (ignition/preparation/rank_group.py:296), so child stderr is inherited — one 2>file captures every rank's report; nothing else is needed.

Fallback, not a second guess: 4×96 GiB = 384 GiB against a TP4 reference qualified on 4×DGX Spark (4×128 GiB unified). Planning may refuse (implementation rejects capacities that do not fit, docs/model-preparation.md:340-342). If the job exits 4 (capacity, docs/cli-design.md:1533-1534), rerun once as TP2 — the plan is derived before download, so this costs minutes, not an hour:

.venv/bin/ignition export glm-5.3-flash-nvfp4 --gpus 0,1 --verbose \
  > /big/logs/pr332-tp2.out 2> /big/logs/pr332-tp2.err

TP2 halves rank coverage (2 reports instead of 4) but still answers the per-symbol question. A TP2 run is a complete, acceptable deliverable; do not escalate back to TP4.

Assertions to pre-register (state them before the job, judge them after):

  1. Exit code 0. (Exit 4 = capacity, 5 = preparation; see above.)
  2. grep -c '^export: rank' pr332-tp4.err ≥ number of ranks — every rank prints, each line prefixed with its own rank.
  3. ≥2 distinct kernel symbols among the ≤10 example lines on at least one rank. This is the assertion the whole job exists for; at c3cc87ea all ten lines came from one CUTLASS family, which is what :256-282 was written to fix and what the author has not re-measured. Extraction: take the kernel NAME (MODULE) field of each graph … line, sort -u, count.
  4. Every example offset is divisible by 8. grep -o 'offset [0-9]*' | awk '{exit $2%8}'. A non-multiple means the alignment gate regressed.
  5. Summary/hidden arithmetic reconciles, per rank: printed examples + hidden distinct = summary distinct; printed occurrences + hidden occurrences = summary occurrences. The two units were conflated before; this is a one-line check and catches a units regression for free.
  6. No kernel unknown (unknown) in the output. graph rejects out-of-range function indices (reachability.rs:356-358) and capture.rs keeps kernels and functions in one order, so the fallback at :294-295 should be unreachable. If it appears, the index wiring is wrong — a finding, not a nit.
  7. Record the per-rank distinct-address count. This is the number the maintainer asked to see. Report it as "aligned distinct addresses per rank", and alongside it the per-symbol breakdown from (3).

Do not assert:

Optional smoke test (separate job, skip unless Stage 1 fails to convince): flare run <CACHE_ENTRY> --gpus 0,1,2,3 to prove the exported core still loads and serves. It needs a TTY for first-use publisher acceptance (docs/cli-design.md:1281-1285) or a pre-accepted fingerprint, plus --publisher-keys for the development profile (:729). Do not bundle it into the export job.

Stage 2 — cn5: non-interference A/B (the byte-identity job)

Why it is the highest-value assertion available: the change's own safety claim is that retention is untouched and nothing persists, so for one model and recipe the exported core must be byte-identical to a main export. That is a code-level claim, but only a diff of two real artifacts settles it, and it costs one job that reuses tuned/compiled caches.

How — reuse --reuse-weights so this is minutes, not another 73:

git worktree add /work/main 0a8c20f4
cd /work/main
uv pip install --python /path/.venv/bin/python --no-deps ./heliopause   # rebuild the extension at main
.venv/bin/ignition export glm-5.3-flash-nvfp4 --gpus 0,1,2,3 --reuse-weights \
  > /big/logs/main-tp4.out 2> /big/logs/main-tp4.err

--reuse-weights uses the cached default version as the weight source and reuses tuning and compilation caches (docs/model-preparation.md:290-308), so this is a graph/capture round, not a full export.

Assertions:

Predicted result: empty payload-set diff and parity timing. If the payload sets differ, that is a serious finding — it means the diagnostic changed the export — and everything else in this plan should be paused while it is understood.

Stage 3 — Optional, and probably not worth it: cn7 (1×GB10)

Only if a GB10-platform-specific question survives Stages 1–2. The cheapest model on cn7 with a recipe is google/gemma-4-E4B-it → gemma-4-e4b (docs/model-preparation.md:326), at TP1:

.venv/bin/ignition export gemma-4-e4b --gpus 0 --verbose 2> /big/logs/pr332-gb10.err

Kill criterion, state it up front: a small model with few recorded allocations may report zero candidates, in which case the per-symbol assertion is vacuous and the job proves nothing. Accept only if you already know from Stage 1 what a "populated" report looks like, and treat an empty report as a null result — not a pass. cn7's 60 GiB RAM and 10 CPUs also make it a poor fit for anything larger. My recommendation is to skip Stage 3 unless the maintainer asks for GB10 specifically; it adds a platform, not evidence.


Budget and stop rules

Stage Host Cost Gate
0 any (CPU) ~15 min, 0 GPU Mandatory. Fail ⇒ stop, report to author.
1 cn5, 4 GPUs ~3–5 h ≈ 12–20 GPU-h The deliverable. Capacity exit 4 ⇒ retry once at TP2 only.
2 cn5, 4 GPUs ~1–2 h ≈ 4–8 GPU-h Run after Stage 1 succeeds. Diff ⇒ escalate, pause.
3 cn7, 1 GPU ~1 h Optional; skip by default.

Total: ~16–28 GPU-hours on cn5, ≤4 GPU-hours on cn7. If Stage 1 fails for reasons unrelated to this PR (dependency fetch, driver, disk), stop and report; do not spend Stage 2's job re-running the same failure.

Explicitly out of scope (write this into the test record)

Process items to raise alongside the test (not test gates)

  1. Add heliopause to native-serving.yml (not opened). docs/design-review.md:180-185 requires --release crate tests for heliopause "matching the native-serving workflow", but the workflow has no heliopause job. That is why this PR's verification rests on hand-run debug tests. Fixing CI is worth more than any GPU job here.
  2. The PR body is now current (231 passed / 0 failed / 6 ignored; aligned counts correctly flagged as pre-per-symbol; ## Limitations states that unaligned unresolved values are not reported). No description blocker remains.
  3. Open should-fix items that do not block the test but will move the output: the granule-trimmed-inactive question (capture.rs:3239 still passes raw &request.inactive; the sole inactive test, reachability.rs:1168-1183, uses an aligned range) — the author declined it with a written rationale and the last review verified that rationale (raw inactive also feeds zero_ranges, so those bytes are genuinely not live); and the two non-blocking simplifications (single-pass example selection at :256-282, narrowing pub(crate) at :50-72, :221-230). If per-symbol selection is rewritten for simplification, Stage 1 must be re-run, since that rewrite touches the exact lines the job measures. Ask for the simplification to land after the test, or accept measuring twice.

Security / integrity check

I re-read the PR description, the 2026-11-30 author comment, and the prior reviews and screens. Nothing instruction-shaped: no prompt injection, no agent-directed requests, no requests to alter tooling/CI/review process, no exfiltration. Discord: myong_acct is attribution the repo's own AGENTS.md (not opened) requires. The author's Limitations section is candid about the unmeasured per-symbol output and the un-runnable 4-GPU case, which is consistent with the charter's evidence standard and is reflected above as scope rather than as a defect. Matches the intake screen's all-clear on both heads.

Full report · Notes

Discord Test Request

Draft Discord post (ready to paste)

Recommendation: Test

High confidence. Every blocker from @yatesdr and the earlier Autobot passes is fixed at 38805ba3, and the current Autobot re-review of that head is Ready To Merge with 0 blockers. The one thing left is measurement, and the author says so himself: "the per-symbol 10-line GPU stderr sample has not been re-captured on GPU." The 2026-11-20 CHANGES_REQUESTED label predates this head — it is not a gate on hardware time.

Hardware Required

Justification

Estimated Time to Complete

~5–7 hours wall clock on cn5 (~16–28 GPU-hours), plus a 15-minute free CPU check first: 15 min release-profile heliopause tests, 3–5 h for the 4-GPU GLM-5.3-Flash-NVFP4 export (retry once at TP2 if capacity exits 4), and 1–2 h for the byte-identity A/B. Optional cn7 (1×GB10) job, ~1 h, skippable — recommend skipping.


What I verified myself (not taken from the report)

Discrepancies / caveats in the pre-test report

  1. Its own budget contradicts its headline. The recommendation says "≤8 GPU-hours"; the budget table says "~16–28 GPU-hours on cn5, ≤4 GPU-hours on cn7". I used the budget table (16–28 GPU-h ≈ 5–7 h wall clock) in the post. Whoever sends this should reconcile the two before it becomes a scheduling promise.
  2. Hardware cannot do what a casual reader assumes. It cannot catch #266's real stale pointers (needs deepseek-ai/DeepSeek-V4.1-Flash-1017 at TP4 on 4×GB10), cannot close docs/TODO.txt:357-361 (needs 4-GPU DeepSeek and 8-GPU W4A8 MoE; widest host is 4 GPUs), and cannot reproduce 22,618/762 or 19,417/832 (different checkpoint, recipe and rank count). The post deliberately claims only the per-symbol behavior and byte-identity — do not let the message drift into "will find the #266 bug."
  3. No serving benchmark belongs in this plan — nothing on the serving path changed (no wire, protobuf, core-format, config or flag change; nothing persists), so there is no speedup to measure and no throughput regression to fear. The only performance question is export-time cost, covered by the A/B.
  4. Stage 3 (cn7) is net-negative evidence: TP1 only, 60 GiB RAM, and a small model may print zero candidates, making the per-symbol assertion vacuous. Skipping it is the right call; if it runs, an empty report must be recorded as a null result, not a pass.
  5. export_staging is not a free-standing setting: it defaults to "beside the core", so setting core_cache moves staging too, while hub_cache and kernel_cache default under ~/.cache and must be moved explicitly. The post keeps this to one bullet, but the engineer needs all four keys.
  6. Test ordering risk: if the two non-blocking simplifications to :256-282 land after the test, Stage 1 must be re-run, since that rewrite touches the exact lines being measured. Ask for simplification after the GPU job.

Honest note on the scratchpad condition

I did not manage to write scratchpad entries: I spent the turn verifying the code claims against the head, and the tool set was restricted to finish before I could persist notes. Everything worth keeping is written out above with file:line citations, so nothing is lost — but the stated "Done when: every angle has entries in the scratchpad" condition is not literally satisfied, and I am reporting that rather than implying otherwise. Angles I did not independently open: docs/runtime-core-design.md (not opened) and docs/TODO.txt diffs, docs/design-review.md:180-185 (not opened), docs/model-preparation.md (not opened), docs/cli-design.md (not opened), docs/multi-host.md (not opened), the recipe package, and the heliopause test count (231 passed / 0 failed / 6 ignored) — these rest on the pre-test report and the PR text, and each is cited there for the engineer to check at run time.

Full report