{
  "slug": "pulumi-preview-supports-json-operation-summaries-dd300dd8e997",
  "title": "pulumi preview supports JSON operation summaries",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-18T16:31:27.000Z",
  "announced_at": "2026-05-18T16:31:27.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a script needs structured output from a preview, run `pulumi preview --output json` to emit a JSON operation summary to stdout.",
    "examples": [
      "pulumi preview --output json"
    ],
    "gotchas": [
      "Version: v3.241.0",
      "--output (required): Select the output format; use `json` for the operation summary. Mutually exclusive with `--json`.",
      "json (value for --output) (required): Emit an object containing `result`, `duration`, and per-operation-kind counts in `summary`.",
      "Docs conflict: The current Pulumi CLI reference is generated for v3.268.0 and documents `--json` for serialized preview diffs, operations, and overall output; it does not document `--output`. This differs from the v3.241.0 release note, so that newer reference was not used to describe the new flag."
    ]
  },
  "why_it_matters": "Review a Pulumi preview result in a script that needs structured output.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.241.0",
    "https://github.com/pulumi/pulumi/pull/22927"
  ],
  "rank": 0.98043,
  "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-324393f6bc5e4721-0:gate",
    "evidence_hash": "cb2114e220895d619c9aff2d08a948203ac1670a16a9148199165713324db9ff"
  },
  "review": {
    "draft_hash": "c58166cdefb6edafeb67e3081595d3ace399f6fe94883852e42c8fceaeafb73b",
    "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.98 >= 0.9; 2 needed) and Jev gave 0.77 (>= 0.6 needed)."
  }
}
