pub struct CommandEnvelope {
pub command: &'static str,
pub kind: &'static str,
pub grouped_kind: Option<&'static str>,
pub report_from: ReportFrom,
pub mcp_tool: Option<&'static str>,
pub mcp_omission: Option<&'static str>,
pub verdict: bool,
pub ci: CiIntegration,
}Expand description
The machine contract of one analysis subcommand.
Fields§
§command: &'static strThe subcommand, as fallow <command> spells it.
kind: &'static strThe root kind of fallow <command> --format json.
grouped_kind: Option<&'static str>The root kind with --group-by, when grouping writes another kind.
report_from: ReportFromHow fallow report --from treats a saved envelope.
mcp_tool: Option<&'static str>The MCP tool whose CLI analogue is this command.
mcp_omission: Option<&'static str>Why no MCP tool exists. Some exactly when mcp_tool is None.
verdict: boolWhether the drift harness compares the verdict of the JSON and human runs (invariant I7).
ci: CiIntegrationHow the GitHub Action and the GitLab CI template treat the command.
Trait Implementations§
Source§impl Clone for CommandEnvelope
impl Clone for CommandEnvelope
impl Copy for CommandEnvelope
Auto Trait Implementations§
impl Freeze for CommandEnvelope
impl RefUnwindSafe for CommandEnvelope
impl Send for CommandEnvelope
impl Sync for CommandEnvelope
impl Unpin for CommandEnvelope
impl UnsafeUnpin for CommandEnvelope
impl UnwindSafe for CommandEnvelope
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