Repository navigation
What changed in OpenRig 0.7.29
OpenRig 0.7.29 is a patch for people who run a team of coding agents. It keeps working on three things 0.7.28 left unfinished: a first useful result in the conversation you're working in, a daemon that answers while your team works, and stalled work reaching someone who can move it. In the change's own comparison, without a CPU limit, a busy daemon answered quick reads sooner while it archived old queue history. A parked task's timer can also be cleared without ending its wait, and a seat that should stay down after a restore says so, with its reason. None of the three is finished: Known issues says what can still fall short. Behaviour that changed and Known issues matter most to an agent on an install that was just upgraded to 0.7.29.
Before you upgrade
Upgrading stops the daemon, backs up its database, installs the patch and starts the daemon again. Your agents keep running, so don't use rig down for it. The exact commands are under "For the agent doing the upgrade" below. The first start applies eight database migrations. They add tables, rebuild an existing table while preserving its rows, and mark every seat that has already had a session as started, so existing seats behave as before. Going back to 0.7.28 on a migrated database isn't established, so keep the backup. If you move a host's whole queue to another machine, upgrade the destination first: an archive that holds a live task and a record that a task with the same id was deleted now uses a format an older importer refuses. (#4363)
What gets better
A daemon that answers while your team works. The queue's retention archive now works in short steps with a pause between them, so a daemon draining a large backlog of old queue history answers quick reads sooner. In the change's own comparison, on a daemon started over a large test history, the median health-check wait while archiving ran fell from about 35 ms to about 8 ms, and the median rig ps wait from about 155 ms to about 95 ms. Under a tight CPU limit there was no clear gain. Our test comparing 0.7.29 with 0.7.28 under load couldn't tell whether this release is faster or slower, because the background load differed between the runs. (#4413)
Stalled work reaching someone who can move it. rig queue clear-timer <task> clears a parked task's own wake timer while the task stays parked, so a task waiting days on an outside event stops waking its owner without losing its blocker or history. Work that comes from a connected OpenRig through rig network now keeps waiting on its first question when a second question to its requester is refused, and goes back as it was when a question is refused outright. It also tells the seat which id the requester knows it by, and closes with a note instead of reading "Not picked up yet". rig network peers shows why a peer is unavailable. In Slack, a question that comes back to you unanswered after a timer becomes a short reminder in the original thread (see Behaviour that changed). (#4353, #4376, #4392, #4396, #4388, #4411)
A first useful result in the conversation you're working in. The rigs skill now tells your agent to offer the openrig plugin, which brings your team's replies into the conversation you're working in, at one defined point (after your other setup questions, in a message of its own), and after you say yes, to keep the install within reach until it's done. Known issues says how that went in our tests. Setup and the skill name each change OpenRig makes to Codex's shared config before Codex seats first start. On a Codex seat, when OpenRig's own earlier message is left unsent in the input box, OpenRig now submits it on its own before typing the next one, as it already did on Claude Code seats, so the two arrive as separate turns. A launch whose typed command the pane's shell never ran now says so and quotes the pane's last lines. (#4298, #4348, #4354, #4350)
Restore and launch. You can stop a seat before it ever starts. Restore, rig up, rig start and keep_alive then leave it down until you start it with rig launch <rig> <seat>. After a restore, a seat that stays down is shown as kept down, with its reason, by restore's check, preview and status, by rig start's summary and in the TUI's rig and host views. That covers a seat-pool agent the pool drained, and a seat stopped before its first start. A managed restore can read the context packs and project file its own guidance names without stopping at a Read prompt. A detached community-harness seat restarts with its saved harness, and a launch with no runtime adapter rolls back instead of leaving a bare shell. (#4334, #4333, #4425, #4374, #4391, #4408)
Also new.
rig seat restart <seat> --keep-conversationnow restarts a Claude Code seat in place, on the version its installation selects, keeping its conversation.--planshows what it would do.rig exec historylists a rig'srig execruns, andrig exec run <task> --from-run <runId>takes another turn in a finished run's recorded session.rig seat set-launch-wrapper <seat> --argv-file <path> --reason <text>sets an existing seat's launch wrapper for its next launch, and--clearremoves it.rig resource linkkeeps a rig's catalog of outside links against a task or workflow.rig queue list --updated-since <time>filters by update time.rig seat statusshows the compactions reported for each agent that has held the seat, the current one first.- Programs that use the daemon's HTTP API can send to a seat on another registered machine, read its reply, and read that machine's queue. This works only with a host registered over HTTP. It adds no screen and no interactive terminal, and changes no default.
(#4258, #4351, #3851, #4297, #4311, #4230, #4397, #4389)
There are also fixes across the TUI, rig walk, rig exec, rig resource list, workflow traces, remote rig auth, usage readings, plugin lookups and transcript reads, and clearer docs. Every pull request in this release is listed in the comparison with 0.7.28.
Behaviour that changed
-
rig seat restart --keep-conversationnow restarts Claude Code seats, which 0.7.28 refused. Under the default team permission policy,rig seat restart --plancounts as a read. (#4258) -
rig seat stopon a seat that has never started now records the stop instead of returningno_session, and the seat stays down until you launch it. (#4334) -
Every managed Claude Code launch can now read these without a prompt:
- the Markdown in OpenRig's shipped context packs, your context root and the workspace's
.openrig/context-packs; - the workspace's
project.yamlfiles.
Your own deny and ask rules still take precedence. A seat that's already running gets this at its next launch. (#4374)
- the Markdown in OpenRig's shipped context packs, your context root and the workspace's
-
When OpenRig's own earlier message is still unsent in a Claude Code or Codex seat's input box, and pressing Enter again doesn't submit it, the next send isn't typed onto it. Instead it returns
target_needs_inputwithsent: false. (#4354) -
On a Codex seat where you turned off one of OpenRig's activity hooks, the matching relay in the openrig-core plugin is now turned off too, starting at the upgrade. (#4355)
-
Slack (#4411):
- When a timer brings the same unanswered question back to the same person, Slack gets a short reminder in the original thread, and the earlier message reads "Asked again".
- The first repeat of a question posted before the upgrade still comes in full.
- At the upgrade, older messages with that history are edited once, without a notification.
- If an agent closes an eligible question or update before Slack posts it, Slack can still show a closed notice. It names who closed it, shows the recorded resolution, and says no answer is needed. This covers closes from the last hour, and a notice already answered or delivered isn't posted again.
- A settled message can show its recorded resolution.
-
Draining old queue history takes longer, and a large backlog can continue on later daily sweeps. (#4413)
-
A transcript's tail and search results are redacted like the full transcript: text shaped like a credential comes back as
[REDACTED]. (#4373) -
The daemon no longer requests a plugin download when it starts. Local plugin copies and skill installs are unchanged. (#4348)
-
Model checks (#4010):
- A Claude Code seat pinned to
defaultoropusplanshows its model as unchecked instead of diverged. - A seat pinned to
bestis checked like one pinned toopus.
- A Claude Code seat pinned to
-
A seat's tmux session keeps its latest launch's
OPENRIG_SEAT_LAUNCH_DIR,OPENRIG_SEAT_PROJECT_DIRandOPENRIG_NODE, so new panes stop inheriting an earlier launch's folder. (#4274) -
Under the default team permission policy, a team's Claude Code seats can run
rig seat set-launch-wrapperwithout asking you, as they can otherrigcommands. A wrapper runs at that seat's next launch. (#3851) -
The daemon's own entry point answers
--helpand--versionwithout starting, and warns about other arguments. (#4338)
Known issues
-
The chat plugin: across five test conversations with a Claude agent (mostly Claude Haiku) and a simulated person, the agent offered the plugin in three, and never at the defined point in a message of its own: once late, in its end-of-work summary, once alongside another setup question, and once ahead of its point. In the other two, the person declined before any offer, or no offer was made. The plugin was installed in two conversations, and in one of them the team's questions then arrived through it. With Codex as the agent, the offer wasn't made in any of three test conversations; once the plugin was installed, a separate test showed it bringing the team's question and result into a Codex conversation. Each conversation ran once. If the plugin isn't active, your agent needs to check for the team's replies. In a Codex conversation without an active plugin, the team's questions reach you only while your agent is working on a turn, so a later question waits for your next message.
-
Codex hook trust: 0.7.29 keeps 0.7.28's single Codex trust entry per OpenRig activity hook, keyed by the config file's resolved path, or its plain path when it can't be resolved.
- Upgrading from 0.7.28 with the same paths and folder layout adds no other spellings of that entry. Other parts of the upgrade can still write to Codex's config.
- If you turned an OpenRig hook off under a different spelling of its path, that setting stays in your file but OpenRig doesn't use it when it writes that trust entry, and Codex may ask you to review the hooks again.
- Turning off OpenRig's activity hooks doesn't stop OpenRig from trusting its team plugin's hooks when it installs, upgrades or starts that plugin. To prevent that, run
rig config set runtime.codex.hooks_enabled false, which doesn't remove trust already given.
-
Kept-down seats after a restore: this was checked on one test team for each case, including a rig whose pool agents were all drained. We did not exercise the start action of
rig start, a cold start, orkeep_alivefor these cases. The TUI's local-host table and the web view's restore button haven't been checked. A pool agent that isn't drained can still need a decision about resuming its conversation or starting fresh. Read the reason shown before choosing how to start it. -
Sending to another machine uses the credential registered for that host. A machine whose terminal needs a different credential can't be sent to or captured this way, though its saved transcript tail can still be read. The tail comes from the saved transcript, so it may not show the newest output, and searching it stays local. In our tests the agents on the other machine were stand-ins, not real models.
-
Relaunching a seat after a fresh launch: a seat that was started fresh, then stopped and launched again, can come back in the conversation the fresh launch replaced, while reporting that it resumed. Your latest exchange is then missing from what the seat continues with. We measured this with a Codex seat, once on 0.7.29 and once on 0.7.28, so it isn't new in this release. In that test the newer conversation's record remained.
-
rig seat set-launch-wrapperhasn't been run with a real wrapper at launch in our tests, so try it on a test seat first. -
Hosts that pull their tasks:
- When
rig host editends pull delivery to a host, it doesn't say how many tasks still wait for it or how to restore delivery. - When a
rig queue createto another host loses its answer, check that host before you retry, because a retry may not be recognized as the same task.
- When
-
Carried from 0.7.28: the other known issues listed for 0.7.28, such as Codex config files that are symbolic links and hosts running a mix of versions (upgrade the host the others report to first), still apply. This release changes two of them. Keep their workarounds:
- A message to a seat can sit unsent in its input box. OpenRig now submits its own earlier message before typing the next one on Codex seats too, and when Enter still doesn't submit it, the next send returns
target_needs_inputinstead of typing onto it. Our tests confirmed this on Codex seats, with a stand-in agent and one run per case: OpenRig's earlier message and the next one arrived as separate inputs, and when Enter didn't submit, the next send returnedtarget_needs_inputand left a draft in the box untouched. On Claude Code seats our tests measured the same results as on 0.7.28. If a send says it's unconfirmed, look withrig capture <seat>and press Enter in that pane. - A managed restore can stop at a Read prompt when the seat opens a file its restore grants don't cover. The grants now include the context packs and project file the restore's own guidance names, from a seat's next launch. Our tests of 0.7.29 haven't confirmed this change yet. If a restore still stops at a Read prompt, answer it.
See the 0.7.28 notes.
- A message to a seat can sit unsent in its input box. OpenRig now submits its own earlier message before typing the next one on Codex seats too, and when Enter still doesn't submit it, the next send returns
For the agent doing the upgrade
Run the upgrade in the environment that owns the daemon, keeping the same OPENRIG_HOME (legacy RIGGED_HOME) if it's set. 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 database path. Then 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.
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.29-$(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.29 &&
rig daemon start --db "$DB"A failure stops the commands after it, so 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 the daemon, stop and start it through that manager instead, so a Restart=always or KeepAlive setting doesn't start the old daemon again, and don't run rig daemon start beside it.
- First check that stopping the unit keeps the seats running: systemd
KillMode=process, or launchdAbandonProcessGroupset to true. Without that, stopping it ends every seat. - Back up the database its environment names (
OPENRIG_DB, default$OPENRIG_HOME/openrig.sqlite), and its-walfile if there is one. - Run
npm install -g @openrig/cli@0.7.29, and start the unit again.
A daemon from 0.7.26 or earlier that a manager runs doesn't record itself, so rig daemon stop may refuse with Daemon state is missing. The openrig-upgrade skill walks these steps. The bundled openrig plugin is 0.7.29, and openrig-core is 0.1.47.
Credits
Thanks to Danny Keane, Dery Ferdika, Devulapalli Naga Sri Vaishnavi, Edward Bowie (Kayhusk), James B. Shields (Aummadour), JUSHUANGHUI LI, Kevin (kevinb361), Leon.C (zichen0116), Mike Schwarz, Paul Eipper (lkraider), phoenixai (deveryman), PohpeDJH, Roberto Campos, TheoCui (TheoCui-Saulcy), Zach Rodgers and ziadeh. Thanks also to Mark Thompson (sh4i-yurei) and Matthew Tapper, whose reports led to fixes here.