Versions in this module Expand all Collapse all v0 v0.2.1 Jul 1, 2026 v0.1.0 Jun 29, 2026 Changes in this version + const DefaultFolder + const DefaultName + const DefaultVersion + var Files embed.FS + func Write(s *Spec, file string, force bool) error + type Context struct + Documents Documents + Instruction string + Requires []string + TrackBy []string + type Deploy struct + Ignore []string + Path string + Site string + type Document struct + Description string + Generates string + ID string + Instruction string + Template string + type Documents []Document + type Model struct + ID string + Name string + Provider Provider + RequestOptions map[string]any + Roles []string + URL string + type Provider string + type Rule string + type Rules map[string][]Rule + type Spec struct + Constitution string + Deploy *Deploy + Description string + Models []Model + Name string + Root string + Rules Rules + Tasks Tasks + Version int + func Default() *Spec + func Example() (*Spec, error) + func New() *Spec + func (s *Spec) UnmarshalYAML(data []byte) error + type Task struct + Context Context + Description string + ID string + Name string + type Tasks map[string]Task