Add resolved PromptKit profile inspection

This commit is contained in:
2026-10-04 13:54:17 +00:00
parent 79154882b8
commit db8acbea43
6 changed files with 222 additions and 1 deletions

View File

@@ -613,6 +613,17 @@ call; preflight/run behavior remains unchanged.
Validation: `GOWORK=off go test ./internal/cli ./internal/framework/llm`;
`git diff --check`.
> Completion: complete. Added `config profile` with exact nonblank IDs and one
> neutral JSON object/newline containing the captured resolved target and
> `APIKeyRequired` metadata. Tests cover backend-completed and endpoint-only
> targets, inheritance, null/zero values, credential-shaped parameter
> redaction, required but unset credentials, literal whitespace-bearing IDs,
> safe unknown-profile handling, writer failure, and selected overlays. The
> command performs no credential lookup or model call, and profile IDs now
> remain exact through the inspection adapter. Updated root help and the
> [CLI reference](../cli.md). `GOWORK=off go test ./internal/cli
> ./internal/framework/llm` and `git diff --check` pass.
Prompt size: one focused subcommand and its contract.
## Stage 13 — Maintain Examples And Operator Guidance