Team: agents working together
Give a big goal to a team: a lead agent splits it between workers, or several agents each try the whole thing and you pick the best. Each works in its own git worktree.
team (a dialog: the + menu's Team…, mod.open {name: "team"}; props {view: "board"} opens its board) puts several agents, of any maker, on one goal in the shown space's repo. Every agent works in a git worktree of its own (~/.woolshed/worktrees/<repo>/<branch> on its computer), so none edits the person's checkout or another's files.
- Split it up: a lead agent (picked) gets a worktree on
team/<goal>and a first message that has it plan the parts and start a worker per part with~/.woolshed-team/worker <name> <agent> [--on <computer>] "<the part>". The worker is a worktree on<lead branch>--<name>from the lead's last commit, run by Woolshed Core as the lead's child: the sidebar shows workers as a tree under the lead, on any computer. It's told to commit and report withhc send; the lead waits (hc wait --children all), reviews each diff and merges the branches into its own (the command prints how), then reports.~/.woolshed-team/agents/<key>holds each allowed agent's command line. - Best of N: each picked agent (or the same one twice) does the whole goal in its own worktree on
best/<goal>-<agent>and its own space. The board shows each try's status and changes; Compare side by side opens a window with their diffs in columns; Pick this one commits that try, merges it into the checkout and branch the team started from (which must be clean and still on that branch), and closes and removes the other tries. - Computers: workers and tries can run on the person's other computers and machines (Your computers,
hc machine ls). They clone the repo fromoriginthere: the starting point is pushed to origin first, and their branch comes back the same way (pushed, then fetched). - Shared
team.teams: the teams the board shows ({id, mode, goal, repo, lead | candidates, picked}).
When the person asks you to lead a team yourself, use the worker command the same way if it is installed (the dialog installs it); otherwise hc run workers as hc --skill says.
Your agents read these same words: Woolshed writes this guide to ~/.config/woolshed/AGENTS.md on every start. In it, “you” is the agent and “the person” is you.