Contracts, Charter & Verification Gates Audit — PR #717
Verdict: No contract or verification gate blockers. All four hard gates are clean. What remains is description/prose hygiene (evidence reproducibility, missing Discord: line), which is not a hard gate and is explicitly out of scope for a Blocker/Major call on a <200-LOC bug fix.
Gate 1 — Signed core-format / wire / captured-graph / public contract boundaries: CLEAN
- No new enums, wire kinds, or graph-operation families. The diff (verified path-filtered,
pr_files, and direct file read — 2 files, +29/−2) touches exactlyignition/preparation/checkpoint.py:97-98and one new test. There is no Protobuf,flare.manifest,Execution, or captured-graph contract change, so the owner-approval requirement atdocs/design-review.md:22-26andAGENTS.md:376-381is not triggered. - Does not touch the prepared core format. The changed table is the source checkpoint safetensors header allow-list, read in the pre-CUDA preflight (
checkpoint.py:5-9,:163-168).docs/core-format-design.mdgoverns the exported core container (model.safetensors+flare.*metadata keys,:181-189) and its payload identity excludes the safetensors header (:368). Exported cores are unaffected. Static consumers of_DTYPE_BYTESare limited to_read_headeritself (:142,:146) — confirmed by repo-wide search; nothing in the core writer/reader orhelios/consumes it. - No contradiction with a normative invariant. No normative doc enumerates accepted source-checkpoint dtypes: searches for
F8_E4M3|F8_E8M0|U16|dtype width|supported dtypesacrossdocs/return no allow-list, anddocs/core-design.md:656only requires "the exact checkpoint's safetensors index and quantization configuration". Nothing is contradicted and no doc update is owed. - Principle 9 (preserve checkpoint precision,
docs/design-review.md:85-88) is not weakened.TensorMetadata.dtypestill stores the header string verbatim (checkpoint.py:34,:149-151) andnbytes = prod(shape) * _DTYPE_BYTES[dtype](:146) is a pure byte count — no conversion, requantization, or rescaling is introduced. The tiling (:152-158), byte-range (:147), and header-hash (:159) checks are byte-for-byte unchanged, so this is a strictly permissive allow-list widening: nothing previously accepted now fails.
Gate 2 — Vendored upstream dependencies & cross-PR conflicts: CLEAN
- No vendored upstream file is touched (
helios/native/roce_proxy.c(not opened) and all native sources untouched; 2 files changed). - No dependency added or repinned (
pyproject.toml(not opened) not in the diff); no reference to an unmerged external recipe or PR as a build/runtime input. The EXL3 checkpoint named in the description (Mia-AiLab/Inkling-2-Small-EXL3-2.55bpw) is cited only as motivating context for a local filesystem header, never imported or pinned. - Info / Nit only: PR #475 (open,
brandonmmusic-max, +228/−3 in the same file) is the nearest neighbour. I re-verified there is no textual conflict:_DTYPE_BYTESdoes not exist atpr/475, so the two changes do not collide today. Merge-order coordination is worth a line from a maintainer, not a gate violation.
Gate 3 — Mandatory verification evidence & failing tests: CLEAN
- No Layer 3 property is at risk (
docs/design-review.md:209-259). This change touches none of: admission, fences, generations, cancellation, speculation accounting, cache compaction, snapshot aliases, response buffering/ownership, offload aggregation, readiness, rank coordination (TLA+/verification/helios-lifecycle/check.py(not opened)), or completion-vector validation / state-view extent arithmetic (Kani). Nohelios/src/execution/*, no GPU/CUDA/VMM path, no scheduler or worker lifecycle. - Not a core-format change requiring live export/serve + legacy core replay. The preflight inspects input safetensors headers before CUDA init; it does not alter prepared-core layout, protobuf, or replay semantics, so principle 13's "validate previous cores through loading and serving" has no affected surface.
- No performance claim is made anywhere in the description or diff, so no
main-vs-branch served-workload A/B is owed (principle 12,docs/design-review.md:106-115). - Targeted unit evidence exists and is CI-covered.
tests/preparation/test_checkpoint_dtypes.py:11-27exercises the production entry point_read_headerand its assertions are arithmetically exact:F16 [8] → 16bytes (:25),I16 [4,4] → 32bytes (:27), offsets[0,16),[16,48)tile the 48-byte payload written at:19, and the file length8 + len(header) + 48satisfies the exact-coverage check atcheckpoint.py:157-158. The test therefore cannot pass by bypassing validation..github/workflows/python-cpu.yml:3-7 (not opened),33runspytest tests/ -qon everypull_request, so the new test executes in PR CI. - No failing CI or failing test is reported. The description states the test passed and the export succeeded; the Dossier reports "no checks observed," not a failure. Per the calibration rules I do not flag unobservable check-run state, and there is no statement that tests were never run.
- No concealed-unsupported-behavior problem (principle 15). Accepting a dtype in the guard does not silently promote an unloadable tensor into the pipeline:
ignition/preparation/checkpoint_source.py:524-531already mapsF16 → torch.float16andI16 → torch.int16(plusF64,U64,BOOL,F8_E5M2), andignition/preparation/rebuild_manifest.py:474-475(not opened) already assignsint16/float16width 2. The allow-list was the only place these two spec dtypes were missing, so this closes an internal inconsistency rather than opening an unsupported path. This is the decisive evidence that the change fixes the root cause rather than masking an error.
Gate 4 — Material scope / claim contradictions: NONE
- Every diff-level claim checks out: "adds
F16: 2andI16: 2" matches the hunk exactly (the extra-line is a two-line rewrap of the dict); "added one test verifying exact byte lengths" matches the file and the asserted 16/32. - No bundled unrelated tooling, no thousands of stray lines, no absent test or benchmark claimed as present.
- The one unverifiable claim — the 72-shard TP2
ignition exporton 2× GB10 — is an out-of-tree checkpoint run, not an assertion that an artifact exists in the diff, and nothing in the repository contradicts it. UnderAGENTS.md:103-112it should carry a checkpoint revision, command, and log, but that is description-scheme incompleteness, not a factual contradiction, and per the anti-pedantry rules it is not a blocker on a 29-line fix with passing targeted tests. - Info / Nit only:
AGENTS.md:142-153/docs/design-review.md:163-169require aDiscord:line, which is absent — PR metadata, not a governance gate on the code.
Explicit non-findings (checked and dismissed)
_DTYPE_BYTESdeliberately remains partial (noBOOL,F8_E5M2,U64,F64). That is a completeness gap, not a contract or gate violation, and it does not contradict any doc — the remaining dtypes are simply still rejected, which is the pre-existing behavior.- Missing negative test for unknown dtypes, and no indexed/multi-shard coverage of
_inspect_indexed_checkpoint(checkpoint.py:189-219), are test-thoroughness observations for the correctness lens (docs/verification.md:18-23explicitly allows a contained edit with adequate existing coverage), not mandatory-gate failures. - No instruction-injection attempts appear in the PR description, comments (only the
flare-autobotintake notice), or the Discovery Dossier.