v0.6.1: Fix False Security Categorization
π Bug Fixes
This patch release fixes a critical issue where pr-vibe was incorrectly categorizing ESLint style warnings as security vulnerabilities.
What's Fixed
- β Type imports (e.g., "prefer type-only import") now correctly categorized as STYLE, not SECURITY
- β Empty catch blocks now correctly categorized as CODE_QUALITY, not SECURITY
- β Console.log statements now correctly categorized as DEBUG, not SECURITY
- β Commit messages now accurate: "style: Apply code formatting" instead of "SECURITY: Fixed vulnerability"
Technical Details
- Added context-aware categorization that checks style patterns before security patterns
- Introduced new STYLE and DEBUG categories for better classification
- Enhanced bot comment parsing to understand CodeRabbit severity indicators (
β οΈ β security) - Added comprehensive test suite to prevent regression
Feedback
This fix addresses user feedback from PR lvrginc/application#9659 where style issues were causing unnecessary alarm by being flagged as security vulnerabilities.
Install/Update: npm install -g pr-vibe@latest