REA railway.toml notes (unofficial)
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
- Authorize the railway.toml (+ packaged configs you hold).
- Quote selected build/deploy/watchPatterns labels you actually see (never paste secrets).
- Cousins → railway-json · fly-toml · heroku-yml · dockerfile.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_railway_tomlAPI 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
| Artifact | Honest posture |
|---|---|
| railway.toml | Railway config-as-code identity facts |
| Peer | rea-railway-json (railway.json) |
| Peer | rea-fly-toml |
| Peer | rea-heroku-yml |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote
[build],[deploy], andwatchPatterns— 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).