#1 [high] Research summary
Review lens D (simplicity) on PR #518. I read the full diff, and each changed function in context: ignition/planning.py (Plan, fit, plan), ignition/declaration.py (Recipe), ignition/cli/{__init__,preparation,serve,bench}.py, ignition/preparation/rebuild_manifest.py, both test files, docs/cli-design.md, against AGENTS.md, docs/design-review.md, CONTRIBUTING.md and the charter ("solve it without new code at all", "no fallback layers… without a concrete requirement").
Four findings, one should-fix: (1) Plan.to_dict() omits target_head_quantization when None instead of emitting null like every sibling optional field (expert_scale_compression, mla_compute_mode, benchmark_selection), which forces the new conditional dict-splat in bench.py:243-252; emitting the field unconditionally and adding one key to the existing tuple deletes those five lines and removes a branch from every consumer. The rest are nits: a getattr(args, "target_head_quantization", None) fallback repeated in five call sites that always have the flag (and in rebuild_manifest.py:302, where plan.target_head_quantization is accessed directly three lines later); a Recipe.__post_init__ format check that is a second validation path its three sibling quantization tuples do not get and that argparse choices plus Plan.__post_init__ already cover; and tests whose new assertions are negatives-only or a third verbatim copy of the same protobuf-decode/ordering block already present twice in tests/cli/test_planning.py. Nothing in the recipe-free boundary, the None-omission compatibility argument, or the manifest scope choice is wrong — the reduction is about how the same behavior is expressed.
#2 [high] should fix: Plan.to_dict conditional omission forces bench.py dict merge
Should fix. ignition/planning.py:411-412 (diff hunk at to_dict) adds **({} if self.target_head_quantization is None else {"target_head_quantization": self.target_head_quantization}), between "force_moe_decode_a16" (line 410) and "tuning_gpus" (line 413).
Problem: every neighbouring optional field in the same dict is emitted unconditionally with null:
- "expert_scale_compression": self.expert_scale_compression (line 401) — Optional[str], None emitted
- "mla_compute_mode": self.mla_compute_mode (line 402)
- "benchmark_selection": None if ... else ... (line 429)
- "context_parallel_size": line 397
So the new field is the only one that changes the plan JSON schema between set and unset. That is exactly why the PR must also rewrite ignition/cli/bench.py:243-252, turning a flat comprehension into a double
**{...}merge with a second conditional splat **({} if "target_head_quantization" not in preparation else {"target_head_quantization": preparation["target_head_quantization"]}), i.e. the same condition re-tested in a second file.
Smaller version: in planning.py use "target_head_quantization": self.target_head_quantization, and in bench.py add "target_head_quantization" to the existing key tuple at lines 244-249 and delete the second splat. Net: 5 lines removed, one branch removed from every consumer of to_dict() (serve.py:215, serve.py:488, bench.py:182, bench.py:237).
Compatibility objection is already answered by the PR's own tests: tests/cli/test_planning.py:224 asserts "target_head_quantization" not in base.to_dict() and tests/cli/test_commands.py:130 asserts the key when set. An always-present null key with value None needs the assertion changed to base.to_dict()["target_head_quantization"] is None; nothing in Helios or the manifest reads to_dict(), so no core compatibility is at stake (the PR description's "Plan.to_dict() unchanged when omitted" is about JSON text, and json.dumps of null already equals absent for no consumer that parses a dict — both are falsy under .get()).
Cite: AGENTS.md contribution rejection criteria "Do not add … fallback layers, or configuration switches without a concrete requirement"; charter "Look for the smallest footprint in shared code".