pub enum TicketState {
New,
Drafting,
NeedsContext,
WrongPlan,
Review,
Queued,
Running,
Done,
Failed,
Parked,
Superseded,
Wontfix,
}Expand description
Pipeline status of a ticket, stored in <slug>.status (never time-based —
determinism matters for the event-sourced engine).
Variants§
New
Drafting
NeedsContext
WrongPlan
The planner escalated at draft time: it CAN plan, but believes the
plan is likely wrong (goal misframed, premise broken). Parks like
TicketState::NeedsContext — re-draftable, never schedulable/queueable — but is
distinct from it everywhere the state surfaces.
Review
Queued
Running
Done
Failed
Parked
Claimed then removed from the queue because backend readiness failed
(missing binary, unauthenticated, unsupported config). Distinct from
TicketState::Failed so operators can re-queue after fixing the environment
without treating the mission run itself as a failure.
Superseded
Operator-closed without delivery (state: superseded frontmatter —
the work moved elsewhere). Reached only through frontmatter
precedence (Ticket::read_state) or the lifecycle write path;
terminal everywhere TicketState::Done is. Additive serde variant: sidecars
written before it existed never spelled it.
Wontfix
Operator-closed as not-worth-doing (state: wontfix frontmatter).
Same reachability and terminality as TicketState::Superseded.
Trait Implementations§
Source§impl Clone for TicketState
impl Clone for TicketState
Source§fn clone(&self) -> TicketState
fn clone(&self) -> TicketState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more