{
  "slug": "pulumi-automation-api-adds-diff-to-destroy-9d89207ebeda",
  "title": "Pulumi Automation API adds --diff to destroy",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-04-16T13:37:11.000Z",
  "announced_at": "2026-04-16T13:37:11.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When reviewing a stack destroy through Automation API, enable `--diff` on the destroy operation to show the diff before resources are deleted.",
    "gotchas": [
      "Version: v3.231.0",
      "--diff (required): Release note says to pass this option to Automation API destroy to show a diff; its language-specific parameter name and exact syntax are not documented in the official API reference found.",
      "Prerequisite: Automation API requires the Pulumi CLI at runtime; install it and add it to `PATH`, or install it programmatically.",
      "The change applies to the Go, Node.js, and Python Automation APIs."
    ]
  },
  "why_it_matters": "Review the planned changes before destroying a stack through the Automation API.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.231.0",
    "https://www.pulumi.com/docs/iac/concepts/automation-api/"
  ],
  "rank": 0.93035,
  "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": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-af5adaea926bd1cd-5:gate",
    "evidence_hash": "587340c698707e1fedd57ef2941f2125dd5e05493891dc69d91f50c17f72c30a"
  },
  "review": {
    "draft_hash": "f4ae806501a8c9864fbac101acb20996d231b7cacc89415a3e59aacc0be9eddb",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.66 (>= 0.6 needed)."
  }
}
