Add PromptKit configuration scope

This commit is contained in:
2026-10-07 14:26:32 +00:00
parent c0be9ffadc
commit 6ad723cde1
8 changed files with 300 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
# Initial CommandKit implementation plan
Status: implementation underway; Stages 1-11 complete and Stages 12-14 pending.
Status: implementation underway; Stages 1-12 complete and Stages 13-14 pending.
Date: 2026-10-07.
@@ -716,7 +716,7 @@ and CLI reference describe the feature.
## Stage 12: integrate the PromptKit configuration scope
**Status:** pending. **Prerequisite:** Stage 11.
**Status:** complete. **Prerequisite:** Stage 11.
```go
func NewPromptKitScope[C any](
@@ -744,6 +744,10 @@ all display with app first/promptkit second, configuration-only installation,
caller context/selection propagation, and metadata discovery without engine load.
Fixtures do not depend on provider services or sibling repository runtime files.
**Completion evidence:** `promptkit_scope_test.go` exercises a real in-memory
PromptKit engine, native reports, aggregate order, lazy discovery, and preserved
PromptKit/ConfigKit error identities. `go test ./...` passes.
## Stage 13: implement named prompt/profile inspection
**Status:** pending. **Prerequisite:** Stage 12.