Skip to content

OpenRig 0.7.26

Latest

Choose a tag to compare

@mvschwarz mvschwarz released this 29 Nov 11:10
· 81 commits to main since this release

What changed in OpenRig 0.7.26

This note is for an agent on an install that was just upgraded to 0.7.26.
OpenRig 0.7.26 is a patch with two aims: a person's first OpenRig team gets to its first useful result in their own Claude Code or Codex conversation, and a busy daemon keeps answering. The openrig plugin can bring team questions and results into your own Claude Code conversation; in Codex, your agent can read results sent to your conversation's address. Some questions and results still fail to reach you; see Known issues. A new Claude Code seat that runs Claude's activity hooks no longer reads ready while its startup prompt sits unsent, and the daemon no longer stays stalled while native runners read their receipts.

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.26-$(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.26 &&
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.

This release adds two database migrations, which apply at the first start. Both only add: 202_network_requester_questions adds three columns for network requests, and 203_outbox_runner_receipts_index adds two indexes, built once at that start (well under a second on a large outbox). Keep the backup, because downgrading a migrated database is not established. Bundled openrig is 0.7.26; openrig-core is 0.1.42.

The default scoped launch no longer inherits the daemon's Slack tokens or its notification target. Host bearer variables named by a readable, parseable hosts.yaml are excluded too. Opting into terminal.inherit_tmux_environment skips that scoped environment, so credential variables already held by tmux can still reach a seat. If a seat runs cross-host rig commands (--host, rig ps --nodes across hosts, the plugin's MCP server) on a bearer variable it got from the daemon, point that host's entry in hosts.yaml at a bearer_file readable by the process sending the command, before you upgrade. Don't put the token itself in the seat's env:: spec values travel with exports and bundles. (#4076, #4093)

Your first team, from your own conversation

The rigs skill walks a first user's journey in order. Its one background wait keeps running beside the plugin's hooks; after the person says yes, their Claude Code installs the plugin itself, and a Codex conversation is given codex resume <id> to trust its hooks. The team's lead hands work over as tasks, the operator asks you through your conversation's own route, and the team's guidance has a new task carry its own route instead of picking up another task's. (#4098, #4108)

rig doctor checks whether rig can be found the way apps started outside a terminal find it (a desktop app, for one) and gives the exact line to add to your shell profile; rig setup lists that warning at its end. Work sent to your conversation's own address reads as conversation, waiting for the conversation to read it, not "No live seat by this name". rig setup --router-line yes|no saves just that answer, and setup explains when its default bind adds this machine's Tailscale address. (#4097, #4119, #4094)

A new Claude Code seat that runs Claude's activity hooks counts its startup prompt as sent only when Claude reports taking it; otherwise it presses Enter again only while the exact prompt is still staged, or says the submission is unverified. (#4096, #4100)

A busy daemon keeps answering

Native runners' receipt reads use an index, so the daemon keeps answering other requests while runners read them. A large backlog of receipts for running runners can still hold it for several seconds when it first arrives. A --json command whose request to the daemon fails says which failure it was. The watchdog and parked-owner passes, and the reads of many Codex homes, let other requests run in between; queue reads that need only a row's existence or state skip the waiting work, and the stuck-work sweep loads the people registry once per pass. rig queue list and rig queue show are faster again: most of 0.7.25's slowdown is gone, though some reads are still slightly slower than on 0.7.24. (#4106, #4065, #4083, #4115, #4092, #4080)

Seats, permissions and restore

A Claude seat in a managed restore no longer stops at a Read prompt for its work and topology files (SPEC.md, NOTES.md, PROGRESS.md, LEARNED.md, its recap and restore maps) once it's launched on 0.7.26 (see Known issues for a seat already running), and the team permission hook no longer asks about read-only forms such as rig compact --state, --plan and --dry-run. A Claude seat's permission rules can include ask beside allow and deny, kept on every kind of launch; a relaunch that keeps the conversation sends the seat's recorded rules, and a rule you cleared stays cleared. rig seat set-startup-text <seat> shows, previews and changes one seat's saved startup text without relaunching it. (#4104, #4073, #3848)

A handoff to a seat where a person is typing no longer arrives about a minute after they press Enter, and a draft-aware Claude seat submits managed compaction requests instead of leaving them pasted. A compaction notice shows one attempt count. A Pi seat moved with rig seat set-cwd resumes the same conversation in its new folder. A community harness seat whose agent has exited reads agent not verified in rig ps --nodes and rig seat status. With automatic idle stop on, an open "Team seats and edges recorded" notice no longer holds a seat's idle timer. A seat's Herdr tile waits for its tmux session after a reboot, and rig export keeps a member's compaction_strategy, mechanic and cold_start. After rig provider switch --token-file, tokenApplied says whether the token was applied as Claude started (null when OpenRig can't tell), and the help says what each value means. (#4041, #4086, #4103, #3902, #4067, #4078, #4088, #4116, #4107, #4105, #4120)

Daemon start, projects and accounts

If rig daemon start ran out of its readiness wait while the daemon was still starting, the next rig daemon start finishes that start instead of refusing. rig crash-cart keeps a live or uncertain start reading unverified, and rig daemon status agrees with it after a start a reboot interrupted. A member's cwd in a rig spec or bundle can name a registered project (cwd: "${project:demo}/services/api"). rig auth sign-out removes one person's Codex login files from one Codex home; it's local cleanup and doesn't revoke anything at OpenAI. (#4081, #4090, #4077, #3954, #4091)

Experimental and unsupported, as before: smaller rig network and seat-pool pieces; nothing arms a pool yet. (#4066, #4068, #4079, #3963, #4069, #4070, #4071)

Also: help and docs corrections, a package without Python caches that declares a dependency it was missing, and steadier tests. (#4074, #4082, #4112, #4113, #4056, #3889, #4110, #4087, #3890, #3891, #4102)

Behaviour that changed

  • The default scoped launch no longer inherits the daemon's Slack tokens, its notification target, or host bearer variables named by a readable, parseable hosts.yaml; see "Before you upgrade". (#4076)
  • A --json command whose request to the daemon fails prints one coded error, {"ok":false,"error":{…}}. When the daemon is already known to be stopped, rig ps --json now prints that error on stdout, where it printed nothing; most other commands print the reason on stderr and exit 1. (#4106)
  • An older OpenRig refuses to launch a seat whose rules include ask; before downgrading, record that seat's rules without ask. (#4073)
  • Installing an agent image refuses a name that would put its folder outside the chosen library root. (#4040)
  • With the web UI turned off, the daemon still accepts terminal WebSocket connections, under the usual terminal token and origin rules. (#4075)

Correction to 0.7.24's notes: after rig provider switch --token-file, OpenRig shows the token's label and whether it was applied. Claude doesn't report which account a token belongs to, so that account isn't verified.

Known issues

  • A Claude seat already running when you upgraded gets the new restore Read grants at its next ordinary launch. Until then, and after a restart that keeps its conversation or a provider switch, 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.
  • A message typed to a Claude Code seat can occasionally stay unsent in its input box while rig send reports it sent. With transport.draft_delivery: refuse, later messages to that seat are then refused as if a person were drafting there. Look with rig capture <seat> and press Enter in that pane.
  • A Codex seat whose permissions turn network off can't reach the OpenRig daemon from its sandbox, so each rig call that needs the daemon waits at a Codex approval in that seat's terminal, and after the first, those approvals may not reach your conversation. Answer them in that terminal (rig ps --nodes shows the waiting seat), or give the seat network access with its writes still limited to the project.
  • A daemon that systemd or launchd runs directly, rather than through rig daemon start, isn't seen by rig daemon stop or rig crash-cart, and a rig daemon start beside an enabled unit can fail on the port the unit holds. Run one or the other, not both.
  • 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 rig commands in one Bash call, or builds one from shell variables, can stop at an approval prompt; seats are reminded to run one plain rig command per call.
  • Delivery to your own conversation, a team's questions included, isn't guaranteed. A team seat can send its result to the operator or another seat instead, including after a message tells it your conversation's address has no session. A seat's permission prompt can reach no one when its work has no return route to your conversation—for example, after work passes between team seats, after a seat hands its work on, or when OpenRig's stuck-work sweep assigns recovery work. This native permission-question route supports Claude Code team seats, not Codex team seats. 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. In one test, a question had been pending for about five minutes, and the reply to the person's next, unrelated message didn't bring it up, though OpenRig's MCP server tells the agent to list its open items at the start of every turn. We don't yet know whether Desktop's chat passes those instructions to the model.
  • A rig send while Claude's AskUserQuestion dialog 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 with rig capture <seat> and send it again if it didn't arrive.
  • 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-conversation, a Codex seat runs without OpenRig's startup guidance; the restart plan says so.
  • 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.
  • A community harness seat whose agent exited to its shell still reads run as its lifecycle, and a send to it is refused. rig ps --nodes and rig seat status now add agent not verified once its startup is over and OpenRig's identity check has seen the shell. rig capture <seat> shows the pane.
  • A percent context-usage-threshold doesn't fire for a Pi seat; use a token threshold.

Credits

Thanks to Dery Ferdika, Evgeny Zotov, Faried Safeyeddine, Mike Schwarz, NIKHIL, Shravan Sumanthanan, billbenetti and dajiaohuang, and to bobbiejaxn for diagnosing the busy-daemon stall (#4101).