pub struct ResolveArgs {
pub rejection_sha: String,
pub fixed_by: Option<String>,
pub waive: bool,
pub reason: Option<String>,
}Expand description
Arguments for the truth-mirror resolve subcommand: agent-side petition flow
and human-only waive path.
Fields§
§rejection_sha: StringOriginal rejection SHA to resolve.
fixed_by: Option<String>The fix commit SHA that should materially address each finding. Enqueues a
RESOLUTION re-review that runs through the existing watcher. The rejection
is only transitioned to resolved when the reviewer returns PASS (the
petition’s accept verdict); otherwise the attempt stays spent and
reinjection stays open.
waive: boolHuman-only waive lane: writes an auditable waived ledger event. Refuses
to run when stdin is not an interactive TTY so agents structurally cannot
invoke this path.
reason: Option<String>Required text justification for the --waive lane.
Trait Implementations§
Source§impl Args for ResolveArgs
impl Args for ResolveArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for ResolveArgs
impl Debug for ResolveArgs
Source§impl FromArgMatches for ResolveArgs
impl FromArgMatches for ResolveArgs
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>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ResolveArgs
impl RefUnwindSafe for ResolveArgs
impl Send for ResolveArgs
impl Sync for ResolveArgs
impl Unpin for ResolveArgs
impl UnsafeUnpin for ResolveArgs
impl UnwindSafe for ResolveArgs
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
Mutably borrows from an owned value. Read more