{
  "slug": "vercel-flags-entities-rm-removes-entities-with-reference-checks-10275a56551c",
  "title": "vercel flags entities rm removes entities with reference checks",
  "tools": [
    "vercel"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-09T13:48:48.392Z",
  "announced_at": "2026-09-09T13:48:48.392Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When removing an entity from a Vercel Flags project, run `vercel flags entities rm <entity-kind>` and confirm the removal; the CLI checks references across active and archived flags and segments.",
    "examples": [
      "vercel flags entities rm <entity-kind>",
      "vercel flags entities rm <entity-kind> --yes"
    ],
    "gotchas": [
      "Version: 59.14.0",
      "<entity-kind> (required): Entity kind to remove; for example, `device`.",
      "--yes: Skip the confirmation prompt.",
      "Prerequisite: Authenticate with Vercel before accessing resources or performing administrative tasks.",
      "Prerequisite: The CLI uses the linked project by default. Entity deletion fails while flags or segments reference the entity; remove every reference first.",
      "Removal uses confirmation and checks references across active and archived flags and segments.",
      "Docs conflict: The current CLI docs say deletion is blocked while flags or segments reference the entity and do not specify active versus archived references. The 59.14.0 release note says the new command performs reference checks across active and archived flags and segments; the docs may describe newer behavior."
    ]
  },
  "why_it_matters": "Remove an entity from a Flags project after checking whether active or archived flags and segments reference it.",
  "sources": [
    "https://vercel.com/docs/cli/release-notes#vercel@59.14.0",
    "https://vercel.com/docs/cli/flags",
    "https://vercel.com/docs/cli"
  ],
  "rank": 0.91014,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "vercel-2026-10-08",
    "verdict_id": "vercel-2026-10-08:vercel-2026-10-08-e4fc03de996bd837-2:gate",
    "evidence_hash": "1671d7236bd498c8d561811dd43e45b3b1f255a74c09c2ca464c8a6818276d91"
  },
  "review": {
    "draft_hash": "d9795ea64b7d7c65daa11b17c17926e317bf0ab7c82ef5cffe1c1eb96c1319fd",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "vercel-2026-10-08:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
