pub enum TicketCommand {
List,
Ready {
include_deferred: bool,
},
Show {
slug: String,
},
New {
slug: String,
title: String,
goal: Option<String>,
},
ImportOpenspec {
path: PathBuf,
slug: Option<String>,
},
Note {
slug: String,
text: Vec<String>,
},
Notes {
slug: String,
},
Queue {
slug: String,
mission: Option<String>,
force: bool,
},
Approve {
slug: String,
mission: Option<String>,
force: bool,
},
MigrateState {
yes: bool,
},
}Expand description
Subcommands under kranz ticket — the backlog surface.
Variants§
List
List tickets with slug, priority, pipeline state, and title
Ready
List tickets ready to pick up now: actionable states whose
defer-until (if any) has passed — deferred tickets stay hidden until
their time (D-BW-3; the clock decides at listing time, no scheduler)
Fields
Show
Show one ticket: parsed fields, its state, and any needs-context block
New
Scaffold a new ticket at .kranz/tickets/<slug>.md (refuses to overwrite)
Fields
ImportOpenspec
Import an OpenSpec change folder (openspec/changes/<name>/) as a
ticket. Carries the proposal and its requirements; deliberately drops
tasks.md, and never passes SHALL scenarios off as acceptance
criteria. One way only — the approved plan stays authoritative
Fields
Note
Append a note to a ticket’s discussion
(.kranz/tickets/<slug>.notes.jsonl — append-only, committed with the
ticket; D-BW-3). Author is $KRANZ_NOTE_AUTHOR, else “operator”
Fields
Notes
Print a ticket’s discussion notes chronologically (append-only — there is no edit or delete, mirroring the event log’s honesty posture)
Queue
Queue a drafted (REVIEW) ticket: enqueue its mission and mark it QUEUED
Fields
Approve
Deprecated alias for ticket queue (kept for one release; prints a
deprecation note to stderr). Do not confuse with plan approval — see
docs/scoping/pipeline-view.md decision D-A.
Fields
MigrateState
Fold terminal .status sidecar states into committed frontmatter
state: keys — the one-time migration from the ticket-state-
frontmatter design, so done verdicts survive a fresh clone. Dry-run
by default; tickets with uncommitted .md edits are skipped by name
(never rewrite a file an in-flight editor or agent has open)
Trait Implementations§
Source§impl Debug for TicketCommand
impl Debug for TicketCommand
Source§impl FromArgMatches for TicketCommand
impl FromArgMatches for TicketCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for TicketCommand
impl Subcommand for TicketCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for TicketCommand
impl RefUnwindSafe for TicketCommand
impl Send for TicketCommand
impl Sync for TicketCommand
impl Unpin for TicketCommand
impl UnsafeUnpin for TicketCommand
impl UnwindSafe for TicketCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more