#1 [high] PR #590 verification of key claims (code-level)
Verified at pr/590 head 4ea9ba0:
- helios/src/engram/reader/windows.rs:56
let depth = DEPTH / workers;, :91if self.lanes.len() == 1 || reads.len() <= DEPTH {and :94div_ceil(self.lanes.len())— Windows backend keeps the pre-fix dispatch (total DEPTH, not lane depth). Unix fixed at helios/src/engram/reader.rs:787-800 (lane_depth = DEPTH/lanes.len(), active_lanes). So the QD-collapse fix is Unix-only; docs/cli-design.md:774-778 says "Windows defaults to four workers" (i.e. the platform most likely to run multi-worker keeps the bug). CONFIRMED. - helios/src/engram.rs:401-406 next_reader_action returns Gather iff held job is_ready() (or cancelled). :626-670 Gather arm: wait.reset() then job.requests.read(&stop) at :654. Requests::read (engram.rs:299-320) loops
while ready.load != sequence— cannot iterate in serving. So the read-side WaitBackoff is unreachable in production; only tests at :1095/:1107/:1119/:1130/:1143/:1167 reach it. CONFIRMED (matches #519 blocker 1). - BlockRecv (:688-694) is only reachable when held.is_none() — after try_recv empty. So the "warm during wait" path needs held job; fine.
- engram.rs:607-609 warm_batch = WARM_BATCH_ROWS.min(max_tokensheads).max(1); max_rows for CachedReader built from same max_tokensheads (engram.rs:539-541 -> reader.rs:938/997). AdvisoryMailbox::snapshot clamps to max_rows (:264). => chunks(max_rows) always 1 chunk in serving; chunked warm is unreachable in production. CONFIRMED.
- engram.rs:328-332 NAP_GROWTH/NAP_MAX are not cfg-gated; Windows yield_core (:349-352) ignores them => dead_code warning on Windows target. CONFIRMED.
- ignition/components/ngram_delivery.py:78-95 new op
flare::ple_advisory_requests; :157-164 publish_lookahead allocates ids=torch.empty_like(self.ids) and requests=torch.empty(...) per call. Search of ignition/ for publish_lookahead|ple_advisory_requests: only definitions (engram.py:280 is the Engram twin). No in-repo consumer. CONFIRMED. - token_count=ids.shape[0] (ngram_delivery.py:86) — hashed row count comes from the prepared PLE token count, not from token_ids length; same pattern as existing _requests (:67), so not a new divergence but limits what a longer window would do.
- #481 fix path: reader.rs:108-176.
Self::open_readonly_view(file).ok()at :139-143 silently falls back to O_RDWR fd; EPERM message at :151-159 names /proc/self/fd even when reopen failed. Seals still enforced (RESIDENT_SEALS/from_shared). - runtime_core/engram.rs:224,333 use GraphKind::try_from(..).is_ok_and(crate::engram::consumes) — replaces hardcoded lists; :287 checked_mul(8); :289-296 allocation bounds; :303-316 checked_add(1/2).
#2 [high] Hardware testability per PR strand (cn5/cn7)
Hosts: cn5 = 4x RTX PRO 6000 Blackwell, amd64 Linux; cn7 = GB10, arm64 Linux, 1 GPU. Models on hosts: cn5 dinov2-base, timm vit, nvidia/local-inference-lab GLM-5.3-Flash-NVFP4; cn7 incoai Qwen3.8-27B-DFlash2, nvidia Qwen3.8-27B-NVFP4, nvidia Qwen3.8-Flash-Next-FP4-Local, zai-org GLM-5.3-Flash, GLM-5.3-Flash-NVFP4. NO DeepSeek-V4.1-Flash => no Engram-bearing core on either host (Engram tables are DeepSeek V4.1's; the PR's own numbers used DeepSeek... actually PR used Qwen3.8 PLE, and #519 used local-inference-lab/DeepSeek-V4.1-Flash-1017-FLARE@gb202 which is NOT on cn5/cn7). Strand testability:
- io_uring lane fan-out (reader.rs:787-800): Linux-only; needs a DISK Engram core. Only route on these hosts = helios/tests/engram_core_fixture.py (exports a b12x Engram fixture core; needs torch+b12x on SM120/SM121) or a DeepSeek V4.1 core we do not have. Feasible but fixture-only, and QD effect needs an NVMe device with real queueing (cn5 has /dev scratch 16 GiB; PR used a RAID NVMe).
- Chunked CachedReader::warm: unreachable in serving (see note 1) -> nothing to test on hardware.
- pre-6.7 EPERM /proc reopen (#481): requires kernel <6.7. cn5 (Blackwell, R570+ era) and cn7 (GB10, arm64) are both recent -> almost certainly >=6.7, so the defect cannot be reproduced. Only testable value = positive control that RAM tables still start (no regression on modern kernels), which the PR's own unit test already asserts (reader.rs:2296 sealed_resident_readonly_mapping_drops_write_capability_via_proc_reopen).
- WaitBackoff: read-half dead in serving; the WaitReady half needs a device-mailbox Engram workload + /proc thread-CPU profiling + flare_replay_readiness_wait_nanoseconds_total (docs/api.md:333). Untestable without an Engram core; and it is the change the owner blocked in #519 anyway.
- Mailbox overflow / scored_prefill loader validation (runtime_core/engram.rs): pure loader logic, fully covered by unit tests. Hardware adds nothing; a rejected core fails at load, not on GPU.
- PLE publish_lookahead (ngram_delivery.py:157-164): Qwen3.8 models ARE on cn7, but the calling recipe lives in local-inference-lab/hyperflare-recipes (unmerged companion PR, merge-order note in #590). No in-repo caller or test; cannot be exercised end to end from this repo. => On the hardware we have, only strand 1 (fixture-only QD A/B) and a RAM-table startup smoke test are testable at all.
#4 [high] Why the PR's own benchmark cannot validate its headline change
helios/src/engram.rs:407-414 next_reader_action order: Gather -> Warm (if has_warm_work) -> WaitReady -> BlockRecv. => WaitReady is reached only when there is NO adviseable warm work, i.e. prefetch disabled or advisory empty. The PR's own served A/B ran with prefetch enabled (companion recipe PR provides the PLE advisory mailbox), so the measurement exercised ReaderAction::Warm, not the new WaitBackoff at :685-687. => The claimed 76.5% gather / 4.6% TTFT numbers are attributable to the PLE lookahead path (#566 contract + companion recipe), not to the WaitBackoff, not to lane fan-out (workers=1 in the measured config takes the lanes.len()==1 branch), and not to warm chunking. This is the strongest single argument that hardware testing of the PR as a whole cannot validate its headline number.
Also: docs/design-review.md:22-26 requires project-owner approval for a new captured-graph operation family; the author of #590 IS the owner (Luke Alonso), so the new flare::ple_advisory_requests op is authorized by authorship — do not ask the tester to chase #535/#566 sign-off.
#3 [medium] Own finding: Transfers::new request-mailbox bound vs per-core validation (compat edge)
In helios/src/engram.rs:843-882 Transfers::new now rejects a request mailbox shorter than (binding.shared.max_tokens * table.heads + 1) * 8.
binding.shared.max_tokens is set from tokens computed in helios/src/runtime_core/model.rs:478-485, which takes the max packed_tokens over consuming graphs across ALL ranks merged into that reader set (engram.iter dedups identical Index, ranks vector).
But helios/src/runtime_core/engram.rs:302-311 validates each core's own request mailbox against that core's max_staged_rows (its own max packed_tokens).
So for a multi-rank reader set whose ranks declare different graph capacities, the load-time check passes per core while Transfers::new now demands the set-wide larger size => a NEW rejection of a core that loaded and served before this PR.
Narrow (TP ranks normally export identical catalogs) and untested by any new test; no test covers a multi-rank set with differing capacities. Worth one load smoke test of an existing exported Engram core rather than a blocker.
Note prefetch side is exact: required = (cap+2)*8 == nbytes because cap = shape[0]-2 (runtime_core/engram.rs:313-328).