{
"schema_version": 1,
"cases": [
{
"id": "guards-journal-output-long-match",
"rule_id": "guards/journal-output-long",
"argv": [
"journalctl",
"--output=json"
],
"expected_action": "passthrough"
},
{
"id": "guards-journal-output-short-match",
"rule_id": "guards/journal-output-short",
"argv": [
"journalctl",
"-o",
"export"
],
"expected_action": "passthrough"
},
{
"id": "guards-journal-output-fields-match",
"rule_id": "guards/journal-output-fields",
"argv": [
"journalctl",
"--output-fields=MESSAGE"
],
"expected_action": "passthrough"
},
{
"id": "guards-systemctl-output-long-match",
"rule_id": "guards/systemctl-output-long",
"argv": [
"systemctl",
"status",
"--output=json",
"sshd"
],
"expected_action": "passthrough"
},
{
"id": "guards-systemctl-output-short-match",
"rule_id": "guards/systemctl-output-short",
"argv": [
"systemctl",
"status",
"-o",
"json",
"sshd"
],
"expected_action": "passthrough"
},
{
"id": "guards-ninja-tool-match",
"rule_id": "guards/ninja-tool",
"argv": [
"ninja",
"-t",
"compdb"
],
"expected_action": "passthrough"
},
{
"id": "guards-tsc-show-config-match",
"rule_id": "guards/tsc-show-config",
"argv": [
"tsc",
"--showConfig"
],
"expected_action": "passthrough"
},
{
"id": "guards-tsc-list-files-match",
"rule_id": "guards/tsc-list-files",
"argv": [
"tsc",
"--listFiles"
],
"expected_action": "passthrough"
},
{
"id": "guards-tsc-list-files-only-match",
"rule_id": "guards/tsc-list-files-only",
"argv": [
"tsc",
"--listFilesOnly"
],
"expected_action": "passthrough"
},
{
"id": "guards-tsc-explain-files-match",
"rule_id": "guards/tsc-explain-files",
"argv": [
"tsc",
"--explainFiles"
],
"expected_action": "passthrough"
},
{
"id": "guards-tsc-trace-resolution-match",
"rule_id": "guards/tsc-trace-resolution",
"argv": [
"tsc",
"--traceResolution"
],
"expected_action": "passthrough"
},
{
"id": "guards-tsc-generate-trace-match",
"rule_id": "guards/tsc-generate-trace",
"argv": [
"tsc",
"--generateTrace"
],
"expected_action": "passthrough"
},
{
"id": "guards-eslint-format-long-match",
"rule_id": "guards/eslint-format-long",
"argv": [
"eslint",
"--format",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-eslint-format-short-match",
"rule_id": "guards/eslint-format-short",
"argv": [
"eslint",
"-f",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-eslint-print-config-match",
"rule_id": "guards/eslint-print-config",
"argv": [
"eslint",
"--print-config",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-eslint-inspect-config-match",
"rule_id": "guards/eslint-inspect-config",
"argv": [
"eslint",
"--inspect-config",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-npx-eslint-format-long-match",
"rule_id": "guards/npx-eslint-format-long",
"argv": [
"npx",
"eslint",
"--format",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-npx-eslint-format-short-match",
"rule_id": "guards/npx-eslint-format-short",
"argv": [
"npx",
"eslint",
"-f",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-npx-eslint-print-config-match",
"rule_id": "guards/npx-eslint-print-config",
"argv": [
"npx",
"eslint",
"--print-config",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-npx-eslint-inspect-config-match",
"rule_id": "guards/npx-eslint-inspect-config",
"argv": [
"npx",
"eslint",
"--inspect-config",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-pyright-json-match",
"rule_id": "guards/pyright-json",
"argv": [
"pyright",
"--outputjson"
],
"expected_action": "passthrough"
},
{
"id": "guards-pnpm-oxlint-format-long-match",
"rule_id": "guards/pnpm-oxlint-format-long",
"argv": [
"pnpm",
"exec",
"oxlint",
"--format",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-pnpm-oxlint-format-short-match",
"rule_id": "guards/pnpm-oxlint-format-short",
"argv": [
"pnpm",
"exec",
"oxlint",
"-f",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-ruff-output-format-match",
"rule_id": "guards/ruff-output-format",
"argv": [
"ruff",
"check",
"--output-format",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-ruff-show-files-match",
"rule_id": "guards/ruff-show-files",
"argv": [
"ruff",
"check",
"--show-files",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-ruff-show-settings-match",
"rule_id": "guards/ruff-show-settings",
"argv": [
"ruff",
"check",
"--show-settings",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-uv-ruff-output-format-match",
"rule_id": "guards/uv-ruff-output-format",
"argv": [
"uv",
"run",
"ruff",
"--output-format",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-uv-ruff-show-files-match",
"rule_id": "guards/uv-ruff-show-files",
"argv": [
"uv",
"run",
"ruff",
"--show-files",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-uv-ruff-show-settings-match",
"rule_id": "guards/uv-ruff-show-settings",
"argv": [
"uv",
"run",
"ruff",
"--show-settings",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-go-json-match",
"rule_id": "guards/go-json",
"argv": [
"go",
"vet",
"-json",
"./..."
],
"expected_action": "passthrough"
},
{
"id": "guards-mypy-output-match",
"rule_id": "guards/mypy-output",
"argv": [
"mypy",
"--output",
"json",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-mypy-short-output-match",
"rule_id": "guards/mypy-short-output",
"argv": [
"mypy",
"-O",
"json",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-pytest-json-report-match",
"rule_id": "guards/pytest-json-report",
"argv": [
"pytest",
"--json-report"
],
"expected_action": "passthrough"
},
{
"id": "guards-pytest-collect-only-match",
"rule_id": "guards/pytest-collect-only",
"argv": [
"pytest",
"--collect-only"
],
"expected_action": "passthrough"
},
{
"id": "guards-python-pytest-json-report-match",
"rule_id": "guards/python-pytest-json-report",
"argv": [
"python3",
"-m",
"pytest",
"--json-report"
],
"expected_action": "passthrough"
},
{
"id": "guards-python-pytest-collect-only-match",
"rule_id": "guards/python-pytest-collect-only",
"argv": [
"python3",
"-m",
"pytest",
"--collect-only"
],
"expected_action": "passthrough"
},
{
"id": "guards-uv-pytest-json-report-match",
"rule_id": "guards/uv-pytest-json-report",
"argv": [
"uv",
"run",
"pytest",
"--json-report"
],
"expected_action": "passthrough"
},
{
"id": "guards-uv-pytest-collect-only-match",
"rule_id": "guards/uv-pytest-collect-only",
"argv": [
"uv",
"run",
"pytest",
"--collect-only"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-show-match",
"rule_id": "guards/git-show",
"argv": [
"git",
"show",
"HEAD:file"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-status-nul-match",
"rule_id": "guards/git-status-nul",
"argv": [
"git",
"status",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-status-porcelain-match",
"rule_id": "guards/git-status-porcelain",
"argv": [
"git",
"status",
"--porcelain"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-branch-format-match",
"rule_id": "guards/git-branch-format",
"argv": [
"git",
"branch",
"--list",
"--format=%(refname)"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-stash-format-match",
"rule_id": "guards/git-stash-format",
"argv": [
"git",
"stash",
"list",
"--format=%H"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-stash-pretty-match",
"rule_id": "guards/git-stash-pretty",
"argv": [
"git",
"stash",
"list",
"--pretty=format:%H"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-tag-format-match",
"rule_id": "guards/git-tag-format",
"argv": [
"git",
"tag",
"--list",
"--format=%(refname)"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-log-format-match",
"rule_id": "guards/git-log-format",
"argv": [
"git",
"log",
"--oneline",
"--format=%H"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-log-pretty-match",
"rule_id": "guards/git-log-pretty",
"argv": [
"git",
"log",
"--oneline",
"--pretty=format:%H"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-binary-match",
"rule_id": "guards/git-diff-binary",
"argv": [
"git",
"diff",
"--binary"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-patch-with-raw-match",
"rule_id": "guards/git-diff-patch-with-raw",
"argv": [
"git",
"diff",
"--patch-with-raw"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-word-diff-match",
"rule_id": "guards/git-diff-word-diff",
"argv": [
"git",
"diff",
"--word-diff=porcelain"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-raw-match",
"rule_id": "guards/git-diff-raw",
"argv": [
"git",
"diff",
"--raw"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-numstat-match",
"rule_id": "guards/git-diff-numstat",
"argv": [
"git",
"diff",
"--numstat"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-name-only-match",
"rule_id": "guards/git-diff-name-only",
"argv": [
"git",
"diff",
"--name-only"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-name-status-match",
"rule_id": "guards/git-diff-name-status",
"argv": [
"git",
"diff",
"--name-status"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-stat-match",
"rule_id": "guards/git-diff-stat",
"argv": [
"git",
"diff",
"--stat"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-shortstat-match",
"rule_id": "guards/git-diff-shortstat",
"argv": [
"git",
"diff",
"--shortstat"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-dirstat-match",
"rule_id": "guards/git-diff-dirstat",
"argv": [
"git",
"diff",
"--dirstat"
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-json-match",
"rule_id": "guards/rg-json",
"argv": [
"rg",
"--json"
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-null-match",
"rule_id": "guards/rg-null",
"argv": [
"rg",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-zero-match",
"rule_id": "guards/rg-zero",
"argv": [
"rg",
"-0"
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-files-match",
"rule_id": "guards/rg-files",
"argv": [
"rg",
"--files",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-files-with-matches-match",
"rule_id": "guards/rg-files-with-matches",
"argv": [
"rg",
"--files-with-matches",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-files-without-match-match",
"rule_id": "guards/rg-files-without-match",
"argv": [
"rg",
"--files-without-match",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-count-match",
"rule_id": "guards/rg-count",
"argv": [
"rg",
"--count",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-count-matches-match",
"rule_id": "guards/rg-count-matches",
"argv": [
"rg",
"--count-matches",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-type-list-match",
"rule_id": "guards/rg-type-list",
"argv": [
"rg",
"--type-list",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-short-files-match",
"rule_id": "guards/rg-short-files",
"argv": [
"rg",
"-l",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-short-files-without-match",
"rule_id": "guards/rg-short-files-without",
"argv": [
"rg",
"-L",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-rg-short-count-match",
"rule_id": "guards/rg-short-count",
"argv": [
"rg",
"-c",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-files-with-matches-match",
"rule_id": "guards/grep-files-with-matches",
"argv": [
"grep",
"--files-with-matches",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-files-with-matches-match",
"rule_id": "guards/git-grep-files-with-matches",
"argv": [
"git",
"grep",
"--files-with-matches",
"needle"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-files-without-match-match",
"rule_id": "guards/grep-files-without-match",
"argv": [
"grep",
"--files-without-match",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-files-without-match-match",
"rule_id": "guards/git-grep-files-without-match",
"argv": [
"git",
"grep",
"--files-without-match",
"needle"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-count-match",
"rule_id": "guards/grep-count",
"argv": [
"grep",
"--count",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-count-match",
"rule_id": "guards/git-grep-count",
"argv": [
"git",
"grep",
"--count",
"needle"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-short-files-match",
"rule_id": "guards/grep-short-files",
"argv": [
"grep",
"-l",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-short-files-match",
"rule_id": "guards/git-grep-short-files",
"argv": [
"git",
"grep",
"-l",
"needle"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-short-files-without-match",
"rule_id": "guards/grep-short-files-without",
"argv": [
"grep",
"-L",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-short-files-without-match",
"rule_id": "guards/git-grep-short-files-without",
"argv": [
"git",
"grep",
"-L",
"needle"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-short-count-match",
"rule_id": "guards/grep-short-count",
"argv": [
"grep",
"-c",
"needle",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-short-count-match",
"rule_id": "guards/git-grep-short-count",
"argv": [
"git",
"grep",
"-c",
"needle"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-zero-match",
"rule_id": "guards/git-grep-zero",
"argv": [
"git",
"grep",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-grep-null-match",
"rule_id": "guards/git-grep-null",
"argv": [
"git",
"grep",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-zero-match",
"rule_id": "guards/git-diff-zero",
"argv": [
"git",
"diff",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-diff-null-match",
"rule_id": "guards/git-diff-null",
"argv": [
"git",
"diff",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-branch-zero-match",
"rule_id": "guards/git-branch-zero",
"argv": [
"git",
"branch",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-branch-null-match",
"rule_id": "guards/git-branch-null",
"argv": [
"git",
"branch",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-log-zero-match",
"rule_id": "guards/git-log-zero",
"argv": [
"git",
"log",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-log-null-match",
"rule_id": "guards/git-log-null",
"argv": [
"git",
"log",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-null-match",
"rule_id": "guards/grep-null",
"argv": [
"grep",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-capital-z-match",
"rule_id": "guards/grep-capital-z",
"argv": [
"grep",
"-Z"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-zero-data-match",
"rule_id": "guards/grep-zero-data",
"argv": [
"grep",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-grep-null-data-match",
"rule_id": "guards/grep-null-data",
"argv": [
"grep",
"--null-data"
],
"expected_action": "passthrough"
},
{
"id": "guards-cargo-message-format-match",
"rule_id": "guards/cargo-message-format",
"argv": [
"cargo",
"test",
"--message-format=json"
],
"expected_action": "passthrough"
},
{
"id": "guards-cargo-json-match",
"rule_id": "guards/cargo-json",
"argv": [
"cargo",
"llvm-cov",
"--json"
],
"expected_action": "passthrough"
},
{
"id": "guards-cargo-lcov-match",
"rule_id": "guards/cargo-lcov",
"argv": [
"cargo",
"llvm-cov",
"--lcov"
],
"expected_action": "passthrough"
},
{
"id": "guards-cargo-cobertura-match",
"rule_id": "guards/cargo-cobertura",
"argv": [
"cargo",
"llvm-cov",
"--cobertura"
],
"expected_action": "passthrough"
},
{
"id": "guards-cargo-codecov-match",
"rule_id": "guards/cargo-codecov",
"argv": [
"cargo",
"llvm-cov",
"--codecov"
],
"expected_action": "passthrough"
},
{
"id": "guards-cargo-test-format-match",
"rule_id": "guards/cargo-test-format",
"argv": [
"cargo",
"test",
"--",
"--format=json"
],
"expected_action": "passthrough"
},
{
"id": "guards-go-test-json-match",
"rule_id": "guards/go-test-json",
"argv": [
"go",
"test",
"-json"
],
"expected_action": "passthrough"
},
{
"id": "guards-package-json-match",
"rule_id": "guards/package-json",
"argv": [
"npm",
"test",
"--",
"--json"
],
"expected_action": "passthrough"
},
{
"id": "guards-package-reporter-match",
"rule_id": "guards/package-reporter",
"argv": [
"npm",
"test",
"--",
"--reporter=json"
],
"expected_action": "passthrough"
},
{
"id": "guards-package-watch-match",
"rule_id": "guards/package-watch",
"argv": [
"npm",
"test",
"--",
"--watch"
],
"expected_action": "passthrough"
},
{
"id": "guards-package-watch-all-match",
"rule_id": "guards/package-watch-all",
"argv": [
"npm",
"test",
"--",
"--watchAll"
],
"expected_action": "passthrough"
},
{
"id": "guards-package-watch-dash-match",
"rule_id": "guards/package-watch-dash",
"argv": [
"npm",
"test",
"--",
"--watch-all"
],
"expected_action": "passthrough"
},
{
"id": "guards-gh-json-match",
"rule_id": "guards/gh-json",
"argv": [
"gh",
"pr",
"view",
"--json"
],
"expected_action": "passthrough"
},
{
"id": "guards-gh-template-match",
"rule_id": "guards/gh-template",
"argv": [
"gh",
"pr",
"view",
"--template"
],
"expected_action": "passthrough"
},
{
"id": "guards-log-follow-short-follow-match",
"rule_id": "guards/log-follow-short-follow",
"argv": [
"journalctl",
"-f"
],
"expected_action": "passthrough"
},
{
"id": "guards-log-follow-follow-match",
"rule_id": "guards/log-follow-follow",
"argv": [
"journalctl",
"--follow"
],
"expected_action": "passthrough"
},
{
"id": "guards-kubectl-short-watch-match",
"rule_id": "guards/kubectl-short-watch",
"argv": [
"kubectl",
"get",
"pods",
"-w"
],
"expected_action": "passthrough"
},
{
"id": "guards-kubectl-watch-match",
"rule_id": "guards/kubectl-watch",
"argv": [
"kubectl",
"get",
"pods",
"--watch"
],
"expected_action": "passthrough"
},
{
"id": "guards-docker-format-match",
"rule_id": "guards/docker-format",
"argv": [
"docker",
"stats",
"--no-stream",
"--format",
"json"
],
"expected_action": "passthrough"
},
{
"id": "guards-docker-progress-match",
"rule_id": "guards/docker-progress",
"argv": [
"docker",
"buildx",
"build",
"--progress=rawjson",
"."
],
"expected_action": "passthrough"
},
{
"id": "guards-kubectl-output-short-match",
"rule_id": "guards/kubectl-output-short",
"argv": [
"kubectl",
"get",
"pods",
"-ojson"
],
"expected_action": "passthrough"
},
{
"id": "guards-kubectl-output-long-match",
"rule_id": "guards/kubectl-output-long",
"argv": [
"kubectl",
"get",
"pods",
"--output=json"
],
"expected_action": "passthrough"
},
{
"id": "search-rg-match",
"rule_id": "search/rg",
"argv": [
"rg",
"-n",
"needle",
"."
],
"expected_action": "reduce"
},
{
"id": "search-grep-match",
"rule_id": "search/grep",
"argv": [
"grep",
"-R",
"needle",
"."
],
"expected_action": "reduce"
},
{
"id": "search-git-grep-match",
"rule_id": "search/git-grep",
"argv": [
"git",
"grep",
"needle"
],
"expected_action": "reduce"
},
{
"id": "git-status-match",
"rule_id": "git/status",
"argv": [
"git",
"status"
],
"expected_action": "reduce"
},
{
"id": "git-diff-match",
"rule_id": "git/diff",
"argv": [
"git",
"diff",
"--check"
],
"expected_action": "reduce"
},
{
"id": "git-log-oneline-match",
"rule_id": "git/log-oneline",
"argv": [
"git",
"log",
"--oneline"
],
"expected_action": "reduce"
},
{
"id": "git-branch-list-match",
"rule_id": "git/branch-list",
"argv": [
"git",
"branch",
"--list"
],
"expected_action": "reduce"
},
{
"id": "git-branch-all-match",
"rule_id": "git/branch-all",
"argv": [
"git",
"branch",
"-a"
],
"expected_action": "reduce"
},
{
"id": "git-branch-verbose-match",
"rule_id": "git/branch-verbose",
"argv": [
"git",
"branch",
"-vv"
],
"expected_action": "reduce"
},
{
"id": "rust-cargo-test-match",
"rule_id": "rust/cargo-test",
"argv": [
"cargo",
"test",
"--workspace"
],
"expected_action": "reduce"
},
{
"id": "rust-cargo-build-match",
"rule_id": "rust/cargo-build",
"argv": [
"cargo",
"build"
],
"expected_action": "reduce"
},
{
"id": "rust-cargo-check-match",
"rule_id": "rust/cargo-check",
"argv": [
"cargo",
"check"
],
"expected_action": "reduce"
},
{
"id": "rust-cargo-clippy-match",
"rule_id": "rust/cargo-clippy",
"argv": [
"cargo",
"clippy"
],
"expected_action": "reduce"
},
{
"id": "rust-cargo-audit-match",
"rule_id": "rust/cargo-audit",
"argv": [
"cargo",
"audit"
],
"expected_action": "reduce"
},
{
"id": "rust-cargo-coverage-match",
"rule_id": "rust/cargo-coverage",
"argv": [
"cargo",
"llvm-cov"
],
"expected_action": "reduce"
},
{
"id": "go-test-match",
"rule_id": "go/test",
"argv": [
"go",
"test",
"./..."
],
"expected_action": "reduce"
},
{
"id": "go-vet-match",
"rule_id": "go/vet",
"argv": [
"go",
"vet",
"./..."
],
"expected_action": "reduce"
},
{
"id": "go-build-match",
"rule_id": "go/build",
"argv": [
"go",
"build",
"./..."
],
"expected_action": "reduce"
},
{
"id": "python-pytest-match",
"rule_id": "python/pytest",
"argv": [
"pytest",
"-q"
],
"expected_action": "reduce"
},
{
"id": "python-module-pytest-match",
"rule_id": "python/module-pytest",
"argv": [
"python3",
"-m",
"pytest",
"-q"
],
"expected_action": "reduce"
},
{
"id": "python-uv-pytest-match",
"rule_id": "python/uv-pytest",
"argv": [
"uv",
"run",
"pytest"
],
"expected_action": "reduce"
},
{
"id": "python-ruff-match",
"rule_id": "python/ruff",
"argv": [
"ruff",
"check"
],
"expected_action": "reduce"
},
{
"id": "python-uv-ruff-match",
"rule_id": "python/uv-ruff",
"argv": [
"uv",
"run",
"ruff"
],
"expected_action": "reduce"
},
{
"id": "python-mypy-match",
"rule_id": "python/mypy",
"argv": [
"mypy",
"."
],
"expected_action": "reduce"
},
{
"id": "python-pyright-match",
"rule_id": "python/pyright",
"argv": [
"pyright"
],
"expected_action": "reduce"
},
{
"id": "js-test-match",
"rule_id": "js/test",
"argv": [
"npm",
"test"
],
"expected_action": "reduce"
},
{
"id": "js-run-test-match",
"rule_id": "js/run-test",
"argv": [
"npm",
"run",
"test"
],
"expected_action": "reduce"
},
{
"id": "js-run-check-match",
"rule_id": "js/run-check",
"argv": [
"npm",
"run",
"check"
],
"expected_action": "reduce"
},
{
"id": "js-run-build-match",
"rule_id": "js/run-build",
"argv": [
"npm",
"run",
"build"
],
"expected_action": "reduce"
},
{
"id": "js-run-lint-match",
"rule_id": "js/run-lint",
"argv": [
"npm",
"run",
"lint"
],
"expected_action": "reduce"
},
{
"id": "js-run-typecheck-match",
"rule_id": "js/run-typecheck",
"argv": [
"npm",
"run",
"typecheck"
],
"expected_action": "reduce"
},
{
"id": "js-run-coverage-match",
"rule_id": "js/run-coverage",
"argv": [
"npm",
"run",
"coverage"
],
"expected_action": "reduce"
},
{
"id": "js-run-format-check-match",
"rule_id": "js/run-format-check",
"argv": [
"npm",
"run",
"format:check"
],
"expected_action": "reduce"
},
{
"id": "js-run-slophammer-match",
"rule_id": "js/run-slophammer",
"argv": [
"npm",
"run",
"slophammer"
],
"expected_action": "reduce"
},
{
"id": "js-run-docs-check-match",
"rule_id": "js/run-docs-check",
"argv": [
"npm",
"run",
"docs:check"
],
"expected_action": "reduce"
},
{
"id": "js-pnpm-vitest-match",
"rule_id": "js/pnpm-vitest",
"argv": [
"pnpm",
"exec",
"vitest"
],
"expected_action": "reduce"
},
{
"id": "js-npx-vitest-match",
"rule_id": "js/npx-vitest",
"argv": [
"npx",
"vitest"
],
"expected_action": "reduce"
},
{
"id": "js-pnpm-oxlint-match",
"rule_id": "js/pnpm-oxlint",
"argv": [
"pnpm",
"exec",
"oxlint"
],
"expected_action": "reduce"
},
{
"id": "js-npx-eslint-match",
"rule_id": "js/npx-eslint",
"argv": [
"npx",
"eslint"
],
"expected_action": "reduce"
},
{
"id": "js-npx-prettier-check-match",
"rule_id": "js/npx-prettier-check",
"argv": [
"npx",
"prettier",
"--check"
],
"expected_action": "reduce"
},
{
"id": "js-pnpm-prettier-check-match",
"rule_id": "js/pnpm-prettier-check",
"argv": [
"pnpm",
"exec",
"prettier",
"--check"
],
"expected_action": "reduce"
},
{
"id": "js-eslint-match",
"rule_id": "js/eslint",
"argv": [
"eslint",
"."
],
"expected_action": "reduce"
},
{
"id": "js-tsc-match",
"rule_id": "js/tsc",
"argv": [
"tsc",
"--noEmit"
],
"expected_action": "reduce"
},
{
"id": "gh-pr-checks-match",
"rule_id": "gh/pr-checks",
"argv": [
"gh",
"pr",
"checks"
],
"expected_action": "reduce"
},
{
"id": "gh-pr-view-match",
"rule_id": "gh/pr-view",
"argv": [
"gh",
"pr",
"view"
],
"expected_action": "reduce"
},
{
"id": "gh-pr-list-match",
"rule_id": "gh/pr-list",
"argv": [
"gh",
"pr",
"list"
],
"expected_action": "reduce"
},
{
"id": "gh-pr-diff-match",
"rule_id": "gh/pr-diff",
"argv": [
"gh",
"pr",
"diff"
],
"expected_action": "reduce"
},
{
"id": "gh-run-view-match",
"rule_id": "gh/run-view",
"argv": [
"gh",
"run",
"view"
],
"expected_action": "reduce"
},
{
"id": "gh-run-list-match",
"rule_id": "gh/run-list",
"argv": [
"gh",
"run",
"list"
],
"expected_action": "reduce"
},
{
"id": "gh-run-watch-match",
"rule_id": "gh/run-watch",
"argv": [
"gh",
"run",
"watch"
],
"expected_action": "passthrough"
},
{
"id": "gh-issue-view-match",
"rule_id": "gh/issue-view",
"argv": [
"gh",
"issue",
"view"
],
"expected_action": "reduce"
},
{
"id": "gh-issue-list-match",
"rule_id": "gh/issue-list",
"argv": [
"gh",
"issue",
"list"
],
"expected_action": "reduce"
},
{
"id": "gh-release-view-match",
"rule_id": "gh/release-view",
"argv": [
"gh",
"release",
"view"
],
"expected_action": "reduce"
},
{
"id": "gh-search-prs-match",
"rule_id": "gh/search-prs",
"argv": [
"gh",
"search",
"prs"
],
"expected_action": "reduce"
},
{
"id": "gh-search-issues-match",
"rule_id": "gh/search-issues",
"argv": [
"gh",
"search",
"issues"
],
"expected_action": "reduce"
},
{
"id": "gh-search-code-match",
"rule_id": "gh/search-code",
"argv": [
"gh",
"search",
"code"
],
"expected_action": "reduce"
},
{
"id": "gh-search-repos-match",
"rule_id": "gh/search-repos",
"argv": [
"gh",
"search",
"repos"
],
"expected_action": "reduce"
},
{
"id": "build-task-test-match",
"rule_id": "build/task-test",
"argv": [
"make",
"test"
],
"expected_action": "reduce"
},
{
"id": "build-task-check-match",
"rule_id": "build/task-check",
"argv": [
"make",
"check"
],
"expected_action": "reduce"
},
{
"id": "build-task-build-match",
"rule_id": "build/task-build",
"argv": [
"make",
"build"
],
"expected_action": "reduce"
},
{
"id": "build-task-lint-match",
"rule_id": "build/task-lint",
"argv": [
"make",
"lint"
],
"expected_action": "reduce"
},
{
"id": "build-ninja-match",
"rule_id": "build/ninja",
"argv": [
"ninja"
],
"expected_action": "reduce"
},
{
"id": "build-cmake-match",
"rule_id": "build/cmake",
"argv": [
"cmake",
"--build",
"."
],
"expected_action": "reduce"
},
{
"id": "build-maven-test-match",
"rule_id": "build/maven-test",
"argv": [
"mvn",
"test"
],
"expected_action": "reduce"
},
{
"id": "build-maven-verify-match",
"rule_id": "build/maven-verify",
"argv": [
"mvn",
"verify"
],
"expected_action": "reduce"
},
{
"id": "build-maven-package-match",
"rule_id": "build/maven-package",
"argv": [
"mvn",
"package"
],
"expected_action": "reduce"
},
{
"id": "build-gradle-test-match",
"rule_id": "build/gradle-test",
"argv": [
"gradle",
"test"
],
"expected_action": "reduce"
},
{
"id": "build-gradle-build-match",
"rule_id": "build/gradle-build",
"argv": [
"gradle",
"build"
],
"expected_action": "reduce"
},
{
"id": "build-gradle-check-match",
"rule_id": "build/gradle-check",
"argv": [
"gradle",
"check"
],
"expected_action": "reduce"
},
{
"id": "dotnet-build-match",
"rule_id": "dotnet/build",
"argv": [
"dotnet",
"build"
],
"expected_action": "reduce"
},
{
"id": "dotnet-test-match",
"rule_id": "dotnet/test",
"argv": [
"dotnet",
"test"
],
"expected_action": "reduce"
},
{
"id": "ops-docker-logs-match",
"rule_id": "ops/docker-logs",
"argv": [
"docker",
"logs"
],
"expected_action": "reduce"
},
{
"id": "ops-docker-build-match",
"rule_id": "ops/docker-build",
"argv": [
"docker",
"build"
],
"expected_action": "reduce"
},
{
"id": "ops-docker-buildx-match",
"rule_id": "ops/docker-buildx",
"argv": [
"docker",
"buildx",
"build"
],
"expected_action": "reduce"
},
{
"id": "ops-docker-stats-match",
"rule_id": "ops/docker-stats",
"argv": [
"docker",
"stats",
"--no-stream"
],
"expected_action": "reduce"
},
{
"id": "ops-kubectl-logs-match",
"rule_id": "ops/kubectl-logs",
"argv": [
"kubectl",
"logs"
],
"expected_action": "reduce"
},
{
"id": "ops-kubectl-get-match",
"rule_id": "ops/kubectl-get",
"argv": [
"kubectl",
"get"
],
"expected_action": "reduce"
},
{
"id": "ops-kubectl-describe-match",
"rule_id": "ops/kubectl-describe",
"argv": [
"kubectl",
"describe"
],
"expected_action": "reduce"
},
{
"id": "ops-journalctl-match",
"rule_id": "ops/journalctl",
"argv": [
"journalctl",
"--user",
"-n",
"1000"
],
"expected_action": "reduce"
},
{
"id": "ops-systemctl-status-match",
"rule_id": "ops/systemctl-status",
"argv": [
"systemctl",
"status"
],
"expected_action": "reduce"
},
{
"id": "ops-systemctl-user-status-match",
"rule_id": "ops/systemctl-user-status",
"argv": [
"systemctl",
"--user",
"status"
],
"expected_action": "reduce"
},
{
"id": "guards-codex-json-match",
"rule_id": "guards/codex-json",
"argv": [
"codex",
"review",
"--json",
"--base",
"main"
],
"expected_action": "passthrough"
},
{
"id": "js-build-alias-match",
"rule_id": "js/build-alias",
"argv": [
"pnpm",
"build"
],
"expected_action": "reduce"
},
{
"id": "js-check-alias-match",
"rule_id": "js/check-alias",
"argv": [
"pnpm",
"check"
],
"expected_action": "reduce"
},
{
"id": "reviews-codex-review-match",
"rule_id": "reviews/codex-review",
"argv": [
"codex",
"review",
"--base",
"main"
],
"expected_action": "reduce"
},
{
"id": "guards-cmake-debug-find-match",
"rule_id": "guards/cmake-debug-find",
"argv": [
"cmake",
"--debug-find"
],
"expected_action": "passthrough"
},
{
"id": "guards-cmake-debug-output-match",
"rule_id": "guards/cmake-debug-output",
"argv": [
"cmake",
"--debug-output"
],
"expected_action": "passthrough"
},
{
"id": "guards-cmake-trace-expand-match",
"rule_id": "guards/cmake-trace-expand",
"argv": [
"cmake",
"--trace-expand"
],
"expected_action": "passthrough"
},
{
"id": "guards-cmake-trace-redirect-match",
"rule_id": "guards/cmake-trace-redirect",
"argv": [
"cmake",
"--trace-redirect"
],
"expected_action": "passthrough"
},
{
"id": "guards-cmake-trace-source-match",
"rule_id": "guards/cmake-trace-source",
"argv": [
"cmake",
"--trace-source"
],
"expected_action": "passthrough"
},
{
"id": "guards-cmake-trace-match",
"rule_id": "guards/cmake-trace",
"argv": [
"cmake",
"--trace"
],
"expected_action": "passthrough"
},
{
"id": "guards-container-quiet-long-match",
"rule_id": "guards/container-quiet-long",
"argv": [
"docker",
"--quiet"
],
"expected_action": "passthrough"
},
{
"id": "guards-container-quiet-short-match",
"rule_id": "guards/container-quiet-short",
"argv": [
"docker",
"-q"
],
"expected_action": "passthrough"
},
{
"id": "guards-df-output-match",
"rule_id": "guards/df-output",
"argv": [
"df",
"--output"
],
"expected_action": "passthrough"
},
{
"id": "guards-du-null-long-match",
"rule_id": "guards/du-null-long",
"argv": [
"du",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-du-null-short-match",
"rule_id": "guards/du-null-short",
"argv": [
"du",
"-0"
],
"expected_action": "passthrough"
},
{
"id": "guards-fd-exec-batch-long-match",
"rule_id": "guards/fd-exec-batch-long",
"argv": [
"fd",
"--exec-batch"
],
"expected_action": "passthrough"
},
{
"id": "guards-fd-exec-batch-short-match",
"rule_id": "guards/fd-exec-batch-short",
"argv": [
"fd",
"-X"
],
"expected_action": "passthrough"
},
{
"id": "guards-fd-exec-long-match",
"rule_id": "guards/fd-exec-long",
"argv": [
"fd",
"--exec"
],
"expected_action": "passthrough"
},
{
"id": "guards-fd-exec-short-match",
"rule_id": "guards/fd-exec-short",
"argv": [
"fd",
"-x"
],
"expected_action": "passthrough"
},
{
"id": "guards-fd-print0-long-match",
"rule_id": "guards/fd-print0-long",
"argv": [
"fd",
"--print0"
],
"expected_action": "passthrough"
},
{
"id": "guards-fd-print0-short-match",
"rule_id": "guards/fd-print0-short",
"argv": [
"fd",
"-0"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-delete-match",
"rule_id": "guards/find-delete",
"argv": [
"find",
"-delete"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-exec-match",
"rule_id": "guards/find-exec",
"argv": [
"find",
"-exec"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-execdir-match",
"rule_id": "guards/find-execdir",
"argv": [
"find",
"-execdir"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-fls-match",
"rule_id": "guards/find-fls",
"argv": [
"find",
"-fls"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-fprint-match",
"rule_id": "guards/find-fprint",
"argv": [
"find",
"-fprint"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-fprint0-match",
"rule_id": "guards/find-fprint0",
"argv": [
"find",
"-fprint0"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-fprintf-match",
"rule_id": "guards/find-fprintf",
"argv": [
"find",
"-fprintf"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-ok-match",
"rule_id": "guards/find-ok",
"argv": [
"find",
"-ok"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-okdir-match",
"rule_id": "guards/find-okdir",
"argv": [
"find",
"-okdir"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-print0-match",
"rule_id": "guards/find-print0",
"argv": [
"find",
"-print0"
],
"expected_action": "passthrough"
},
{
"id": "guards-find-printf-match",
"rule_id": "guards/find-printf",
"argv": [
"find",
"-printf"
],
"expected_action": "passthrough"
},
{
"id": "guards-free-count-long-match",
"rule_id": "guards/free-count-long",
"argv": [
"free",
"--count"
],
"expected_action": "passthrough"
},
{
"id": "guards-free-count-short-match",
"rule_id": "guards/free-count-short",
"argv": [
"free",
"-c"
],
"expected_action": "passthrough"
},
{
"id": "guards-free-seconds-long-match",
"rule_id": "guards/free-seconds-long",
"argv": [
"free",
"--seconds"
],
"expected_action": "passthrough"
},
{
"id": "guards-free-seconds-short-match",
"rule_id": "guards/free-seconds-short",
"argv": [
"free",
"-s"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-null-all-match",
"rule_id": "guards/git-null-all",
"argv": [
"git",
"--null"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-porcelain-match",
"rule_id": "guards/git-porcelain",
"argv": [
"git",
"--porcelain"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-zero-all-match",
"rule_id": "guards/git-zero-all",
"argv": [
"git",
"-z"
],
"expected_action": "passthrough"
},
{
"id": "guards-ls-dired-match",
"rule_id": "guards/ls-dired",
"argv": [
"ls",
"--dired"
],
"expected_action": "passthrough"
},
{
"id": "guards-ls-dired-short-match",
"rule_id": "guards/ls-dired-short",
"argv": [
"ls",
"-D"
],
"expected_action": "passthrough"
},
{
"id": "guards-ls-zero-match",
"rule_id": "guards/ls-zero",
"argv": [
"ls",
"--zero"
],
"expected_action": "passthrough"
},
{
"id": "guards-lsof-fields-match",
"rule_id": "guards/lsof-fields",
"argv": [
"lsof",
"-F"
],
"expected_action": "passthrough"
},
{
"id": "guards-lsof-repeat-plus-match",
"rule_id": "guards/lsof-repeat-plus",
"argv": [
"lsof",
"+r"
],
"expected_action": "passthrough"
},
{
"id": "guards-lsof-repeat-short-match",
"rule_id": "guards/lsof-repeat-short",
"argv": [
"lsof",
"-r"
],
"expected_action": "passthrough"
},
{
"id": "guards-lsof-terse-match",
"rule_id": "guards/lsof-terse",
"argv": [
"lsof",
"-t"
],
"expected_action": "passthrough"
},
{
"id": "guards-ps-format-bsd-preloaded-match",
"rule_id": "guards/ps-format-bsd-preloaded",
"argv": [
"ps",
"O"
],
"expected_action": "passthrough"
},
{
"id": "guards-ps-format-bsd-match",
"rule_id": "guards/ps-format-bsd",
"argv": [
"ps",
"o"
],
"expected_action": "passthrough"
},
{
"id": "guards-ps-format-long-match",
"rule_id": "guards/ps-format-long",
"argv": [
"ps",
"--format"
],
"expected_action": "passthrough"
},
{
"id": "guards-ps-format-preloaded-match",
"rule_id": "guards/ps-format-preloaded",
"argv": [
"ps",
"-O"
],
"expected_action": "passthrough"
},
{
"id": "guards-ps-format-short-match",
"rule_id": "guards/ps-format-short",
"argv": [
"ps",
"-o"
],
"expected_action": "passthrough"
},
{
"id": "guards-tree-html-match",
"rule_id": "guards/tree-html",
"argv": [
"tree",
"-H"
],
"expected_action": "passthrough"
},
{
"id": "guards-tree-json-match",
"rule_id": "guards/tree-json",
"argv": [
"tree",
"-J"
],
"expected_action": "passthrough"
},
{
"id": "guards-tree-output-match",
"rule_id": "guards/tree-output",
"argv": [
"tree",
"-o"
],
"expected_action": "passthrough"
},
{
"id": "guards-tree-xml-match",
"rule_id": "guards/tree-xml",
"argv": [
"tree",
"-X"
],
"expected_action": "passthrough"
},
{
"id": "filesystem-df-match",
"rule_id": "filesystem/df",
"argv": [
"df"
],
"expected_action": "reduce"
},
{
"id": "filesystem-du-match",
"rule_id": "filesystem/du",
"argv": [
"du"
],
"expected_action": "reduce"
},
{
"id": "filesystem-fd-match",
"rule_id": "filesystem/fd",
"argv": [
"fd"
],
"expected_action": "reduce"
},
{
"id": "filesystem-find-match",
"rule_id": "filesystem/find",
"argv": [
"find"
],
"expected_action": "reduce"
},
{
"id": "filesystem-ls-match",
"rule_id": "filesystem/ls",
"argv": [
"ls"
],
"expected_action": "reduce"
},
{
"id": "filesystem-tree-match",
"rule_id": "filesystem/tree",
"argv": [
"tree"
],
"expected_action": "reduce"
},
{
"id": "system-free-match",
"rule_id": "system/free",
"argv": [
"free"
],
"expected_action": "reduce"
},
{
"id": "system-lsof-match",
"rule_id": "system/lsof",
"argv": [
"lsof"
],
"expected_action": "reduce"
},
{
"id": "system-ps-all-match",
"rule_id": "system/ps-all",
"argv": [
"ps",
"-e"
],
"expected_action": "reduce"
},
{
"id": "system-ps-aux-match",
"rule_id": "system/ps-aux",
"argv": [
"ps",
"aux"
],
"expected_action": "reduce"
},
{
"id": "system-ps-ef-match",
"rule_id": "system/ps-ef",
"argv": [
"ps",
"-ef"
],
"expected_action": "reduce"
},
{
"id": "git-remote-verbose-long-match",
"rule_id": "git/remote-verbose-long",
"argv": [
"git",
"remote",
"--verbose"
],
"expected_action": "reduce"
},
{
"id": "git-remote-verbose-match",
"rule_id": "git/remote-verbose",
"argv": [
"git",
"remote",
"-v"
],
"expected_action": "reduce"
},
{
"id": "git-stash-list-match",
"rule_id": "git/stash-list",
"argv": [
"git",
"stash",
"list"
],
"expected_action": "reduce"
},
{
"id": "git-tag-list-short-match",
"rule_id": "git/tag-list-short",
"argv": [
"git",
"tag",
"-l"
],
"expected_action": "reduce"
},
{
"id": "git-tag-list-match",
"rule_id": "git/tag-list",
"argv": [
"git",
"tag",
"--list"
],
"expected_action": "reduce"
},
{
"id": "git-worktree-list-match",
"rule_id": "git/worktree-list",
"argv": [
"git",
"worktree",
"list"
],
"expected_action": "reduce"
},
{
"id": "js-lint-alias-match",
"rule_id": "js/lint-alias",
"argv": [
"pnpm",
"lint"
],
"expected_action": "reduce"
},
{
"id": "js-typecheck-alias-match",
"rule_id": "js/typecheck-alias",
"argv": [
"pnpm",
"typecheck"
],
"expected_action": "reduce"
},
{
"id": "gh-issue-status-match",
"rule_id": "gh/issue-status",
"argv": [
"gh",
"issue",
"status"
],
"expected_action": "reduce"
},
{
"id": "gh-pr-status-match",
"rule_id": "gh/pr-status",
"argv": [
"gh",
"pr",
"status"
],
"expected_action": "reduce"
},
{
"id": "gh-release-list-match",
"rule_id": "gh/release-list",
"argv": [
"gh",
"release",
"list"
],
"expected_action": "reduce"
},
{
"id": "gh-repo-list-match",
"rule_id": "gh/repo-list",
"argv": [
"gh",
"repo",
"list"
],
"expected_action": "reduce"
},
{
"id": "gh-workflow-list-match",
"rule_id": "gh/workflow-list",
"argv": [
"gh",
"workflow",
"list"
],
"expected_action": "reduce"
},
{
"id": "build-cmake-preset-match",
"rule_id": "build/cmake-preset",
"argv": [
"cmake",
"--preset"
],
"expected_action": "reduce"
},
{
"id": "build-cmake-source-match",
"rule_id": "build/cmake-source",
"argv": [
"cmake",
"-S"
],
"expected_action": "reduce"
},
{
"id": "ops-container-images-match",
"rule_id": "ops/container-images",
"argv": [
"docker",
"images"
],
"expected_action": "reduce"
},
{
"id": "ops-container-ps-match",
"rule_id": "ops/container-ps",
"argv": [
"docker",
"ps"
],
"expected_action": "reduce"
},
{
"id": "ops-kubectl-events-match",
"rule_id": "ops/kubectl-events",
"argv": [
"kubectl",
"events"
],
"expected_action": "reduce"
},
{
"id": "ops-kubectl-top-match",
"rule_id": "ops/kubectl-top",
"argv": [
"kubectl",
"top"
],
"expected_action": "reduce"
},
{
"id": "guards-gh-yaml-match",
"rule_id": "guards/gh-yaml",
"argv": [
"gh",
"--yaml"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-delete-match",
"rule_id": "guards/git-reflog-delete",
"argv": [
"git",
"reflog",
"delete"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-drop-match",
"rule_id": "guards/git-reflog-drop",
"argv": [
"git",
"reflog",
"drop"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-exists-match",
"rule_id": "guards/git-reflog-exists",
"argv": [
"git",
"reflog",
"exists"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-expire-match",
"rule_id": "guards/git-reflog-expire",
"argv": [
"git",
"reflog",
"expire"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-format-match",
"rule_id": "guards/git-reflog-format",
"argv": [
"git",
"reflog",
"--format"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-pretty-match",
"rule_id": "guards/git-reflog-pretty",
"argv": [
"git",
"reflog",
"--pretty"
],
"expected_action": "passthrough"
},
{
"id": "guards-git-reflog-write-match",
"rule_id": "guards/git-reflog-write",
"argv": [
"git",
"reflog",
"write"
],
"expected_action": "passthrough"
},
{
"id": "git-reflog-match",
"rule_id": "git/reflog",
"argv": [
"git",
"reflog"
],
"expected_action": "reduce"
},
{
"id": "git-remote-show-match",
"rule_id": "git/remote-show",
"argv": [
"git",
"remote",
"show"
],
"expected_action": "reduce"
},
{
"id": "gh-repo-view-match",
"rule_id": "gh/repo-view",
"argv": [
"gh",
"repo",
"view"
],
"expected_action": "reduce"
},
{
"id": "gh-workflow-view-match",
"rule_id": "gh/workflow-view",
"argv": [
"gh",
"workflow",
"view"
],
"expected_action": "reduce"
},
{
"id": "pipeline-cat-match",
"rule_id": "pipeline/cat",
"argv": ["cat"],
"expected_action": "transform"
},
{
"id": "pipeline-tee-match",
"rule_id": "pipeline/tee",
"argv": ["tee", "output.log"],
"expected_action": "transform"
},
{
"id": "pipeline-head-match",
"rule_id": "pipeline/head",
"argv": ["head", "-50"],
"expected_action": "transform"
},
{
"id": "pipeline-tail-match",
"rule_id": "pipeline/tail",
"argv": ["tail", "-n", "50"],
"expected_action": "transform"
},
{
"id": "pipeline-sort-match",
"rule_id": "pipeline/sort",
"argv": ["sort", "-r"],
"expected_action": "transform"
},
{
"id": "pipeline-uniq-match",
"rule_id": "pipeline/uniq",
"argv": ["uniq", "-d"],
"expected_action": "transform"
},
{
"id": "guards-pipeline-help-match",
"rule_id": "guards/pipeline-help",
"argv": ["cat", "--help"],
"expected_action": "passthrough"
},
{
"id": "guards-pipeline-version-match",
"rule_id": "guards/pipeline-version",
"argv": ["head", "--version"],
"expected_action": "passthrough"
},
{
"id": "guards-cat-number-match",
"rule_id": "guards/cat-number",
"argv": ["cat", "-n"],
"expected_action": "passthrough"
},
{
"id": "guards-cat-number-long-match",
"rule_id": "guards/cat-number-long",
"argv": ["cat", "--number"],
"expected_action": "passthrough"
},
{
"id": "guards-cat-number-nonblank-match",
"rule_id": "guards/cat-number-nonblank",
"argv": ["cat", "-b"],
"expected_action": "passthrough"
},
{
"id": "guards-cat-show-all-match",
"rule_id": "guards/cat-show-all",
"argv": ["cat", "-A"],
"expected_action": "passthrough"
},
{
"id": "guards-cat-show-all-long-match",
"rule_id": "guards/cat-show-all-long",
"argv": ["cat", "--show-all"],
"expected_action": "passthrough"
},
{
"id": "guards-cat-squeeze-match",
"rule_id": "guards/cat-squeeze",
"argv": ["cat", "-s"],
"expected_action": "passthrough"
},
{
"id": "guards-head-tail-bytes-match",
"rule_id": "guards/head-tail-bytes",
"argv": ["tail", "-c10"],
"expected_action": "passthrough"
},
{
"id": "guards-head-tail-bytes-long-match",
"rule_id": "guards/head-tail-bytes-long",
"argv": ["head", "--bytes=10"],
"expected_action": "passthrough"
},
{
"id": "guards-line-transform-zero-match",
"rule_id": "guards/line-transform-zero",
"argv": ["uniq", "-z"],
"expected_action": "passthrough"
},
{
"id": "guards-line-transform-zero-long-match",
"rule_id": "guards/line-transform-zero-long",
"argv": ["sort", "--zero-terminated"],
"expected_action": "passthrough"
},
{
"id": "guards-head-tail-verbose-match",
"rule_id": "guards/head-tail-verbose",
"argv": ["tail", "-v"],
"expected_action": "passthrough"
},
{
"id": "guards-head-tail-verbose-long-match",
"rule_id": "guards/head-tail-verbose-long",
"argv": ["head", "--verbose"],
"expected_action": "passthrough"
},
{
"id": "guards-tail-follow-match",
"rule_id": "guards/tail-follow",
"argv": ["tail", "-f"],
"expected_action": "passthrough"
},
{
"id": "guards-tail-follow-capital-match",
"rule_id": "guards/tail-follow-capital",
"argv": ["tail", "-F"],
"expected_action": "passthrough"
},
{
"id": "guards-tail-follow-long-match",
"rule_id": "guards/tail-follow-long",
"argv": ["tail", "--follow"],
"expected_action": "passthrough"
},
{
"id": "guards-sort-output-match",
"rule_id": "guards/sort-output",
"argv": ["sort", "-o", "output.txt"],
"expected_action": "passthrough"
},
{
"id": "guards-sort-output-long-match",
"rule_id": "guards/sort-output-long",
"argv": ["sort", "--output=output.txt"],
"expected_action": "passthrough"
},
{
"id": "guards-sort-debug-match",
"rule_id": "guards/sort-debug",
"argv": ["sort", "--debug"],
"expected_action": "passthrough"
},
{
"id": "guards-uniq-count-match",
"rule_id": "guards/uniq-count",
"argv": ["uniq", "-c"],
"expected_action": "passthrough"
},
{
"id": "guards-uniq-count-long-match",
"rule_id": "guards/uniq-count-long",
"argv": ["uniq", "--count"],
"expected_action": "passthrough"
},
{
"id": "guards-uniq-group-match",
"rule_id": "guards/uniq-group",
"argv": ["uniq", "--group"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-follow-long-match",
"rule_id": "guards/hf-follow-long",
"argv": ["hf", "jobs", "logs", "job-id", "--follow"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-follow-short-match",
"rule_id": "guards/hf-follow-short",
"argv": ["hf", "spaces", "logs", "owner/space", "-f"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-json-match",
"rule_id": "guards/hf-json",
"argv": ["hf", "jobs", "logs", "job-id", "--json"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-format-json-match",
"rule_id": "guards/hf-format-json",
"argv": ["hf", "spaces", "logs", "owner/space", "--format", "json"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-format-json-equals-match",
"rule_id": "guards/hf-format-json-equals",
"argv": ["hf", "jobs", "logs", "job-id", "--format=json"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-quiet-long-match",
"rule_id": "guards/hf-quiet-long",
"argv": ["hf", "jobs", "logs", "job-id", "--quiet"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-quiet-short-match",
"rule_id": "guards/hf-quiet-short",
"argv": ["hf", "spaces", "logs", "owner/space", "-q"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-format-quiet-match",
"rule_id": "guards/hf-format-quiet",
"argv": ["hf", "jobs", "logs", "job-id", "--format", "quiet"],
"expected_action": "passthrough"
},
{
"id": "guards-hf-format-quiet-equals-match",
"rule_id": "guards/hf-format-quiet-equals",
"argv": ["hf", "spaces", "logs", "owner/space", "--format=quiet"],
"expected_action": "passthrough"
},
{
"id": "hf-jobs-logs-match",
"rule_id": "hf/jobs-logs",
"argv": ["hf", "jobs", "logs", "job-id", "--tail", "100"],
"expected_action": "reduce"
},
{
"id": "hf-spaces-logs-match",
"rule_id": "hf/spaces-logs",
"argv": ["hf", "spaces", "logs", "owner/space", "--build", "--tail", "100"],
"expected_action": "reduce"
},
{
"id": "herdr-pane-list-match",
"rule_id": "herdr/pane-list",
"argv": ["herdr", "pane", "list", "--workspace", "w1"],
"expected_action": "reduce"
},
{
"id": "herdr-tab-list-match",
"rule_id": "herdr/tab-list",
"argv": ["herdr", "tab", "list", "--workspace", "w1"],
"expected_action": "reduce"
},
{
"id": "herdr-workspace-list-match",
"rule_id": "herdr/workspace-list",
"argv": ["herdr", "workspace", "list"],
"expected_action": "reduce"
},
{
"id": "js-pnpm-vitest-shorthand-match",
"rule_id": "js/pnpm-vitest-shorthand",
"argv": ["pnpm", "vitest", "run", "src/example.test.ts"],
"expected_action": "reduce"
},
{
"id": "build-slophammer-go-check-match",
"rule_id": "build/slophammer-go-check",
"argv": ["slophammer-go", "check", "."],
"expected_action": "reduce"
},
{
"id": "build-slophammer-rs-check-match",
"rule_id": "build/slophammer-rs-check",
"argv": ["slophammer-rs", "check", "."],
"expected_action": "reduce"
}
]
}