Add reusable PromptKit request flags

This commit is contained in:
2026-11-07 04:16:09 +00:00
parent 6378ceb3c5
commit c3d5f551c3
17 changed files with 450 additions and 239 deletions

View File

@@ -1,6 +1,6 @@
# Shared reporting and PromptKit v0.20.0 implementation plan
Status: implementation in progress; Stages 1–9 complete.
Status: implementation in progress; Stages 1–10 complete.
## Scope, authority, and execution
@@ -350,6 +350,11 @@ for the converted commands.
## Stage 10: Reusable execution and resource flag collections
**Complete.** Reusable request flag collections feed requirements discovery,
validation, and smoke requests; the next stage supplies ordered text/file
precedence and prepared-request preview. The root, ckconfig, and ckprompt
workspace suites passed with Go 1.27.0, including collection and builder tests.
Implement CLI-specific collections in ckprompt using ordinary public core flags.
Use typed flag-set structs exposing named original `Flag[I]` handles and an
`All() []Flag[I]` convenience method; callers select subsets with ordinary slices.