{
  "slug": "redact-sensitive-workflows-step-output-in-local-dev-3fc490e0aef0",
  "title": "Redact sensitive Workflows step output in local dev",
  "tools": [
    "wrangler"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-21T19:14:43.000Z",
  "announced_at": "2026-07-21T19:14:43.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a step’s output should be hidden during local Workflow development, set `sensitive: \"output\"` in its step config. Run the Workflow locally with Wrangler; the output is redacted in step logs and step-output responses while downstream steps receive the real value.",
    "examples": [
      "await step.do(\"<step-name>\", { sensitive: \"output\" }, async () => {\n  return <value>;\n});",
      "npx wrangler dev\ncurl http://localhost:8787"
    ],
    "gotchas": [
      "Version: 4.113.0",
      "sensitive: Set to `\"output\"` to redact the step output from logs and step-output responses.",
      "Prerequisite: Local Workflows development requires Wrangler v3.89.0 or later and Node.js 18.0.0 or later.",
      "The described redaction applies when running Workflows locally.",
      "Step errors are never redacted."
    ]
  },
  "why_it_matters": "Run a Workflow locally with steps whose output is marked sensitive.",
  "sources": [
    "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.113.0",
    "https://developers.cloudflare.com/api/resources/workflows/",
    "https://developers.cloudflare.com/workflows/get-started/guide/",
    "https://developers.cloudflare.com/workflows/build/local-development/"
  ],
  "rank": 0.94024,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-20b394bfeafab19f-7:gate",
    "evidence_hash": "c3f8967e84b73eef1a9402b23144b4fc9539790670e411a57f828bddb9f0ad03"
  },
  "review": {
    "draft_hash": "5ef2d0e66f67759acbd156186471dfd2a59b695dbd2036b0919ed74e664f03fc",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
