Wire native PromptKit sources into CLI commands

This commit is contained in:
2026-10-04 11:36:00 +00:00
parent 0d5ecfa842
commit 0df2aad3a8
6 changed files with 165 additions and 102 deletions

View File

@@ -218,7 +218,16 @@ outside the deliberate field removals.
## Stage 3: Wire Native Sources Through All Existing CLI Engine Paths
Status: Pending. Depends on Stage 2.
Status: Complete. Existing CLI engine paths now use the ordered native source
selectors, explicit repeated source flags, ConfigKit file inputs and PromptKit
directory inputs; profile/prompt inspection shares the same captured sources.
Retired directory/backend wiring and the empty-prompt filesystem are removed,
and captured diagnostics use the existing safe writer. `go build -o
/tmp/scriptorium-promptkit-native ./cmd/scriptorium`, `go test
./internal/config`, `gofmt`, and `git diff --check` pass. Full test/race/vet
checks reach only the stale CLI fields/fixtures assigned to Stages 5–6 and
removed PromptKit test constructors assigned to Stage 7; those are not
migrated here.
Files: `internal/adapter/cli/application_config.go`, `run.go`, `inspect.go`,
`config.go`; add a small `framework_sources.go` if useful within this package.