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

. .venv/bin/activate