[BUG] Claude Code forgets what it was doing after network disconnection

Resolved 💬 3 comments Opened Mar 7, 2026 by thedoctor2001 Closed Mar 11, 2026

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?

I requested Claude Code to write documentation of my code. Due to network disconnection, Claude Code stopped right before updating the final documentation. However, after I requested it to continue, it did not remember what it was doing and did the analysis from somewhere in the previous analysis (although the chat content was not lost). That also consumed half of my session usage when it tried to reiterate through the analysis and did again!

What Should Happen?

Claude Code should not forget what it was doing and should only update the final documentation after I requested it to continue.

Error Messages/Logs

Steps to Reproduce

  1. Request Claude to analyse your project.
  2. Right before the last document file, stops it, or closed the tab that it was working on.
  3. Some minutes later, type Continue.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.71

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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