Setup UI: debug console + config editor + backup import#34
Merged
Conversation
gginesta
pushed a commit
to gginesta/clawdbot-railway-template
that referenced
this pull request
Apr 28, 2026
- Added explicit rule to MEMORY.md Automated Maintenance Rules - Added rule to fleet-wide OPERATIONAL-GUIDELINES.md (top priority) - Added Lesson vignesh07#34 about this incident - Updated daily memory with incident details
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
Adds Option A (safe command runner) and setup UI improvements for Railway deployments.
Also updates the README with an "Official template / endorsements" section and includes the Railway deploy-count screenshot.
Changes
/setupnow includes a Debug Console (no shell; allowlisted actions):gateway.start|stop|restartopenclaw status|health|doctor|--version,openclaw logs --tail N,openclaw config get <path>/setupnow includes an advanced raw config editor for the on-disk config (openclaw.jsonby default):.bak-*backup and restarts gateway/setup/importwith a.tar.gzcreated by/setup/export/data(Railway volume) + basic path traversal guardsNotes / TODO
X (Twitter) blocks automated fetching in our environment, so the README includes TODO placeholders for the two endorsement tweet screenshots. If you upload those images to the repo, I can wire them in and remove the TODO text.
Security / guardrails
OPENCLAW_STATE_DIRandOPENCLAW_WORKSPACE_DIRare under/data.., absolute paths, drive letters)How to test
/dataOPENCLAW_STATE_DIR=/data/.openclaw,OPENCLAW_WORKSPACE_DIR=/data/workspace,SETUP_PASSWORD=.../setup:gateway.restartopenclaw statusandopenclaw logs --tail 200