Expose native PromptKit discovery preparation and smoke testing

This commit is contained in:
2026-11-20 04:37:18 +00:00
parent f2f807e87b
commit f9b5121432
4 changed files with 421 additions and 1 deletions

View File

@@ -380,6 +380,25 @@ Verify app overrides are available and framework overrides are not emulated.
## Stage 4: Install Native PromptKit Resources, Requirements, And Preview
**Status: Complete.** Composed all twelve native callbacks, empty-default
namespace views, and native convenience declarations. Request builders remain
nil so native seeds pass through unchanged. Every callback carries application
acquisition evidence separately, preserving framework reports and typed errors.
Verified on Go 1.27.4 with focused real-library tests, race checks, and vet:
exact required and undeclared input names, optional/conditional dependencies,
explicit-empty variable presence, complete versus partial reports and structured
issue codes, qualified prompt/profile identities, namespace selection, selection
failures, and discovery without artifacts, schemas, or generation credentials.
Also checked five inventories and native default/filter behavior, three named
inspections, content-bearing prepared reports in automatic/text/YAML/JSON modes,
and concrete validation/preparation without generation. A loopback-only provider
verified explicit smoke execution and native unsuccessful findings with status
zero, without disclosing provider payloads. Narratio's shared-context discovery,
validation, and preview coverage is present; execution consistency is checked
with positional generation in Stage 5 and the assembled workflow in Stage 9.
Legacy-file compilation cleanup remains deferred to Stage 8.
**Primary files:** CLI PromptKit-suite composition, engine-loading adapters,
and behavior tests replacing custom definition/prepared inspection tests.