Cover PromptKit constructor configuration failures

This commit is contained in:
2026-11-17 00:50:50 +00:00
parent 46d63de913
commit 70b3818351
2 changed files with 80 additions and 1 deletions

View File

@@ -73,7 +73,11 @@ in Stage 2.
## Stage 2 — Cover real constructor failures through both integrations
Status — pending.
Status — completed. The focused independent-module test
`GOWORK=off GOTOOLCHAIN=local go test -count=1 -run '^TestPromptConstructorConfigurationOutcomes$' .`
passes with PromptKit v0.23.1. It exercises a real malformed companion through
catalog and configuration commands, preserving constructor and typed error
identity, diagnostic/source evidence, reports, and diff-side context.
1. Read the existing test wiring in ckprompt's `command_test.go`,
`configuration_outcomes_test.go`, and