claude-code - 💡(How to fix) Fix [Bug] Session state mismatch: CLI reports running but browser shows "session could not be found" [2 comments, 3 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#53312Fetched 2026-04-26 05:18:57
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×2

Error Message

[{"error":"Error: File does not exist. Note: your current working directory is C:\Users\iangr\src\sandbox-runtime.\n at call (B:/~BUN/root/src/entrypoints/cli.js:4858:7647)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T15:58:18.815Z"},{"error":"ZC_: Diagnostics file path mismatch: expected C:\Users\iangr\.claude\plans\woolly-imagining-minsky.md, got file://c:\users\iangr\.claude\plans\woolly-imagining-minsky.md/)\n at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:4885:23524)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T16:21:04.976Z"}]

Code Example

[{"error":"Error: File does not exist. Note: your current working directory is C:\\Users\\iangr\\src\\sandbox-runtime.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4858:7647)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T15:58:18.815Z"},{"error":"ZC_: Diagnostics file path mismatch: expected C:\\Users\\iangr\\.claude\\plans\\woolly-imagining-minsky.md, got file://c:\\users\\iangr\\.claude\\plans\\woolly-imagining-minsky.md/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:4885:23524)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T16:21:04.976Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Ultraplan stated the session is running, but when I open it in the browser it says "This session could not be found".

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.119
  • Feedback ID: 8919548f-dc18-43f8-bc63-ebac1ac092b9

Errors

[{"error":"Error: File does not exist. Note: your current working directory is C:\\Users\\iangr\\src\\sandbox-runtime.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4858:7647)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T15:58:18.815Z"},{"error":"ZC_: Diagnostics file path mismatch: expected C:\\Users\\iangr\\.claude\\plans\\woolly-imagining-minsky.md, got file://c:\\users\\iangr\\.claude\\plans\\woolly-imagining-minsky.md/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:4885:23524)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T16:21:04.976Z"}]

extent analysis

TL;DR

The issue might be resolved by ensuring the file path to the session is correctly formatted and exists in the expected location.

Guidance

  • Verify that the file woolly-imagining-minsky.md exists in the directory C:\\Users\\iangr\\.claude\\plans\\ and that the path is correctly formatted.
  • Check the current working directory C:\\Users\\iangr\\src\\sandbox-runtime to ensure it's the expected location for the session files.
  • Compare the expected file path C:\\Users\\iangr\\.claude\\plans\\woolly-imagining-minsky.md with the actual file path provided in the error message to identify any discrepancies.
  • Ensure that the file path does not contain any trailing slashes or incorrect casing.

Example

No code snippet is provided as it's not clearly supported by the issue.

Notes

The issue seems to be related to file path inconsistencies, but without more information about the Ultraplan configuration and session management, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Verify and correct the file paths to ensure they match the expected locations and formatting, as this seems to be the most likely cause of the issue.

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