Capture and validate invocation features

This commit is contained in:
2026-11-22 20:52:04 +00:00
parent 68515668de
commit ea3ce25001
8 changed files with 276 additions and 2 deletions

View File

@@ -133,6 +133,11 @@ The proposed API and wiring are reviewed with this plan, before implementation.
## Stage 1: Capture features and validate their installation
**Complete.** Captured features, installation-wide collision and alias validation,
reusable handles, absence handling, and atomic registration are covered by
`TestInvocationFeature*`; the core `GOTOOLCHAIN=local go test ./...` suite passed
with Go 1.27.4.
1. Add the selected public API, preferably in a focused root `invocation_feature.go`,
with private typed payloads analogous to `typedCommand`. Copy captured flag
collections; retain callbacks under existing caller-ownership rules. Add