Repository navigation
OpenRig 0.7.23
OpenRig 0.7.23 is a patch for teams that reach past one computer, and for recovery that says what it did. A seat connected to a hub can send requests to its peers there and get the answers back as local work. Codex seats explain sign-in and restart in place on a Mac. rig start --last names any rig it leaves out.
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.23-$(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.23 &&
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 twelve additive database migrations (179_remote_control_observations through 194_workflow_run_title), which apply at the first start; coming from 0.7.19 or earlier, 0.7.20's three apply too. Keep the backup, because downgrading a migrated database is not established. Bundled openrig is 0.7.23; openrig-core is 0.1.37.
Requests between connected teams
A seat connected to a hub can list its peers there with rig network peers <binding-or-seat>, and send one a request with rig network request <binding-or-seat> <peer> --id <request-id> --body-file <path>. The daemon reaches the hub as the seat's participant, so the agent never holds that token, and the answer comes back to a local queue item. A provider-managed binding can rotate its credential without changing identity and finish its removal after a local disconnect, retrying lost replies after a restart. Grant keys accept an opaque prefixed principal from the issuing service, and a new connection says when setup is still finishing. Like the rest of rig network, this is experimental and unsupported; use it at your own risk. (#3686, #3816, #3740, #3725, #3754)
Codex and Claude seats
A Codex seat at the newer sign-in chooser reports that it needs signing in and tells the person to open its terminal. On a Mac, rig seat restart <codex-seat> --keep-conversation and rig provider switch now restart a Codex seat in place on its own conversation. A status line the person chose is read as the status line, a seat moved with rig seat set-runtime launches on its new runtime, and an idle Codex seat's permission alert reads its pane. (#3808, #3840, #3803, #3807, #3713)
For Claude, a foreground process alone no longer proves a resumed conversation, and the trust dialog is read from its first frame. A paste submits when a notice shares the paste-hint row, and a wrapped launch names a conflicting claude function or alias. Auth and billing stop failures raise attention with typed reasons, finished-turn prose above an idle prompt reads idle, and a seat's self-report follows it after /rename. (#3712, #3518, #3724, #3747, #3596, #3545, #3605)
Restore and recovery
rig start --last names every rig it leaves out, and why. A restore that rolls a resume back tells the seat's owner, a recreated seat's checks and reports follow its live node, and a seat's continuity notice stays armed across rig up --existing and rig seat launch --fresh. Stopped seats survive unreadable tmux probes, a fresh launch reopens the terminal server over a stale socket, and the PreCompact hook builds a packet from the last 256 MB of a larger transcript and says what it covers. The docs show how to keep tmux experiments off the team's server and bring seats back if one ends it. (#3823, #3714, #3813, #3706, #3588, #3715, #3471, #3798, #3786, #3589, #3718, #3832, #3796)
Queue and workflow
rig queue relay-answer lets an agent pass on a person's answer to the agent that asked; it's always shown as relayed. With cold_start: true on a pod or member, queued work for a dormant seat starts just that seat. Queue transfer exports openrig.queue-transfer/v2 and stages an import for review. Run titles show on queue packets, workflow steps take an optional label, and same-role handoffs get advice and next_owner: same_as_previous. rig queue list says when it cut a page. A usage-limit blocker releases its dependents at its wake time, a draft-held wake retries when the seat goes idle, and refused creates are recorded in the event log. (#3539, #3173, #3762, #3776, #3846, #3812, #3764, #3595, #3711, #3563, #3580, #3790, #3773, #3802, #3770, #3818)
Seat pools and opt-in controls
The seat pool's add, whole-rig hold and dispatch paths are in place, but nothing arms a pool yet (see Known issues). Opt-in keep_alive relaunches a seat that falls. Also opt-in: seat grouping beneath openrigseats.slice, a per-rig onboarding pack override, a trace of state-changing requests, and daemon.start_readiness_wait_seconds, with docs for running the daemon under a supervisor. (#3810, #3771, #3494, #3495, #3424, #3568, #3789, #3720, #3660, #3661)
Terminal, TUI, Slack and tools
- Terminal: a browser viewer can learn the pane's size with
?geometry=1, Herdr views open once and keep agents at their own size, and undelivered WebSocket input is reported. (#3775, #3801, #3752) - TUI and Slack: a Feed row jumps to the seat that raised it, the reply composer follows the caret, and Slack links HTTPS evidence and bounds status text. (#3769, #3763, #3684, b712401)
- MCP and ACP: endpoints carry instructions and static resources and resolve callers through an embedding authority, and explicit ACP agent commands run. (#3805, #3787, #3806, eebad65)
- Faster reads: a request's related rows, delegated-decision and lineage reads, the fleet rollup, slice listings and
rig psdo less work. (#3730, #3734, #3735, #3736, #3700, #3733) - Install and data: a fresh install pins a compatible
@hono/node-ws, the CLI reports the Node 22.14 minimum consistently, migrations record what they applied, transcripts and the event stream recover from partial lines and rollbacks, the VPS bootstrap verifies its installers, and a daemon start archives a reservation from this boot once its launcher and child are both gone. (#3742, #3822, #3384, #3826, #3824, #3795, #3658) - Also:
rig scope slice create --execution-depends-onwrites the build-order edges readiness reads, held messages retire without a seat identity, terminal mission views resolve through the project catalog, progress files ignore commented-out headings, and the docs clarify daemon bearer-token boundaries. (#3618, #3729, #3613, #3522, #3745)
Behaviour that changed
rig start --lastlists the rigs it leaves out (leftOutin--json) with each one's reason; left-out rigs don't change its exit code. (#3823)- Adding a person whose id a seat already uses prints a warning; the person is still added. (#3690)
Known issues
- After a reboot, a rig with a seat that has neither saved startup context nor a resume token is left out of
rig start --last; the output names it and why. - A seat whose tmux session is gone can read as running if its pane id is reused, and a slow restore of a seat's original conversation can report the wrong outcome. Check the seat's screen with
rig capture. - A
rig sendwhile Claude'sAskUserQuestiondialog is open can become its answer. - The fixes for a paste left unsubmitted when a Claude notice shares the row under the input (#3724) and for an idle Codex seat reading as waiting on a permission (#3713) haven't been confirmed on an installed release yet. If you still see either, check the seat's screen with
rig capture. - When a Codex seat's
config.tomlorhooks.jsonis a symbolic link, hook trust is recorded under the link's target, so hooks may need review again. With a linkedconfig.toml, OpenRig can miss a setting that turns its hooks off and set them up anyway. Review hook prompts yourself. - 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.
- A percent
context-usage-thresholddoesn't fire for a Pi seat; use a token threshold. - A return route doesn't guarantee a question's arrival.
- Nothing arms a seat pool yet: its storage, add and dispatch paths ship, but a
pool:block starts no agents.
Credits
Thanks to Dery Ferdika, Devulapalli Naga Sri Vaishnavi, Edward Bowie, Evgeny Zotov, Leon.C, Mike Schwarz, NIKHILA, Roberto Campos, Wu Shuwen (dajiaohuang), billbenetti, bobbiejaxn, and w4rc0n. Their contributions also run the Linux seat-environment check on every merge to main and pin the two redaction pattern lists to each other.