{
  "slug": "supabase-adds-whoami-and-notebook-sync-commands-57feef0e9c0c",
  "title": "supabase adds whoami and notebook sync commands",
  "tools": [
    "supabase"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-25T13:23:43.000Z",
  "announced_at": "2026-09-25T13:23:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "To identify the active Supabase user, run `supabase whoami`. To sync project notebooks, link the project, then run `supabase notebooks pull` to write remote notebooks locally or `supabase notebooks push` to upload local notebooks.",
    "examples": [
      "supabase whoami",
      "supabase link --project-ref <project-ref>\nsupabase notebooks pull",
      "supabase notebooks push\nsupabase notebooks push <name>"
    ],
    "gotchas": [
      "Version: 2.118.0",
      "--project-ref <project-ref>: Project ref used to link the local project to the hosted project.",
      "<notebook-id> (pull argument): Select one notebook by its dashboard UUID; pull replaces that local copy. Without it, pulls notebooks missing locally.",
      "<name> (push argument): Push only the named notebook; without it, push handles the notebooks directory.",
      "--output-format json: On `whoami`, output the identity fields as JSON.",
      "Prerequisite: Notebook commands require a linked project; link with `supabase link --project-ref <project-ref>`.",
      "Prerequisite: Notebooks are behind a dashboard feature preview; enable it to create and edit notebooks in the dashboard.",
      "Prerequisite: The CLI must be authenticated for platform operations; `supabase login` connects it to the account using a personal access token."
    ]
  },
  "why_it_matters": "Check the current Supabase account or sync notebooks for a repository.",
  "sources": [
    "https://github.com/supabase/cli/releases/tag/v2.118.0",
    "https://github.com/supabase/cli/pull/6552",
    "https://github.com/supabase/cli/pull/6598",
    "https://github.com/supabase/cli/pull/6599",
    "https://supabase.com/docs/reference/cli/global-flags"
  ],
  "rank": 0.95027,
  "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": "gap-20261007",
    "verdict_id": "gap-20261007:gap-20261007-5dcd06d4c733db20-3:gate",
    "evidence_hash": "7f8470960837124e1bb1436a19d23ab314fb3cb2215bdddac273757f5d8c8fd3"
  },
  "review": {
    "draft_hash": "a633f9cbc26af1e7fd0ff8af2e2dba23e00405b62044e24d51297609f580479c",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "gap-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
