{
  "slug": "railway-link-adds-a-json-flag-for-ci-453609edb98a",
  "title": "railway link adds a --json flag for CI",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-08T21:04:41.000Z",
  "announced_at": "2026-01-08T21:04:41.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a CI job needs to link a Railway project with machine-readable output, run `railway link --project <project-id> --environment <environment-id> --json`. The command links the project to the current directory and emits JSON.",
    "examples": [
      "railway link --project <project-id> --environment <environment-id> --json"
    ],
    "gotchas": [
      "Version: v4.20.0",
      "--project <ID|NAME> (required): Project to link to; CI example uses a project ID.",
      "--environment <ID|NAME> (required): Environment to link to; CI example uses an environment ID.",
      "--json: Output in JSON format."
    ]
  },
  "why_it_matters": "Link a Railway project from a CI job that needs machine-readable output.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v4.20.0",
    "https://docs.railway.com/cli/link"
  ],
  "rank": 0.94028,
  "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-b6acf7e11bee38fa-1:rescue",
    "evidence_hash": "3474bad563b73f23594eb9f82da4ba624fadc1640965e6f0ebc448ee4e933288"
  },
  "review": {
    "draft_hash": "8035c297132c24757fee1e424ff06692af9bae55aced9161fdd044c5f6eba32d",
    "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.94 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
