[Bug] /resume loads incomplete session context despite full file on disk
I've now reproduced the issue with precise measurements:
Test performed today (Feb 2):
- Worked session to 97% context (194.38k/200k tokens, 606 intents)
- Used /exit
- Used /resume to return to same session
- Context dropped to 11% (22.84k/200k tokens)
- Assistant had no memory of conversation ("What are we working on?")
Session file verified:
- File size: 6.75MB (complete)
- 866+ message lines in JSONL
- No truncation, full content preserved on disk
- Only summary entry: "User Exit Session" at end
Key finding: The session file contains the full conversation, but /resume only loads ~11% of it. This is consistent across multiple large sessions (I have 44
sessions totaling 80MB in ~/.claude/projects/).
This appears to be a resume loading issue, not a storage issue. Happy to provide session files or additional logs if helpful.
Version: 2.1.29
OS: Ubuntu 24.04 (Linux 6.8.0-90-generic)
Best,
Corey
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗