Classify PromptKit asset and operator failures

This commit is contained in:
2026-10-04 00:45:23 +00:00
parent f5fa607c35
commit f8d00e2f20
5 changed files with 352 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
# Implementation Plan: PromptKit v0.12.0 Adoption
**Last updated:** 2026-10-03
**Status:** In progress; Stages 1–3 completed.
**Status:** In progress; Stages 1–4 completed.
**Audience:** Luna coding agent.
## Scope and Execution
@@ -253,6 +253,14 @@ startup path needs existing exit behavior preserved.
`go test ./internal/cli`; check whitespace and commit. Preserve the original
failure cause where available rather than flattening it to a generic error.
**Completion marker:** Stage 4 complete. Embedded discovery and construction
failures are distinguished from operator inputs through an embedded-only
diagnostic construction; cancellation skips that diagnostic. Selected-profile
completeness and native directory validation are covered, and both config
commands preserve exit 1 for cancellation/assets and exit 2 for invalid
operator YAML, templates, and resources. Targeted runtime tests,
`go test ./internal/cli`, and `git diff --check` passed.
## Stage 5 — Protect Consumed Configuration and Message Files
**Primary files:** `internal/framework/llm/runtime.go` or a focused source-path