-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Problem (one or two sentences)
When the AI deletes files during refactors, those deleted files are not counted in the "lines removed" metric. That hides real reductions in code size and prevents seeing the true net lines of code change per iteration.
Context (who is affected and when)
Developers using Roo Code to review AI-generated edits and refactors. Happens whenever the AI deletes one or more files as part of a diff or refactor. Most visible during large refactors where files are removed rather than line-by-line edits.
Desired behavior (conceptual, not technical)
Count removed lines from deleted files and add them to the "lines removed" metric so the displayed added/removed counts reflect the true net change in code size. Optionally provide a toggle in settings to make deleted files count or not towards the total.
Constraints / preferences (optional)
No response
Request checklist
- I've searched existing Issues and Discussions for duplicates
- This describes a specific problem with clear context and impact
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
No response
Proposed approach (optional)
No response
Trade-offs / risks (optional)
No response