claude-code - 💡(How to fix) Fix [BUG] [VSCODE] Fails to re-open plan when opening a previous session after a restart (or have any way to re-open the plan manually) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#46434Fetched 2026-04-11 06:20:23
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×5

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Related to https://github.com/anthropics/claude-code/issues/33369

When I open a previous session after reloading VS Code, if the agent stopped at the asking about a plan, the plan isn't re-shown, can't even click on the "Claude Plan" entry in the chat

What Should Happen?

Re-show the plan

Error Messages/Logs

Steps to Reproduce

  1. Start a planning session and wait for the plan to show up/wait for user
  2. Restart VS Code
  3. Re-open the session and observe that there is no plan opened, nor can you click on the Claude Plan item in the chat

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.101 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

Using the Claude Code extension under WSL via VS Code WSL extensions

extent analysis

TL;DR

The issue can be addressed by modifying the session restoration logic to re-show the plan after reloading VS Code.

Guidance

  • Investigate the session restoration mechanism in the Claude Code extension to identify why the plan is not being re-shown after reloading VS Code.
  • Verify that the plan data is being persisted correctly when the session is stopped, and that it can be retrieved when the session is re-opened.
  • Check if there are any specific requirements or limitations for re-showing the plan in the Anthropic API or the Opus Claude Model that may be contributing to this issue.
  • Consider adding logging or debugging statements to the session restoration code to gain more insight into what is happening when the session is re-opened.

Example

No specific code example can be provided without more information about the implementation details of the Claude Code extension.

Notes

The issue may be related to the specific implementation of the Claude Code extension, the Anthropic API, or the Opus Claude Model, and may require additional debugging or investigation to fully resolve.

Recommendation

Apply a workaround, such as manually re-fetching the plan data when the session is re-opened, until a more permanent fix can be implemented. This is because the issue is not a regression and has never worked, suggesting that a more fundamental change may be required to resolve it.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING