pub struct FloorCommand {
pub name: String,
pub run: Vec<String>,
pub scope: FloorScope,
pub inputs: DisplayOnly<FloorInputs>,
pub install: Option<String>,
pub on_stop: bool,
pub on_new_read_only: bool,
pub reconcile_ignored: bool,
pub covers_ignored_of: Option<String>,
}Fields§
§name: StringUnique across the table: --skip and covers_ignored_of both address
commands by name.
run: Vec<String>argv, never a shell string — a shell string is an injection surface and a quoting-bug surface, and neither belongs in a gate.
scope: FloorScope§inputs: DisplayOnly<FloorInputs>Display-only (F79): its three readers are all disclosure text in the
floor verb, so an unrecognized value degrades to repo with a NOTE
instead of rejecting the manifest.
install: Option<String>The install hint a missing binary’s error carries (the db.rs
run_tool pattern: an absent tool is a loud named failure, never a
silent skip).
on_stop: boolWhether the Stop sweep runs this command. Default false — the
conservative posture, and the whole Stop integration ships dark until a
human rules a command in.
on_new_read_only: boolWhether this command runs as a pre-RED lint gate: when a commit stages a
NEW file under a read_only_paths glob, check --staged runs this
command before the file is frozen (F72). Default false, mirroring
on_stop — the mechanism ships dark until a human opts a command in.
reconcile_ignored: boolWhether this command’s output carries cargo-test-shaped test result:
lines whose ignored count must be accounted for.
covers_ignored_of: Option<String>Declares that THIS command executes the tests the named command reported as ignored. The link is declared rather than guessed because the accounting is only as trustworthy as the claim it checks.