Versions in this module Expand all Collapse all v0 v0.13.0 Jun 20, 2026 Changes in this version + const DefaultDirMode + const DefaultFileMode + const LevelFeature + const LevelProduct + const ModeInteractive + const ModeReconciliation + const ModeSynthesis + func Generate(cfg *GenerateConfig) error + func List() []string + func Register(adapter Adapter) + type Adapter interface + EntryPointDir func() string + EntryPointFile func() string + Generate func(workflow *Workflow, outputDir string) error + GenerateEntryPoint func(workflow *Workflow) ([]byte, error) + Name func() string + RuleDetailsDir func() string + func Get(name string) (Adapter, error) + type AdapterNotFoundError struct + Name string + func (e *AdapterNotFoundError) Error() string + type GenerateConfig struct + CopyRubrics bool + CopyRuleDetails bool + CopyTemplates bool + Extension string + OutputDir string + Platform string + SourceRepo *SourceRepo + Workflow *Workflow + type GenerateError struct + Err error + Path string + Platform string + func (e *GenerateError) Error() string + func (e *GenerateError) Unwrap() error + type LoadError struct + Err error + Path string + func (e *LoadError) Error() string + func (e *LoadError) Unwrap() error + type NotFoundError struct + WorkflowID string + func (e *NotFoundError) Error() string + type ParseError struct + Err error + Path string + func (e *ParseError) Error() string + func (e *ParseError) Unwrap() error + type Phase struct + Gate bool + Mode string + Name string + Sources []string + SpecType string + type SourceRepo struct + Path string + Workflows map[string]*Workflow + func LoadSourceRepo(path string) (*SourceRepo, error) + func (r *SourceRepo) GetWorkflow(id string) (*Workflow, error) + func (r *SourceRepo) ListWorkflows() []string + type Workflow struct + Description string + EntryPoint string + Extension string + Level string + Name string + Phases []Phase + Rubrics string + RuleDetails string + Templates string + Trigger string + func NewWorkflow(name, level string) *Workflow + type WriteError struct + Err error + Path string + func (e *WriteError) Error() string + func (e *WriteError) Unwrap() error