Versions in this module Expand all Collapse all v0 v0.1.1 Jan 22, 2026 v0.1.0 Jan 22, 2026 Changes in this version + const EnvGTRole + const EnvGTRoleHome + const ExitCompleted + const ExitDeferred + const ExitEscalated + const ExitPhaseComplete + const GroupAgents + const GroupComm + const GroupConfig + const GroupDiag + const GroupServices + const GroupWork + const GroupWorkspace + const HQGitignore + const MinBeadsVersion + const RigDockedLabel + const RigStatusKey + const RigStatusParked + const SeverityCritical + const SeverityHigh + const SeverityMedium + var AgentTypeColors = map[AgentType]string + var AgentTypeIcons = map[AgentType]string + var Branch = "" + var Build = "dev" + var Commit = "" + var Version = "0.1.0" + func CheckBeadsVersion() error + func CheckSynthesisReady(convoyID string) (bool, error) + func Execute() int + func GetCurrentStepBackoff(workDir string) (*beads.BackoffConfig, error) + func InitGitForHarness(hqRoot string, github string, private bool) error + func InvalidateBeadsVersionCache() + func IsDogTarget(target string) (dogName string, isDog bool) + func IsRigDocked(townRoot, rigName, prefix string) bool + func IsRigName(target string) (string, bool) + func IsRigParked(townRoot, rigName string) bool + func IsSilentExit(err error) (int, bool) + func LogCrash(townRoot, agent, reason string) error + func LogDone(townRoot, agent, issueID string) error + func LogEvent(eventType townlog.EventType, agent, context string) error + func LogEventWithRoot(townRoot string, eventType townlog.EventType, agent, context string) error + func LogHandoff(townRoot, agent, context string) error + func LogKill(townRoot, agent, reason string) error + func LogNudge(townRoot, agent, message string) error + func LogSpawn(townRoot, agent, issueID string) error + func LogWake(townRoot, agent, context string) error + func ReadPersistedSessionID() string + func TriggerSynthesisIfReady(convoyID, targetRig string) error + type AccountListItem struct + ConfigDir string + Description string + Email string + Handle string + IsDefault bool + type AgentHook struct + Command string + Type string + type AgentHookInfo struct + Agent string + HasWork bool + Molecule string + Role string + Title string + type AgentHookMatcher struct + Hooks []AgentHook + Matcher string + type AgentListItem struct + Args string + Command string + IsCustom bool + Name string + Type string + type AgentRuntime struct + Address string + FirstSubject string + HasWork bool + HookBead string + Name string + Role string + Running bool + Session string + State string + UnreadMail int + WorkTitle string + type AgentSession struct + AgentName string + Name string + Rig string + Type AgentType + type AgentType int + const AgentCrew + const AgentDeacon + const AgentMayor + const AgentPolecat + const AgentRefinery + const AgentWitness + type AuditEntry struct + Actor string + Details string + ID string + Source string + Summary string + Timestamp time.Time + Type string + type AwaitSignalResult struct + Elapsed time.Duration + IdleCycles int + Reason string + Signal string + type CallbackResult struct + Action string + CallbackType CallbackType + Error error + From string + Handled bool + MessageID string + Subject string + type CallbackType string + const CallbackEscalation + const CallbackHelp + const CallbackMergeCompleted + const CallbackMergeRejected + const CallbackPolecatDone + const CallbackSling + const CallbackUnknown + type CollisionIssue struct + Message string + PID int + SessionID string + Type string + WorkerDir string + type CollisionReport struct + Collisions int + Issues []CollisionIssue + Locks map[string]*lock.LockInfo + StaleLocks int + TotalLocks int + TotalSessions int + type ConvoyMeta struct + Formula string + FormulaPath string + ID string + LegIssues []string + ReviewID string + Status string + Title string + type CostEntry struct + CostUSD float64 + EndedAt time.Time + Rig string + Role string + SessionID string + StartedAt time.Time + WorkItem string + Worker string + type CostsOutput struct + ByRig map[string]float64 + ByRole map[string]float64 + Period string + Sessions []SessionCost + Total float64 + type CrewListItem struct + Branch string + GitClean bool + HasSession bool + Name string + Path string + Rig string + type CrewStatusItem struct + Branch string + GitClean bool + GitModified []string + GitUntracked []string + HasSession bool + MailTotal int + MailUnread int + Name string + Path string + Rig string + SessionID string + type CursorSettings struct + EnabledPlugins map[string]bool + Hooks map[string][]AgentHookMatcher + type DependencyInfo struct + ID string + Priority int + Status string + Title string + Type string + type DogDispatchInfo struct + AgentID string + DogName string + Pane string + Spawned bool + func DispatchToDog(dogName string, create bool) (*DogDispatchInfo, error) + type EventListItem struct + ID string + type GateWakeResult struct + CloseReason string + Failed []string + GateID string + Notified []string + Waiters []string + type GitState struct + Clean bool + StashCount int + UncommittedFiles []string + UnpushedCommits int + type HookInfo struct + Agent string + Commands []string + Location string + Matcher string + Status string + Type string + type HooksOutput struct + Count int + Hooks []HookInfo + TownRoot string + type IntegrationStatusMRSummary struct + ID string + Status string + Title string + type IntegrationStatusOutput struct + AheadOfMain int + Branch string + Created string + Epic string + MergedMRs []IntegrationStatusMRSummary + PendingMRs []IntegrationStatusMRSummary + type LegOutput struct + Content string + FilePath string + HasFile bool + LegID string + Status string + Title string + type MQSummary struct + Blocked int + Health string + InFlight int + Pending int + State string + type MRStatusOutput struct + Assignee string + Blocks []DependencyInfo + Branch string + CloseReason string + ClosedAt string + CreatedAt string + DependsOn []DependencyInfo + ID string + MergeCommit string + Priority int + Rig string + SourceIssue string + Status string + Target string + Title string + Type string + UpdatedAt string + Worker string + type MoleculeCurrentInfo struct + CurrentStep string + CurrentStepID string + HandoffID string + HandoffTitle string + Identity string + MoleculeID string + MoleculeTitle string + Status string + StepsComplete int + StepsTotal int + type MoleculeCurrentOutput struct + Completed int + MoleculeID string + MoleculeTitle string + NextStep ... + Total int + type MoleculeProgressInfo struct + BlockedSteps []string + Complete bool + DoneSteps int + InProgress int + MoleculeID string + Percent int + ReadySteps []string + RootID string + RootTitle string + TotalSteps int + type MoleculeStatusInfo struct + AgentBeadID string + AttachedArgs string + AttachedAt string + AttachedMolecule string + HasWork bool + IsWisp bool + NextAction string + PinnedBead *beads.Issue + Progress *MoleculeProgressInfo + Role string + Target string + type OrphanCommit struct + Author string + Date time.Time + SHA string + Subject string + type OverseerInfo struct + Email string + Name string + Source string + UnreadMail int + Username string + type ParkedWork struct + AgentID string + BeadID string + Context string + Formula string + GateID string + ParkedAt time.Time + type PatrolConfig struct + Assignee string + BeadsDir string + CheckInProgress bool + HeaderIcon string + HeaderTitle string + PatrolMolName string + RoleName string + WorkLoopSteps []string + type PolecatListItem struct + Issue string + Name string + Rig string + SessionRunning bool + State polecat.State + type PolecatStatus struct + Attached bool + Branch string + ClonePath string + CreatedAt string + Issue string + LastActivity string + Name string + Rig string + SessionID string + SessionRunning bool + State polecat.State + Windows int + type RecoveryStatus struct + Branch string + CleanupStatus polecat.CleanupStatus + Issue string + NeedsRecovery bool + Polecat string + Rig string + Verdict string + type ResumeStatus struct + CanResume bool + CloseReason string + GateClosed bool + HasParkedWork bool + ParkedWork *ParkedWork + type RigStatus struct + Agents []AgentRuntime + CrewCount int + Crews []string + HasRefinery bool + HasWitness bool + Hooks []AgentHookInfo + MQ *MQSummary + Name string + PolecatCount int + Polecats []string + type Role string + const RoleCrew + const RoleDeacon + const RoleMayor + const RolePolecat + const RoleRefinery + const RoleUnknown + const RoleWitness + type RoleContext = RoleInfo + type RoleInfo struct + CwdRole Role + EnvRole string + Home string + Mismatch bool + Polecat string + Rig string + Role Role + Source string + TownRoot string + WorkDir string + func GetRole() (RoleInfo, error) + func GetRoleWithContext(cwd, townRoot string) (RoleInfo, error) + func (info RoleInfo) ActorString() string + type SessionCost struct + Cost float64 + Rig string + Role string + Running bool + Session string + Worker string + type SessionEvent struct + Actor string + CreatedAt time.Time + EventKind string + ID string + Payload string + Status string + Target string + Title string + type SessionListItem struct + Polecat string + Rig string + Running bool + SessionID string + type SessionPayload struct + CostUSD float64 + EndedAt string + Rig string + Role string + SessionID string + Worker string + type SilentExitError struct + Code int + func NewSilentExit(code int) *SilentExitError + func (e *SilentExitError) Error() string + type SlingSpawnOptions struct + Account string + Agent string + Create bool + Force bool + HookBead string + Naked bool + type SpawnedPolecatInfo struct + ClonePath string + Pane string + PolecatName string + RigName string + SessionName string + func SpawnPolecatForSling(rigName string, opts SlingSpawnOptions) (*SpawnedPolecatInfo, error) + func (s *SpawnedPolecatInfo) AgentID() string + type StatusSum struct + ActiveHooks int + CrewCount int + PolecatCount int + RefineryCount int + RigCount int + WitnessCount int + type StepDoneResult struct + Action string + Complete bool + MoleculeID string + NextStepID string + NextStepTitle string + StepClosed bool + StepID string + type StopResult struct + Error string + Polecat string + Rig string + SessionID string + Success bool + type TownStatus struct + Agents []AgentRuntime + Location string + Name string + Overseer *OverseerInfo + Rigs []RigStatus + Summary StatusSum + type VersionChange struct + Changes []string + Date string + Version string