Versions in this module Expand all Collapse all v1 v1.0.5 Nov 9, 2026 Changes in this version type ProjectFile + FormerPrefixes []string v1.0.4 Nov 9, 2026 v1.0.3 Nov 9, 2026 v1.0.2 Nov 9, 2026 v1.0.1 Nov 9, 2026 v1.0.0 Nov 8, 2026 Changes in this version + const Alphabet + const DefaultSuffixLength + const SpecVersion + var ActorRe = regexp.MustCompile(`^((agent|role)/)?[a-z0-9][a-z0-9._-]{0,63}$`) + var AgentRe = regexp.MustCompile(`^agent/[a-z0-9][a-z0-9._-]{0,63}$`) + var Categories = []string + var Codes = map[string]Severity + var CommentFileRe = regexp.MustCompile(`^(\d{8}T\d{6}Z)-([0-9A-HJKMNP-TV-Z]{4})\.md$`) + var CommentKeys = []string + var CommentTypes = []string + var ConfigKeys = []string + var DateRe = regexp.MustCompile(`^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$`) + var FieldTypes = []string + var HumanRe = regexp.MustCompile(`^[a-z0-9][a-z0-9._-]{0,63}$`) + var IDRe = regexp.MustCompile(`^([A-Z][A-Z0-9]{0,9})-([0-9A-HJKMNP-TV-Z]{5,8})$`) + var LinkRe = regexp.MustCompile(`^([a-z][a-z0-9-]{0,31})://([^@#\s]+)(@[^#\s]+)?(#L[0-9]+(-L?[0-9]+)?)?$`) + var PrefixRe = regexp.MustCompile(`^[A-Z][A-Z0-9]{0,9}$`) + var Priorities = []string + var ProjectKeyRe = regexp.MustCompile(`^[a-z][a-z0-9-]{0,31}$`) + var Resolutions = []string + var TicketKeys = []string + var TimestampRe = regexp.MustCompile(...) + func CommentFilename(created, suffix string) string + func DefaultPrefix(key string) string + func DefaultsYAML() []byte + func EmitYAML(m []KV) string + func FormatComment(c *Comment) []byte + func FormatTicket(t *Ticket) []byte + func HasErrors(ds []Diagnostic, strict bool) bool + func HashBase32(seed string, n int) string + func Join(elem ...string) string + func LowEntropy(suffix string) bool + func NewID(prefix string, n int) string + func NormalizeEncoding(data []byte) []byte + func ParseActors(p string, data []byte) (*Actors, []Diagnostic) + func ParseBoard(p string, data []byte) (*Board, []Diagnostic) + func ParseComment(path string, data []byte) (*Comment, []Diagnostic) + func ParseDuration(s string) (time.Duration, error) + func ParseID(id string) (prefix, suffix string, ok bool) + func ParseProjectFile(p string, data []byte) (*ProjectFile, []Diagnostic) + func ParseStoreFile(p string, data []byte) (*StoreFile, []Diagnostic) + func ParseTicket(path string, data []byte) (*Ticket, []Diagnostic) + func ProjectConfig(w *Workspace, s *Store, pr *Project) (*Config, []Diagnostic) + func RandomBase32(n int) string + func ResolveConfig(layers []ConfigLayer) (*Config, []Diagnostic) + func SortDiagnostics(ds []Diagnostic) + func ValidateFieldValue(def FieldDef, v FieldValue) error + type AcceptanceItem struct + Done bool + Text string + type Actors struct + Agents map[string]string + Humans map[string]Human + Roles map[string][]string + type Board struct + CardFields []string + Columns []string + Description string + Filter string + GroupBy string + Name string + Sort string + Swimlanes string + type CheckOptions struct + Now time.Time + type Claim struct + At string + By string + Session string + type Comment struct + Answers string + Approved *bool + Author string + Body string + Choice *int64 + Created string + Lines map[string]int + OnBehalfOf string + Options []string + Resolution string + Retracts string + Session string + Supersedes string + To string + Type string + type CommentEntry struct + Comment *Comment + Name string + Path string + Raw []byte + type Config struct + AgentCreatedInitial string + AttachmentsMaxBytes int64 + ClaimsStaleAfter time.Duration + CommentsMaxBytes int64 + Effective *Node + FieldOrder []string + Fields map[string]FieldDef + IDSuffixLength int + Initial string + Kinds []string + LabelsClosed bool + LabelsKnown []string + Layers []string + Locked []string + LockedBy map[string]string + ProgressMinInterval time.Duration + Runtime *Node + SourceLines map[string]int + SourceNotes map[string]string + Sources map[string]string + Statuses []Status + TemplateSections []string + func (c *Config) StatusByName(name string) (Status, bool) + func (c *Config) StatusNames() []string + type ConfigLayer struct + Name string + Node *Node + Path string + type Diagnostic struct + Code string + Fix string + Line int + Message string + Path string + Severity Severity + func Check(w *Workspace, opt CheckOptions) []Diagnostic + func (d Diagnostic) String() string + type FieldDef struct + Description string + Type string + Values []string + type FieldValue struct + IsList bool + Line int + List []string + Scalar string + Typed bool + type FileEntry struct + Path string + Size int64 + type Human struct + Aliases []string + Emails []string + Name string + type KV struct + K string + V any + type Node struct + Items []*Node + KeyLines map[string]int + Keys []string + Kind NodeKind + Line int + Map map[string]*Node + Quoted bool + Value string + func ParseYAML(src []byte) (*Node, error) + func (n *Node) ToAny() any + type NodeKind int + const MapNode + const NullNode + const ScalarNode + const SeqNode + type Parent struct + Ref string + URL string + type ParentResolver func(from *Store, p Parent) (fsys fs.FS, key, label string, err error) + type Project struct + Config *Config + Dir string + File *ProjectFile + IDs []string + Key string + Tickets map[string]*TicketEntry + type ProjectFile struct + Archived bool + Config *Node + Description string + Key string + MovedToStore string + Name string + Prefix string + Repos map[string]Repo + type Raw string + type Repo struct + DefaultBranch string + Forge string + type Severity string + const SevError + const SevInfo + const SevWarning + type Status struct + Blocked bool + Category string + Name string + type Store struct + Actors *Actors + Boards map[string]*Board + Config *Node + Diags []Diagnostic + FS fs.FS + File *StoreFile + Keys []string + Label string + Moved map[string]string + ParentFor func(Parent) (*Store, error) + Projects map[string]*Project + func LoadStore(fsys fs.FS, label string) *Store + func (s *Store) LoadTicket(tdir string) (*TicketEntry, []Diagnostic) + type StoreFile struct + Description string + Extends []Parent + Name string + Spec int + type Ticket struct + Acceptance []AcceptanceItem + Assignee string + BlockedBy []string + Body string + Claim *Claim + Created string + CreatedBy string + Due string + DuplicateOf string + Fields map[string]FieldValue + ID string + Kind string + Labels []string + Lines map[string]int + Links []string + Milestone string + MovedTo string + Owner string + Parent string + Priority string + Related []string + Status string + Title string + Updated string + type TicketEntry struct + Comments []*CommentEntry + Dir string + Files []FileEntry + Raw []byte + Ticket *Ticket + type Workspace struct + Resolve ParentResolver + Stores []*Store + func NewWorkspace(resolve ParentResolver) *Workspace + func (w *Workspace) Add(fsys fs.FS, key, label string) *Store + func (w *Workspace) AddLoaded(s *Store, key string) + func (w *Workspace) KeyOf(s *Store) string + type YAMLError struct + Code string + Line int + Msg string + func (e *YAMLError) Error() string v1.0.0-rc.2 Nov 8, 2026 v1.0.0-rc.1 Nov 8, 2026