19:22David Gomes explains how Cursor replaced its code-heavy Git worktrees and Best of N feature with lightweight, server-controlled commands written as Markdown instructions for agents and subagents. The change removed about 15,000 lines of code and brought benefits such as easier maintenance, mid-chat switching to worktrees, multi-repository support, and richer comparison of agent results. It also relies on models staying within the correct worktree, which can fail during long sessions, so Cursor is using evals, prompt improvements, system reminders, and training to improve reliability. Gomes closes with plans for a more native worktrees experience in Cursor’s new agent window and research into local parallelization beyond Git worktrees.
