{
  "slug": "bk-pipeline-create-infers-repository-defaults-and-shares-local-starter-setup-wit-035a47a1f3c0",
  "title": "bk pipeline create infers repository defaults and shares local starter setup with bk init",
  "tools": [
    "bk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-14T23:07:59.000Z",
  "announced_at": "2026-10-14T23:07:59.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a pipeline from a Git checkout, run `bk pipeline create` to infer its repository URL and default name from `origin` (or use the checkout directory name); supply a name or `--repository` to override either default. To initialize only a local pipeline file, run `bk init`; use `--template` for noninteractive starter selection, and use `--dry-run` to resolve inputs without creating remote resources or writing files.",
    "examples": [
      "bk pipeline create",
      "bk pipeline create \"My Pipeline\" --repository git@github.com:org/repo.git",
      "bk pipeline create --no-input --template go"
    ],
    "gotchas": [
      "Version: v3.63.0",
      "name (positional argument): Explicit pipeline name; overrides the inferred default name.",
      "--repository <URL>: Explicit repository URL; overrides the URL inferred from Git origin.",
      "--template <name>: Selects a starter explicitly. Documented values: `go`, `node`, `pipenv`, `ruby`, `empty`.",
      "--no-input: Runs without interactive input; it does not add prompts or local files unless `--template` is supplied.",
      "--dry-run: Resolves the same name and URL without writing local files or creating a pipeline or webhook; still performs API reads and requires existing authentication configuration.",
      "--json: The README shows this flag with `--dry-run`; its specific behavior for `pipeline create` is not documented there.",
      "Prerequisite: Dry-run requires existing authentication configuration and performs API reads.",
      "Prerequisite: Generated starters need review, commit, and push before building; agents must have the matching runtime and package manager installed.",
      "Named invocations, redirected input, and `--no-input` do not add prompts or local files unless `--template` is supplied.",
      "Dry-run still performs API reads and requires the existing authentication configuration.",
      "Both commands search the checkout root, including from subdirectories and linked worktrees, and leave existing pipeline files unchanged.",
      "Generated starters need review, commit, and push before building; suitable agents must have matching runtimes.",
      "Go runs test/vet; Node requires a real test script and adapts installation to npm, pnpm, Yarn, or Bun lockfiles.",
      "Pipenv/pytest and Bundler/RSpec recommendations require dependency evidence and lockfiles."
    ]
  },
  "why_it_matters": "Create a pipeline from a Git checkout, or initialize its local pipeline file, while preserving existing files and output preferences.",
  "sources": [
    "https://github.com/buildkite/cli/releases/tag/v3.63.0",
    "https://github.com/buildkite/cli/pull/1037",
    "https://github.com/buildkite/cli/blob/v3.63.0/README.md"
  ],
  "rank": 0.94061,
  "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": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-2ab90164d3373b21-0:gate",
    "evidence_hash": "7570228b61b041c19f374bc02b6d814d4c7770e49b3a3e198729d43c048ed362"
  },
  "review": {
    "draft_hash": "258aa5cbf5c652e7d010515a777cf9ab597040a2990e50f16da038ed05e92c42",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-14T23:07:59.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
