{
  "slug": "railway-status-accepts-explicit-project-and-environment-targeting-ad1399829522",
  "title": "railway status accepts explicit project and environment targeting",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-24T02:57:40.000Z",
  "announced_at": "2026-06-24T02:57:40.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When checking a specific Railway project without relying on the repository’s local link, pass both the project and environment. Add `--json` for JSON output scoped to that environment.",
    "examples": [
      "railway status --project <project-id-or-name> --environment <environment>",
      "railway status --project <project-id-or-name> --environment <environment> --json"
    ],
    "gotchas": [
      "Version: v5.23.0",
      "--project, -p <PROJECT_ID>: Project ID or name to inspect; defaults to the linked project. Requires `--environment` when provided.",
      "--environment, -e <ENV> (required): Environment to inspect; required when `--project` is used.",
      "--json: Output in JSON format; with explicit project and environment, output is scoped to that environment.",
      "Prerequisite: Authenticate with a Railway account before using the CLI (`railway login`).",
      "`--environment` is required whenever `--project` is used, including JSON output."
    ]
  },
  "why_it_matters": "Check a Railway project's status from a coding workflow without relying on the repository's local link state.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v5.23.0",
    "https://github.com/railwayapp/cli/pull/988",
    "https://github.com/railwayapp/cli/blob/v5.23.0/src/commands/status.rs",
    "https://docs.railway.com/cli"
  ],
  "rank": 0.95045,
  "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-43d8c33e2f21b4d8-0:gate",
    "evidence_hash": "c4fea9bf25e0801ee09a51e8b11732a2814501fe26a6a291d54528c4f3acb1ab"
  },
  "review": {
    "draft_hash": "7c319cd7fd88d8279ba03a2af1209eab27400cbd21a53a579977a6ac8dc63b77",
    "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.95 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
