Infinite Loop During Chronological Sorting of Annotation History File

Resolved 💬 3 comments Opened Jun 11, 2025 by mannewalis Closed Jan 6, 2026

Bug Description
I have a history file with a rule that claude annotates whenver it does something so I can resume the session (beause the context gets full and claude regresses to a kindergartner). The annotations include a timestamp, and claude for whatever reason doesn't always append to the file and will insert willy nilly. I asked claude to sort this file chronologically, and 100% of the time this causes claude to hang indefinitely. What is going on and how do I fix this?

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 1.0.18
  • Feedback ID: 658f1534-3eb8-49aa-8930-7974f925dfbd

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗