[capability] name = "quality::cargo-check-green" category = "quality" version = "1.0" description = "Require `cargo check --workspace` to pass on return, in worktree AND in simulated merge onto main." rationale = "Worktree-green is not enough — E1 jsonschema regression showed agent-local green can break main integration. Simulated-merge pass catches that class of failure before merge." [restricts] tool-patterns = [] tools-denied = [] [parameterized] accepts = ["cargo-check-crates"] [text] path = "text.md" [verify] rust-module = "verifies::quality_cargo_check_green" run-mode = "both" when = "on-return" [taxonomy] kingdom = "capability" mechanism = "verify" domain = "quality" layer = "agent-substrate" stage = "runtime" stability = "stable" language = "rust" [lineage] parents = [] creator = "ag-orchestrator-human" created = "2026-04-23"