uv uses .venv as its project environment, and `uv sync --frozen` removes every package that is not in uv.lock. The tools the git hooks need would go with it, so they get a directory of their own. Re-running scripts/dev-setup.sh switches the hooks of an older clone and leaves its .venv alone. Ignore rules and prunes cover both directories. Refs: #516 Assisted-by: Claude Code