Versions in this module Expand all Collapse all v0 v0.12.1 Sep 30, 2026 v0.12.0 Sep 30, 2026 Changes in this version + const AuthorOwner + const AuthorUAM + const CapComments + const CapCreated + const CapUnconfirmed + const DefaultEffort + const ExpiryWindow + const FileName + const FlagAcceptanceCouldNotRun + const FlagBaselineMissing + const FlagNoChangeInTree + const FlagOverlap + const FlagTestsOrBuildChanged + const PrioDefault + const PrioHigh + const PrioLow + const PrioMedium + const SimilarityFloor + var ErrNotFound = &Error + func Similarity(a, b string) float64 + func TaskAuthor(taskID string) string + type Actor struct + AgentID string + Head string + Proposals bool + Role Role + TaskID string + func Agent(taskID, agentID string) Actor + func Owner(head string) Actor + type Baseline struct + Blobs map[string]string + Dirty []string + Head string + type Card struct + AcceptCmd *string + Blocked bool + BlockedBy []string + Blocks []string + CascadeID string + Checklist []Check + CreatedAt time.Time + CreatedBy string + Desc string + Due string + Effort string + ExpiresAt *time.Time + HeldBy string + ID string + Kind Kind + Labels []string + MovedAt time.Time + ParentID string + Paths []string + PendingRequests int + PinnedSHA string + Prio int + Progress *Progress + ProjectID string + Rank int + Revision int64 + Seq int64 + Status Status + Title string + UpdatedAt time.Time + WinCondition string + func (c Card) Confirmed() bool + type Change struct + Cards []string + ProjectID string + Removed []string + Requests []string + Revision int64 + type Check struct + Done bool + Text string + type ChecklistEdit struct + Add []string + Tick []int + Untick []int + type Code string + const CodeAcceptanceBusy + const CodeAcceptanceFailed + const CodeDuplicate + const CodeForbidden + const CodeGuardBlocked + const CodeGuardBlockers + const CodeGuardOpenItems + const CodeImportBusy + const CodeImportSchema + const CodeInvalid + const CodeLimit + const CodeNotFound + const CodeNotHeld + const CodeReadOnly + func CodeOf(err error) Code + type Comment struct + AgentID string + Author string + Automatic bool + Body string + CardID string + Close bool + CreatedAt time.Time + ID int64 + type Detail struct + Card Card + Comments []Comment + Holds []Hold + Requests []Request + type EditResult struct + Card Card + Request *Request + type Error struct + Code Code + Message string + Refs []string + func (e *Error) Error() string + func (e *Error) Is(target error) bool + type Filter struct + Kind Kind + Parent string + Query string + Status Status + type Finishable struct + AcceptCmd string + Card Card + type Hold struct + Attempt int + Baseline Baseline + CardID string + EndReason ReleaseReason + EndedAt *time.Time + ID string + StartedAt time.Time + TaskID string + type ImportReport struct + Comments int + Imported int + Links int + Skipped []ImportSkip + Unassigned int + Updated int + type ImportSkip struct + ID string + Reason string + type Kind string + const KindEpic + const KindStory + const KindSubtask + type NewCard struct + Checklist []Check + Desc string + Due string + Effort string + Kind Kind + Labels []string + ParentID string + Prio int + ProjectID string + Title string + WinCondition string + type Options struct + NewID func() string + Now func() time.Time + type Patch struct + AcceptCmd *sql.NullString + Blocked *bool + Checklist *[]Check + Desc *string + Due *string + Effort *string + Labels *[]string + ParentID *string + Paths *[]string + Prio *int + ProjectID *string + Rank *int + Title *string + WinCondition *string + type Progress struct + Done int + Proposed int + Total int + type ProjectSettings struct + AcceptCmd string + ProjectID string + type ReleaseReason string + const ReleaseAccepted + const ReleaseCancelled + const ReleaseDone + const ReleaseEnded + const ReleaseOwner + const ReleaseRejected + const ReleaseSettled + const ReleaseSplit + type Request struct + AgentID string + BaseRevision int64 + CardID string + Comment string + CreatedAt time.Time + DecidedAt *time.Time + DecisionComment string + Evidence json.RawMessage + Flags []string + ID string + Kind RequestKind + Payload json.RawMessage + Status RequestStatus + TaskID string + type RequestInput struct + Blocker string + Comment string + Evidence json.RawMessage + Flags []string + Kind RequestKind + ProposedAcceptCmd string + type RequestKind string + const RequestBlocked + const RequestCancel + const RequestChange + const RequestDone + const RequestSplit + type RequestStatus string + const RequestAccepted + const RequestPending + const RequestRejected + const RequestWithdrawn + type Role string + const RoleAgent + const RoleOwner + type SimilarHit struct + ID string + Score float64 + Seq int64 + Status Status + Title string + type Snapshot struct + Cards []Card + Requests []Request + Revision int64 + type SplitChild struct + Title string + WinCondition string + type SplitResult struct + Card Card + Request *Request + type Stage string + const StageActive + const StageArchived + const StageSettled + type Status string + const StatusCancelled + const StatusDoing + const StatusDone + const StatusPlanned + const StatusTodo + type Store struct + func Open(path string, opts Options) (*Store, error) + func (s *Store) Accept(ctx context.Context, a Actor, id, comment string) (Request, error) + func (s *Store) AddComment(ctx context.Context, a Actor, ref, body string) (Comment, error) + func (s *Store) Board(ctx context.Context, projectID string) (Snapshot, error) + func (s *Store) Card(ctx context.Context, ref string) (Card, error) + func (s *Store) Cards(ctx context.Context, ids []string) ([]Card, error) + func (s *Store) CheckFinishable(ctx context.Context, a Actor, ref string) (Finishable, error) + func (s *Store) Checklist(ctx context.Context, a Actor, ref string, e ChecklistEdit) (Card, error) + func (s *Store) Claim(ctx context.Context, a Actor, ref string, base Baseline) (Card, error) + func (s *Store) Close() error + func (s *Store) Confirm(ctx context.Context, a Actor, ref string) (Card, error) + func (s *Store) Create(ctx context.Context, a Actor, in NewCard) (Card, error) + func (s *Store) Detail(ctx context.Context, ref string) (Detail, error) + func (s *Store) Dismiss(ctx context.Context, a Actor, ref string) (Card, error) + func (s *Store) Edit(ctx context.Context, a Actor, ref string, p Patch) (EditResult, error) + func (s *Store) FileRequest(ctx context.Context, a Actor, ref string, in RequestInput) (Request, error) + func (s *Store) Held(ctx context.Context) ([]Card, error) + func (s *Store) Import(ctx context.Context, src string, projects map[string]string) (ImportReport, error) + func (s *Store) Labels(ctx context.Context, projectID string) ([]string, error) + func (s *Store) Launch(ctx context.Context, a Actor, ref, taskID string, base Baseline) (Card, error) + func (s *Store) Link(ctx context.Context, a Actor, blockerRef, blockedRef string) error + func (s *Store) List(ctx context.Context, projectID string, f Filter) ([]Card, error) + func (s *Store) OnChange(fn func(Change)) + func (s *Store) PendingLeaves(ctx context.Context, ref string) ([]Card, error) + func (s *Store) ProjectSettings(ctx context.Context, projectID string) (ProjectSettings, error) + func (s *Store) Purge(ctx context.Context, a Actor, projectID string) (int, error) + func (s *Store) Reconcile(ctx context.Context, tasks map[string]Stage, asOf time.Time, ...) (int, error) + func (s *Store) Reject(ctx context.Context, a Actor, id, reason string, holderActive bool) (Request, error) + func (s *Store) ReleaseHold(ctx context.Context, a Actor, ref string, reason ReleaseReason, comment string) (Card, error) + func (s *Store) Request(ctx context.Context, id string) (Request, error) + func (s *Store) Restore(ctx context.Context, a Actor, ref, comment string) (Card, error) + func (s *Store) Revisions(ctx context.Context) (map[string]int64, error) + func (s *Store) SetProjectAcceptCmd(ctx context.Context, a Actor, projectID, cmd string) error + func (s *Store) SetStatus(ctx context.Context, a Actor, ref string, to Status, comment string, ...) (Card, error) + func (s *Store) Similar(ctx context.Context, projectID, title, excludeID string, limit int) ([]SimilarHit, error) + func (s *Store) Split(ctx context.Context, a Actor, ref string, children []SplitChild) (SplitResult, error) + func (s *Store) StaleCandidates(ctx context.Context, projectID string) ([]Card, error) + func (s *Store) StartPlanning(ctx context.Context, a Actor, ref, taskID string) error + func (s *Store) Sweep(ctx context.Context) (int, error) + func (s *Store) Unassign(ctx context.Context, projectID string) (int, error) + func (s *Store) Unlink(ctx context.Context, a Actor, aRef, bRef string) error v0.12.0-beta.1 Sep 29, 2026