Agents create full checkouts of the repository in .worktrees and .claude/worktrees below the project root, so Find in Files returned every file twice and navigation could land in the copy. Both folders are now excluded directly below the project root and each workspace project's root, like a Project Structure excluded folder; jdtls gets them as import exclusions only when they exist, so other Java projects keep their workspace.
New Worktree suggested the repository's parent folder, which is the project itself when the project is a folder holding the repository. The default location now starts next to the project folder and moves up while it is still inside the project, a content root or the repository.
Closes#7957