Remove unused parser resource plumbing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Consolidated audit catalog
|
||||
|
||||
Status: **14 distinct open findings: 14 P3**, consolidated from 30
|
||||
Status: **13 distinct open findings: 13 P3**, consolidated from 30
|
||||
numbered entries in seven audit documents. Reviewed audit state:
|
||||
`db732e3a1de55c844f77870e1c6db683c2685d5d`.
|
||||
|
||||
@@ -257,6 +257,10 @@ consumer compatibility or migration work is needed.
|
||||
|
||||
## F12 — P3: Parser sessions carry unused execution resources
|
||||
|
||||
**Complete.** Unused execution and parser resource plumbing was removed; the
|
||||
backend retains discard destinations and buffered help. Focused routing, help,
|
||||
context-forwarding and session-isolation tests passed.
|
||||
|
||||
Core and the Cobra adapter duplicate stream normalization and retain context and
|
||||
streams through parser options and backend nodes, although the adapter parses
|
||||
and renders buffered help rather than executing callbacks or reading application
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Audit remediation implementation plan
|
||||
|
||||
Status: in progress; Stages 1–12 complete.
|
||||
Status: in progress; Stages 1–13 complete.
|
||||
|
||||
Baseline: `d492c7747175c01a53261206c2b4356e53453621`. Before this sprint,
|
||||
intervening changes recorded decisions and retired the completed older
|
||||
@@ -442,6 +442,12 @@ Complete F21 when both callers share one adapter and preserve their context.
|
||||
|
||||
## Stage 13 — Remove unused parser resource plumbing
|
||||
|
||||
**Complete.** Parser options carry only alias selection, backend output and
|
||||
error destinations explicitly discard, and core retains invocation resources.
|
||||
The test-only App.parse wrapper was removed. Focused routed parsing, help,
|
||||
context, backend parsing and session-isolation tests passed in the offline aligned
|
||||
Go 1.27.0 workspace with `-mod=readonly`. F24 remains open for binding wrappers.
|
||||
|
||||
Findings: F12 and parsing portion of F24. Sources: `execute.go`, `parser.go`,
|
||||
`internal/commandmeta/metadata.go`, and `internal/cobra/parse.go`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user