Documentation
¶
Overview ¶
Package generatedcheck owns generated-output conformance policy.
Index ¶
- Constants
- func Additional(input AdditionalInput, plan outputplan.Plan) (checkresult.Result, error)
- func GuideSizeAdvisory(plan outputplan.Plan) (checkresult.Result, error)
- func Locked(nested bool, lock *manifest.Lock, plan outputplan.Plan, read ReadFile, ...) (checkresult.Result, error)
- func Staged(nested bool, lock *manifest.Lock, plan outputplan.Plan, ...) (checkresult.Result, error)
- func Tracking(ctx context.Context, nested bool, paths IndexPaths, plan outputplan.Plan) (checkresult.Result, error)
- func ValidateFrontmatter(content []byte) error
- type AdditionalInput
- type Artifact
- type IndexPaths
- type ReadFile
- type SidecarData
- type Topic
- type TreeEntry
Constants ¶
const PropertyReproducibility checkresult.Property = "reproducibility"
PropertyReproducibility is the protected property for generated-output findings.
Variables ¶
This section is empty.
Functions ¶
func Additional ¶
func Additional(input AdditionalInput, plan outputplan.Plan) (checkresult.Result, error)
func GuideSizeAdvisory ¶
func GuideSizeAdvisory(plan outputplan.Plan) (checkresult.Result, error)
GuideSizeAdvisory reports the fixed guide-size heuristic finding.
func Locked ¶
func Locked(nested bool, lock *manifest.Lock, plan outputplan.Plan, read ReadFile, tracking checkresult.Result) (checkresult.Result, error)
Locked compares the prepared output plan with a lock and observed output bytes.
func Staged ¶
func Staged(nested bool, lock *manifest.Lock, plan outputplan.Plan, read outputplan.TreeReader, indexed map[string]bool) (checkresult.Result, error)
Staged compares one Publisher plan entirely in its prepared index universe.
func Tracking ¶
func Tracking(ctx context.Context, nested bool, paths IndexPaths, plan outputplan.Plan) (checkresult.Result, error)
Tracking checks index membership without retaining a repository object.
func ValidateFrontmatter ¶
ValidateFrontmatter validates generated skill and agent frontmatter.
Types ¶
type AdditionalInput ¶
type AdditionalInput struct {
Vars map[string]any
Domains []string
Artifacts []Artifact
Singletons []Artifact
Sidecars []SidecarData
PitfallPaths []string
Topics []Topic
Entries []TreeEntry
ResidentRoot bool
}
AdditionalInput supplies closed, immutable semantic projections prepared by Publisher.
type IndexPaths ¶
IndexPaths lists prepared Git-index paths without exposing a repository.
type SidecarData ¶
SidecarData is the prepared data projection for one semantic artifact identity.