Reference
Configuration
Settings, environment variables, and where Reigh stores everything.
Settings
| Pane | What’s there |
|---|---|
| General | Workspace folder location; paths to Claude Code, git and the GitHub CLI, with Re-detect |
| Agents | Concurrent agents (default 8), how long to keep processes warm (5 minutes), max warm processes (12), auto-resume after a crash, pick up stalled work (after 8 minutes), which Claude Code settings files to load, and max stored tool output |
| Workspace | Name, purpose, theme, Chief of Staff, projects, spend today and this month, message hop limit (default 6) |
| Repositories | Per repository: default branch, files to copy into worktrees, a setup script, and whether PRs need your approval |
| Departments | Create and edit departments, their heads and members |
| Mobile | Let your phone connect, the pairing QR code, paired phones, and this Mac’s key |
| Notifications | System notifications, sounds and reports |
| Advanced | Office server status and port, database and data locations, and re-run onboarding |
Environment variables
Useful for development, demos and testing:
| Variable | Effect |
|---|---|
REIGH_DATA_DIR=/tmp/x |
Use an isolated database and workspace folder |
REIGH_SEED_DEMO=1 |
Seed a sample company (Northwind Labs) and skip onboarding |
REIGH_CLAUDE_PATH=/path/to/claude |
Use a specific claude binary, such as the scripted fake-claude |
REIGH_SKIP_ONBOARDING=1 |
Skip the first-run walkthrough |
REIGH_SNAPSHOT_DIR=/path |
Render every main screen to PNG and quit |
REIGH_COMPANION=1 |
Turn the phone link on regardless of Settings |
REIGH_COMPANION_NAME=… |
The name your Mac shows to phones |
REIGH_COMPANION_TEST_CODE=123456 |
A fixed pairing code, for tests and demos |
REIGH_REAL_CLAUDE=1 |
Run the opt-in tests against the real CLI (costs a few cents) |
Inside each agent’s process, Reigh sets REIGH_EMPLOYEE_ID, REIGH_COMPANY_ID, REIGH_SESSION_ID and REIGH_MCP_TOKEN.
Where things live
| What | Where |
|---|---|
| Database | ~/Library/Application Support/Reigh/reigh.sqlite |
| Phone pairing and keys | ~/Library/Application Support/Reigh/companion.json (readable only by you) |
| Patches saved from removed worktrees | ~/Library/Application Support/Reigh/patches/ |
| Workspaces | ~/Reigh/<workspace>/ — see Workspaces & projects |
| Avatar cache | ~/Library/Caches/Reigh/avatars |
Ports
| Port | Used for |
|---|---|
47321 |
The office MCP server, on 127.0.0.1 only. Falls back to a free port if taken. |
47330 |
The phone link, only when Let your phone connect is on. Advertised over Bonjour as _reigh._tcp. |
Network
Reigh itself makes very few network requests: avatars come from DiceBear’s Glyphs style (seeded by each person’s name and cached), and everything else is your agents’ own work through Claude Code and their browsers.