{
  "slug": "supabase-pull-orchestrates-remote-project-setup-c63b6534503c",
  "title": "supabase pull orchestrates remote project setup",
  "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": "When setting up local state from a linked remote Supabase project, run `supabase pull` to pull its config, database schema, and Edge Functions; it also fetches migration history automatically when `supabase/migrations` is missing or empty.",
    "examples": [
      "supabase pull",
      "supabase pull --project-ref <project-ref-or-branch>",
      "supabase pull --dry-run"
    ],
    "gotchas": [
      "Version: 2.118.0",
      "--project-ref <project-ref-or-branch>: Selects a project ref or a branch name/UUID of the linked project; without it, targets the linked project.",
      "--dry-run: Shows the pull plan without writing or changing anything.",
      "--with-migration-history: Fetches remote migration history even when the local migrations directory already has files; matching local files can be overwritten.",
      "--force: Allows writing when config, migrations, or functions have uncommitted or untracked Git changes.",
      "--remote-label <name>: Selects the `[remotes.*]` config block for the config step.",
      "Prerequisite: Use CLI v2.118.0 or later for this command; it was introduced in v2.118.0.",
      "Prerequisite: The target defaults to the linked project. The database step requires Docker; without Docker, that step fails while config, migration-history, and functions steps can still run."
    ]
  },
  "why_it_matters": "Set up a local development environment from a remote Supabase project.",
  "before": "Previously, refresh config, migration history, database schema, and functions by running `config pull`, optionally `migration fetch`, `db pull`, and `functions download` individually.",
  "sources": [
    "https://github.com/supabase/cli/releases/tag/v2.118.0",
    "https://github.com/supabase/cli/blob/v2.118.0/apps/cli/docs/supabase/pull.md"
  ],
  "rank": 0.91053,
  "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-0:gate",
    "evidence_hash": "7f8470960837124e1bb1436a19d23ab314fb3cb2215bdddac273757f5d8c8fd3"
  },
  "review": {
    "draft_hash": "79576cb458d2ce77c23e471826fc44b3415cc23d25faba6d9d70f3f715130cd3",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "gap-20261007:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.91 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
