Migrate PromptKit integration to shared inspection
This commit is contained in:
@@ -183,7 +183,18 @@ available evidence survives adaptation. Exported GoDoc describes this handoff.
|
||||
|
||||
## Stage 4: Migrate ckprompt adapters, fixtures, and boundary coverage
|
||||
|
||||
Status: pending.
|
||||
Status: complete.
|
||||
|
||||
Evidence: Migrated discovered settings fragments to `/promptkit`, exposed native
|
||||
inspection paths, and added shared-load, requirements, schema, prepared-hash,
|
||||
and request-replacement coverage. `GOTOOLCHAIN=local go test
|
||||
./integrations/ckprompt` passed in the aligned workspace with Go 1.27.4. The
|
||||
missing-main-file constructor retains PromptKit's invalid-config identity and
|
||||
produces an operational outcome with native load diagnostics. ConfigKit's
|
||||
`LoadError` explicitly does not unwrap underlying filesystem errors, so this
|
||||
native error cannot also match `os.ErrNotExist` as originally anticipated;
|
||||
the separate joined-error case verifies forwarding of that identity when supplied.
|
||||
The composed example migration remains in Stage 5.
|
||||
|
||||
Primary files: [adapters.go](../../integrations/ckprompt/adapters.go), the
|
||||
integration's existing configuration/comparison/preparation/requirements tests,
|
||||
|
||||
Reference in New Issue
Block a user