Add PromptKit requirements adapter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Implement PromptKit requirements inspection
|
||||
|
||||
Status: ready for implementation; no stages have been completed.
|
||||
Status: in progress; Stage 1 is complete.
|
||||
|
||||
## Authority and working rules
|
||||
|
||||
@@ -116,6 +116,17 @@ adds the callback; its CLI availability arrives in Stage 3. Update existing
|
||||
absence tests when the command assembly starts counting the fifth callback in
|
||||
that stage, rather than treating their old four-callback assumption as policy.
|
||||
|
||||
**Completed:** Added `RequirementsRequest`, the optional suite callback, and
|
||||
the `FromEngine` native adapter in `integrations/ckprompt/adapters.go`; added
|
||||
adapter coverage in `adapters_test.go`. The ignored workspace already included
|
||||
core, ckconfig, and ckprompt, and the baseline ckprompt suite passed. After the
|
||||
change, `GOTOOLCHAIN=local go test ./integrations/ckprompt -run
|
||||
'TestFromEngine(InspectsRequirementsWithNativeRequest|RequirementsRetainLoadDiagnosticsAndSelectionErrors|RequirementsHonorCancellationAfterLoad|PassesRequestsAndRetainsNilLoaderIssue)$'
|
||||
-count=1` and `GOTOOLCHAIN=local go test ./...` from `integrations/ckprompt`
|
||||
passed. The tests verify native result equivalence, loader arguments, retained
|
||||
ConfigKit diagnostics, nil-engine handling, native selection error identity, and
|
||||
cancellation after loading. No material limitations were encountered.
|
||||
|
||||
## Stage 2: Implement the requirements YAML report
|
||||
|
||||
**Outcome:** native inspections map to the accepted YAML shape without losing
|
||||
|
||||
Reference in New Issue
Block a user