{
  "slug": "ast-grep-files-ignores-support-a-case-insensitive-option-a6fcb788cbeb",
  "title": "ast-grep files/ignores support a case insensitive option",
  "tools": [
    "ast-grep"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-10T17:57:43.000Z",
  "announced_at": "2026-01-10T17:57:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a rule should include or exclude paths regardless of case, configure its `files` or `ignores` list with a glob object and set `caseInsensitive: true`.",
    "examples": [
      "files:\n  - glob: '<glob>'\n    caseInsensitive: true",
      "ignores:\n  - glob: '<glob>'\n    caseInsensitive: true"
    ],
    "gotchas": [
      "Version: 0.40.5",
      "files: Array of glob patterns limiting which files a rule applies to; each item can be a string or an object with `glob` and `caseInsensitive`.",
      "ignores: Array of glob patterns excluding files from a rule; each item can be a string or an object with `glob` and `caseInsensitive`.",
      "glob (required): Pattern string in a glob object.",
      "caseInsensitive: Whether glob matching is case insensitive; defaults to `false`."
    ]
  },
  "why_it_matters": "Configure case-insensitive matching for files or ignores in an ast-grep workflow.",
  "sources": [
    "https://github.com/ast-grep/ast-grep/releases/tag/0.40.5",
    "https://ast-grep.github.io/reference/yaml"
  ],
  "rank": 0.93023,
  "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-ab254574b35ac6e8-0:rescue",
    "evidence_hash": "267bdeac154372273d5165cb1c45d04d2d9933ad09e04998b706818bc278e2b8"
  },
  "review": {
    "draft_hash": "9b6ae9a7159e7db584399f2a6c2891dbef90ac93fdb6acff21768ef9d3f69679",
    "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.93 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
