What problem does it solve? Large projects accumulate a standing SonarQube backlog of bugs, code smells, and style violations that no single PR ever touches. Manually triaging and fixing hundreds of open issues produces unreviewable thousand-line diffs, and ad-hoc fixes often violate the project's own coding rules. ## Core Features & Use Cases - Whole-branch backlog fetch: Retrieves every open issue on a branch (not just a PR's new code) via the SonarQube fetch script, with severity and type breakdown. - Severity-ordered batching: Groups issues by file, orders them BLOCKER-first, and fixes each batch on its own branch/PR so review stays tractable. - Safety guardrails: Never auto-fixes security findings, concurrency issues, or behavior-changing rules; flags them with locations for human review, and never merges. - Use Case: A repository has 300 open SonarQube issues accumulated over two years. Run the sweep to clear them in small verified batches across multiple runs, each batch committed to its own PR after build, tests, and lint pass. ## Quick Start Say "ar-sonar-sweep" or "sonar sweep" to start clearing the project's SonarQube backlog in reviewable batches.