What problem does it solve?
Manually translating a VS Code Sweeper review record into a minimal, tested code change and a draft PR is repetitive and error-prone, especially when the maintainer must guard against stale reviews, security issues, and duplicate work.
Core Features & Use Cases
- Review Record Fetching: Retrieves the sweeper's agent-fixable review record from the public vscodesweeper-state repository for a given issue number.
- Live State Gating: Validates the issue is still open, lacks a security label, has no existing open PR, and checks for staleness against live GitHub state before any code changes.
- Spec-Driven Implementation: Implements the narrowest correct change anchored on the review's Likely files, Fix prompt, and Validation, adding a runnable test that fails before and passes after the fix.
- Draft PR Creation: Pushes a branch to microsoft/vscode and opens a draft PR with a structured body referencing the issue and the sweeper record, leaving the maintainer in control of the ready-for-review flip.
Quick Start
Use the sweeper-fix skill to implement the reviewed fix for issue 12345 in the current microsoft/vscode checkout and open a draft PR.