Remove unused parser resource plumbing

This commit is contained in:
2026-11-07 15:51:19 +00:00
parent f2822f055c
commit 51a147a6e5
10 changed files with 32 additions and 73 deletions

View File

@@ -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`.