Audit report — PR #732 (contract, vendored-dependency, and mandatory-verification gates)
Scope: governance only (no algorithm/kernel review). I read the changed code at ref: pr/732 (not the stale pr_diff base), docs/design-review.md, AGENTS.md, docs/verification.md, docs/core-format-design.md, docs/runtime-core-design.md, helios/manifest.md, docs/core-design.md, both protos, pyproject.toml, and the diff's tests.
Verdict: Two gate items must be resolved before merge — one mandatory-verification (Layer 1) gap and one material claim/compatibility contradiction (an undeclared BF16 validation tightening presented as "preserved behavioral compatibility", plus wrong enum numbers for a signed format). No vendored-file violation. No unapproved-captured-graph-family violation is established, but an owner adjudication question is open.
Gate 1 — Signed core-format / wire / captured-graph / public contract boundaries
What the PR actually changes (verified):
helios/proto/core.proto:266-292andhelios/proto/runtime_core.proto:662-688:enum Encoding { UNSPECIFIED = 0; FP8_E4M3_E8M0 = 1; NVFP4_E4M3_GLOBAL = 2; BF16 = 3; FP8_E4M3_GLOBAL = 4; }— additive append only; existing values untouched, so signed cores and the wire encoding remain readable (AGENTS.md:436-449, principle 13).- Signed-format validation/decode:
helios/src/core/schema.rs:443-471(engram_encoding_has_scales,engram_scales),473-641(validate_engram),helios/src/runtime_core/engram.rs:139-169(single-plane arm,scale_bytes = None),200-206(rejects scale bindings). - Normative docs were updated consistently:
docs/core-format-design.md:91-103("single-plane encodings such asBF16andFP8_E4M3_GLOBALomit the-scalesfile") andhelios/manifest.md:522-528(rawembedding_width-byte rows, no scale plane, finite positiveglobal_scale). Nothing indocs/scheduling-theory.md/docs/scheduling-runtime-design.mdis touched or contradicted — no scheduler, admission, cache, or graph-kind change.
Owner-approval question (open, not a proven violation). docs/design-review.md:22-26 and AGENTS.md:377-382 require prior explicit owner approval for "a new operation contract … even if it reuses a graph kind or enum value." This PR adds an EngramTable.Encoding value on a signed format. It adds no new operation contract — the gather/mailbox/lookup operation family and its captured ops are unchanged; only = how the element bytes are interpreted differs — so on the plain reading of the rule this is a shape/format variant rather than a new operation family, and merged precedent (#664 added BF16 = 3 through the same seam) is the same. I do not score this as a blocker, but it is the one item a reviewer should not silently assume: no owner sign-off by lukealonso is recorded anywhere on #732, and docs/design-review.md:22-26 explicitly says a design acknowledgment does not grant that approval. Recommend an explicit yes/no from the owner rather than inferring consent from #664.
- Info/Nit:
docs/core-design.md:607still describes PLE lookup as "b12x NVFP4 PLE embedding" — stale for BF16 (from #664) and now FP8. Pre-existing, but this PR is the second format the line misrepresents.
Gate 2 — Vendored upstream dependencies and cross-PR dependencies
- No vendored-file fork.
helios/native/roce_proxy.c/roce_proxy_dlopen.care untouched,PROXY_ABIuntouched, andpyproject.tomlis not in the changed-file list, so the pin stays1441ce862ffbc9d8550fdda7ad90e97ca04f4b8e(pyproject.toml:47).tests/preparation/test_roce_proxy_parity.pytherefore remains meaningful and is not at risk from this diff. No new dependency, no version bump;ignition/preparation/runtime_core_pb2.pyis regenerated descriptor content (the enum blob at line 27;_ENGRAMTABLE_ENCODINGgrows 11543-11612 → 11543-11643) ashelios/manifest.md:578-583prescribes. - Pinned, but unverifiable in-repo, upstream contract (report, not blocker). The ignition binding branches on
quant_modestrings"bf16","fp8_e4m3_per_tensor","nvfp4_group16"(ignition/components/ngram_delivery.py:105-114,136-144). Those strings occur nowhere else in this repo; they come fromb12xvia the pinnedflashinfer-python[b12x](pyproject.toml:25,47). So the new branch's name has no in-repo authority, and the "else" arm is NVFP4 — an unrecognized/misspelled mode would silently fall into the two-plane path. The dependency is pinned (satisfying "pin everything"), so this is not an unpinned-external-PR violation; it is an unverifiable upstream contract that the PR should state explicitly ("supported by pinned b12x rev 1441ce86") or corroborate. - Cross-PR: open #731 pins flashinfer forward for the same Qwen4-35B-A3B recipe on SM120. It gates SM120 export of the checkpoint this PR targets; #732's own evidence is SM121, so no dependency violation — informational only.
Gate 3 — Mandatory verification evidence (docs/design-review.md testing hierarchy)
What is claimed and plausible in the tree: helios::core::schema::tests (18) including validates_single_plane_fp8_global_engram_table (schema.rs:2068-2167), runtime_core::engram (10) including fp8_global_single_plane_tables_decode_shared_and_partitioned (engram.rs:1162-1235), heliopause --lib payload_export_tests (33) including the 6-table NVFP4/BF16/FP8 shared+partitioned export and hardlink fixture (core.rs:4525-4689), flare --lib (247 passed / 4 ignored — the full suite for that crate), and pytest tests/components/test_ngram_delivery.py (3, parametrized over all three modes at tests/components/test_ngram_delivery.py:29-36). Layer-3 obligations for a core-format change (live export/serve + legacy-core replay, principle 12/13, docs/verification.md:32) are claimed: single-GPU SM121 ignition export + native flare run for FP8 (disk and RAM backing) and an NVFP4_E4M3_GLOBAL core. No failing CI or failing test is reported anywhere on 078b043, so nothing is flagged on that axis.
Blocker — Layer 1 not run as required for the affected crates. The Layer-1 command is cargo test --locked --release on every affected crate, matching .github/workflows/native-serving.yml (docs/design-review.md:180-194; AGENTS.md:309-321). #732 ran only name-filtered, non-release subsets for the two crates it changes:
helios:--lib core::schema::testsand--lib runtime_core::engram(no--release, and the crate was not run whole with--features runtime-core,server);heliopause:--lib payload_export_testsonly;heliostemplate-fixture and/dev/shm/selenetests were not run at all.
docs/design-review.md:247-251 is explicit that "Disclosure does not excuse skipping runnable CPU checks… Leaving an applicable crate test… unrun blocks commit and PR acceptance." Unlike the externally supplied template fixtures, an unfiltered cargo test --manifest-path helios/Cargo.toml --features runtime-core,server --release and the same for heliopause are runnable on CPU without a GPU or checkpoint. flare was run whole, which shows the intended pattern. Required: post the unfiltered release-mode results for helios and heliopause (and the affected Python component suite, which was run).
Additionally, the new Python test replaces the real upstream plan with stubs (tests/components/test_ngram_delivery.py:62-67 monkeypatches ple_embedding.invocation_from_tensors and ple_embedding.plan, and require_prepared at line 60). It does establish the changed view/scale selection, but it cannot establish that the pinned b12x accepts weight_scale_2=None with an FP8 weight and the "fp8_e4m3_per_tensor" mode (AGENTS.md:194-199).
Gate 4 — Material scope / claim contradictions
Major — the description claims preserved BF16 behavior while the diff tightens BF16 validation, and it misstates the wire numbers. Both are material for a signed-format PR:
- Undisclosed BF16 behavior change.
helios/src/core/schema.rs:561-571now pins row bytes for bothBf16(embedding_width * 2) andFp8E4m3Global(embedding_width), enforced for shared planes at578-586and per shard at622-630.mainhas no such check (main:helios/src/core/schema.rs:316-421validates presence/roles only). So a BF16 core whose plane size was notrows * width * 2— accepted after #664 — is now rejected at load/export. The body asserts "Preserved full wire and behavioral compatibility for existingNVFP4_E4M3_GLOBAL… andBF16cores," which the diff contradicts. Correctly exported BF16 cores are unaffected (export derives the size identically), and the exposure is narrow, butAGENTS.md:88-94requires material compatibility changes to be named with before/after, and no test asserts the tightened BF16 rejection (the new byte-size assertions are FP8-only:schema.rs:2140-2142,2164-2166). - Wrong enum numbers in the description. The body says
FP8_E4M3_GLOBAL = 3"alongsideNVFP4_E4M3_GLOBAL = 1andBF16 = 2"; the code isE8M0 = 1, NVFP4 = 2, BF16 = 3, FP8_E4M3_GLOBAL = 4(core.proto:269,runtime_core.proto:665). For a PR whose entire subject is a signed wire tag, tag numbers a reader could copy into a producer or into a review of core compatibility are not a phrasing nuance; the text also implies a standalone feature while the diff is a stacked follow-on to #664 (which took tag 3).
Nothing else is bundled: file scope matches the description (10 files), the +112/−112 runtime_core_pb2.py is generated, and no unrelated tooling is included.
Not flagged (deliberately)
- No CI-failure finding: the description and case file report none, and I cannot observe Actions check runs.
- No performance-gate finding: the PR makes a capability claim, not a speedup claim, so no
main-vs-branch A/B is required. - TP>1 covered only by CPU tests is honestly disclosed and matches Layer-1 requirements for that path; multi-GPU hardware execution is required for
helios/src/execution/*changes, which this PR does not touch. #731coupling,docs/core-design.md:607staleness, and theb12xmode-name provenance are recorded as Info/Major above rather than blockers except where stated.
Required before merge: (1) unfiltered cargo test --locked --release results for helios --features runtime-core,server and heliopause (docs/design-review.md:247-251 is non-waivable); (2) correct the enum numbers and disclose the BF16 row-size tightening with a direct BF16 rejection test; (3) an explicit owner decision on the format-contract question, plus a one-line statement of which pinned b12x revision provides fp8_e4m3_per_tensor.