{
  "slug": "pulumi-policy-new-accepts-runtime-options-d2dbcc180cfe",
  "title": "pulumi policy new accepts --runtime-options",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-23T15:10:53.000Z",
  "announced_at": "2026-07-23T15:10:53.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a policy pack with runtime-specific settings, run `pulumi policy new` with `--runtime-options` and comma-separated `key=value` options.",
    "examples": [
      "pulumi policy new aws-python --runtime-options toolchain=uv",
      "pulumi policy new <template> --runtime-options <key1>=<value1>,<key2>=<value2>"
    ],
    "gotchas": [
      "Version: 3.254.0",
      "template: Template name or URL; if omitted, suggested templates are shown interactively.",
      "--runtime-options: Additional language runtime options, formatted as comma-separated `key=value` pairs. The docs do not enumerate allowed keys or values.",
      "Prerequisite: Use Pulumi CLI v3.254.0 or later for this flag."
    ]
  },
  "why_it_matters": "Create a Pulumi policy pack with runtime options.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.254.0",
    "https://github.com/pulumi/pulumi/pull/23992",
    "https://www.pulumi.com/docs/iac/cli/commands/pulumi_policy_new/"
  ],
  "rank": 0.93029,
  "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-db92204a075abc3e-10:gate",
    "evidence_hash": "9147e70e72029a01014200c42dbc3aba7fcc4b548c9090eafe541348506ba681"
  },
  "review": {
    "draft_hash": "9b2f192ab7e04408c98ae98a28764490846928785da2442446527ce7edce9fc1",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.61 (>= 0.6 needed)."
  }
}
