{
  "slug": "ast-grep-adds-the-no-suppress-all-built-in-rule-7d0c3bb9853b",
  "title": "ast-grep adds the no-suppress-all built-in rule",
  "tools": [
    "ast-grep"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-04T16:01:20.000Z",
  "announced_at": "2026-04-04T16:01:20.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When checking for diagnostics hidden by suppress-all comments, run ast-grep’s built-in `no-suppress-all` rule on the repository. It reports `ast-grep-ignore` comments that omit a rule ID.",
    "examples": [
      "ast-grep scan --warning=no-suppress-all",
      "ast-grep scan --error=no-suppress-all"
    ],
    "gotchas": [
      "Version: 0.42.1",
      "--warning=no-suppress-all: Sets the `no-suppress-all` rule severity to warning; the rule is otherwise not enabled by default.",
      "--error=no-suppress-all: Sets the `no-suppress-all` rule severity to error; an error rule match makes the scan exit non-zero.",
      "[PATHS]...: Paths to search; defaults to the current directory (`.`)."
    ]
  },
  "why_it_matters": "Check code for suppressed diagnostics using ast-grep's built-in rules.",
  "sources": [
    "https://github.com/ast-grep/ast-grep/releases/tag/0.42.1",
    "https://ast-grep.github.io/reference/cli/scan",
    "https://ast-grep.github.io/guide/project/severity"
  ],
  "rank": 0.94017,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-9c11b8b0e7e633d5-3:rescue",
    "evidence_hash": "56beb6b616de755f671d59225477f4963be2e84ead9c8e91d54d750ca3b709f4"
  },
  "review": {
    "draft_hash": "a90f8a9ff66a684a72f51af75cc1f2fd67c3737878086c144b40dd1430a99623",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
