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.
Risolvi i risultati del bot di revisione PR sulle PR attuali. Recupera i commenti dei bot senza risposta, valuta ogni risultato, corregge i bug reali, ignora i falsi positivi, risponde a ogni commento e controlla le nuove scoperte finché i bot non si zittiscono. Fonte: pbakaus/agent-reviews.