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: 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).