Problem (one or two sentences)
Describe the bug
The Tasks feature creates task directories that each contain a .git
folder. Each .git is ~1GB in size. With ~33 tasks accumulated, total
disk usage has grown to 33GB.
Context (who is affected and when)
Environment
- OS: macOS
- Discovered via:
dust (disk usage tool)
Steps to reproduce
- Use Roo Code Tasks feature over time
- Run
dust on the tasks directory to inspect disk usage
- Observe large
.git directories inside each task folder
Desired behavior (conceptual, not technical)
Expected behavior
Task .git directories should either not be created, be
pruned/compressed automatically, or users should be warned about disk
growth.
Actual behavior
Each task accumulates ~1GB in its .git folder. 33 tasks = 33GB disk
usage.
Constraints / preferences (optional)
No response
Request checklist
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
Expected behavior
Task .git directories should either not be created, be
pruned/compressed automatically, or users should be warned about disk
growth.
Proposed approach (optional)
Reasonable middle grounds they could offer:
- Shallow clone / --depth=1 to limit history size
- Auto-prune tasks older than X days
- git gc --aggressive after task ends
- Make git tracking opt-in, not default
Trade-offs / risks (optional)
Pro
- Full history of every file change Roo made during the task — you can
git diff, git log, revert mistakes
- Isolated per-task, no cross-contamination
Con
- Unbounded disk growth (~1GB/task × N tasks)
- Most users never look at task git history
- No auto-cleanup or size warning
The tradeoff: You're paying 1GB per task for a full audit trail that
most users never use.
Problem (one or two sentences)
Describe the bug
The Tasks feature creates task directories that each contain a
.gitfolder. Each
.gitis ~1GB in size. With ~33 tasks accumulated, totaldisk usage has grown to 33GB.
Context (who is affected and when)
Environment
dust(disk usage tool)Steps to reproduce
duston the tasks directory to inspect disk usage.gitdirectories inside each task folderDesired behavior (conceptual, not technical)
Expected behavior
Task
.gitdirectories should either not be created, bepruned/compressed automatically, or users should be warned about disk
growth.
Actual behavior
Each task accumulates ~1GB in its
.gitfolder. 33 tasks = 33GB diskusage.
Constraints / preferences (optional)
No response
Request checklist
Roo Code Task Links (optional)
No response
Acceptance criteria (optional)
Expected behavior
Task
.gitdirectories should either not be created, bepruned/compressed automatically, or users should be warned about disk
growth.
Proposed approach (optional)
Reasonable middle grounds they could offer:
Trade-offs / risks (optional)
Pro
git diff, git log, revert mistakes
Con
The tradeoff: You're paying 1GB per task for a full audit trail that
most users never use.