Skip to content

OpenRig 0.7.28

Choose a tag to compare

@mvschwarz mvschwarz released this 04 Dec 06:49
· 120 commits to main since this release

What changed in OpenRig 0.7.28

OpenRig 0.7.28 is a patch for people who run a team of coding agents. When you hand work to a team from the conversation you're working in, OpenRig now tells you when that work has no way back to you, and how to give it one. The CLI now sends a request again when its connection failed before the request could reach the daemon, such as a connection refused while the daemon restarts, and more stalled work reaches a seat that can act on it. None of this 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.28.

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 and columns, and rebuild the existing runtime-switch table in place; the queue-origin and pull-receipt tables are new in this release, so a 0.7.27 database gets them created, not rebuilt. Going back to 0.7.27 on a migrated database isn't established, so keep the backup. If you run a gateway relay bridge that accepts only a fixed list of keys, update it before the daemon: relay notifications and questions now also carry qitemId and notificationKey. (#4262)

What gets better

Handing work to a team. A plain rig send to a team seat creates no task and no route back, so the seat can't send you its questions. Its result now says so, and gives the rig queue create --destination <seat> --return-route auto command that hands over the same goal with a route back. The note refuses nothing and adds no wake of its own; Known issues says what isn't established. After setup, the rigs skill's instructions now tell your coding agent to offer the openrig plugin, which brings the team's replies into the conversation you're working in, as a separate question, and to wait for your answer. In Claude Code 2.1.275 or later, installing it is one /plugin install command you approve. The same instructions tell your agent to promise automatic replies only when the app's wait or the plugin can actually bring them. An app started outside a terminal, such as Claude Desktop's Code tab, can now find an OpenRig that isn't on its PATH. (#4254, #4261, #4242, #4259, #4282, #4207, #4217)

When the daemon is busy. Regular database checkpoints move to a worker thread. The daemon can still checkpoint on its main thread when the database's write-ahead log reaches its size cap or the worker is unavailable, and heavy disk use can still delay requests. Database calls of 250 ms or more are logged by kind, without their SQL or values. The CLI retries a request that can't have reached the daemon (see Behaviour that changed). Several background checks read less, and rig send, rig queue list and rig queue show load less at start. (#3958, #4018, #4178, #3516, #4279, #4089, #4211)

Getting stalled work to its owner. A task stays claimed while its owner prepares for managed compaction, up to the existing 20-minute limit. Reminders and backlog notices no longer go to a seat that runs as a plain terminal, and a note you add to another seat's open task says that it doesn't wake that seat, and how to reach it. A Claude fork handover reports complete only once Claude shows its prompt. A seat declared restore_policy: relaunch_fresh stays fresh, and an in-place Codex restart keeps the same agent in the seat, and Codex's working folder. A message to a seat left in tmux copy mode goes through unless someone used that terminal in the last few seconds. (#4267, #4215, #4216, #4221, #3751, #4234, #4268, #4264, #4276)

Also new. rig queue create --blocked-on <blocker> --wake-after <duration> creates a task that already waits on a named blocker, with a timer that wakes it. rig specs refresh copies a spec added with rig specs add again from its source. A host no team daemon can reach, such as a laptop, can opt in to pull its queue tasks over SSH. rig auth save takes --codex-home and --host, to save a Codex login in a named home or on another registered machine. A RigSpec member can set runtime: omp-tui for an Oh My Pi seat you watch and steer in OMP's own screen. It's new in 0.7.28 and hasn't been tested with OMP itself yet, so try it on a test rig first. (#3485, #4226, #4235, #4321, #4344, #3496)

There are also fixes across the TUI, Herdr and Orca terminals, Slack threads, Claude model and usage checks, and help and setup guidance. The changelog lists every change with its pull request.

Behaviour that changed

  • The CLI retries a daemon request that can't have reached the daemon, and a read whose network route to the daemon was unreachable, by default: up to 6 attempts including the first, each after a random wait between zero and a limit that starts at 1 second and doubles up to 30 seconds, always inside the call's own time limit. A write that may have reached the daemon isn't sent again. A command that finds no daemon when it starts still says the daemon isn't running. Attempts and waits share the call's one time limit: once it runs out, the call stops instead of starting a new retry window. Turn it off with rig config set transport.retry_enabled false. (#4178)
  • A config file that isn't valid JSON now makes every rig command that calls the daemon fail, even while the daemon is running, and the error names the file. Fix the JSON, or run rig config reset, which deletes the file so the settings in it return to their defaults. A config file that still sets the removed context.packsRoot (the CLI key context.packs_root), or an environment that sets OPENRIG_CONTEXT_PACKS_ROOT, fails the same way. Change context.packsRoot to context.root by editing the file yourself, since rig config set reads the file first and refuses, and rename the variable to OPENRIG_CONTEXT_ROOT; rig config reset doesn't unset an environment variable. (#4178)
  • Managed Claude launches no longer write OpenRig's activity hooks and context collection into your project's .claude/settings.local.json, and a later launch removes the entries earlier ones wrote there. The context collector moves from <project>/.openrig/context-collector.cjs to OpenRig's own state folder: if a status-line wrapper of yours calls the old path, update it. (#3916, #3893)
  • rig auth save <profile> --host <id> without --codex-home saves in that machine's default Codex home (its CODEX_HOME, else ~/.codex), the one rig auth status --host <id> shows. An explicit --codex-home still wins, and rig auth switch --host still needs one. (#4321, #4344)
  • rig seat status for an existing runtime: omp seat now shows OMP's own approval modes (always-ask, yolo) instead of floor, full_bypass or acceptEdits. What the seat is allowed to do is unchanged. If its spec sets an effort, OMP now launches with --thinking at that level, which 0.7.27 didn't send to OMP. (#3496)
  • A Claude fork handover whose source conversation is missing now fails, where it reported success. (#3751)
  • When your team asks several questions at once, the words you type answer one question, not the whole set. Words that can't be placed under a question go back to the asker. (#4296)
  • A rig's account-assignment plan is ordered by seat address, so a plan shown by an earlier daemon may be refused at apply as changed. Review it again; nothing is switched then. (#4214)
  • HTTP wait targets in a rig's services use Node's client instead of curl, so certificate trust and proxy settings follow Node's. (#4283)
  • Retention archiving stops when the archive table lacks the writer_runtime column the live table has, and says to apply migrations first. rig queue export now reads a store that hasn't run the newest migrations, leaving out their new optional columns, and refuses only a store missing a required column, naming the store's latest migration and the missing columns. (#4287, #4289)
  • The changelog lists the rest, including the new files OpenRig writes and a changed exit code.

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. In a Codex conversation, setup didn't make the offer in our tests, and without an active plugin the team's questions reach you only while your agent is working on a turn: nothing wakes the conversation between turns, so a later question waits for your next message.
  • A plain rig send's new note reaches the CLI and MCP results, but the agents we tested chose a routed task without seeing it, so whether your agent follows it isn't established. A seat on another host still can't send its questions back to your conversation. An older CLI sending through --host still gets the local rig queue create example. (#4254, #4261)
  • Delivery to the conversation you're working in still isn't guaranteed: a team seat can send its result to another seat instead, and a seat's permission prompt may not reach you when its work has no route back to you. In our tests, when a team's lead passed work to its seats with a plain rig send, their permission prompts reached OpenRig's operator agent instead of your conversation. If something seems late, ask your agent to list the tasks at its conversation's address.
  • If your hosts will run a mix of 0.7.27 and 0.7.28, upgrade the host the others report to first. How a mix of versions reports finished and stalled work isn't established in either direction: in earlier testing, an older host that others report to flagged healthy work as stalled, and work finished on a newer host could still show as in progress there.
  • A daemon whose disk is saturated by another process can still pause: regular checkpoints moved to a worker, but each write still waits on the disk. (#3958)
  • A message typed to a Claude Code seat can occasionally sit unsent in its input box, and rig send then says it's unconfirmed. Look with rig capture <seat>, and press Enter in that pane.
  • When a Codex seat's config.toml or hooks.json is a symbolic link, its hooks may need review again, and with a linked config.toml OpenRig can miss a setting that turns its hooks off. Review hook prompts yourself.
  • A fresh handover to a community harness that declares first_input hasn'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.
  • In the Codex conversation you're working in, the plugin's chat-wake helpers can briefly overlap, so a task can rarely be submitted twice; helpers left from the earlier version can also overlap with new ones through the upgrade. (#4155)
  • If you upgrade from 0.7.26 or earlier, a Claude seat already running 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. On any version, a managed restore can also stop at a Read prompt when the seat opens a file its restore grants don't cover, such as the installed CLI's context-packs/world-public/start-here.md after rig context profile world-public --situation post-compaction, or the workspace's project.yaml; answer it the same way.
  • On a Codex seat, if the Enter OpenRig presses on a typed message is lost, the next message OpenRig types to that seat (a send or a task handoff) can be added to the stuck one and reach Codex as a single turn, instead of after it. Nothing is refused, and the delivery result does not confirm it. (#14)
  • After rig up restores a rig with a seat pool, agents the pool drained are correctly kept down, but the normal output doesn't name them, and rig up --plan can say they'll resume. rig ps --nodes still lists them, but not as drained.
  • Turning off individual OpenRig activity hooks in a Codex home (enabled = false) doesn't stop OpenRig from trusting its team plugin's own hooks there when it installs, upgrades or starts that plugin. To keep OpenRig from adding that trust, turn off OpenRig's Codex hooks with rig config set runtime.codex.hooks_enabled false; that doesn't remove trust already given. In our tests, after choosing Trust all in Codex's hook review, the plugin's hooks ran; whether they run without that approval hasn't been tested.
  • The changelog has the full list, including limits carried from earlier releases.

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, and 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.28-$(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.28 &&
rig daemon start --db "$DB"

A failure stops the commands after it; 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 launchd AbandonProcessGroup set 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 -wal file if there is one, run npm install -g @openrig/cli@0.7.28, 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.28, and openrig-core is 0.1.44.

Credits

Thanks to Aniruddha Adak, billbenetti, brunobenetti-seazone, cmgramse, Danny Keane, Dery Ferdika, Devulapalli Naga Sri Vaishnavi, Edward Bowie (Kayhusk), Evgeny Zotov, Faried Safeyeddine, Hyein Cho, James B. Shields (Aummadour), Jung Jin Hyuk (salbang), JUSHUANGHUI LI, Leon.C (zichen0116), Mike Schwarz, NIKHILA (Nikhila-Dhevi-R), Patrick Baron, phoenixai (deveryman), Roberto Campos, Shravan Sumanthanan, TlME, tomioe, Zach Rodgers, ziadeh and 弹铁蛋 (NieZhuZhu), and to Daniel Svennberg (dansv59), whose diagnosis led to a fix here.