Skip to content

Orca ​

Host ticket worktrees and agent terminals in Orca. The conductor still owns dispatch, claims and ticket status. See Use your client for the first action and everyday use.

AI first ​

text
Read https://bakers.build/addons/orca.
Use Orca as this project’s client. Check its local CLI/runtime, propose
replacing the current client’s paired addon entry, and verify it with bakers
conductor check. Preserve environment hooks and explain the single-user boundary.

The reference below explains the commands and configuration changes.

Setup ​

Use Orca 1.4 or later, enable its orca CLI in settings, and make it available on the conductor's PATH. Start the desktop app or orca serve, then:

sh
orca status

The local runtime must answer. bakers.build does not start Orca itself. Orca and the conductor must run on the same machine. Orca has no multi-user accounts/roles and keeps credentials on its host; a shared team Orca is unsupported.

Configuration ​

Replace the herdr entry in .bakers/project.config.js with one Orca entry, supplying both executor and workspace:

js
addons: [
  { use: '@bakers-build/addon-orca', with: { worktree_dir: '.bakers-worktrees' } },
],

No with options are required. Options owns defaults, terminal labels, adoption/launch timeouts and cleanup behavior.

Options ​

Generated from the options.schema.json of @bakers-build/addon-orca; change the schema, not this table.

OptionTypeDefaultRequiredEffect
commandstringclaudeFallback agent command when the agent addons supply none.
openobject—Overview terminal of a fresh worktree; when omitted it runs bakers ui --ticket {identifier} titled {identifier} · {title}, {} opens none. Templates expand {identifier}, {branch}, {title}, {worktree_path}.
open.commandstringbakers ui --ticket {identifier}Command of the overview terminal.
open.titlestring{identifier} · {title}Title of the overview terminal.
rootstring—Main clone path; derived from Git's common directory when omitted.
defaultobject—Agent terminal settings for every run; a states entry beats it.
default.tab_labelstring{identifier} · {state}Agent terminal title; must contain {identifier}, also expands {state}, {title}, {title_slug}, {run_uuid}, {workspace_path}. #<run id> is always appended.
statesobject—Agent terminal settings per workflow state.
states.<state>object—Agent terminal settings of a run.
states.<state>.tab_labelstring{identifier} · {state}Agent terminal title; must contain {identifier}, also expands {state}, {title}, {title_slug}, {run_uuid}, {workspace_path}. #<run id> is always appended.
launch_watchobject—Launch-watch windows: how long a start may take and how soon an agent exit counts as a failed launch.
launch_watch.timeout_msinteger4000Window after start in which an immediate agent exit fails the launch; 0 skips it.
launch_watch.start_timeout_msinteger60000How long the launch waits for the wrapper to report the start.
launch_watch.poll_msinteger50Polling interval of both windows.
adopt_timeout_msinteger35000How long to wait for Orca to adopt a new worktree.
worktree_dirstring.bakers-worktreesDirectory for new worktrees, relative to root or absolute.
base_branchstring—Base ref for new branches; when omitted, the remote-tracking branch of the checked-out branch.
auto_setup_mergebooleanfalsefalse sets Git's branch.autoSetupMerge=false in the root repository, so run branches have no upstream and push with push.default=current (see workspace-git); true leaves Git alone.

auto_setup_merge behaves as in workspace-git.

The agent terminal title is set as the terminal's manual name (orca terminal rename). The agent can still change the title shown for the terminal itself; the run's terminal is found again by the renamed tab title in the Orca app, or by the terminal title with orca serve.

Worktree lifecycle ​

Git creates the exact ticket branch; Orca adopts the worktree after the addon registers the repository. The executor registers it too, so it adopts a worktree from any workspace (Conductor slots). stopRun does nothing; cleanup closes the terminal, including after an Orca restart. Removal uses orca worktree rm, falling back to Git when Orca does not know the worktree.

Verify ​

Run bakers conductor check, then a small ticket. The Git worktree should appear in Orca and the agent should run in its terminal. Adoption waits up to 35 seconds by default. An unreachable-runtime error requires starting Orca and retrying dispatch.

Package source in a checkout: bakers-cli/addons/orca.