claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] todos/ never gets cleaned up

Open hesreallyhim opened this issue 3 months ago • 2 comments

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

Steps to Reproduce

Expected Behavior

Actual Behavior

Additional Context

hesreallyhim avatar Aug 30 '25 02:08 hesreallyhim