[BUG] todos/ never gets cleaned up
Resolved 💬 4 comments Opened Aug 30, 2025 by hesreallyhim Closed Jan 26, 2026
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: <!-- output of
claude --version--> 1.0.98 - Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 --> macOS 15.16.1
- Terminal: <!-- e.g. iTerm2, Terminal App --> Terminal
Bug Description
<!-- A clear and concise description of the bug -->
Claude Code stores todo lists in ~/.claude/todos/. It seems as though these files never or rarely get cleaned up or deleted - have some going back to April. Not a big issue I think since the whole directory is still under 1MB with >1k todo lists, but seems like something that should be rectified. Maybe they're remnants of Todo lists that were interrupted (although many just have an empty array).
Steps to Reproduce
- <!-- First step -->
- <!-- Second step -->
- <!-- And so on... -->
Expected Behavior
<!-- What you expected to happen -->
Actual Behavior
<!-- What actually happened -->
Additional Context
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗