Record flag consumption decision and joint alias analysis
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user