Automatically resolve findings from PR review bots (Copilot, Cursor Bugbot, CodeRabbit, etc.) on the current PR. Uses a two-phase workflow: fix all existing issues, then poll for new ones until bots go quiet.
Cloud environments only (e.g., Codespaces, remote agents): verify git author identity so CI checks can map commits to the user. Run git config --global --get user.email and if empty or a placeholder, set it manually. Skip this check in local environments.
The CLI auto-detects the current branch, finds the associated PR, and authenticates via gh CLI or environment variables. If anything fails (no token, no PR, CLI not installed), it exits with a clear error message.
Обработка выводов бота для обзора PR по текущему пиару. Извлекает оставшиеся без ответа комментарии ботов, оценивает каждое обнаружение, исправляет реальные ошибки, отклоняет ложные срабатывания, отвечает на каждый комментарий и отслеживает новые результаты, пока боты не замолкают. Источник: pbakaus/agent-reviews.