Repository navigation
What changed in OpenRig 0.7.27
This note is for an agent on an install that was just upgraded to 0.7.27.
OpenRig 0.7.27 is a patch aimed at three things, building on 0.7.26: a person's first team getting to a useful result in their own Claude Code or Codex conversation, a busy daemon that keeps answering, and stalled work reaching an owner who can act on it first. Known issues says what can still fall short. Seat pools now run: if you gave any rig member a pool block, read "Before you upgrade" first.
Before you upgrade
Run the upgrade in the environment that owns your daemon, keeping the same OPENRIG_HOME (legacy RIGGED_HOME) if you set it. Stop the daemon, back up its database, install the patch, then restart it. Your agents keep running; do not use rig down for this upgrade.
If the daemon was started with --db, or with OPENRIG_DB (legacy RIGGED_DB) set differently from this shell, replace the DB= line below with that actual database path. Pass the same --db "$DB" to every rig daemon start, including recovery; rig config get db.path reads this shell's configuration, not the running daemon's launch arguments or environment.
DB="$(rig config get db.path)" &&
STOP="$(rig daemon stop)" && printf '%s\n' "$STOP" &&
{ printf '%s\n' "$STOP" | grep -qx 'Daemon stopped' || { echo "The stop wasn't confirmed clean; see below before continuing." >&2; false; }; } &&
BACKUP="$DB.before-0.7.27-$(date -u +%Y%m%dT%H%M%SZ)" &&
{ [ ! -e "$BACKUP" ] || { echo "$BACKUP already exists; keep it and run again." >&2; false; }; } &&
cp "$DB" "$BACKUP" &&
{ [ ! -e "$DB-wal" ] || cp "$DB-wal" "$BACKUP-wal"; } &&
npm install -g @openrig/cli@0.7.27 &&
rig daemon start --db "$DB"A failure stops the following commands; fix it before continuing. Back up and install only after rig daemon stop prints Daemon stopped. If it reports no recorded target or doesn't confirm the stop, make sure the daemon is running on its original home and database, then run the whole block again; daemon-shutdown.json, daemon.log and rig context get help explain an unconfirmed stop.
If systemd or launchd runs your daemon (a unit or agent that starts the daemon entry itself, not rig daemon start), stop and start it through that manager instead of the block above, so the manager knows it was stopped and a Restart=always or KeepAlive setting doesn't start the old daemon again. A 0.7.26 daemon run this way doesn't record itself. rig daemon stop can still stop it when the daemon answering at this shell's configured address writes this home's daemon.log, as the getting-started samples set up; otherwise it refuses with Daemon state is missing and sends no signal, or reports no recorded target when nothing answers there. First check that the unit keeps your seats running when it stops (systemd KillMode=process, or launchd AbandonProcessGroup set to true); without that, stopping it ends every seat. Then stop it (systemctl --user stop openrig-daemon, or launchctl bootout gui/$(id -u)/local.openrig.daemon, with your own unit's name), back up the database its environment names (OPENRIG_DB, default $OPENRIG_HOME/openrig.sqlite) and its -wal file if there is one, run npm install -g @openrig/cli@0.7.27, and start it again (systemctl --user start openrig-daemon, or launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/local.openrig.daemon.plist, with your own unit's name and path; bootout removed the job, so launchd needs it loaded again). Don't run rig daemon start beside the unit: the unit's next start then finds its port held and exits with code 69. The openrig-upgrade skill walks these steps.
Seat pools now run. If you gave a rig member a pool block, which did nothing before, its pool starts at the first 0.7.27 daemon start: it moves waiting work to free pool agents, adds agents named <member>-s<n>, and stops idle ones, as the block says. To keep a pool off, stop its job after the upgrade with rig watchdog stop <job-id> (rig watchdog list shows each seat-pool job). A stopped job stays stopped across launches, re-applies and daemon starts, and can't be turned back on from the CLI. The pool acts from that first start, once a minute, so it can move work or add agents before you stop it. Rigs without a pool block don't change, and other opt-in features stay off unless you turn them on. (#4152)
This release adds one database migration, which applies at the first start: 204_queue_return_route_lookup only adds an index, built once at that start. Keep the backup, because downgrading a migrated database is not established. Bundled openrig is 0.7.27; openrig-core is 0.1.43.
Your first team, from your own conversation
When a seat creates a task for part of its work without naming a route, the task now takes the route of the work the seat has in progress, so that part's permission prompts and result come back to your conversation; a seat's own address is never inherited, and when a seat names itself as the route while holding your conversation's work, rig queue create says so in a note. A permission ask that reaches your conversation now guides your agent to decide an action that an instruction you already gave clearly covers, recording your earlier words and telling you afterwards, and to read "stop asking" for what you mean: decide routine work under your words, offer rig seat set-permissions for the seat's later launches, or pause the work. (#4168, #4167)
A message from your conversation's OpenRig address now ends with a reply line a seat can use, rig queue create --destination <your address> … --verify, instead of a rig send that can't reach a conversation, and a reply hint to a person also says how to ask them to decide. Work for a conversation that named itself as its route reads as waiting for that conversation (awaiting-pickup:), not as a broken address, and the stuck-work sweep waits for the conversation's own read instead of filing recovery work. Recovery work the sweep does file keeps the stalled work's route. (#4141, #4174, #4171, #4163, #4145)
When you answer one of your team's questions in your own conversation, the seat that asked now gets your answer: its work parked on that question is released, and otherwise your answer and your exact words come back to it as a new task, so it can carry on. Permission and pairing prompts work as before. (#4212)
A Codex seat stopped at Codex's command approval reads as a permission prompt in rig ps --nodes and rig seat status, a rig send to it is refused instead of landing in the approval, and when its work came from your conversation, each new approval reaches you as its own task. A seat that handed its routed work on in the last 60 minutes sends its prompts to that work's route. When a seat's permission prompt is answered in its own terminal while OpenRig is still recording it, or the record's response is lost, the openrig-core plugin withdraws the question from your conversation instead of leaving one the seat no longer has. (#4122, #4147, #4153)
The front door's instructions (rig mcp serve --front-door) now fit in the 4,096 characters Claude Code shows a model, with the check for waiting items first. Before you agree to a Claude Desktop scheduled check, your agent mentions that Desktop turns on phone notifications for scheduled tasks by default. In Claude Code, the openrig plugin reads Claude Desktop's MCP settings once, on a chat's first prompt; when Desktop also runs an OpenRig server, it tells your agent that the team's questions about work handed over through that server don't come back into the chat by themselves, and that work handed over with the plugin's own tools does bring them back. In your own Codex conversation, the plugin's chat wake recovers on your next message after a Codex server restart; there is no on-screen sign of recovery before that message. (#4164, #4131, #4160, #4155)
A message typed to a Claude Code seat counts as sent only when Claude reports taking it. If OpenRig's own text is still in the box, it presses Enter again, at most twice, and rig send says Typed into <seat>, unconfirmed when it can't confirm. On a Claude seat that uses the opt-in hook bridge, a message that waits during your turn is delivered at the turn's end even when the bridge's waiter reaches its own deadline mid-turn, instead of being typed into the running turn. The rigs skill is shorter and starts from its principles, an agent that just added it is told to read the file (Claude Code doesn't list a skills folder made after the session started), and rig setup ends with a reminder for the installing agent. (#4121, #4185, #4123)
A busy daemon keeps answering
rig ps looks up each seat's address once per read, and each lookup is cheaper. The start-up and daily retention sweep archives in short steps, so the daemon answers other requests while it runs, and a queue event refreshes only the waits blocked on its own task. The context collector leaves an identical copy of its script alone instead of rewriting it on every check, so a repository that tracks it stays clean. Runners redial the daemon with a growing, randomised delay, and the daemon sends a keepalive on their idle streams. rig ps --nodes exits 3 when it couldn't read some rig's seats, and --json names the rigs it skipped. (#4150, #4154, #4151, #4170, #4175, #4130)
Stalled work reaches its owner first
A stall finding on claimed work now goes to the work's owner first. If the owner doesn't answer within 30 minutes (or twice queue.wake_retry_interval_seconds, when that's longer), it moves once to the owner's orchestrator. The finding says that a note, park, handoff or close on the task answers it. A seat that keeps reading its own queue, when OpenRig can't see its activity, isn't raised as stalled while it does. Work sent to a seat stopped on purpose says it waits in that seat's queue, and recovery keeps the reason the seat was stopped. (#4144, #4162, #4133)
Seats, the daemon and seat pools
A Claude seat continued with its conversation (a restart that keeps it, or a provider switch) gets OpenRig's restore Read grants too. A seat whose claude launcher adds --setting-sources, or --disallowedTools with plain tool names, keeps a verified identity. rig fork carries the source seat's effort, advisor, launch wrapper, process limits and environment, and for Claude its MCP and status-line settings. A community harness that takes its startup text as its first input gets every startup text file, up to 100 KiB. (#4109, #4129, #4126, #4118, #3562)
A daemon that systemd or launchd runs records itself, so rig daemon stop, rig status and rig crash-cart see it, and on a held port it exits 69 before opening its database; getting-started gives a sample unit and agent. rig daemon start and rig daemon status say which bearer checks the running daemon started with. rig doctor checks only the runtimes you chose with rig setup --providers, and with no choice recorded it skips a runtime that isn't installed when the other one is. (#4114, #4183, #4182)
Seat pools run, as "Before you upgrade" says. If a pool agent was still starting when you ran rig down, it's stopped once it's up, rig up waits for the pool's calls still in flight after a rig down, and a rig up --existing of the rig the daemon starts by itself joins the start-up restore that kept a drained pool agent down. (#4152, #4095, #4140, #4159, #4176)
Also: rig status, rig daemon start and rig terminal say to read a waiting seat with rig capture and, when its ask is in your queue, answer it with rig seat decide-permission; an MCP task create whose id already exists says nothing new was created; a watchdog job OpenRig can't use is logged once, with its repair, not on every pass; rig ask --wake reports a timed-out wake as a timeout and names the seat's own Claude home; rig workflow project --next-owner is honoured for steps that depend on others; the TUI's execution view shows a working slice as working, with what it waits on; agent images refuse a name that resolves to the library root itself, through a link or, on Windows, in another letter case; the bundle install record keeps every entry after a partial line; a Pi seat's usage reads unknown, not current, for an undated sample; rig context source update explains a branch with no upstream; rig workflow run and watch use the sandbox proxy; rig workspace errors print as JSON with --json; rig file copy dir/. copies the folder's contents; faster TUI rows and name completion; help and reference corrections; and steadier tests. (#4177, #4131, #4138, #4128, #3875, #4124, #4143, #4179, #4180, #4189, #4190, #4188, #4193, #4192, #4191, #4038, #4125, #4161, #4157, #4132, #4134, #4135, #4137, #4136, #4139, #4146, #4149, #4156, #4148, #4142, #4169, #4186)
Behaviour that changed
- Seat pools run at the first start for any member with a
poolblock; see "Before you upgrade". (#4152) - A stall finding on claimed work goes to its owner first, and working activity holds claimed work off "stalled" for at most four hours, where before it had no limit. (#4144)
- A task a seat creates without
--return-route, while it holds work for several routes, takes the route of its in-progress work when that's one route, and it never takes the seat's own address. (#4168) - On a Claude seat that uses the opt-in hook bridge, a message waiting when the bridge's waiter expires during your turn is held for the turn's end, up to 15 minutes from the turn's start, instead of typed soon after the expiry; see Known issues. (#4185)
rig ps --nodesexits 3, not 0, when it couldn't read some rig's seats; with--jsonit then prints an object withskippedRigsinstead of the bare list. (#4130)rig sendprintsTyped into <seat>, unconfirmed: …instead ofSent to <seat>when it can't confirm a Claude seat took the message (still exit 0), and OpenRig's own leftover text is submitted before your next message instead of joined to it. (#4121)- A Codex command approval's reason reads
permission_prompt, notselection_prompt, and a send to it is refused withtarget_needs_input. (#4122) - The delivery record for work sent to a seat stopped on purpose, or to a conversation that named itself as its route, starts
awaiting-pickup:instead ofunroutable:. (#4133, #4171) rig doctorcan exit 0 on a machine with one runtime, where it failed for the missing one; a version check that fails for another reason saysversion check failed. (#4182)rig workflow project --next-owner, where the step being closed has more than one successor without a gate, now fails withnext_owner_ambiguous(exit 2) instead of ignoring the flag. (#3875)rig file copy . <dest>copies the current folder's contents, not a folder named after it. (#4193)rig workspace validate --jsonandrig workspace doctor --jsonprint the daemon error as JSON on stdout; the exit code is still 1. (#4188)- A community harness's first input stops at 100 KiB, counted in UTF-8 bytes with OpenRig's own identity text included: a startup file that would pass that, and every file after it, is left out whole with a warning, even the first file. (#3562)
rig forkrefuses, exiting 1, when it can't read the source seat's own launch settings, and names a process limit it couldn't carry. (#4118)- The runner channel's idle stream carries
: keepalivecomment lines; a runner of your own should skip comment lines, as the runner contract says. (#4175)
Known issues
- Setup may skip the optional chat-plugin offer, or leave the plugin installed but inactive in your conversation. If it isn't active, your agent needs to check for the team's replies.
- On a Claude seat that uses the opt-in hook bridge, after you interrupt a turn or an API error ends it, a message for that seat can wait the rest of the 15 minutes counted from that turn's start before it's typed. Your next prompt ends the wait sooner. Those 15 minutes make typing allowed; they aren't an exact delivery time. (#4185)
- In your own Codex conversation, the plugin's chat-wake helpers can briefly overlap, so a task can rarely be submitted twice; helpers left from 0.7.26 can also overlap with new ones through the upgrade. (#4155)
- On Windows,
rig doctorstill reads a runtime that isn't installed as a failed version check, unless your recorded choice leaves that runtime out; record it withrig setup --providers. (#4182) - A Claude seat already running when you upgrade gets the restore Read grants only when it's next launched, including a launch that keeps its conversation. Until then it can still stop at a Read prompt for its own files during a managed restore; answer the prompt.
- If you upgrade from 0.7.24, each seat may get the "Team seats and edges recorded" notice once more at the first start after the upgrade. It's information only.
- If your team's hosts will run a mix of 0.7.26 and 0.7.27, upgrade the host the others report to (the hub) first. In testing, a 0.7.26 hub with a 0.7.27 member raised extra false stall findings for healthy work. In either mixed pairing, work completed at the member still appeared in progress at the hub when the test ended; the result was recorded at the member, but eventual hub settlement was not established.
- A message typed to a Claude Code seat can still occasionally sit unsent in its input box;
rig sendthen says it's unconfirmed. Look withrig capture <seat>and press Enter in that pane. Codex seats aren't covered by the new confirmation, and after a daemon restart OpenRig no longer knows that leftover text is its own, sotransport.draft_delivery: refuseholds later sends as if a person were drafting. - A Codex seat whose permissions turn network off can't reach the OpenRig daemon from its sandbox, so each
rigcall that needs the daemon waits at a Codex approval. Each new approval now reaches your conversation when the seat's work came from it, but of several that Codex queues from one parallel step, only the first does. Answer them in that terminal (rig ps --nodesshows the waiting seat), or give the seat network access with its writes still limited to the project. - A daemon that systemd or launchd runs and a
rig daemon startbeside it can't share the port: run one or the other. Under launchd, a start that exits 69 on a held port is tried again after the job's throttle interval. - A new Claude Code seat without Claude's activity hooks can occasionally show ready before its startup prompt is submitted. If work doesn't start, submit the staged prompt in the seat's terminal.
- A Claude Code seat that runs several
rigcommands in one Bash call, or builds one from shell variables, can stop at an approval prompt; seats are reminded to run one plainrigcommand per call. - Delivery to your own conversation, a team's questions included, still isn't guaranteed. A team seat can still send its result to another seat instead of your conversation. A seat's permission prompt reaches no one when its work has no route back to you: for example, a task a seat creates while it has work in progress for two conversations, or a prompt more than 60 minutes after the seat handed its work on. A task whose route a seat set to its own address sends its prompts to that seat, not to you. In your own Codex conversation, the openrig plugin's hooks must be loaded and trusted. If something seems late, ask your agent to list the tasks at its conversation's address and check the team's progress.
- In Claude Desktop's plain chat, the agent may not mention a team question that's waiting for you, though OpenRig's MCP server tells it to list its open items at the start of every turn; we don't know whether Desktop's chat passes those instructions to its model. Ask it to list your open items.
- If the openrig plugin says it found no
rig, first find the OpenRig you already installed (for example,command -v rigin a terminal whererigworks;npm prefix -gcan name a different install), then setOPENRIG_RIG_BINto that file's full path in the environment the app starts with (for Claude Code, theenvblock in~/.claude/settings.json). The plugin's notice givesnpm install -gfor a machine without OpenRig: don't install another copy because the app can't find it. In Claude Desktop's Code tab, the plugin's MCP connection can stay unavailable after you restart the app or open a new session; check that the plugin's tools are available before you expect tasks and replies to come in. - A
rig sendwhile Claude'sAskUserQuestiondialog is open can become its answer. - After a daemon crash, a message the plugin's hook bridge handed back for typing can still read
sending. It's never sent again; check withrig capture <seat>and send it again if it didn't arrive. - In a seat pool, an agent whose session ended outside the pool (it exited, or someone killed it) still counts toward the pool's
max; on a pool withmax: 1nothing more is added. A stoppedseat-pooljob can't be turned back on from the CLI, and after an uncertain stoprig upcan be refused withrig_not_stopped; runrig down, thenrig upagain. rig stream showcan report an item's whole outcome as unavailable when only its reader actions couldn't be read in time; run it again.- When a Codex seat's
config.tomlorhooks.jsonis a symbolic link, its hooks may need review again, and with a linkedconfig.tomlOpenRig can miss a setting that turns its hooks off. Review hook prompts yourself. - A fresh handover to a community harness that declares
first_inputhasn't been run with Hermes itself, and a very large restore packet hasn't been measured; check the successor's pane after such a handover. - A community harness seat whose agent exited to its shell still reads
runas its lifecycle, and a send to it is refused.rig ps --nodesandrig seat statusaddagent not verifiedonce its startup is over and OpenRig's identity check has seen the shell.rig capture <seat>shows the pane. - Still true from earlier releases: the tmux outage record is in memory, so a restart during a loss records it again; only one earlier restore packet is kept aside while a new one builds; after
rig seat restart --keep-conversationa Codex seat runs without OpenRig's startup guidance (the restart plan says so); and a percentcontext-usage-thresholddoesn't fire for a Pi seat (use a token threshold).
Credits
Thanks to Danny Keane, Dery Ferdika, Evgeny Zotov, JUSHUANGHUI LI, Mike Schwarz, Nash Aschenbath, NIKHIL (Nikhi00718), NIKHILA (Nikhila-Dhevi-R), Samuel Smith, Zach Rodgers and billbenetti, and to adam-nectar, bobbiejaxn, haichongfu and sh4i-yurei, whose reports and traces led to fixes here.