docs: document railway ssh and clarify that railway run executes locally#30
Open
aspiers wants to merge 1 commit intorailwayapp:mainfrom
Open
docs: document railway ssh and clarify that railway run executes locally#30aspiers wants to merge 1 commit intorailwayapp:mainfrom
aspiers wants to merge 1 commit intorailwayapp:mainfrom
Conversation
- Add 'Shell access' section to operate.md covering railway ssh usage, the railway run vs railway ssh distinction, and SSH key setup - Add railway ssh to the common quick operations table in SKILL.md - Add execution rule railwayapp#6 explicitly warning that railway run is local - Add ssh docs and CLI source to 'Validated against' block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
operate.mddocumentingrailway sshfor interactive shells and one-off commands inside running containersrailway runis notrailway ssh—railway runexecutes locally with injected env vars, not inside the remote containerrailway sshto the common quick operations table inSKILL.mdSKILL.mdwarning thatrailway runis local-onlyValidated againstwith SSH docs and CLI source linksMotivation
Without this documentation, AI agents using this skill naturally reach for
railway runwhen asked to execute a command "on" a service, since it's the only relevant command visible. This leads to silently wrong behaviour — the command runs locally, not remotely — and the agent has no way to know it made a mistake.railway sshis already used extensively in the analysis scripts (dal.py,analyze-*.py) but is never surfaced in the main skill references where agents would discover it.