Skip to lesson
Exit
Review before push and use Autofix1 / 2

1 min lesson

Review one Autofix branch

Verify one pre-push finding, confirm the pull request recognizes the same patch and inspect a separate Autofix branch.

Step 1 of 2

Run /review-bugbot against release before pushing the search branch. Open the cited query line, reproduce the finding and rerun the focused test after the fix. Push the same patch and confirm that the pull request records the existing review. For a later bounded finding, use Autofix in Create New Branch mode. Autofix needs on-demand usage and storage outside Legacy Privacy ModeCursor's setting that guarantees code data is not used for training by Cursor or its model providers, and that an admin can enforce org-wide; data-retention terms are a separate, contractual layer. Press Enter for the full definition.. Open the Cloud Agent branch, read its diff and run its test before bringing the change into the pull request.

Review one Autofix change

Interactive diagram. Step through it with the Next and Previous controls below, or Tab to a region to read its detail.

diagram: flow

Keep Autofix on a separate branch until its diff and test pass.

Learn more

Full explanation

Base branch, patch ID, cited line, Cloud Agent branch

Review before push, then inspect an Autofix branch
Base branch, patch ID, cited line, Cloud Agent branch
SayReview the search fix before I push. This branch targets release, not the repository's default base.
DoRun /review-bugbot and state release as the base. Review the branch changes, including committed and uncommitted changes.
SeeBugbotCursor's automated PR reviewer that posts inline findings and can push fix commits from isolated VMs. Press Enter for the full definition. cites an unescaped query parameter in src/api/search.ts. Open the line, reproduce it with the focused test, fix it and rerun both the test and /review-bugbot.
DoPush the reviewed patch and open a pull request against release without changing the diff.
SeeThe connected BugbotCursor's automated PR reviewer that posts inline findings and can push fix commits from isolated VMs. Press Enter for the full definition. run recognizes the same patch ID, skips a duplicate review and comments that the diff was already reviewed.
DoA later pull request update gets a bounded null-check finding. With Autofix set to Create New Branch, let the Cloud Agent propose the repair.
SeeAutofix pushes to a separate branch and comments on the original pull request with the result. The original branch is unchanged.
DoOpen the Autofix branch, read every changed line and run the focused test before deciding whether to bring the fix into the pull request.
SeeThe fix is accepted only after the cited issue reproduces, the narrow diff is understood and the test passes. BugbotCursor's automated PR reviewer that posts inline findings and can push fix commits from isolated VMs. Press Enter for the full definition. and Autofix still do not make the merge decision.
Learn more

Optional practice

Test yourself on Review one Autofix branch

QWhich result proves the pre-push review and Autofix workflow are ready?