.git object store. Each worktree has its own HEAD, index, and working tree files. Creation is fast and lightweight. This is now the standard isolation primitive — Claude Code, Codex, and Cursor all support --worktree flags for automatic creation, management, and cleanup.auth/login.ts, no other agent gets a task that touches that file until agent A finishes. This is a simple lock mechanism, but it prevents the most common source of parallel agent failures.