Output the review in three parts:
Auto-fixes applied — list each file and what was fixed (one line per file).
Overall Summary — 2-5 sentences: what the change does, key remaining risks, and whether it is safe to commit. Include the PMD/lint-staged gate results here.
Per-file findings — only for issues not auto-fixed, anchored to the changed line number:
**<file-path>**
Line <N>: [SEVERITY] <short title>
Risk: <what could go wrong>
Scenario: <exact condition where it fails>
Suggestion: <minimal fix direction>
```suggestion
<concrete code snippet>
Severity levels:
- `[CRITICAL]` — must fix before committing
- `[WARNING]` — should fix
- `[INFO]` — optional improvement
**What looks good** — call out 1-3 positive things to keep the developer motivated.