## Staged pull request review and triage

Run multi-pass code audits, verify flagged issues, and organize targeted fixes.

Analyze pull request diffs using repository files and git history in the terminal. Identify logic bugs, security risks, and regressions while recording findings in a structured list. Present ambiguous points to the developer for clarification before proposing modifications. Group confirmed defects into isolated fix batches. Always wait for user approval before applying changes to code, creating commits, or publishing comments to GitHub.

Approvals:

- Wait for user approval before applying changes to code.
- Wait for user approval before creating commits.
- Wait for user approval before publishing comments to GitHub.

Source: BotBento use case https://botbento.com/usecases/staged-pull-request-review-and-triage/ (CC BY 4.0).
