Commit dfb833f
fix(v9): Process ALL issues including EXISTING_REST with caching
Previously I incorrectly filtered out EXISTING_REST issues entirely.
The correct approach is to process ALL issues but use caching to
avoid duplicate AI calls:
1. Group ALL issues by rule:tool:language
2. Generate AI fix for first issue in each group
3. Apply cached fix to all issues in same group
4. EXISTING_REST issues with same rule as NEW issues share the fix
This ensures:
- All issues get fixes (not just actionable ones)
- AI calls are minimized through caching
- Re-runs use cached patterns from KB
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent cf0a7cd commit dfb833f
2 files changed
Lines changed: 15 additions & 22 deletions
Lines changed: 4 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
| 667 | + | |
667 | 668 | | |
668 | 669 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
| 670 | + | |
| 671 | + | |
678 | 672 | | |
679 | 673 | | |
680 | 674 | | |
| |||
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
670 | 669 | | |
671 | | - | |
672 | | - | |
| 670 | + | |
| 671 | + | |
673 | 672 | | |
674 | 673 | | |
675 | 674 | | |
| |||
0 commit comments