if [[ ! -d .venv ]]; then log_error 'No .venv folder found found. Use `uv sync` or `uv run` to create one first.' exit 2 fi . .venv/bin/activate