Add PromptKit inspection commands

This commit is contained in:
2026-10-11 01:46:54 +00:00
parent eeeaca6c5e
commit f7174a078e
5 changed files with 720 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# Implement the optional integration modules and captured registration API
Status: implementation in progress. Stages 1 through 11 are complete; subsequent work follows the ordered roadmap.
Status: implementation in progress. Stages 1 through 12 are complete; subsequent work follows the ordered roadmap.
Execute the stages in order. Each stage is sized as a separate Luna coding-agent
assignment. This document authorizes no publication or changes to sibling
repositories.
@@ -590,6 +590,19 @@ adapter, unused malformed binding, actual installed namespace collisions,
definition input/state lifetimes, native report fields, unknown/blank lookup,
ExtraParams, and failed output. Run the complete ckprompt suite when coherent.
**Completion evidence — complete:** `ckprompt.Command` builds a root-only,
capability-driven `promptkit show` tree, ignores selectors for empty suites, and
retains empty-adapter construction issues. Generated commands use captured core
flags, required ID operands, config/overlay selection, prompt-only version, and
validated text/YAML formatting. Tests cover installed namespace conflicts,
selected input/state lifetimes, missing versus blank IDs, native lookup causes,
diagnostics, cancellation and report delivery. Native prompt/profile reports
preserve field order, zero values, empty lists, opaque hashes and nested
`ExtraParams`; profile output reports environment-variable names and requirement
status without resolving credentials. Focused ckprompt adapter/command tests and
root tests pass. The complete ckprompt suite remains deferred until Stage 13
replaces the prototype sources and mixed-package tests.
## Stage 13: Finish maintained consumers and module boundary evidence
**Outcome:** all three adoption paths use the final public API with appropriate