1. Check git status and push unpushed commits if needed.
2. Find the open pull request for the current branch.
3. Fetch unresolved CodeRabbit review threads.
4. Parse and display the issues with severity and agent prompts.
5. Ask user for fix preference: review each issue, auto-fix all, or cancel.
6. Apply fixes either manually with approval or automatically.
7. Create a single consolidated commit with all applied fixes.
8. Push changes and post a summary comment to the pull request.