Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + type Handoff struct + Context string + CreatedAt time.Time + FromSession string + ID int + Summary string + ToSession string + type JudgeFunc func(task *Task) (passed bool, reason string) + type PlanStep struct + CompletedAt *time.Time + Description string + Name string + Outcome string + State TaskState + type Store struct + func NewStore(judge JudgeFunc) *Store + func (s *Store) Activate(id string) error + func (s *Store) AddHandoff(taskID string, handoff Handoff) error + func (s *Store) Complete(taskID string) error + func (s *Store) CompleteStep(taskID string, stepIdx int, outcome string) error + func (s *Store) Create(id, name, description string, plan []PlanStep, maxWakeups int) (*Task, error) + func (s *Store) Get(id string) *Task + func (s *Store) List() []*Task + func (s *Store) ListActive() []*Task + type Task struct + CheckpointRef string + CompletedAt *time.Time + CreatedAt time.Time + Description string + Handoffs []Handoff + ID string + JudgeResult string + JudgeVerified bool + MaxWakeups int + Name string + Plan []PlanStep + State TaskState + WakeupCount int + type TaskState string + const StateAbandoned + const StateActive + const StateCompleted + const StateFailed + const StatePending + const StateWaiting