Skip to content

Configuration ​

Listen port7780
Flag--port 7780
Environment variableGONOGO_PORT=7778
Default7777

Options ​

A flag beats its environment variable, which beats the default. --port=7777 and --port 7777 are the same.

FlagEnvironment variableMeaning
--port <n>GONOGO_PORTListen port. Default 7777; 0 picks a free port.
--host <addr>GONOGO_HOSTBind address. Default 127.0.0.1; localhost means 127.0.0.1. A non-loopback address (LAN, Tailscale 100.x) is also served on 127.0.0.1, where agents connect.
--home <dir>GONOGO_HOMEState directory. Default ~/.gonogo.
--seed-claudeGONOGO_SEED_CLAUDE (1 or true)Seed mode (see Docker). Off by default.
--allow-host <name>, repeatableGONOGO_ALLOWED_HOSTS, comma separatedExtra Host names to accept (reverse proxy, Uplink, Relay, Docking). Any --allow-host replaces the variable.
(none)GONOGO_AUTO_UPDATE (1/on/true/yes on; 0/off/false/no off; unset: the Flight Rules switch, off)Docker auto-update, patch versions only, in a window (Update). Wins over the page.
(none)GONOGO_AUTO_UPDATE_WINDOW (HH:MM-HH:MM, up to four, comma-separated; default 02:00-05:00 container time: set TZ)Windows auto-update may start in. Wins over the page.
--no-update-checkGONOGO_UPDATE_CHECK (0, off, false or no turns it off)Rollout: skip the daily npm registry check (Rollout). Default on.
-h, --helpPrint usage, exit 0.
-v, --versionPrint gonogo <version>, exit 0; a second line when the last check saw a newer one (from rollout.json, no network).
doctor (a command, no options)Pad Check: agent CLIs on the PATH with versions, and the vendor's install command for each missing one (Engine Bay). Exit 1 only when claude is missing and GONOGO_AGENT_CMD is unset.
update (a command, no options)Print the update command for this install, exit 0. Runs nothing (Rollout).
GONOGO_MAX_HOPSHop cap for messages between agents. Default 8; whole number 1 to 100, else ignored with a warning.
GONOGO_REDLINEoff turns off Redline's detectors (loop, error storm, ping-pong). Propellant limits still stop agents. Default on.
GONOGO_MAX_WORKINGMax Q at start: how many agents with hooks (Claude Code, Gemini CLI) may work at once. Whole number 1 to 24, else ignored with a warning. Default no limit; changeable from the wall.
GONOGO_AGENT_CMDReplaces claude: a JSON array of strings, or words split on spaces; gets claude's arguments. When set, claude is not looked up on the PATH.
GONOGO_CLEANROOM_IMAGEImage for Clean Room consoles. Default ghcr.io/ulm0/gonogo (build it locally with docker build -t ghcr.io/ulm0/gonogo . if not published yet). A console's own image (API) wins.
GONOGO_CLEANROOM_NETWORKOnly in a container (Docker): container:self or container:<name>. Anything else is refused. compose.yaml sets it.
TZTime zone for Launch Window rules (machine's zone if unset).
GONOGO_STATIONDocking station name (name@station): lowercase letters, digits, -, at most 31. Default: first part of the host name.
GONOGO_LOG_LEVELdebug, info, warn or error. Default info.
GONOGO_SCRUB_ENVExtra variables removed from every agent (Claude Code session variables always are). Comma separated; a trailing _ is a prefix (HERDR_,TMUX_PANE). Not HOME, PATH or credentials. Acts on gonogo's own environment only: per-agent keys are kept and win over a variable of the same name.

Exit codes: unknown flag, or doctor/update with an argument: usage, 2. Failed start (port in use, another gonogo on the home, damaged agents.json, no claude): gonogo: <message>, 1. Ctrl-C, SIGTERM and SIGHUP stop every agent and exit.

State on disk ​

Everything lives under the home (~/.gonogo). Files are 0600, folders 0700. An unreadable schedules, uplinks, tasks, docking, relay or downlink store is renamed <file>.bad and the server starts without it.

PathWhat
agents.jsonThe roster: name, role, directory, permission mode, session id, desk, position, provider, custom command, Payload servers and skill folders, cleanRoom setting, model, and the names of an agent's keys with the time each was set (never a value). Plain text, including payload env and header values (keep secrets out or write ${NAME}). A damaged file stops the start and names the path.
keys.jsonClearance: the values of the keys set per agent, { "version": 1, "agents": { "<name>": { "<NAME>": "<value>" } } }, in plain text. Written whole through a temporary file and a rename; an agent's entry goes with the agent. A damaged file is renamed keys.json.bad and agents start without keys.
rollout.jsonRollout: { "version": 1, "checkedAt": <ms>, "latest": "<x.y.z>" }, the last check for a newer gonogo. Nothing secret. Absent or unreadable means the next start asks.
messages.jsonlEvery message, one JSON line per change. Over 32 MiB it is renamed messages.jsonl.1 at the next start.
fuel.jsonlPropellant's ledger: one line per agent and minute. Lines older than 31 days are dropped at start.
telemetry.jsonlTelemetry: one line per finished tool call (agent, start, duration, tool, summary, failed). Newest 200 per agent kept, cut at start and every 2000 new lines.
propellant.jsonPropellant limits (room and per agent) and how far each transcript was read.
schedules.jsonLaunch Window schedules, message text and last result, in plain text.
uplinks.jsonUplink webhooks: name, recipient, kind, secret in plain text, last 20 deliveries (no bodies).
tasks.jsonFlight Plan tasks with history, in plain text.
station.jsonThis station's id: { "version": 1, "id": "<32 hex characters>" }. Delete it and docked stations no longer know this one.
docking.jsonDocked stations: id, name, address, shared secret in plain text.
relay.jsonRelay targets: Slack and Telegram bot token in plain text, channel or chat id, forwarded kinds.
downlink.jsonDownlink events and read/archived flags. If unreadable, the inbox starts empty with logged mail counted as read.
livery.jsonChosen livery: { "version": 1, "current": "<slug>" }. Unknown or unreadable means Instrument.
liveries/<slug>.jsonCustom liveries (name, description, author, 28 tokens). One that is incomplete or fails the contrast rule is skipped with a warning and kept.
mission-log/<id>.mdMission Log entries: front matter (version, id, title, tags, author, times) and body. Unreadable or newer-version entries are skipped with a warning and kept. mission-log/.seq holds the highest id so ids are never reused.
board.mdPlot Board: front matter (version, revision, author, updatedAt, each value JSON on one line), ---, the plan as plain text (at most 10000 characters). A file without that front matter is read as the plan. Read at start.
black-box/Black Box: a git repository the server makes at start (folder 0700). One <YYYY-MM-DD>.jsonl for each UTC day, a line for each event (at, kind, text: names and ids only), files 0600. The server commits in batches (30 seconds after the first event, and at shutdown) as gonogo <gonogo@localhost>; git is needed only for the commits.
agents/<name>/memory.md.bakThe one copy of memory.md that Mass Budget takes when you press REFLECT (mode 0600). Replaced by the next request. gonogo only looks at its size and time, and never restores or removes it.
<file>.bak-v<n>Copy made before upgrading a file from version n (e.g. agents.json.bak-v1). Never read or removed by gonogo. Copies of uplinks.json, relay.json, docking.json or keys.json keep their old secrets.
server.lockThe running gonogo's pid. A second gonogo on the same home refuses to start. Delete it if you are told one is running and none is.
tokenThe browser token.
cleanroom/<name>/A Clean Room agent's git worktree, on branch gonogo/<name> of your repository. Never removed by gonogo.
agents/<name>/memory.md (the agent's notes, never overwritten), settings.json and mcp.json (rewritten every start), token (while running), cleanroom-home/ (Clean Room only: the container's HOME and Claude config), payload-plugin/ (Payload skills only). Other engines: gemini-settings.json, opencode.json, kimi-mcp.json or copilot-mcp.json, rewritten every start (Kimi and Copilot files hold the agent token). Removing an agent keeps this folder: a new agent with the same name gets the old memory.md, and renaming another agent to that name is refused until you delete it.

Versions of the saved state ​

Every JSON file above, each Mission Log entry and board.md holds "version": <n> (all 1 today; design).

  • Older file: upgraded at start one version at a time, after a copy to <file>.bak-v<old>. If a step fails the file is untouched and the start stops, naming file and copy.
  • Newer file stops the start: <path> was saved by a newer gonogo (format version 2; this one reads up to 1). Start the gonogo that saved it, or move the file away to start without it. To go back, restore the .bak-v<n> copy (later changes are lost).
  • Optional fields model and keys (names) in agents.json: an older gonogo drops them at its next save; the values in keys.json stay, but the page does not list them until you set them again.
  • propellant.json without a version counts as version 1.
  • Mission Log entries are not upgraded (a newer one is skipped and kept); a newer board.md stops the start.
  • Not versioned: messages.jsonl, fuel.jsonl, telemetry.jsonl and the day files of black-box/ (an unreadable line is skipped), mission-log/.seq, token, server.lock, and files under agents/<name>/ rewritten every start.

In the Docker image ​

Environment: GONOGO_INSTALL=docker, HOME=/home/node, CLAUDE_CONFIG_DIR=/state/claude, GONOGO_HOME=/state/gonogo, GONOGO_SEED_CLAUDE=1, DISABLE_AUTOUPDATER=1, LANG=C.UTF-8. Command: gonogo --host 0.0.0.0 --port 7777. Every option above works as an -e variable (-e GONOGO_ALLOWED_HOSTS=...) or as arguments after the image name, which replace the whole command: repeat --host 0.0.0.0 --port 7777. Health check: every 30 s GET /rooms/health on port 7777 (503 until room main was ready once, then 200): with another port give a matching --health-cmd or the container is unhealthy and every self-update rolls back. Stop with docker stop -t 15 or more (agents stop within 8 s, gonogo gives up at 12). Base image node:24-bookworm-slim floats: pin with --build-arg NODE_IMAGE=...@sha256:<digest>; --build-arg CLAUDE_CODE_VERSION=<x.y.z> and DOCKER_CLI_IMAGE=... change the other pieces.

MIT License