Skip to content

Configuration

Runside stores non-secret settings in plain TOML so you can check them into dotfiles, while keeping passwords, tokens, and keys strictly inside your operating system keychain.

  • Settings & Machine Profiles (~/.config/runside/config.toml): Machine lists, display preferences, zombie thresholds, saved Tunnel Stacks, and workspace_roots. Contains zero secrets.
  • Passwords, Webhooks & Pairing Keys (OS Keychain): Stored in macOS Keychain, Windows Credential Manager, or Linux Secret Service.
  • Local Backups & Compliance Logs: Saved in your OS app-data directory (Application Support/runside/ on macOS, %APPDATA%\runside\ on Windows, ~/.local/share/runside/ on Linux).
  • Team Sharing (.runside.toml): Check shared machine lists and Tunnel Stacks into Git; personal overrides always take priority.

Configuration File (~/.config/runside/config.toml)

Section titled “Configuration File (~/.config/runside/config.toml)”
prod_read_only_default = true
mcp_hide_production = false
poll_interval_ms = 2000
zombie_cpu_threshold = 80.0
zombie_mem_threshold_mb = 2048
zombie_consecutive_polls = 3
notifications_enabled = true
mcp_enabled = false
mcp_port = 47621
session_token_usage_enabled = false
preferred_terminal = "Ghostty"
custom_agents = []
host_order = ["devbox-01", "prod-db-01"]
workspace_roots = ["~/Projects"]
team_config_paths = ["~/Projects/acme-app/.runside.toml"]
[[hosts]]
id = "devbox-01"
display_name = "Team Devbox"
env = "devbox"
hostname = "198.51.100.10"
user = "dev"
shared_tmux_socket = "/tmp/tmux-shared/default"
[[hosts]]
id = "prod-db-01"
display_name = "Primary DB"
env = "production"
hidden = false
[[tunnel_stacks]]
id = "staging-stack"
name = "Staging Stack"
[[tunnel_stacks.tunnels]]
host_id = "staging"
remote_port = 5432
local_port = 15432
service = "PostgreSQL"
[[tunnel_stacks.tunnels]]
host_id = "staging"
remote_port = 6379
service = "Redis"
Artifact Storage Location Security Property
Preferences, machines, stacks, workspace_roots, session_token_usage_enabled ~/.config/runside/config.toml Zero secrets; token telemetry is off by default and reads numeric usage fields only across local, on-demand SSH, and runsided sessions
Per-session runtime timeline ~/.config/runside/session-timeline.jsonl (0600) Secret-redacted OS lifecycle events kept locally (24h retention)
Database passwords & usernames OS Keychain (macOS Keychain / Windows Credential Manager / Linux Secret Service) Never saved in TOML or logs
Alert webhooks & tokens OS Keychain (runside-alert), or systemd LoadCredential / RUNSIDE_ALERT_SECRET_* on headless runsided Outbound payloads redacted before send
S3 / R2 keys & backup passphrase OS Keychain (runside-s3) Archives encrypted client-side before upload
Compliance audit webhook secret OS Keychain (runside-audit-sink) Signs deliveries with X-Runside-Signature-256
Mobile pairing keys OS Keychain (runside-mobile) + device keystore End-to-end encrypted + biometric action signatures
Pre-migration DB snapshots ~/Library/Application Support/runside/snapshots/ (macOS) · %APPDATA%\runside\snapshots\ (Windows) · ~/.local/share/runside/snapshots/ (Linux) Local archives with branch/size metadata
SSH multiplexing sockets ~/.config/runside/ssh/ Reuses system OpenSSH keys, 1Password agent, or YubiKey
Offline license token ~/.config/runside/license.key (0600) Verified offline; zero network calls
Local MCP endpoint http://127.0.0.1:47621/mcp Loopback-only, read-only tools only

Team Config Layering (.runside.toml) & Encrypted Bundles

Section titled “Team Config Layering (.runside.toml) & Encrypted Bundles”

Share machine lists, tunnel_stacks, and workspace_roots without storing credentials:

  • Layered Precedence: Any .runside.toml inside workspace_roots or team_config_paths loads beneath ~/.config/runside/config.toml. Personal machine or stack overrides always win.
  • Zero-Secret Validation: Both .runside.toml and .runside-bundle import/export reject password, token, secret, cookie, private keys, or credentialed URLs.
  • Passphrase-Encrypted Bundles: Export or import .runside-bundle archives in Settings (⌘,) → Team Config (or ⌘K).
# Example repository .runside.toml (zero secrets)
prod_read_only_default = true
mcp_hide_production = true
workspace_roots = ["/srv/worktrees"]
[[hosts]]
id = "devbox-01"
display_name = "Team Devbox"
env = "devbox"
hostname = "198.51.100.10"
user = "dev"
[[tunnel_stacks]]
id = "staging-stack"
name = "Staging Stack"
[[tunnel_stacks.tunnels]]
host_id = "devbox-01"
remote_port = 5432
local_port = 15432
service = "PostgreSQL"

Activity Log, Transition Alerts & Compliance Audit

Section titled “Activity Log, Transition Alerts & Compliance Audit”
  • Activity Drawer (⌘.): Logs every scan, tunnel, snapshot, restart, cleanup, and blocked Production Lock check locally.
  • Event Watchers & Alerts: Configure Slack, Discord, ntfy, Pushover, or signed webhooks in Settings (⌘,) → Alerts for agent exits, zombie spikes, blocked DB locks, 5xx bursts, and RAM/disk pressure, with cooldown_secs and quiet hours (22:00–08:00). On headless servers without a desktop keychain, see Headless Server Alert Credentials.
  • Compliance Audit Sink (Settings → Storage & Audit): Export secret-redacted records with actor attribution to local JSONL (compliance-audit.jsonl in your OS app-data folder) or a signed webhook (X-Runside-Signature-256).
  • S3 / Cloudflare R2 Snapshots (runside-s3): Encrypted client-side using ChaCha20 with AWS SigV4 request signing.
  • Mobile Sync & Relay (runside-mobile): Pairing handshakes, live peeks, and actions use ChaCha20 + HMAC-SHA256 end-to-end encryption, with Ed25519 device keys bound to mobile hardware/biometrics.
  • Encrypted Team Bundles (.runside-bundle): Sealed with PBKDF2-HMAC-SHA256 + ChaCha20 + HMAC-SHA256.
  • Offline License Verification: Signed Ed25519 tokens verified locally against an embedded public key and release build date.