Record flag consumption decision and joint alias analysis

This commit is contained in:
2026-11-07 14:49:56 +00:00
parent 9e0f2d28cd
commit 485a27a662
2 changed files with 57 additions and 12 deletions

View File

@@ -273,9 +273,17 @@ attached/next values, boolean assignments, terminators, and unknown spellings.
Shared classification helpers cover only part of the grammar, leaving changes to
cross the core/backend boundary.
Share a small neutral token-consumption primitive. Keep execution normalization,
failure provenance, and partial-word completion policies in their existing
owners rather than introducing a common public parser.
**Decision:** share a small flag-consumption operation through the existing
neutral internal helpers. Share facts about flag identity, attached versus
missing values, consumption of the next argument, and short-cluster position.
Keep execution normalization, failure provenance, and partial-word completion
policies in their existing owners. Preserve explicitly empty values and current
CLI behavior; no public parser or replacement backend is selected.
Retain caller-specific branches where combining them would require extensive
modes or special cases. Repair F06's completion fixture before validating this
refactor. The [F16 analysis](remediation-analysis.md#f16--shared-flag-consumption)
records the accepted boundary; implementation remains pending.
**Original:** [03-complexity M3](03-complexity.md#m3--p3-parsing-and-completion-maintain-parallel-flag-consumption-logic).