{
  "slug": "ast-grep-sg-test-adds-follow-2a96d9ab26e6",
  "title": "ast-grep sg test adds --follow",
  "tools": [
    "ast-grep"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-25T17:54:30.000Z",
  "announced_at": "2026-05-25T17:54:30.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When testing ast-grep rules and you need to follow target paths or files, pass `--follow` to `sg test`.",
    "gotchas": [
      "Version: 0.43.0",
      "--follow: The 0.43.0 release note adds this argument to `sg test`; official CLI reference documentation does not document it for `test`."
    ]
  },
  "why_it_matters": "Test code with ast-grep while following the target paths or files.",
  "sources": [
    "https://github.com/ast-grep/ast-grep/releases/tag/0.43.0"
  ],
  "rank": 0.93013,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-3a0e03f29cdafd4a-1:gate",
    "evidence_hash": "6c4405289adbad0bf5725d6be116c23980c749e1057b2b9d57f99ce8f9d56a04"
  },
  "review": {
    "draft_hash": "29e9de15b5f33b6472dc2ea86555caded04feb9cc339d6196d6f73afbc23d059",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
