[BUG] Session/memory data lost mid-use without app restart or update
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description:
During an active Claude Code session, a significant portion of work and the auto-memory store appear to have been silently lost. I did not close the app, restart it, or approve any software update during this window.
What I observed:
Memory files were being written successfully throughout the day (e.g. 08:06, 15:58, 19:53, 19:56, 20:22).
After 20:22, no further memory writes occurred for roughly 2 hours, despite incremental memory-save requests being made during that window in the same continuous sitting.
A previous session referencing that period's in-progress work was no longer retrievable afterward — list_sessions (active and archived) returned no other sessions at all.
Checked local config backups (~/.claude/backups/.claude.json.backup.*) for anomalies; found nothing that correlates with the gap — feature flags and config were stable across the relevant window.
Expected behavior:
Session and memory state should persist continuously during an active session unless the app is explicitly closed/restarted or a documented update runs. If memory-save requests are silently dropped, this should be surfaced to the user rather than failing silently. Memory was lost mid conversation. We were in the middle of working. not left idle
Environment:
Windows 11 Home, Claude Code desktop app
Model: Sonnet 4.6
What Should Happen?
Claude should not get amnesia mid sentence without user action. Anything that wipes memory should at least give some warning.
Error Messages/Logs
Steps to Reproduce
I have no idea how to reproduce it, it did not seem to happen as a result of any user action. Just forgot 2 hours of work, and seemingly items stored to memory older than that
Claude Model
_No response_
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Version 1.15962.1 (1e236d)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗