claude-code
claude-code copied to clipboard
[BUG] todos/ never gets cleaned up
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: <!-- output of
claude --version--> 1.0.98 - Operating System: macOS 15.16.1
- Terminal: Terminal
Bug Description
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
Expected Behavior
Actual Behavior
Additional Context
Also just finding this!
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.