Files
archived-orca/skills
Brennan Benson 49434fe880 fix(orchestration): send /orchestration and parallel branch work to Orca workers (#43725)
* fix(orchestration): route explicit /orchestration and parallel branch work to Orca workers

The skill description told agents to prefer their own subagents for long or parallel
work, so an explicit /orchestration request for agents in separate worktrees ran as
built-in subagents. Name /orchestration and per-branch parallel code work as Orca
worker cases, and keep built-in subagents for read-only searches and research.

* fix(orchestration): start independent workers in parallel

Each worker-start waits until its agent is ready, so a coordinator that ran them one
after another started the last of four workers about 28 s after the first.

* fix(orchestration): trigger parallel worker routing on what the user asks for

Name the parallel case as the user asking to split, parallelize or fan out code work
across agents, worktrees or branches, rather than letting the agent decide that any
per-branch change needs its own session, and drop the negative 'never substitute' rule
from the description; the skill body already carries it.

* fix(orchestration): make parallel worker starts safe and scope the routing text

Parallel new-child worker starts create worktrees at the same time, and each writes the
repo's shared .git/config; git fails at once when another write holds config.lock, so a
branch could silently lose its recorded base. Retry those writes on lock contention with
the existing helper. Narrow the skill text: the parallel trigger is code changes, research
stays with built-in subagents even in parallel, and starts run as separate tool calls,
about 4 at a time.

* fix(orchestration): cover sparse worktree config writes and finish batched worker starts

The first sparse create in a repo writes the shared .git/config through sparse-checkout
init, and a failure there rolled back the whole worktree; retry it, the pattern set and the
rollback unset on lock contention like the other creation writes. The guide now says to
start the remaining workers as the first batch returns, and keeps research with built-in
subagents only unless the user asks for Orca workers or a named agent.

* fix(orchestration): never retry sparse-checkout init

sparse-checkout init migrates shared config in several writes and skips itself once the
worktreeConfig extension is set, so replaying it after a lock failure could leave a shared
core.worktree in place and check out into the main worktree. Fail and roll back as before;
the single-key writes keep their lock retry.

* fix(orchestration): start parallel workers from one shell command

Agents that run tool calls one after another serialized the separate
worker-start calls. Point the guide at a POSIX and PowerShell recipe that
starts a group concurrently and keeps every receipt and exit status.

* fix(orchestration): keep joining parallel starts under set -e
2026-11-18 00:48:24 -08:00
..