Versions in this module Expand all Collapse all v0 v0.41.0 Aug 27, 2026 v0.40.0 Aug 25, 2026 Changes in this version + type ArtifactRole string + const ArtifactAuthoredData + const ArtifactClaimPart + const ArtifactConfig + const ArtifactConventionPart + const ArtifactDecisionRecord + const ArtifactLock + const ArtifactManagedOutput + const ArtifactManifest + const ArtifactProtocolDescriptor + const ArtifactTemplate + const ArtifactTopicMetadata + type Declaration struct + func NewDeclaration(path, templateID string, declarers []string, inputs []Input, ...) Declaration + func (d Declaration) Declarers() []string + func (d Declaration) Inputs() []Input + func (d Declaration) Path() string + func (d Declaration) TemplateID() string + type Input struct + func NewInput(path string, role ArtifactRole) Input + func (i Input) Path() string + func (i Input) Role() ArtifactRole + type Node struct + func NewNode(spec NodeSpec) Node + func (n Node) Declarers() []string + func (n Node) Output() (Output, bool) + func (n Node) Path() string + type NodeSpec struct + ConsumedInputs []Input + DeclarerProjections []string + Declarers []string + DependsOn []string + ObservedTemplateID string + Output *Output + Path string + Policy Policy + Recipe Recipe + type Output struct + func NewOutput(spec OutputSpec) Output + func (o Output) Artifact() string + func (o Output) Assembled() string + func (o Output) ConfigHash() string + func (o Output) Content() string + func (o Output) Declarer() string + func (o Output) DeclarerProjection() string + func (o Output) Encoder() string + func (o Output) Kind() string + func (o Output) MarkerParts() []string + func (o Output) PartVarRefs() []string + func (o Output) Path() string + func (o Output) Policy() Policy + func (o Output) Provenance() int + func (o Output) RegenChecked() bool + func (o Output) StubDefaults() []string + func (o Output) StubParts() []string + func (o Output) TemplateHash() string + func (o Output) TemplateID() string + type OutputSpec struct + Artifact string + Assembled string + ConfigHash string + ConsumedInputs []Input + Content string + Declarer string + DeclarerProjection string + Encoder string + Kind string + MarkerParts []string + ObservedTemplateID string + PartVarRefs []string + Path string + Policy Policy + Provenance int + RegenChecked bool + StubDefaults []string + StubParts []string + TemplateHash string + TemplateID string + type Plan struct + func New(nodes []Node, declarations []Declaration) Plan + func (p Plan) Declarations() []Declaration + func (p Plan) Nodes() []Node + func (p Plan) Outputs() []Output + func (p Plan) Paths() []string + type Policy struct + Regenerate bool + ScanReferences bool + ScanSkillReferences bool + ValidateFrontmatter bool + type Recipe struct + func NewRecipe(templateID, templateHash, configHash string, policy Policy, ...) Recipe + type TreeReader interface + Paths func(prefix string) ([]string, error) + ReadFile func(path string) ([]byte, bool, error)