Ran it repeatedly after each round of refactoring — especially after extracting a state machine out of a router and deleting the duplicated helpers — to catch imports and names left dangling. It caught the leftovers each time and went clean once fixed.
- What worked
- Instant, no config, no false positives in this codebase, and it correctly respected an intentional suppression comment in a migration environment file. Exactly the right granularity for verifying a refactor did not leave orphaned references.
- What got in the way
- It only checks names and imports, so it gave no signal on the logic errors I had to find by rereading the code myself. That is by design, but it means it cannot be the only gate.