{
  "slug": "bk-pipeline-copy-adds-cp-and-cross-organization-copying-9195a81df64e",
  "title": "bk pipeline copy adds cp and cross-organization copying",
  "tools": [
    "bk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-05T17:14:22.000Z",
  "announced_at": "2026-01-05T17:14:22.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When copying a pipeline within or across organizations, use `bk pipeline cp`; omit the source to select it interactively or pass its slug or `org/slug`. Set `--target` to the new pipeline name or `org/name`; for a cross-organization copy into an organization using clusters, provide `--cluster` with the target cluster ID.",
    "examples": [
      "bk pipeline cp <source-pipeline> --target <new-pipeline>",
      "bk pipeline cp <source-org>/<source-pipeline> --target <target-org>/<new-pipeline> --cluster <target-cluster-id>",
      "bk pipeline cp <source-pipeline> --target <new-pipeline> --dry-run"
    ],
    "gotchas": [
      "Version: v3.17.0",
      "<pipeline>: Source pipeline slug or org/slug; omitted source is resolved from current context or prompted for.",
      "--target, -t <target>: New pipeline name or org/name. If omitted, prompts for a target.",
      "--cluster, -c <cluster>: Target cluster name or ID; required for cross-organization copies if the target organization uses clusters.",
      "--dry-run: Show what would be copied without creating the pipeline.",
      "--output, -o <format>: Output format: json, yaml, or text.",
      "Prerequisite: Configure the CLI with an API access token and organization. Configure an individual token for each organization you need to use.",
      "Prerequisite: The v3.17.0 command prompts for a target cluster ID on a cross-organization copy if `--cluster` is omitted; the cluster may be required when the target organization uses clusters.",
      "Cross-organization copying applies when the organizations are configured.",
      "Docs conflict: Current CLI reference documents `--cluster-name` and `--cluster-uuid`; v3.17.0 source documents `--cluster` instead. Use the versioned v3.17.0 flag for this card: https://buildkite.com/docs/platform/cli/reference/pipeline"
    ]
  },
  "why_it_matters": "Copy a pipeline within an organization or across configured organizations.",
  "sources": [
    "https://github.com/buildkite/cli/releases/tag/v3.17.0",
    "https://github.com/buildkite/cli/pull/600",
    "https://raw.githubusercontent.com/buildkite/cli/v3.17.0/cmd/pipeline/copy.go",
    "https://buildkite.com/docs/platform/cli/configuration"
  ],
  "rank": 0.98022,
  "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-8ee088f3c33d6cf9-7:gate",
    "evidence_hash": "8f058a6b87bc52b77d2e51ef61ae54457660b858f2b78d6d39c2a7d8015620b2"
  },
  "review": {
    "draft_hash": "ff61c3550ba55d9fbc4a8e0c24ed743addcb4e991b9bcadf9c66b69285c49099",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-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.73 (>= 0.6 needed)."
  }
}
