REA railway.toml notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

railway.toml records Railway config-as-code identity (build, deploy, watchPatterns). In REA 6.7.x, treat selected build/deploy labels as Evidence beside archive/package routes — complementing railway.json/Fly/Heroku cousins without inventing APIs. This is railway.toml, not railway.json.

Mental model

  1. Authorize the railway.toml (+ packaged configs you hold).
  2. Quote selected build/deploy/watchPatterns labels you actually see (never paste secrets).
  3. Cousins → railway-json · fly-toml · heroku-yml · dockerfile.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_railway_toml API REA never called.

Minimal path

# authorized railway.toml (+ artifact you hold)
# quote selected build/deploy/watchPatterns labels into case notes
# cousins → peer railway.json / fly.toml / heroku.yml / Dockerfile lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_railway_toml .
# note: railway.toml ≠ railway.json (see rea-railway-json)

Compare

ArtifactHonest posture
railway.tomlRailway config-as-code identity facts
Peerrea-railway-json (railway.json)
Peerrea-fly-toml
Peerrea-heroku-yml
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote [build], [deploy], and watchPatterns — enough for most Evidence binders.
  • Railway project tokens and env vars often embed secrets — record key names only.
  • Keep railway.toml distinct from railway.json in case notes (railway.toml ≠ railway.json).
  • Restart policies and healthchecks are identity Evidence — label them separately from cousin pages.
  • Select keys are useful inventory — quote them without inventing REA helpers for railway up.

Scope we will not cover

  • No inventing inspect_railway_toml / automatic deploys against foreign Railway projects.
  • No credential theft from project tokens, env secrets, or remote URIs.
  • No pirate redistribution of proprietary Railway configs.
  • No crack framing via railway.toml pins.
  • No cookbooks that weaken remote auth on foreign projects.

Honest limits

RepoRead documents config literacy — how authorized railway.toml trees relate to Evidence — not a full Railway course. Prefer upstream Railway docs for config-as-code. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-railway-json / rea-fly-toml / rea-heroku-yml?

rea-railway-json covers railway.json. rea-fly-toml covers Fly.io. rea-heroku-yml covers Heroku manifests. This page zooms on railway.toml — it does not overwrite those pages. railway.toml ≠ railway.json.

Is there inspect_railway_toml in 6.7.0?

Not assumed. Quote build/deploy/watchPatterns labels you actually open, then use documented package/archive lanes. Do not invent inspect_railway_toml.

Does REA deploy to Railway or steal project tokens?

No. Local trees only. Redact project tokens, env secrets, and remote URIs; do not treat REA as a Railway runner. No credential theft.

How should I label Evidence vs other Railway configs?

Label Evidence by the file present. Keep railway.toml separate from rea-railway-json.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources