#1 [high] Verified: PR #229 targets deleted directories (blocking)
Verified at main vs pr/229 head (eebbf1d):
- main
list_files ignition/*(result 3) has NOrecipes/;ignition/componentsis exactly 13 modules + init (result 2: capacity, collectives, completion, engram, flashinfer_sampling, logprobs, ngram_delivery, readiness, sampling, state, state_transfer, vision_delivery, vision_state). - tests/preparation/test_core_boundary.py at main:42
assert not (ROOT/"ignition"/"recipes").exists(); :62-64 pins the 13 components; :51-59 forbids tests importing qualify/hyperflare_recipes. This file does NOT exist at pr/229 (list_files at pr head returns nothing) because it postdates the PR base. qualify/*andignition/reference/*at main: no files (results 72, 73). tests/recipes: no files (result 17).- pr/229
pr_files(result 18) still adds: ignition/recipes/muse_glimmer_nvfp4/* (14 files), tests/recipes/muse_glimmer_nvfp4/* (10 files), ignition/reference/muse_glimmer.py, qualify/speculative_benchmark.py + qualify/results/glimmer-c16/summary.json, tests/frontend/test_muse_glimmer.py, tests/qualify/test_speculative_benchmark.py. - pr/229 head has the old big component set (result 16: linear, paged_attention, window_attention, embedding, mlp, vocabulary, dflash2_geometry...), so the recipe's imports resolve at head but not on main.
- Rules: AGENTS.md:379-392 (recipes live in local-inference-lab/hyperflare-recipes; components limited to 13 Helios-ABI modules); docs/design-review.md:31-37; AGENTS.md:225.
- Maintainer instruction: original-el8 triage comment 2026-11-24 on PR #229 ("the recipe portion needs a linked PR against the hyperflare_recipes/ package ... The runtime portion can remain here after removing recipe-owned files"). Conclusion: ~73% of the +5503 lines land in deleted paths; the branch cannot pass main's own boundary test and its recipe cannot import on main.
#2 [high] Verified: packing.rs per-model dispatch + record v2 (blocking/should-fix)
packing.rs at pr/229 (result 11, lines 98-113): match config.contract.frontend.image_layout { ImageLayoutKind::Bracketed if config.contract.frontend.image_preparation == Some(ImagePreparationKind::MuseGlimmer) => muse_glimmer(...), ImageLayoutKind::Bracketed => bracketed(...), ... }. Every other arm dispatches on layout alone; this one dispatches on the per-model preparation enum. Prohibited by AGENTS.md:357-364 ("image preparation/layout implementations use independent typed enum identifiers; those identifiers cannot select ... text-graph input packing") and docs/design-review.md:8-12, 50-52. Also tensor_layout (result 36 lines 22-70; pr/229 line 51-75) now adds Bracketed to vision_interpolation_indices/weights and adds Bracketed-only vision_cu_window_seqlens (patches/64+2) and vision_reverse_index (patches) — so one layout id names two staged-tensor sets.
Fix is cheap and additive: new ImageLayoutKind value (main tops out at ClassToken; contract_enum at src/model/contract.rs:68 shows ImagePreparationKind ... PaddedGrid = 10).
record.rs (results 34, 52): main writes/reads FLAREIMG\x01 (results 26/27); PR writes \x02 and rejects \x01 in decode (:73, :116) with no v1 reader, and bumps encoded_len to 9 + 8*8. Effect is a silent cache drop via conditioned.rs materialize_cached (pr/229 lines 149-166: decode fail → store.invalidate → re-materialize). AGENTS.md:431-444 requires retaining readers for existing cores; the v1 layout is v2 minus two trailing vectors, so a v1 reader is a few lines. Also conditioned.rs:169 still tags the payload "flare-prepared-image-v1" after the bump.
#3 [high] Verified: total_size check already changed on main (superseded)
checkpoint.py total_size:
- main (result 10, checkpoint.py:215-218, landed by commit 0a4a6eb1 2026-11-25 "Accept modelopt_mixed metadata, grouped tensor-FP8 formats, and bounded index total_size"):
if type(declared) is not int or declared < total: raise. So main now accepts any total_size >= payload sum. - PR base (66b473c3, which precedes 0a4a6eb1) had exact equality: pr_diff result 51 shows
- or index["metadata"].get("total_size") != total. - PR replaces it with exact membership in (payload, files) — pr/229 checkpoint.py:396-404 (result 21).
Assessment: this is a semantic conflict with main, not just a rebase conflict: on main the PR's hunk must be dropped or reworked, and main's
declared < totalis looser than the PR's change in one direction (accepts any larger value) and stricter in another (rejects total_size between payload and files). Either way the PR's version must be re-authored against main; deciding which invariant wins is a maintainer call (AGENTS.md:177-182 "reject weakened guarantees"). - Test: tests/preparation/test_checkpoint_source.py at pr/229 :41-50 pins payload form, file-byte form, and payload+1 rejection. At main the helper has no total_size parameter (result 79) so the test cannot be carried over unchanged. Consequence for testing: nothing GPU-observable; it is a pure preparation-time validation change, exercised by pytest. Also note main's test_checkpoint_quantization.py:41 already asserts "index total_size is invalid" — the message the PR changes to "matches neither ... nor ...". So the PR will break that test name/message expectation on main unless reconciled.
#4 [high] Verified: ModelOpt parser extraction is dead once recipes leave
ignition/preparation/quantization.py:
- main (result 6) has quantized_layers (:10-19), linear_format (:22-50), projection_group_format (:53-59), expert_format (:62-79). NO modelopt_nvfp4_layers and NO matches_pattern (search result 5/37: no matches).
- PR adds matches_pattern + modelopt_nvfp4_layers (+36) and rewrites ignition/recipes/gemma4/config.py to call them.
- Consequence: after the mandated split (recipe files leave), nothing in this repo calls the new functions, so the +36 lines and tests/preparation/test_quantization.py (+127) become dead and must be dropped with the recipe. tests/preparation/test_frontend_metadata.py does not exist at main either (result 38), so its muse_spark top_p fix belongs with the recipes repo. So the "shared parser extraction" (a genuine improvement in isolation) does not survive into this repository; it must move to hyperflare-recipes together with its callers.
#5 [high] Supporting verified facts (proto tags, conditioned, docs, recipe)
Other verified facts for the report:
- ImagePreparationKind at main tops at PaddedGrid = 10 (src/model/contract.rs:68 result 40); ImageSettings oneof at main tops at padded_grid = 10 (proto:600, result 89); ImageLayoutKind tops at CLASS_TOKEN_IMAGE_LAYOUT = 10 (proto:478). PR #229 adds both MUSE_GLIMMER_IMAGE_PREPARATION=11 (proto:375) and muse_glimmer=11 (proto:511) — verified at pr head (result 13). PR #483 (open, rickybrent) also claims ImageSettings.profile tag 11 (Gemma4ImageSettings) and ImagePreparationKind::Gemma4 = 11 → direct collision; one must renumber (result 15 description).
- MuseGlimmer is added per-profile everywhere in mod.rs (Profile enum, geometry/resized_rgb/process/expand_prompt arms, diff result 95) — that pattern is the additive/data-driven one and is fine.
- conditioned.rs valid_processed at main (results 33, 74-ish) uses
_ => 588for pixel width and_ =>interpolation set, and never checks window/reverse. PatchMerge emits 1176 (patch_merge.rs:140 main) but validates against 588 → every PatchMerge cached record fails validation on main (silent cache miss, re-preparation each request). The PR's exhaustive rewrite fixes that; this is a genuine main-side defect fix, independent of Muse Glimmer. - PR's valid_processed validates cu_window_seqlens/reverse_index by LENGTH only (conditioned.rs pr/229:238-239, result 29) while cu_seqlens is compared by value (:237) → a stale right-length record passes and is rejected later in packing.rs:581/591 at request time.
- record.rs: main writes/reads FLAREIMG\x01 (result 27); PR writes \x02, rejects \x01 (result 52 diff). conditioned.rs:169 still tags metadata "flare-prepared-image-v1".
- resize.rs: Filter enum is behaviour-preserving for existing callers (pillow→Cubic, bilinear→Linear, resize→Cubic); Lanczos is new and used only by the Muse Glimmer frontend (diff result 55).
- Prose/doc defects: docs/model-preparation.md:1458 attributes the "Allocate cache" line to export, but that phase is emitted only by helios/src/runtime_core/memory.rs:986 (result 70); docs :1506 uses flare/target/release/flare while siblings use flare-cli (result 69).
- Recipe declaration (pr/229 recipe.py, result 22): context=1048576, concurrency=8, max_concurrency=16, token_capacity=128, graph_budget=64, Speculation(...) has NO method= (vs qwen38_dense/recipe.py:68 method="dflash2"); Speculation.method gates --speculative-method (planning.py:462-464), --draft-body-quantization (:488-489), mixed prefill (:591-592) and rebuild_manifest.py:407 — so the DFlash2 drafter's method is undeclared (should-fix, inherited from muse_spark).
- Sizing/resource note for any future hardware test on cn5: Checkpoint stored_bytes 23,380,728,424 and device_bytes 28,492,369,664 (~28.5 GiB) plus drafter 5,544,328,424 → a 16 GiB scratch volume cannot hold the checkpoint + exported core + drafter; a test would need a larger scratch/host cache request.
- cn5 GPUs are 4× RTX PRO 6000 Blackwell Max-Q 96 GiB (SM120, amd64) — exactly the PR's target hardware. cn7 is GB10/arm64 (not the target). Muse Glimmer checkpoints are not currently staged on either host (cn5 lists dinov2/GLM-5.3 models).
#6 [high] Decision: defer hardware testing; plan for split follow-up
DECISION: do NOT refer PR #229 to hardware testing in its current shape. Reasons:
- ~73% of added lines are in directories main deleted (ignition/recipes, ignition/reference, qualify, tests/recipes) and main's tests/preparation/test_core_boundary.py:42/62-64 forbids them. The branch cannot pass main CI; its recipe imports components that no longer exist on main. Testing it validates a tree that can never merge.
- The runtime half needs an architectural change before merge (packing.rs per-model dispatch on ImagePreparationKind inside an ImageLayoutKind match, AGENTS.md:357-364 / design-review principle 3) — code that will be rewritten should not be validated on GPUs.
- Charter gate for new recipes/aliases unmet and unfixable by testing alone: no export/serve from the branch (PR says so), single checkpoint (config.py:63-73 rejects #192's checkpoint), unresolved alias with #192, proto tag 11 collision with #483.
- Two shared changes must be re-decided, not tested: total_size (main already accepts >= payload via 0a4a6eb1) and FLAREIMG v1 reader policy.
When the split happens, the follow-up runtime PR is small (~1.1k lines: helios image profile plumbing + proto/contract/describe/protobuf + frontend.py profile + conditioned wildcard fix + resize Filter). THAT is what a test plan should target — plan written in the report: single-GPU cn5, ~2-3 GPU-hours, 3 phases (regression on existing image cores + prepared-image record upgrade; new windowed-layout export/serve parity; text+image request with drafter), no throughput A/B (no kernel changes, claims come from fork cores). Resource note: needs > 16 GiB scratch for the ~23-28 GiB checkpoint/core.