Document PromptKit request validation

This commit is contained in:
2026-10-12 22:25:43 +00:00
parent be8bd9c1ea
commit 88d4059e8d
10 changed files with 219 additions and 79 deletions

View File

@@ -5,12 +5,12 @@ import (
promptkit "gitea.maximumdirect.net/eric/promptkit"
)
// ValidationRequest carries the configuration selection and concrete
// PromptKit request to validate.
// ValidationRequest carries the configuration selection and seed PromptKit
// request populated by the standard validation command inputs.
type ValidationRequest struct {
// Selection identifies the configuration sources used to load the engine.
Selection ckconfig.Selection
// Request is the seed request, or the request returned by a validation
// builder when one is configured.
// Request contains the prompt identity, scalar context, variables, and
// artifact references supplied to the command.
Request promptkit.RunRequest
}