{
  "slug": "railway-variable-setting-reads-values-from-stdin-ec6191ab6025",
  "title": "railway variable setting reads values from stdin",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-08T20:34:16.000Z",
  "announced_at": "2026-01-08T20:34:16.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a repository workflow supplies a variable value on stdin, set it with `railway variable --set-from-stdin <KEY>`.",
    "examples": [
      "printf '%s' '<value>' | railway variable --set-from-stdin <KEY>"
    ],
    "gotchas": [
      "Version: v4.19.0",
      "--set-from-stdin <KEY> (required): Legacy flag that reads the variable value from stdin; provide the variable key. The docs say it is deprecated but still supported.",
      "-s, --service <SERVICE>: Select the service to set the variable for.",
      "-e, --environment <ENV>: Select the environment to set the variable in.",
      "Docs conflict: Current Railway CLI docs mark `--set-from-stdin KEY` deprecated but still supported; they recommend `railway variable set KEY --stdin` instead. https://docs.railway.com/cli/variable"
    ]
  },
  "why_it_matters": "Set a Railway variable from a value supplied by a repository workflow on stdin.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v4.19.0",
    "https://docs.railway.com/cli/variable"
  ],
  "rank": 0.92029,
  "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-90aa0139d2a4a2a4-5:gate",
    "evidence_hash": "e9332865291b71c7d134d626c483341bf27126911f1701ba95980a7e7152b5b3"
  },
  "review": {
    "draft_hash": "fb26997bdc88724401a76b96b7c6820bbd0b41b244dd4c5155b62f6cdac47c9c",
    "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.92 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
