{
  "id": "local-gate",
  "command": "local-gate --key <key> --mode full -- <command>",
  "summary": "Runs a build/test/lint command through the shared local gate (caching, shim tracking, exit contract).",
  "intent_phrases": ["run the gate", "run tests before landing", "check this passes before I ship"],
  "replaces": ["pnpm test && pnpm build && pnpm typecheck run by hand"],
  "preconditions": "A gate key that groups this command's cache/shim state.",
  "effects": "Executes <command>, tracks node/pnpm/tsc invocations under it, caches by content key.",
  "risk": "reversible",
  "example": "local-gate --key deck-ui-test --mode full -- pnpm --filter @overdeck/deck-ui test",
  "help_probe": "local-gate"
}
