{
  "slug": "cdk-publish-assets-publishes-stack-assets-without-deployment-6c02585d6bfa",
  "title": "cdk publish-assets publishes stack assets without deployment",
  "tools": [
    "cdk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-01T21:33:02.000Z",
  "announced_at": "2026-04-01T21:33:02.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a CI/CD workflow separates asset publishing from deployment, use the under-development `publish-assets` command to publish assets for the target stack without deploying it.",
    "examples": [
      "cdk publish-assets <stack> --unstable=publish-assets",
      "cdk publish-assets --all --unstable=publish-assets",
      "cdk publish-assets <stack> --unstable=publish-assets --force"
    ],
    "gotchas": [
      "Version: v2.1116.0",
      "Availability: Under development; opt in with `--unstable=publish-assets`. The scope and API might still change.",
      "<stack>: Stack name; used to select the target stack. Omit when using `--all`.",
      "--unstable=publish-assets (required): Opts in to the under-development `publish-assets` command.",
      "--all: Select all stacks.",
      "--force: Force republishing even if assets already exist.",
      "Prerequisite: The command is under development; opt in with `--unstable=publish-assets`.",
      "Publishes assets for specified stack(s) without performing deployment."
    ]
  },
  "why_it_matters": "In a CI/CD workflow that separates asset publishing from deployment, publish assets for the target CDK stack without deploying it.",
  "before": "Use `cdk deploy`, which combines asset publishing and stack deployment into a single operation.",
  "sources": [
    "https://github.com/aws/aws-cdk-cli/releases/tag/aws-cdk%40v2.1116.0",
    "https://github.com/aws/aws-cdk-cli/pull/1020",
    "https://github.com/aws/aws-cdk-cli/blob/main/packages/aws-cdk/README.md"
  ],
  "rank": 0.94029,
  "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-52f1eda45ead7853-0:gate",
    "evidence_hash": "7a756548d9743c5f6a79009564f7638efe2e1e2fc6a285dbee083720433bbf24"
  },
  "review": {
    "draft_hash": "0e3d1a3320e45d14a7d13c9b54d9685560889a8cb4f9a0f7a9a1a2de36c2b7be",
    "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.94 >= 0.9; 2 needed) and Jev gave 0.71 (>= 0.6 needed)."
  }
}
