# Severity guide Reference guide for interpreting severity levels from automated review comments (Gemini, CodeRabbit, Cursor, and others). ## Severity Badges Gemini uses visual badges in review comments to indicate severity: ### CRITICAL **Badge**: `![critical](https://www.gstatic.com/codereviewagent/critical.svg)` **Visual**: Red badge with "critical" text **Meaning**: Must be fixed before merge. Indicates: - Security vulnerabilities - Data loss risks - Logic errors causing incorrect behavior - Infinite loops or deadlocks - Memory leaks or resource exhaustion **Action**: Stop and fix immediately. These block merge. --- ### HIGH **Badge**: `![high](https://www.gstatic.com/codereviewagent/high-priority.svg)` **Visual**: Orange badge **Meaning**: Should be fixed. Indicates: - Performance issues - Error handling gaps - Potential race conditions - Missing validation on important paths **Action**: Address before merge unless there's a strong reason not to. --- ### MEDIUM **Badge**: `![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)` **Visual**: Yellow badge **Meaning**: Recommended fix. Indicates: - Code style issues - Minor refactoring opportunities - Unreachable code (dead code) - Duplicate logic - Missing edge case handling **Action**: Address if time permits, or create follow-up issue. --- ### LOW **Badge**: `![low](https://www.gstatic.com/codereviewagent/low-priority.svg)` **Visual**: Blue/gray badge **Meaning**: Optional improvement. Indicates: - Import ordering - Naming conventions - Documentation suggestions - Minor style preferences **Action**: Optional. Can be skipped with justification. --- ## Detection Patterns ### Gemini Badge Detection (Primary for Gemini) ```python # In comment body, look for: "critical.svg" โ†’ CRITICAL "high-priority.svg" โ†’ HIGH "medium-priority.svg" โ†’ MEDIUM "low-priority.svg" โ†’ LOW ``` ### CodeRabbit Detection CodeRabbit does **not** use SVG badges. It uses emoji + italic text in the comment body. The pattern is: `_