{
  "slug": "netlify-db-status-command-supports-netlify-db-branch-b1a54f2687a0",
  "title": "netlify db status command supports NETLIFY_DB_BRANCH",
  "tools": [
    "netlify"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-21T10:22:21.000Z",
  "announced_at": "2026-04-21T10:22:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When checking a repository’s selected database branch, run `netlify database status`; set `NETLIFY_DB_BRANCH` to select a branch when needed. The documentation confirms the status command, but does not document that environment variable.",
    "examples": [
      "netlify database status"
    ],
    "gotchas": [
      "Version: 25.1.0",
      "NETLIFY_DB_BRANCH: Not found in the official documentation checked; the release note says it selects the branch for `db status`."
    ]
  },
  "why_it_matters": "Check database status for a repository's selected database branch.",
  "sources": [
    "https://github.com/netlify/cli/releases/tag/v25.1.0",
    "https://docs.netlify.com/build/data-and-storage/netlify-database/local-development/"
  ],
  "rank": 0.91025,
  "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-ab76e7223dd96405-1:gate",
    "evidence_hash": "6a68b8caab7dffe48c7e8e875c83b9cfa0ee391b940e3f9f4bf3ae94210f0c55"
  },
  "review": {
    "draft_hash": "eb62f4ef3bee6f5c6c83361c9981a67f4259b0e9fadd7796dd7c1ed3c82ae476",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
