Prose scratchpad · NVIDIA/hyperflare-inference #518

Raw Markdown for agents: https://autobot.eidonix.com/p/6196db1e-974c-46ca-b4cd-32c69832a472.md

#1 [high] Should fix: PR evidence numbers lack baseline, metric labels, and definition of "abbench" / "quality gate"

PR #518 (head f54928b), description section "Claimed Benefit / Result":

"End-to-end serving gains observed on DGX Spark GB10 with the companion Qwen3.8 recipe (+7.5–9.0% C1 decode, ~600 MiB saved on TP1, 44/44 quality gate PASS; plus combined-stack TP2 RoCE 116.0 / 164.2 / 230.5 / 332.4 tok/s abbench and 100% quality gate)"

Defects, against AGENTS.md "Required PR descriptions" item 3/4 (docs/design-review.md principle 16) and .agents/skills/repo-prose/SKILL.md ("State evidence as conditions, measurement, result, and conclusion... identify the tested artifact and relevant configuration"; "Explain concepts before identifiers. Do not make internal codenames... the vocabulary"):

Also worth noting (same section, milder): "so existing default-precision cores remain 100% compatible across flare combine and --reuse-weights" in "What Changed" — the absolute "100% compatible" is an assurance rather than a stated condition; the verifiable statement is that the parameter is omitted when None, so SCOPE_TARGET_WEIGHT slices are unchanged (see ignition/preparation/rebuild_manifest.py:363-364, helios/src/runtime_core/preparation.rs:337-342).

#2 [high] Should fix: description never states the flag is inert without a consuming recipe, nor who performs the MXFP8 conversion

PR #518, description "Why" / "What Changed".

In this repository the change is purely declarative plumbing: Plan.target_head_quantization (ignition/planning.py:199) is validated against recipe.target_head_quantizations (planning.py:289-293), forwarded (ignition/cli/preparation.py:57,73; serve.py:210,278,479; bench.py:170), printed (serve.py:314), and recorded in Plan.to_dict() (planning.py:411-412) and the manifest (rebuild_manifest.py:302-303, 363-364). No core-repository code reads the value to requantize weights: Recipe.prepare (declaration.py:212-215) is supplied by the external recipe repository, and search_code finds no consumer of plan.target_head_quantization beyond the ones listed.

AGENTS.md "Required PR descriptions" item 1 demands "the relevant dataflow, ownership, or execution constraint that makes the approach valid". The description says core ignition stays recipe-free and that the companion recipes PR consumes the value, but it 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 implements the conversion in prepare() — and (b) the BF16→MXFP8 conversion and the "freed" BF16 buffer happen inside the recipe, which is why this PR contains no conversion code.

Fix: one or two sentences in "What Changed" giving that ownership/dataflow: the plan field is the recipe's input; Recipe.prepare performs the conversion; without such a recipe the flag is rejected at planning time by the empty declaration, not silently ignored.

#5 [high] Research summary

Reviewed PR #518 through the prose lens: read the charter, AGENTS.md, docs/design-review.md and the repo-prose skill, then read all ten changed files in context (declaration.py, planning.py, cli/init.py, cli/preparation.py, cli/serve.py, cli/bench.py, preparation/rebuild_manifest.py, docs/cli-design.md and both test files), plus the Helios code that consumes the new manifest parameter and the CLI help generator.

The code-level prose is largely sound: the four-part description exists in order, the before/after is explicit, the doc row at docs/cli-design.md:454 matches the code's behavior for rejection and re-export, and the comment edit at ignition/declaration.py:276 is accurate. Four prose findings go to the scratchpad (entries 1–4), all "should fix"/"nit", none blocking on their own:

  1. The "Claimed Benefit" paragraph gives four unlabeled tok/s figures (116.0 / 164.2 / 230.5 / 332.4) with no baseline, references abbench — an identifier that occurs nowhere in the repository — and cites 44/44 / 100% "quality gate" without definition, contrary to AGENTS.md's four-part requirements and the prose skill's "explain concepts before identifiers".
  2. The description never states the ownership fact that makes the approach valid: in this repository the flag only carries a value through Plan and the manifest; the actual BF16→MXFP8 conversion and buffer release happen in the external recipe's prepare(). With this PR alone the flag changes no prepared weight.
  3. Minor prose defects: the new --help text says "for recipes that declare it" without naming the declaration, the doc row attributes the BF16-buffer release (recipe behavior) to core, and it introduces a third variant of the model name ("Qwen3.8 Flash Next").
  4. The evidence section does not say whether its own new test ran, does not disclose that no CI ran on the head commit, and leaves the Rust compatible_for_weight_reuse path that consumes the new target_weight parameter unexercised.

#6 [high] Coverage: prose-lens review scope and items verified sound in PR #518

Scope of the prose review of PR #518 (head f54928b), recorded so the final report can state what was checked and what was found sound.

Rules read: read_charter (goal "keep runtime small and model-agnostic"; CI standards "PR descriptions: expect four parts — why, what changed, claimed result, evidence"), AGENTS.md lines 43-153 ("Required prose review", "Required PR descriptions" items 1-4 with the sub-requirements on hierarchy, resolved references, removal of process assurances, and the "Do not publish it if the rationale, exact change, claimed benefit, supporting evidence, or material limitations must be guessed" test), docs/design-review.md principle 16 and 17, .agents/skills/repo-prose/SKILL.md.

Files read in context (all ten changed files): docs/cli-design.md (table around 443-477 and 270-330), ignition/cli/init.py (13-290), ignition/cli/bench.py (29, 160-275), ignition/cli/preparation.py (40-240), ignition/cli/serve.py (150-330, 470-490), ignition/declaration.py (150-360), ignition/planning.py (170-300, 400-430), ignition/preparation/rebuild_manifest.py (250-380), tests/cli/test_commands.py, tests/cli/test_planning.py. Supporting reads: ignition/cli/help.py, helios/src/runtime_core/preparation.rs (1-200, 200-400, 400-520), docs/runtime-core-design.md (355-400).

Verified sound, no finding:

Findings recorded: entry 1 (evidence labels/baseline/abbench, plus the "100% compatible" assurance), entry 2 (missing ownership/dataflow statement), entry 3 (help text, doc row attribution, model-name variant), entry 4 (validation-section gaps). Nothing blocking. All four are description/doc-text repairs; none requires code changes.

#3 [medium] Nit: new help text and doc row use unexpanded declarations and attribute a recipe behavior to core

Changed prose: ignition/cli/init.py:212-214 (new --target-head-quantization help), docs/cli-design.md:454 (new flag table row), ignition/declaration.py:276 (changed comment), serve.py:314 (status line).

  1. ignition/cli/__init__.py:212-214 help reads "prepare the target vocabulary head as MXFP8 for recipes that declare it (default: checkpoint precision)". "recipes that declare it" is an unexpanded internal reference: the declaration attribute is Recipe.target_head_quantizations (declaration.py:278) and nothing in --help or the doc row says which recipes qualify. Sibling flags name the models in help (--draft-head-quantization, lines 207-211). The doc row (docs/cli-design.md:454) is better but its only example, "Qwen3.8 Flash Next", appears nowhere else in docs/cli-design.md or the core repository except that row and line 449 — see entry on cross-repo naming. Suggest help text matching the doc: "prepare the target vocabulary head as MXFP8; only recipes that declare the format accept it (default: checkpoint precision)".

  2. ignition/declaration.py:276: comment changed from "# Preparation overrides for vocabulary and transition projections used only by proposals." to "# Preparation overrides for vocabulary and transition projections." This is the only edit to the attribute group and is not mentioned in the PR description. It is accurate once target_head_quantizations joins the group (target head is neither proposal-only nor a transition projection). No action needed beyond noting it; it does read correctly.

  3. docs/cli-design.md:454 is accurate against the code, except the "freeing the temporary BF16 vocabulary weight after conversion" claim: nothing in this repository shows the conversion or the temporary buffer (that is recipe code in local-inference-lab/hyperflare-recipes). The row states a behavior the core repository does not implement, without attributing it to the recipe. Suggest wording the row as the recipe's obligation, e.g. "recipes that declare the format convert the target head during preparation and may release the BF16 weight".

  4. Naming used in PR text/doc row: "Qwen3.8 Flash Next" (docs/cli-design.md:454) vs the CLI alias/checkpoint used elsewhere ("Flash Next", docs/cli-design.md:449, 453, 474, 1337; qwen3.8-flash recipe / nvidia/Qwen3.8-Flash-Next-FP4-Local checkpoint per docs/mtp-design.md:4 and helios/src/frontend/template_patches/qwen38.patch.json:3). Not a blocker; the repo already uses the bare "Flash Next" as well as this longer form, so the new row introduces a third variant rather than following one. Prefer the alias qwen3.8-flash or the existing "Flash Next" form.

#4 [medium] Should fix: validation section does not say whether the new test ran, omits that no CI ran, and leaves the Rust consumer unexercised

PR #518, "Supporting Evidence & Limitations", first bullet.

Quote: "Post-rebase validation on Linux ARM64 DGX Spark GB10 (f54928b rebased onto origin/main 2771618): pytest -v ... : 144 passed, 0 failed in 4.35s".

Findings:

Suggested fix: state the new-test result explicitly, note that no CI workflow ran on the head commit, and note that the combine/--reuse-weights compatibility argument therefore rests on the Python-side omission plus unchanged Rust comparison code rather than an executed Rust test.