AI review
Pro and TeamsAbout 9 cents a pull request
Every pull request that changes code
A model reviews every code change and goes deeper when the diff is risky: a wide blast radius, a hotspot, a high change risk. The deep review reads the code around the diff, a separate check confirms each point against the lines it cites, and each confirmed point posts as its own thread on that line.
repowise-botbotcommented on Oct 23P1 · Interface-only files displace direct importers from the cap
The sort key ranks any file with interface_calls above a file that only imports the target. The cap_collection call that follows keeps entries[:20], so a real importing dependent can be dropped from the shown callers and counted only as omitted. Sort every via: interface entry after all others first, then by the direct counts.
Checked: import-only entries sort as (0, 0) and interface-only entries as (0, -n), so interface-only files sort first and can displace importers at the 20-file cap.
Prompt for your agent
The author confirmed the point on this pull request and fixed it, with a test that fails on the old key, before it merged. Depth is light, auto or deep per repository, and /repowise review deep asks for a deep review on any pull request. A clean pull request gets no comment: the Repowise review check on the commit says it was reviewed.
