Configuration reference¶
Settings come from defaults, then config.toml in the data directory, then RELAYBAY_*
environment variables, then command-line flags (a later source wins). An invalid value
stops relaybay serve with a message that names the key.
Settings¶
Key (config.toml) |
Default | Environment | Flag | Meaning |
|---|---|---|---|---|
| — | data_dir in desktop.toml, else the per-user data dir (platformdirs) |
RELAYBAY_HOME |
--home |
Data directory: relaybay.sqlite, token, config.toml. |
host |
127.0.0.1 |
RELAYBAY_HOST |
--host |
Bind address. Anything but loopback prints a warning. |
port |
8765 |
RELAYBAY_PORT |
--port |
Port. |
allowed_hosts |
[] |
RELAYBAY_ALLOWED_HOSTS |
— | Extra names accepted in the Host header (LAN names); the environment variable is comma-separated. |
[stages.labels] |
the stage keys | — | — | Display names per stage (plan, dev, review, test, live, done). |
[reports.labels] |
built-in | — | — | Display names of report states and sizes. |
[reports.hints] |
built-in | — | — | Tooltips of report badges. |
desktop_link_template |
claude://claude.ai/epitaxy/{id} |
RELAYBAY_DESKTOP_LINK_TEMPLATE |
— | Link for a desktop session id; must contain {id}. |
board_url |
from host and port |
RELAYBAY_BOARD_URL |
— | Address of the board in the links MCP answers give (http(s)://host[:port]), e.g. a LAN name; default: the server's own address from host and port. |
done_window_days |
7 |
RELAYBAY_DONE_WINDOW_DAYS |
— | Days a done task stays in the done column (whole number >= 1). |
archive_purge_days |
30 |
RELAYBAY_ARCHIVE_PURGE_DAYS |
— | Days a task stays in the archive (sent there by hand or from live) before relaybay deletes it with its reports, comments, review steps, plan and attachments, after writing an export to deleted/ of the data directory; checked at the start and once a day (whole number >= 0; 0 never deletes). |
require_tracker_log |
false |
RELAYBAY_REQUIRE_TRACKER_LOG |
— | Done tasks without the tracker mark show "not logged" and are never archived. Moving to done needs the mark: a Warning (rules) line, and rules_mode = "strict" refuses the move. |
owner_names |
["owner", "me", "you"] |
RELAYBAY_OWNER_NAMES |
— | Names that mean you in a task's waiting_on (case-insensitive): those tasks are listed in the Inbox. The environment variable is comma-separated. |
[rules] |
built-in rules | — | — | Global working rules merged over the defaults (SPEC §6). |
rules_mode |
warn |
RELAYBAY_RULES_MODE |
— | warn or strict: what a stage move or a report that misses a rule does. |
coordinators |
[] |
RELAYBAY_COORDINATORS |
— | Sessions allowed to change the rules directly with rules_update: a desktop session id (local_…, the call must also pass that session's own hook_session), an alias or a name. A guard against mistakes, not access control: all MCP clients share one token. Empty: every change is a proposal. Set, it also switches on coordinator mode: agents create no cards or backlog items and report findings and questions instead, the tracker mark is the coordinator's and waiting_on names a fixed role. The environment variable is comma-separated. |
[permission_defaults] |
local = "full", test = "full", live = "read" |
— | — | Legacy: agents' level per environment kind (none, read, ask, full); a layer under policy.json (policy reference). |
guard_mode |
warn |
RELAYBAY_GUARD_MODE |
— | Legacy: off, log, warn or block, the guard mode; a layer under policy.json (policy reference). |
policy_file |
policy.json in the data directory |
RELAYBAY_POLICY_FILE |
— | The global policy layer (JSON, policy reference); a relative path is read from the data directory. A missing file means the default preset. |
attachment_roots |
[] |
RELAYBAY_ATTACHMENT_ROOTS |
— | Extra folders attach_file may read screenshots from, besides the project's repo_path and the temp folder (for example a screenshots folder). The environment variable is comma-separated. |
attachments_max_mb |
10 |
RELAYBAY_ATTACHMENTS_MAX_MB |
— | Largest screenshot in MB (whole number >= 1). |
attachments_task_max_mb |
200 |
RELAYBAY_ATTACHMENTS_TASK_MAX_MB |
— | Screenshots of one task in all, in MB (whole number >= 1). |
plan_reminder_every |
30 |
RELAYBAY_PLAN_REMINDER_EVERY |
— | Remind a linked agent of its plan step on a card in dev every this many tool calls (PostToolUse events); 0 turns the periodic reminder off (session start and todo changes still remind). |
plan_draft_hint_hours |
1 |
RELAYBAY_PLAN_DRAFT_HINT_HOURS |
— | Hours after which a task in dev whose plan is still a draft gets a hint in the coordinator's digests and a 'draft · N h' badge on its card; 0 turns it off. |
pulse_stale_days |
7 |
RELAYBAY_PULSE_STALE_DAYS |
— | Accepted and ignored: the pulse is derived from the cards (whole number >= 1). |
task_stale_days |
5 |
RELAYBAY_TASK_STALE_DAYS |
— | Days without a change after which portfolio_digest lists an open task (whole number >= 1). |
digest_budget_chars |
12000 |
RELAYBAY_DIGEST_BUDGET_CHARS |
— | Default size of a digest in characters, about 3k tokens (500 to 40000). |
session_context |
auto |
RELAYBAY_SESSION_CONTEXT |
— | auto or off: whether SessionStart adds the task context or a short project digest to the session's context. |
session_context_project_chars |
1500 |
RELAYBAY_SESSION_CONTEXT_PROJECT_CHARS |
— | Size of the project digest added at SessionStart (500 to 40000; the hook answer's own limit applies on top). |
max_concurrent_sessions |
0 |
RELAYBAY_MAX_CONCURRENT_SESSIONS |
— | Warn when more sessions than this run at once (working, with activity in the last 10 minutes): one concurrency.over event per 10 minutes and an Inbox line. It stops nothing. 0 is off. |
claude_home |
your home directory | RELAYBAY_CLAUDE_HOME |
--claude-home |
Folder with Claude Code's .claude/ and .claude.json (setup, doctor, Integrations). |
update_check |
true |
RELAYBAY_UPDATE_CHECK |
— | Ask GitHub for the latest release (one unauthenticated request, no data sent but the version in the User-Agent) shortly after the start and every update_check_hours; a newer one shows a line in the Inbox. A failed check is silent. false turns it off. |
update_check_hours |
24 |
RELAYBAY_UPDATE_CHECK_HOURS |
— | Hours between update checks (whole number from 1 to 720). |
backup_keep |
5 |
RELAYBAY_BACKUP_KEEP |
— | Backups kept in backups/ of the data directory; one is taken when a new version starts, before it migrates the database (whole number >= 0; 0 takes none). |
Example config.toml¶
port = 8765
allowed_hosts = ["my-laptop.lan"] # needed only when you bind to a LAN address
desktop_link_template = "claude://claude.ai/epitaxy/{id}"
done_window_days = 7
require_tracker_log = false
rules_mode = "warn"
owner_names = ["owner", "me", "alex"] # waiting_on values listed in the Inbox
[stages.labels]
dev = "in progress"
done = "shipped"
[reports.labels]
verified = "checked"
[reports.hints]
M = "medium change"
[rules]
guidance = "Ask the owner before anything goes live."
description_template = "Goal:\nWhy:\nDone when:"
[rules.report_format]
sizes = ["S", "M", "L"]
[rules.stage_requirements]
test = [{ kind = "report_since_stage_change" }]
done = [{ kind = "field_present", field = "progress" }]
Desktop program (desktop.toml)¶
desktop.toml lives in the per-user config folder (platformdirs: on Windows
%LOCALAPPDATA%\relaybay, on macOS ~/Library/Application Support/relaybay, on
Linux ~/.config/relaybay), or in the folder RELAYBAY_CONFIG_DIR names. The program
and the CLI both read it; relaybay desktop config shows and changes it. Beside it:
external-token (0600, the external server's token), window-state.json (the board
window's size, position and maximized flag, written by the program), reopen-window (a
one-shot marker left when the program quits for an update with its window open),
notify_state.json (where tray notifications have read up to, written by the program),
desktop-start.log (the program's start journal, read by relaybay doctor) and the
program's desktop.lock and desktop.ipc.
The data folder is --home, else RELAYBAY_HOME, else data_dir here, else the
per-user data dir.
| Key | Default | Meaning |
|---|---|---|
data_dir |
unset: the per-user data dir | Data folder (an absolute path) for the program and the CLI when neither --home nor RELAYBAY_HOME is given. Pointing it at another folder moves nothing. |
autostart |
false |
Start the program at login (hidden, tray icon only). Each start rewrites the entry with the current executable. |
server_mode |
embedded |
embedded: the program runs the server itself. external: it opens server_url with the token in external-token, and the CLI (token, hook, setup, doctor) talks to that server too; relaybay serve ignores it. Plain http:// to another machine warns: the token travels in clear text. |
server_url |
'' |
Base URL of the external server (http:// or https://). |
update_check |
true |
The program asks GitHub for the latest release shortly after the start and every update_check_hours; a newer one puts a dot on the tray icon and Update to X.Y.Z in its menu. Settings → Check for updates checks now either way. The server's own check is update_check in config.toml. |
update_check_hours |
24 |
Hours between the program's update checks (whole number from 1 to 720). |
notify |
true |
Tray notifications: the program asks the server every 5 seconds what needs you and shows it, at most one notification per 20 seconds. Read at the start and on Restart server. |
notify_quiet |
false |
Quiet mode (the tray's Quiet notifications): no notification, a dot on the tray icon, one summary on leaving it. |
notify_kinds |
all but permission |
What to notify about, any of: waiting (a task now waits on you), review (a task moved to review or test), reply (an agent's comment), question (an agent's blocking question or look-at-this request), approval (an agent waits for your approval of a push, a merge or a stand change), permission (a session waiting for you, off by default), server (an external server stopped answering). |