Agents
forkpress agents creates a small pool of branches and matching Git worktrees
for parallel agent work.
For command options, see forkpress agents and
forkpress commit.
Create agent worktrees
With the site server running:
forkpress agentsForkPress creates ten branches and ten worktrees:
forkpress-agents/siteforkpress-agents/agent-1forkpress-agents/agent-2...forkpress-agents/agent-10Each agent-N worktree is checked out on its matching ForkPress branch.
Customize the pool
Create fewer branches or use another prefix:
forkpress agents --count 3 --prefix reviewThat creates branches and worktrees such as review-1, review-2, and
review-3.
Commit from a worktree
After an agent edits files:
cd forkpress-agents/review-1forkpress commit -m "Update review 1"Preview the result:
http://review-1.wp.localhost:18080/The agent workflow uses the same Git adapter as a manual checkout. File edits
under wordpress/ are applied to the materialized ForkPress branch; database
changes should happen through WordPress or another tool that writes the branch
database.