/batch Command Worktree Orchestration

Description

Primary production multi-agent path: /batch breaks a refactoring or analysis task into 5-30 parallel git worktree agents, each in an isolated filesystem copy. Each agent opens its own pull request. Agents coordinate through file-based JSON mailboxes secured by file locks with 10-retry backoff. Fork pattern creates byte-identical parent-context copies so all siblings hit the API prompt cache simultaneously. Pricing tier gate: Free = 1 agent, Max/Team = 3 agents.

Key claims

Relations

Sources

src-20260409-5acfec94bd6e