checkkit

package
v0.2026323.718 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 7 Imported by: 3 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package checkkit — the SHARED check-drive pieces every check-driving plugin (plugin-check, plugin-pipeline, ...) consumes: the plan grammar, the out-of-process verb resolver, and the ADE agent-check grader. One home (R3): the pieces were plugin-local in plugin-check; they belong in the SDK so any plugin drives the org's check machinery identically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SnapshotCheckEnv

func SnapshotCheckEnv(kr *kit.Runner) spec.CheckEnv

SnapshotCheckEnv builds the wire CheckEnv snapshot from the runner's state.

Types

type AdeGrader

type AdeGrader func(ctx context.Context, prose string) (bool, string)

AdeGrader grades an agent-check step's prose against the venue evidence via the caller's agent runtime (the ADE contract: the live agent decides pass/fail).

type PlanGrammar

type PlanGrammar struct{}

PlanGrammar implements kit.PlanGrammar — the do-mode/context grammar, ported from the core hostPlanGrammar (pure over spec.Op + the VerbCatalog).

func (PlanGrammar) ContextsLabel

func (PlanGrammar) ContextsLabel(op *spec.Op) string

func (PlanGrammar) EffectiveDo

func (PlanGrammar) EffectiveDo(op *spec.Op) spec.DoMode

func (PlanGrammar) InContext

func (PlanGrammar) InContext(op *spec.Op, runtime bool) bool

type VerbResolver

type VerbResolver struct {
	Ex  *sdk.Executor
	Env spec.CheckEnv
	// contains filtered or unexported fields
}

VerbResolver implements kit.VerbResolver — the out-of-process verb dispatch over the plugin's single dial (InvokeProvider), with the venue descriptor threaded from the runner's current executor.

func (*VerbResolver) RunProvisionAct added in v0.2026252.834

func (r *VerbResolver) RunProvisionAct(ctx context.Context, op *spec.Op, verb string) (spec.CheckResult, bool)

RunProvisionAct runs a do:act state-provision verb's act leg (the kit.VerbResolver seam): the same single-dial dispatch, with the act run mode.

func (*VerbResolver) RunVerb

func (r *VerbResolver) RunVerb(ctx context.Context, op *spec.Op) (spec.CheckResult, bool)

func (*VerbResolver) SetRunner

func (r *VerbResolver) SetRunner(kr *kit.Runner)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL