Commit 4c1f0ff
Fix skip heuristics dropping real findings, delta budget double-count
P1: Remove _should_skip_line() from block-start matching. If a line matches
_BLOCK_START, it's a finding — trust the severity pattern regardless of
summary content. Skip heuristics remain in the uncertainty scanner only.
Prevents findings containing "Path to Approval", "Looks good", etc. in
their summaries from being silently dropped.
P2: Fix delta-mode token budget to not count changed_files_text (which is
NOT included in delta-mode prompt, only in fresh reviews). Prevents
unnecessary import-context dropping in re-reviews.
P2: Add 2 regression tests for findings with skip markers in summaries.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cbff581 commit 4c1f0ff
2 files changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
| 567 | + | |
567 | 568 | | |
568 | | - | |
| 569 | + | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
1473 | 1474 | | |
1474 | 1475 | | |
1475 | 1476 | | |
1476 | | - | |
1477 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1478 | 1482 | | |
1479 | 1483 | | |
1480 | 1484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
954 | 969 | | |
955 | 970 | | |
956 | 971 | | |
| |||
0 commit comments