Skip to content

OpenRig 0.7.25

Latest

Choose a tag to compare

@mvschwarz mvschwarz released this 28 Nov 16:12
· 68 commits to main since this release

What changed in OpenRig 0.7.25

This note is for an agent on an install that was just upgraded to 0.7.25.
OpenRig 0.7.25 is a patch for people who work with their OpenRig team from a Claude Code or Codex conversation that is not an OpenRig seat. The team's questions reach that conversation more reliably, and results return automatically to Claude Code conversations using the OpenRig plugin. A message held while a person drafts in a seat is typed once their input is clear. Recovery also says more plainly what a seat needs.

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.25-$(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.25 &&
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 ten database migrations, which apply at the first start. Nine only add tables, columns or indexes: 187_provider_account_refs, 188_provider_account_assignments, 191_queue_transfer_activation, 191_seat_reap_state, 197_session_agent_activity_hooks, 200_context_configured_budget, 200_seat_cold_start_standby_stop, 201_queue_transitions_archive_actor_index and 201_roster_event_index. The tenth, 200_sessions_earlier_handover_origin, records sessions that a handover started before 0.7.9 as launched by OpenRig, so rig seat stop and rig seat restart work on them. Keep the backup, because downgrading a migrated database is not established. Bundled openrig is 0.7.25; openrig-core is 0.1.41. A Codex seat left running across the upgrade keeps its OpenRig hooks when the daemon updates openrig-core beneath it.

Working with your team from your own conversation

Claude Code's waiter and the plugin's MCP server find rig on a login shell's PATH, and the no-rig notice says how to put rig's folder on PATH in your login profile. A Codex conversation gets its wakes, and the wake keeps delivering after a large backlog and over a long session. A conversation whose MCP entry names no seat answers its team's questions as the address its own request was issued, and one whose entry names a seat still hears its own questions. A chat app using rig mcp serve --front-door checks the team every turn and says what a scheduled check needs. The stuck-work sweep no longer reports your conversation as an undelivered address, an answer to a question from a rig the daemon doesn't know closes it, and agents read the rigs skill in parts when a read comes back shortened. (#4032, #4064, #4029, #3971, #4059, #3992, #4063, #3976, #3972, #4025)

Permission questions: a later question stays open when an earlier identical call finishes, a receiving agent judges a person's conditional answer and asks back only when it can't tell, and rig seat status says who a Claude Code seat's own prompts are asked of. (#3990, #3992)

Held messages and delivery

A message held because a person was drafting in a seat's input is typed once the input is clear: once, in order behind earlier held messages from the same sender. A delivery drain or a pending restore still holds it. A message only queued for the hook bridge survives a daemon restart and is delivered once. Sends recognize a wrapped Claude clear hint, and a held message's summary names an empty composer's paste hold. (#3991, #3898, #3988)

Seats, restore and recovery

A Codex seat waiting at Codex's "Hooks need review" menu reads as needing input in rig ps, rig seat status and activity, and its alert gives the command to attach to its terminal; nothing is approved for you. A resumed Claude seat waiting for sign-in reads as needing sign-in, not as a failed resume, and a failed Claude resume suggests updating Claude Code before a fresh start. rig seat restart --keep-conversation no longer refuses because OpenRig's own guidance changed, and a Codex seat whose filesystem envelope grants the project can commit there.

Community presets can declare their own activity hooks (activity_hooks), a fresh handover to one that declares first_input passes its restore packet as the first input, Hermes gets its first startup turn through a query file, and a community seat's fresh launch finds its harness past a newer session that lost it. A never-launched Claude seat keeps its chosen account, a seat joined with rig attach reads as attached, managed Claude restores read packaged role guidance, a fork handover's Claude is proven ready by its own session, and compaction recovery notices reach an agent able to act, or say no one could. (#4052, #4045, #4035, #4009, #4031, #3962, #4051, #4044, #4053, #4036, #4011, #4042, #3996, #3995, #4008, #4034, #4054)

Lighter daemon reads

/api/health reads only the context samples added since its last read. Execution-view projections yield between rows and use indexed lookups for recent meaningful transitions. The roster read behind snapshots is indexed. (#3993, #4062, #4037)

Accounts, queue and views

rig provider account add names a Claude or Codex account by label, and rig provider assign <rig> moves a whole rig's seats of one provider to it through a plan you read first (--apply --plan <digest> carries it out); rig queue transfer activates staged transfers through the daemon. A rig that opts in (policies.seat_scale) can stop a provably idle seat; it's off unless you enable it. A seat's usage shows beside its configured context budget, the TUI's Feed lets you dismiss an informational update, and rig scope slice set and rig scope mission set write the fields the execution view reads. rig terminal open <view> --provider herdr-app reaches a herdr-app window on another machine. Queue and view fixes: the held view leaves out finished rows, rig queue handoff-and-complete records a resolution, model catalogs and kernel status read truly, and reminders say what held them. (#3679, #3917, #3836, #4017, #3994, #3984, #3956, #4014, #4013, #4015, #4012, #4004, #4048, #4046)

Experimental and unsupported, as before: the seat pool brings a drained agent back on its node from the right snapshot, but nothing arms a pool yet. (#3949)

Also: fixes to rig daemon stop and rig daemon start --port 0, rig import without a mode, checks a sandbox refused, older Git, and seat skills under another umask; migrations are found in their folder, and the docs cover 0.7.24's flags. (#3957, #4027, #4021, #4028, #4049, #4058, #3845, #3985, #3986, #4043, #3979, #4022)

Behaviour that changed

  • A team Claude Code seat's own permission prompt no longer falls back to the default person. It asks the person chosen for the seat (rig seat set-permissions-to), else the conversation that handed the seat its running work; with neither, no one is asked, and the prompt stays in the seat's terminal with its usual alert. A runner's permission request still goes to the default person. (#3992)
  • A receiving agent named in agents.operator_session settles the permission requests you answered without a terminal prompt for each, as before 0.7.24. (#3983)
  • The notice a new agent gets when its team is recorded waits in its queue without waking the agent or reaching its terminal, and rig ps, the seat pool and the parked-owner check don't count it as work. (#4023)
  • The parked-owner check reminds the same owner at most once an hour by default; the interval is configurable. (#4033)

Known issues

  • An ordinary message the plugin's hook bridge handed back for typing can still read sending after a daemon crash. It's never sent again; if it didn't arrive, check the seat with rig capture <seat> and send it again.
  • 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.
  • A community harness seat whose agent exited to its shell can still read run in rig ps, while a send to it is refused. rig capture <seat> shows the pane.
  • 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. One plain rig command per call avoids it.
  • After rig seat restart --keep-conversation, a Codex seat runs without OpenRig's startup guidance; the restart plan says so.
  • A team seat can send its final result to the operator instead of your conversation; if a result seems late, ask your agent to check the team's progress.
  • Automatic delivery of the team's work into your own Codex conversation needs OpenRig's plugin hooks loaded and trusted in that conversation. If something doesn't arrive, ask your agent to list the tasks at its conversation's address.
  • A rig send while Claude's AskUserQuestion dialog is open can become its answer.
  • When a Codex seat's config.toml or hooks.json is a symbolic link, hook trust is recorded under the link's target, so hooks may need review again. With a linked config.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-threshold doesn't fire for a Pi seat; use a token threshold.
  • A return route doesn't guarantee a question's arrival.
  • When automatic idle stopping is enabled for a rig (policies.seat_scale), an open "Team seats and edges recorded" notice counts as pending work, so that seat's idle timer does not start until the notice is closed.
  • In a synthetic comparison with 0.7.24, eight queue list/show CLI reads were 16-26% slower, adding about 51-94 ms per call. The measured daemon reads, two view commands and start-to-ready timings did not show the same slowdown. The slowdown is in the CLI's start-up for rig queue commands, not in the daemon.
  • 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 new Claude Code seat can occasionally show ready before its startup prompt is submitted. If work does not start, open the seat's terminal and submit the staged startup prompt; draft-aware delivery may hold messages until the input clears.

Credits

Thanks to Danny Keane, Dery Ferdika, Edward Bowie, Evgeny Zotov, Mike Schwarz, Roberto Campos, billbenetti, w4rc0n and ziadeh.