Git worktrees give each AI agent its own desk
One working directory holds one state of the project, which is why you and your agent keep colliding. Git worktrees give each branch its own folder, and here is the script that pays the setup tax: env files, installs and a unique port offset.