{
  "slug": "railway-supports-bulk-editing-variables-in-editor-with-a-reviewed-diff-39a6103f190a",
  "title": "railway supports bulk-editing variables in $EDITOR with a reviewed diff",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-02T17:01:31.000Z",
  "announced_at": "2026-09-02T17:01:31.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When bulk-editing Railway variables, run `railway variable edit` with the target project, environment, and service. Review the redacted diff and confirm before applying.",
    "examples": [
      "railway variable edit --project <project-id> --environment <environment> --service <service>"
    ],
    "gotchas": [
      "Version: v5.48.0",
      "--project <project-id> (required): Selects the Railway project.",
      "--environment <environment> (required): Selects the environment.",
      "--service <service> (required): Selects the service.",
      "Prerequisite: CLI 5.48+; workflow requires a TTY or an explicitly configured $EDITOR or $VISUAL.",
      "Prerequisite: Saving in the editor is not approval; the CLI displays a redacted diff and asks before applying."
    ]
  },
  "why_it_matters": "Bulk-edit Railway variables while reviewing the proposed changes before applying them.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v5.48.0",
    "https://github.com/railwayapp/railway-skills/blob/main/plugins/railway/skills/use-railway/references/configure.md"
  ],
  "rank": 0.97034,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-da9b408bff9f26e0-0:rescue",
    "evidence_hash": "44fb9866fe4d67fdd919b3c21972dc03a5acdbb2fa1dfaf44843b3d08fadd910"
  },
  "review": {
    "draft_hash": "0cb8048e2424b7b00c49184f8af29bf951e220f92bf9fd84b21c6c7b099dc186",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.72 (>= 0.6 needed)."
  }
}
