Versions in this module Expand all Collapse all v1 v1.4.0 Oct 20, 2026 Changes in this version + func ValidateAttemptTransition(from, to AttemptPhase) error + func ValidateRunTransition(from, to RunPhase) error + func ValidateTaskTransition(from, to TaskPhase) error + type AttemptPhase string + const AttemptCancelRequested + const AttemptCancelled + const AttemptCheckpointing + const AttemptCompleted + const AttemptFailed + const AttemptPending + const AttemptPlaced + const AttemptRunning + const AttemptStarting + const AttemptWaitingAgent + const AttemptWaitingApproval + const AttemptWaitingTool + func (p AttemptPhase) Terminal() bool + type RunPhase string + const RunCancelled + const RunCompleted + const RunFailed + const RunPending + const RunRunning + const RunTimedOut + func (p RunPhase) Terminal() bool + type TaskPhase string + const TaskAdmitted + const TaskCancelled + const TaskFailed + const TaskQueued + const TaskRejected + const TaskRunning + const TaskSucceeded + const TaskTimedOut + func (p TaskPhase) Terminal() bool