Versions in this module Expand all Collapse all v0 v0.7.1 Oct 5, 2026 v0.7.1-rc.1 Oct 5, 2026 v0.7.0 Oct 4, 2026 v0.6.1-rc.1 Oct 4, 2026 v0.6.0 Oct 1, 2026 v0.5.2-rc.1 Oct 1, 2026 v0.5.1 Oct 1, 2026 v0.5.1-rc.1 Oct 1, 2026 v0.5.0 Sep 30, 2026 v0.4.2-rc.2 Sep 30, 2026 v0.4.2-rc.1 Sep 28, 2026 v0.4.1 Sep 22, 2026 v0.4.1-rc.1 Sep 22, 2026 v0.4.0 Sep 22, 2026 Changes in this version + const NoteFromPerson + const NoteFromWorker + const RoleCheck + const RolePlan + const RoleProbe + const RoleWork + var ErrClosed = errors.New("plan store is closed") + func Main(argv []string) int + func TaskDir(storeDir, id string) string + type BlockedCount struct + Downstream int + Task *Task + type BlockedTask struct + Reasons []string + Task *Task + type ContextEntry struct + Chat string + Content string + CreatedAt time.Time + ID string + Kind string + Project string + TaskID string + type DepKind string + const DepBlocks + const DepFeedsInto + const DepSuggests + type Dependency struct + Kind DepKind + TaskID string + type Effect string + const EffectExternalAction + const EffectIrreversible + const EffectMixed + const EffectObserve + const EffectReversibleWrite + type Filter struct + Chat string + Project string + type LiveStep struct + Command string + Since time.Time + Step int + func (l LiveStep) Empty() bool + type Note struct + Agent string + At time.Time + Body string + Chat string + From string + ID string + Project string + TaskID string + type ReadySet struct + Blocked []BlockedTask + Runnable []*Task + type ResourceClaim struct + Mode string + URI string + type SearchResult struct + Detail string + ID string + Kind string + Score int + TaskID string + Title string + type SpendLine struct + Calls int + In int + Key string + Model string + Out int + Role string + USD float64 + type SpendSummary struct + ByModel map[string]SpendTotal + ByRole map[string]SpendTotal + type SpendTotal struct + Calls int + USD float64 + type Status string + const StatusCancelled + const StatusClaimed + const StatusDone + const StatusFailed + const StatusPending + const StatusReady + const StatusRunning + type Store struct + func Open(path, project, rootID, rootTitle, rootDescription string, chat ...string) (*Store, error) + func (s *Store) AddContext(taskID, kind, content string) (ContextEntry, error) + func (s *Store) AddDep(downstream, upstream string, kind DepKind) (*Task, error) + func (s *Store) AddMany(specs []TaskSpec) ([]*Task, error) + func (s *Store) AddNote(taskID, agent, body string) (Note, error) + func (s *Store) AddPersonNote(taskID, body string) (Note, error) + func (s *Store) AddReviewCheck(spec TaskSpec) (*Task, error) + func (s *Store) AddSpend(taskID, model, role string, usd float64, inTokens, outTokens int) error + func (s *Store) Amend(id, text string) (*Task, error) + func (s *Store) Archive(olderThan time.Duration) ([]*Task, error) + func (s *Store) Archived() ([]*Task, error) + func (s *Store) Bottlenecks(limit int) []BlockedCount + func (s *Store) CanFinalize() (bool, string) + func (s *Store) CanFinish(id string) (bool, string) + func (s *Store) Cancel(id, reason string) (*Task, error) + func (s *Store) Changed(since time.Time) []string + func (s *Store) Claim(id, agent string, owner ...string) (*Task, error) + func (s *Store) ClaimNext(agent string) (*Task, error) + func (s *Store) ClaimWake(id, agent string, owner ...string) (*Task, error) + func (s *Store) ClearLive(taskID string) error + func (s *Store) Close() error + func (s *Store) CompleteRoot(result string) error + func (s *Store) Contexts(taskID, kind string, limit int, filters ...Filter) []ContextEntry + func (s *Store) CriticalPath() []*Task + func (s *Store) Done(id, agent, result string, artifacts, evidence []string) (*Task, error) + func (s *Store) Fail(id, agent, message string) (*Task, error) + func (s *Store) Live(taskID string) LiveStep + func (s *Store) LiveSteps() map[string]LiveStep + func (s *Store) NextID() string + func (s *Store) Notes(taskID string, limit int) []Note + func (s *Store) OpenWaits(id string) []string + func (s *Store) Path() string + func (s *Store) Pause(id string) (*Task, error) + func (s *Store) Project() string + func (s *Store) Prune(id string) error + func (s *Store) ReadyLeaves() []*Task + func (s *Store) ReadySet(filters ...Filter) ReadySet + func (s *Store) Release(id, agent string) (*Task, error) + func (s *Store) RemoveDep(downstream, upstream string) (*Task, error) + func (s *Store) Resolve(word string) (*Task, error) + func (s *Store) Resume(id string) (*Task, error) + func (s *Store) Retry(id string) (*Task, error) + func (s *Store) Revise(id string, patch TaskPatch) (*Task, error) + func (s *Store) RoleOf(id string) (string, error) + func (s *Store) RootID() string + func (s *Store) Search(query string, limit int, filters ...Filter) []SearchResult + func (s *Store) SetLive(taskID string, step int, command string) error + func (s *Store) SetVerdictBasis(id string, basis VerdictBasis) (*Task, error) + func (s *Store) Show(id string) (*Task, error) + func (s *Store) SpendBy(axis string, since time.Time) []SpendLine + func (s *Store) SpendSummary() SpendSummary + func (s *Store) StaleClaims(olderThan time.Duration) []Task + func (s *Store) StopRoot(reason string) error + func (s *Store) Summary() Summary + func (s *Store) Task(id string) *Task + func (s *Store) Tasks(filters ...Filter) []*Task + func (s *Store) TouchClaims(owner string) (int, error) + func (s *Store) Wait(id, agent string) (*Task, error) + func (s *Store) Wake(id string) (*Task, error) + type Summary struct + Cancelled int + ChatSpend map[string]SpendTotal + Done int + Failed int + Pending int + Project string + ProjectSpend map[string]SpendTotal + Ready int + RootID string + Running int + Total int + type Task struct + ArchivedAt time.Time + Artifacts []string + Chat string + ClaimedBy string + CompletedAt time.Time + Composite bool + CreatedAt time.Time + Error string + Evidence []string + Owner string + Paused bool + Project string + Result string + SeenAt time.Time + Status Status + UpdatedAt time.Time + VerdictBasis VerdictBasis + WaitedAt time.Time + Waiting bool + type TaskPatch struct + Acceptance *string + Agent *string + Capabilities *[]string + Checks *[]string + ContextInputs *[]string + Deliverables *[]string + Description *string + Effect *Effect + EvidenceRequirements *[]string + Isolation *string + Kind *string + Parallel *string + Priority *int + Question *string + Resources *[]ResourceClaim + Role *string + Title *string + type TaskSpec struct + Acceptance string + Agent string + Capabilities []string + Checks []string + ContextInputs []string + Deliverables []string + Dependencies []Dependency + Description string + Effect Effect + EvidenceRequirements []string + ID string + Isolation string + Kind string + Parallel string + ParentID string + Priority int + Question string + Resources []ResourceClaim + Role string + Title string + type VerdictBasis struct + Kind string + Runs []VerdictRun + Unobserved []string + type VerdictRun struct + Command string + ExitCode int v0.3.1-rc.1 Sep 22, 2026