Workflow
- Use the requested scope or current diff, then inspect the relevant callers, tests, and contracts.
- Report only structural opportunities supported by concrete pressure. Exclude style preferences, generic cleanup, and speculative abstractions.
- Classify each item as
RecommendedorOptional. - For each item, name the affected files, structural problem, and impact.
- If nothing is worthwhile, report
No worthwhile refactor opportunities found.