{
  "slug": "agent-browser-tab-refs-support-stable-ids-and-labels-4ac238716a88",
  "title": "agent-browser tab refs support stable ids and labels",
  "tools": [
    "agent-browser"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-16T23:40:31.000Z",
  "announced_at": "2026-04-16T23:40:31.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating or addressing browser tabs without relying on changing positions, create a tab with a label and switch or close it by its label or stable `t<N>` id. Bare-integer tab refs are rejected.",
    "examples": [
      "agent-browser tab new --label <name> [<url>]",
      "agent-browser tab <t<N>|label>",
      "agent-browser tab close <t<N>|label>"
    ],
    "gotchas": [
      "Version: v0.26.0",
      "--label <name> (required): Assigns a user-chosen tab label; labels must be unique within a session and are interchangeable with stable tab ids.",
      "[<url>]: Optional URL to open in the new tab.",
      "<t<N>|label> (required): Tab reference accepted for switching or closing; bare positional integers are not accepted.",
      "Bare-integer input is rejected.",
      "Stable string ids do not shift when other tabs close or popups appear."
    ]
  },
  "why_it_matters": "Create and switch between browser tabs without relying on their changing positions.",
  "before": "Use positional tab references; bare-integer input is rejected with a teaching error.",
  "sources": [
    "https://github.com/vercel-labs/agent-browser/releases/tag/v0.26.0",
    "https://github.com/vercel-labs/agent-browser/blob/main/skill-data/core/references/commands.md"
  ],
  "rank": 0.9805,
  "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-b4262356b513b080-1:gate",
    "evidence_hash": "bbc6405cfb80a4c7ba2a2c60e1450ef4376ff3cef2aba64580748c2b181c3f42"
  },
  "review": {
    "draft_hash": "19b4320fc40e00139dc1ceeda8c005bf73d62d349da83297cb85162c694b3727",
    "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.98 >= 0.9; 2 needed) and Jev gave 0.80 (>= 0.6 needed)."
  }
}
