Add PromptKit catalog commands
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Implement PromptKit comparison and catalogs
|
||||
|
||||
Status: Stages 1–6 complete; remaining stages are planned.
|
||||
Status: Stages 1–7 complete; remaining stages are planned.
|
||||
|
||||
## Scope and authority
|
||||
|
||||
@@ -425,6 +425,24 @@ Compile and exercise custom prompts-only/profiles-only suites. Check a successfu
|
||||
catalog, invalid format stopping before factories, and catalog-only help omitting
|
||||
`show`. Stage 8 completes evidence. No new core public API should be necessary.
|
||||
|
||||
**Completion evidence (2026-10-12)**
|
||||
|
||||
- `Command` now builds `show` and `list` independently, omits absent families,
|
||||
retains construction issues when all four callbacks are cleared, and captures
|
||||
the caller's selectors when the command is created. Catalog commands expose
|
||||
config, overlay, selectors, and YAML format without named-show arguments.
|
||||
- Catalog invocation checks format before suite input preparation, applies
|
||||
captured selectors once, checks the prepared input, then creates one state and
|
||||
calls only the selected provider. It retains diagnostics through provider and
|
||||
cancellation failures, encodes before output, and reuses existing report
|
||||
delivery behavior.
|
||||
- Added focused command coverage for prompts-only and profiles-only help,
|
||||
catalog-only omission of `show`, successful preparation and provider input,
|
||||
and invalid-format preflight before suite factories/providers.
|
||||
- `GOTOOLCHAIN=local go test -count=1 .` passed in `integrations/ckprompt`.
|
||||
Complete lifecycle, YAML schema, cancellation, and delivery-failure coverage
|
||||
remains assigned to Stage 8.
|
||||
|
||||
## Stage 8: Complete catalog invocation and presentation coverage
|
||||
|
||||
**Outcome:** observable catalog contracts have focused coverage without freezing
|
||||
|
||||
Reference in New Issue
Block a user