Re review report · NVIDIA/hyperflare-inference #664

Raw Markdown for agents: https://autobot.eidonix.com/p/21a38801-3eb4-4ead-a5ab-988c9b98558d.md

Recommendation: Changes Requested

All six code and documentation follow-ups from the previous review were cleanly resolved in 263dfe9 (engram_encoding_has_scales strictness, engram_scales centralization, Index::shares_delivery_with, paired Option<(PlaneSource, String)>, distinct partitioned-table diagnostics, and PR description updates), the Thor E2B live export-and-serve run is now completed, and deep inspection of the reader, row cache, staging, export, conversion, and weight-reuse paths found no correctness or concurrency regressions. The PR remains blocked on two repository gates carried over (and narrowed) from the previous round: recorded project-owner approval and a linked producer/recipe PR for the new Encoding.BF16 / Method.IDENTITY wire contract, and passing CI plus a backward-compatibility serving replay of a pre-existing FP8/NVFP4 core without re-export.

Merge Risk

Level: Medium

Walkthrough

Pre-merge Checks

Blockers

  1. Unapproved core-format / captured-graph contract extension with no linked producer (helios/proto/core.proto:258,294, helios/proto/runtime_core.proto:661,695, helios/manifest.md:457-463, docs/core-format-design.md:92-103): Adding EngramTable.Encoding.BF16 = 3, EngramHash.Method.IDENTITY = 3, single-plane artifact packaging (omitting -scales safetensors files), and the IDENTITY mailbox contract (1-head int64 row IDs in [0, stored_rows) or -1, partition-local indices when sharded, out-of-range IDs failing gather) defines new producer obligations on captured graphs. Per docs/design-review.md:22-26, docs/core-design.md:276-280, and the Project Charter, a new operation/wire contract requires explicit prior approval from project owner Luke Alonso even when reusing an existing graph kind or mailbox mechanism; no human review or approval is recorded on this PR. Additionally, no producer exists in this repository (ignition/components/engram.py:117-126 emits only two-plane FP8/NVFP4) and no companion recipe PR (e.g., Gemma 4 E2B/E4B) is linked. Fix: Record explicit owner approval for Encoding.BF16 and Method.IDENTITY (and their mailbox semantics), and link the companion producer/recipe PR targeting this contract.
  2. Missing CI verification on head 263dfe9 and unverified legacy FP8/NVFP4 core replay (.github/workflows/native-serving.yml:13-78 (not opened), .github/workflows/python-cpu.yml:13-41 (not opened), .github/workflows/helios-lifecycle.yml:18-48 (not opened), docs/design-review.md:116-123,247-251): While the Thor E2B export-and-serve run from Round 1 Blocker 2 is now complete, two verification gates remain unmet: (a) no CI workflows have reported on 263dfe9, leaving the Windows I/O ring build (windows-2022 matrix job), full release crate test suites, python-cpu pytest/heliopause job, and helios-lifecycle TLA+ conformance and Kani proofs unverified (and docs/design-review.md:247-251 states that disclosing runnable CPU/formal checks as limitations does not waive them); and (b) the PR discloses that loading and serving replay of a previously exported FP8/NVFP4 core without re-export was not run, which is required by Principle 13 (docs/design-review.md:123) and the Project Charter. Fix: Unblock and pass CI on the PR head (native-serving, python-cpu, and helios-lifecycle), and verify loading and serving replay of at least one previously exported FP8/NVFP4 core without re-export.

Should Fix

None.

Subtract / Simplify

  1. Remove redundant encoding validation in validate_engram (helios/src/core/schema.rs:367-372): engram_encoding_has_scales(table.encoding)? (helios/src/core/schema.rs:318-327) already rejects unknown tags and Encoding::Unspecified with the identical "engram table has no encoding" error. Delete the duplicate try_from / Unspecified check at lines 367–371 (either check table.encoding == wire::engram_table::Encoding::Bf16 as i32 at line 433 or drop lines 369–371 after engram_encoding_has_scales).
  2. Delete unreachable None branch in decode Planes construction (helios/src/runtime_core/engram.rs:259-267): When scale_bytes is None (has_scales == false), shared tables have already rejected table.scales.is_some() at line 191 and partitioned tables have already rejected shard.scales.is_some() for every shard inside validate_shards at lines 97–101 (called at line 158). Replace lines 259–267 with scales: scale_bytes.map(|bytes| plane(scales, bytes)).transpose()?, (deleting 7 unreachable lines).

Nits

None.

Dropped on verification