Verify validation outcomes and report delivery
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# PromptKit request validation implementation plan
|
||||
|
||||
Status: Stages 1–5 complete; implementation is ongoing.
|
||||
Status: Stages 1–6 complete; implementation is ongoing.
|
||||
|
||||
## Authority, scope, and baseline
|
||||
|
||||
@@ -356,6 +356,16 @@ its maintained composed consumer tests.
|
||||
**Complete when:** assembled validation follows native semantics and existing
|
||||
outcome/report delivery contracts under representative successes and failures.
|
||||
|
||||
**Completed:** 2026-10-12. Exercised the composed command with real PromptKit
|
||||
success, missing required input, and invalid profile selection; success emits
|
||||
only `prompt_id` and `valid`, and the fail-on-call model client remains unused.
|
||||
Command tests cover builder, ConfigKit loader, custom provider, and native
|
||||
failures; warning diagnostics on success and error; cancellation before and
|
||||
after acquisition; callback-error precedence; report writer errors, short
|
||||
writes, and diagnostic writer errors with the established outcome fields.
|
||||
Focused outcome tests and `GOTOOLCHAIN=local go test -count=1 ./...` passed from
|
||||
`integrations/ckprompt`.
|
||||
|
||||
## Stage 7: Extend the maintained composed consumer
|
||||
|
||||
**Primary files:** `integrations/ckprompt/examples/composed/main.go`, its tests,
|
||||
|
||||
Reference in New Issue
Block a user