Commit 0621b69
fix: make split recommendation based on module relationships, not symbol count (#122)
Previously, the change impact analysis recommended splitting PRs based
solely on symbol count (>15). This was not useful - a cohesive feature
adding many symbols to one module shouldn't be split.
Now the split recommendation triggers only when:
1. Changes touch 2+ files (single file = cohesive by definition)
2. Impact affects 3+ distinct modules (suggesting broad changes)
This ensures single-file PRs never get split recommendations, and
multi-file PRs only get them when impact is truly widespread.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 60e46ca commit 0621b69
1 file changed
+27
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
1683 | 1706 | | |
1684 | 1707 | | |
1685 | 1708 | | |
| |||
1699 | 1722 | | |
1700 | 1723 | | |
1701 | 1724 | | |
1702 | | - | |
1703 | | - | |
| 1725 | + | |
| 1726 | + | |
1704 | 1727 | | |
1705 | 1728 | | |
1706 | 1729 | | |
1707 | | - | |
1708 | | - | |
| 1730 | + | |
| 1731 | + | |
1709 | 1732 | | |
1710 | 1733 | | |
1711 | 1734 | | |
| |||
0 commit comments