Prose review — PR #518 "Add recipe-declared --target-head-quantization preparation flag"
Key findings
Head f54928b, base main (rebased onto 2771618), 10 files, +126/−10. No blocking issues. The prose that ships inside the diff is in good shape; the problems are concentrated in the PR description's evidence and ownership sections and in four small pieces of new user-facing text. Everything below is a text repair — no code change is required.
The description's structure is genuinely sound and should be said plainly so this review is not read as all-negative: it answers why / what / result / evidence in the required order (AGENTS.md:74-80), it gives an explicit before/after per area ("Before: no CLI flag or Plan field existed… After: added…", satisfying AGENTS.md:88-94), it correctly attributes the end-to-end serving results to the paired core + recipe stack rather than to this PR alone ("belong to the paired core + recipe stack, not this core flag alone", satisfying AGENTS.md:100), and every claim I could check about default-path compatibility is verifiable in the code.
Ranked:
- Should fix — evidence numbers have no metric labels, no baseline, and two identifiers that cannot be resolved in this repository. The "Claimed Benefit / Result" paragraph reports
+7.5–9.0% C1 decode/~600 MiB/44/44for TP1 and116.0 / 164.2 / 230.5 / 332.4 tok/s"abbench" /100%for TP2.abbenchoccurs nowhere in the repository (search_code "abbench"→ no matches, re-verified at this head). - Should fix — the description never states the ownership/dataflow fact that makes a declaration-only change sufficient. In this repository the flag only carries a value through
Planand the manifest; the BF16→MXFP8 conversion happens in the external recipe'sprepare(). With this PR alone, no prepared weight changes. That is the AGENTS.md:84-87 requirement verbatim. - Should fix — the validation section leaves three gaps: whether the PR's own new test ran, that no CI ran on the head commit, and that the Rust consumer of the new parameter was not exercised.
- Nits (4) — small prose defects in the new
--helptext, the new doc table row, the model-name variant, and an unannounced comment edit.
Rules applied
read_charter: line 12 ("keep the runtime small and model-agnostic"), line 35 (what gets merged), line 42 (check interactions with existing artifacts and exported cores); charter CI standards require PR descriptions with four parts.AGENTS.md:43-70— required prose review; the repository prose skill must be read and applied to PR descriptions even when no repository files change.AGENTS.md:72-112— the four mandatory questions in order, including item 1's "Give the relevant dataflow, ownership, or execution constraint that makes the approach valid" (84-87), item 3's "Give the headline comparison and metric direction for a measured improvement … Never attribute a combined result to one PR" (95-102), and item 4's "baseline or reference, configuration, result, and limits … Keep material failures, skipped checks, and measurement limitations visible … Test counts and labels such as 'qualified' cannot stand in for the tested contract and result" (103-112).AGENTS.md:114-140— hierarchy (116-121), "Resolve references where they are needed … Explain a component's role before using its internal shorthand" (122-128), "Remove process assurances that add no technical evidence" (129-132), and the publication test "Do not publish it if the rationale, exact change, claimed benefit, supporting evidence, or material limitations must be guessed" (134-137).AGENTS.md:57-58— record unresolved defects, unrun checks and pending measurements;AGENTS.md:306— "Report a skipped test as an unrun check";AGENTS.md:142-153— Discord line..agents/skills/repo-prose/SKILL.md(not opened) — :20-25 "Explain concepts before identifiers. Do not make internal codenames, experiment labels, profile numbers … the vocabulary of the design"; :30-34 "Distinguish implementation from qualification … An implementation or passing test suite does not establish support for untested workloads"; :35-37 "State evidence as conditions, measurement, result, and conclusion … disclose missing hardware, inputs, and unrun checks"; :40-43 the four PR parts; :56-59 quote the passage and name the missing context when reporting a prose defect; :71-72 final test ("if understanding any sentence requires 'you had to be there', rewrite it").docs/design-review.md(not opened) principle 16/17 on evidence discipline.
Should fix
S1 — Evidence paragraph: unlabeled throughput, no baseline, undefined tool and gate names
Where: PR #518 description, "Claimed Benefit / Result". Exact text:
End-to-end serving gains observed on DGX Spark GB10 with the companion Qwen3.8 recipe (
+7.5–9.0% C1 decode, ~600 MiBsaved on TP1,44/44quality gate PASS; plus combined-stack TP2 RoCE116.0 / 164.2 / 230.5 / 332.4 tok/sabbenchand100%quality gate)
What is wrong:
- The four TP2 figures are bare numbers separated by slashes. Nothing says which concurrency or batch each belongs to, so the comparison cannot be reconstructed — a direct miss on AGENTS.md:95-102 ("Give the headline comparison and metric direction for a measured improvement, with its scope and material limitations attached").
- No
main/pre-PR baseline is given for either TP1 or TP2, so although the sentence is framed as "gains", no delta or direction is stated for the TP2 numbers at all. abbenchis asserted as the measurement tool but is unresolvable here:search_code "abbench"returns no matches at head. Per AGENTS.md:122-128 and SKILL.md:20-25, a tool the reviewer cannot resolve from the repository must be named and configured inline.44/44and100%"quality gate" are undefined — which gate, which reference set, what counts as a pass. AGENTS.md:108-109 says test counts and labels such as "qualified" cannot stand in for the tested contract and result; this is the same class of shorthand.C1is not expanded, though "+7.5–9.0% C1 decode" at least implies concurrency 1 from context.
Why it matters: this paragraph is the sole quantitative support for the PR's headline claim. As written it is neither falsifiable nor reproducible from the description, and it fails the prose skill's final test (SKILL.md:71-72).
Fix: name the benchmark tool and its configuration, label each tok/s value with its concurrency, give the main baseline and delta for each, and define the quality gate (reference outputs, comparison criterion, pass threshold). Since these are the paired recipe stack's numbers, say so and point at local-inference-lab/hyperflare-recipes#40 for the measurement detail — the PR already links that PR, so the pointer is free.
Related, milder, same section: "so existing default-precision cores remain 100% compatible across flare combine and --reuse-weights" in "What Changed" is a process assurance rather than a stated condition (AGENTS.md:129-132). The verifiable statement is: the parameter is added to the manifest only when non-None (ignition/preparation/rebuild_manifest.py:363-364, verified: if plan.target_head_quantization is not None: add('target_head_quantization', SCOPE_TARGET_WEIGHT, …)), so the TargetWeight scope slice compared by compatible_for_weight_reuse (helios/src/runtime_core/preparation.rs:330-347) is unchanged. Say that instead.
S2 — Description omits the ownership/dataflow fact that makes the declaration-only change sufficient
Where: PR #518 description, "Why" and "What Changed".
What the code actually does (all verified at head):
Plan.target_head_quantization: str | None = None—ignition/planning.py:199.- Validated against the recipe declaration in
Plan.__post_init__, raising aUsageErrorthat names the alias —ignition/planning.py:289-293:if self.target_head_quantization is not None and self.target_head_quantization not in self.recipe.target_head_quantizations: raise UsageError(f"--target-head-quantization {self.target_head_quantization}: {self.checkpoint.alias}" " does not prepare this target head format") - Forwarded through
derive(...)and the CLI entry points (ignition/cli/preparation.py:57 (not opened),73;serve.py:210,278,479;bench.py:170), printed in the startup summary (ignition/cli/serve.py:314), recorded inPlan.to_dict()only when set (ignition/planning.py:411-412), echoed in the bench configuration only when present (ignition/cli/bench.py:250-251), and appended toreproduction_argumentsplus theSCOPE_TARGET_WEIGHTparameter only when set (ignition/preparation/rebuild_manifest.py:302-303, 363-364).
Nothing in the core repository reads the value to requantize a weight. Recipe.prepare(snapshot, plan, *, compile_forwards, kernel_cache, progress) (ignition/declaration.py:212-215) is supplied by the external recipe repository, and a search for consumers of plan.target_head_quantization finds only the plumbing above.
What is missing from the description: the description says core ignition stays recipe-free and points at the companion PR, but never states plainly that (a) with this PR alone the flag changes no prepared weight — it needs a recipe that declares target_head_quantizations=("mxfp8",) and performs the conversion; (b) the BF16→MXFP8 conversion and the BF16 buffer release live in that recipe's prepare(), which is why this diff contains no conversion code; and (c) absent such a recipe, the flag is rejected at planning time by the empty declaration (planning.py:289-293) rather than silently ignored. That is exactly AGENTS.md:84-87 ("the relevant dataflow, ownership, or execution constraint that makes the approach valid"), and it is also what makes the two-PR stack legible: AGENTS.md:126-128 asks a stacked PR to explain what each dependency supplies and what this diff contributes.
Fix: one or two sentences in "What Changed": the plan field is the recipe's input; Recipe.prepare performs the BF16→MXFP8 conversion and releases the BF16 target weight; a recipe without the declaration rejects the flag at planning time.
S3 — Validation section: own new test, absent CI, and the unexercised Rust consumer are not stated
Where: PR #518, "Supporting Evidence & Limitations", first bullet: pytest -v tests/preparation/test_core_boundary.py (not opened) tests/test_design_review_hook.py (not opened) tests/cli/ -k "not test_preparation_manifest_resolves_scopes_and_dflash2_inheritance" → "144 passed, 0 failed in 4.35s".
Three gaps:
- The deselection is disclosed (good — that satisfies AGENTS.md:306), but the description never says whether the PR's own new test passed. That test is
test_target_head_quantization_validation_and_preparation_manifest(tests/cli/test_planning.py:212-253), and it is the one covering the new contract: unsupported declaration rejected atRecipeconstruction (:217-218),to_dict()presence only when set (:223-228), the--target-head-quantizationreproduction argument plusSCOPE_TARGET_WEIGHTparameter and deterministic Protobuf round-trip (:230-248), andPlanrejection raising--target-head-quantization mxfp8: plain-alias(:250-253). Because the deselected legacy test covers the analogousflare_heliopausepath, a reader cannot infer that the equivalent new coverage ran. Name it and its result. - No CI ran on the head commit ("CI on the head commit: no checks"). The Limitations section lists only the unrun Rust crates. Per AGENTS.md:57-58 and 103-112 ("Keep material failures, skipped checks, and measurement limitations visible"), the absence of CI is itself a limitation worth one clause.
- "Rust
cargo testcrates were not run because no Rust or Protobuf files were modified" is accurate — the changed files aredocs/,ignition/,tests/Python and Markdown only. But the combine/--reuse-weightscompatibility argument depends on unchanged Rust behavior:compatible_for_weight_reusecompares theTargetWeightscope slice (helios/src/runtime_core/preparation.rs:337-342). The Python test only asserts presence/absence and scope in the encoded manifest; it does not exercise that comparison. Stating that the claim rests on the Python-side omission plus unchanged Rust code — not on an executed Rust test — is the honest form (SKILL.md:30-34), and it costs one sentence.
Fix: state the new test's result explicitly, note that no CI workflow ran on f54928b, and state the basis of the compatibility claim.
Nits
N1 — --help text uses an unexpanded internal reference
ignition/cli/__init__.py:212-214: help="prepare the target vocabulary head as MXFP8 for recipes that declare it (default: checkpoint precision)". "recipes that declare it" names no declaration (Recipe.target_head_quantizations, ignition/declaration.py:278) and gives no example, while sibling flags in the same group name their models — --draft-body-quantization "(Kimi K3.1; …)" at :204-206 and --draft-head-quantization "NVFP4: DeepSeek V4/V4.1; MXFP8: …" at :207-211. AGENTS.md:122-128. Suggest matching the doc row's phrasing: "prepare the target vocabulary head as MXFP8; only recipes that declare the format accept it (default: checkpoint precision)".
N2 — Doc row attributes a recipe behavior to core
docs/cli-design.md:454: "… freeing the temporary BF16 vocabulary weight after conversion." Nothing in this repository converts or frees that buffer; that is recipe code in local-inference-lab/hyperflare-recipes. The rest of the row is accurate: "Recipes that do not declare the requested format reject it" matches planning.py:289-293, and "Command line only; changing it requires re-export" matches the catalog being fixed at export, written the same way as sibling rows (:446, :452). Suggest wording the conversion and release as the declaring recipe's obligation rather than core behavior.
N3 — Third variant of the model name
docs/cli-design.md:454 uses "Qwen3.8 Flash Next", while the same table uses bare "Flash Next" (:449, :453, :452's neighbors) and the docs elsewhere use qwen3.8-flash / nvidia/Qwen3.8-Flash-Next-FP4-Local. The new row introduces a third variant rather than following an existing one; prefer the recipe alias or the existing "Flash Next".
N4 — Unannounced comment edit
ignition/declaration.py:276: "# Preparation overrides for vocabulary and transition projections used only by proposals." became "# Preparation overrides for vocabulary and transition projections." The edit is correct — once target_head_quantizations (:278) joins draft_head_quantizations, draft_body_quantizations and markov_head_quantizations, the group is no longer proposal-only, and the comment now reads right above the four attributes. It is simply not mentioned in the description; a half-sentence keeps the narrative and the file list in agreement (AGENTS.md:88-94).
Verified sound (no finding)
Recording these explicitly so the record shows what was checked and found correct:
- Four-part order present (AGENTS.md:74-80); before/after statements explicit and not mixed-tense (AGENTS.md:88-94).
- Combined-stack results are attributed to the paired stack, not to this PR (AGENTS.md:100). S1 is about labelling, not attribution.
- Default-path compatibility is verifiable in code: manifest parameter only when non-
None(rebuild_manifest.py:361-364),to_dict()key only when set (planning.py:411-412), bench configuration key only when present (bench.py:250-251), so theTargetWeightslices compared athelios/src/runtime_core/preparation.rs:337-342are unchanged for default plans. - The doc row's reject and re-export statements match the code and the sibling rows' style.
- "Core
ignitionremains strictly recipe-free (ignition/components/retains its exact 13 Helios-ABI modules)":ignition/components/holds 13 modules plus__init__.py, and the PR touches no file under that directory — the count and the claim hold. - "No Rust or Protobuf files were modified" matches the changed-file list (
docs/,ignition/,tests/). Discord: nerois present and correctly formatted without a leading@(AGENTS.md:142-153).- No environment-variable behavior switch is introduced; the flag is an explicit CLI/preparation declaration, consistent with the charter's configuration stance.
- No instruction-shaped text addressed to a reviewing agent appears in the PR description or its comments (the only comment is an automation case-file notice). Nothing was followed from the PR text.
Open questions / not determinable from this repository
- Whether the TP1/TP2 numbers, the
~600 MiBsaving and the44/44/100%gates are accurate. The benchmark artifacts and the recipe-side conversion code live in local-inference-lab/hyperflare-recipes#40. Only that PR, or the raw run logs, can settle it; from here I can only observe that the identifiers are unresolvable. This is why S1 is framed as a labelling/disclosure defect rather than a claim of inaccuracy. - Whether CI is expected to run on PRs in this repository or was simply not triggered for
f54928b. The head commit shows no checks and I found no policy document stating a required check set, so S3 treats it as a disclosure gap, not a policy violation. - Whether the recipe-side conversion actually frees the BF16 buffer (N2). That behavior is asserted in
docs/cli-design.md:454and is not observable in this repository; it is checkable only in the recipes PR.