Add scoped PromptKit flag aliases

This commit is contained in:
2026-11-07 04:27:28 +00:00
parent 644e6c365b
commit 0183022a28
13 changed files with 237 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
# Shared reporting and PromptKit v0.20.0 implementation plan
Status: implementation in progress; Stages 1–12 complete.
Status: implementation in progress; Stages 1–13 complete.
## Scope, authority, and execution
@@ -466,6 +466,11 @@ namespace membership or requirements-analysis correctness.
## Stage 13: Generated scoped aliases and complete-family installation
**Complete.** `Declarations` generates aliases from each command's selected
bindings; `Command` remains canonical-only. The root, ckconfig, and ckprompt
workspace suites passed with Go 1.27.0, including alias routing, occurrence
order, optional commands, help, completion, and conflict checks.
Add `Declarations(suite) []commandkit.Declaration`, assembling the canonical
family and generated exact-command `FlagAliasFor` rules. Retain `Command(suite)`
for canonical-only installation. Generate aliases from the selected flags and