claude-code - 💡(How to fix) Fix [Bug] Session termination not respecting configured conversation continuity settings [2 comments, 2 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#55022Fetched 2026-05-01 05:48:16
View on GitHub
Comments
2
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a6dd17b3e86cd39f3.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:20:52.950Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a8817a10273cae45f.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:39:05.547Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a9b0585a825aa6c93.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:39:24.371Z"},{"error":"Error: EPERM: operation not permitted, symlink 'C:\Users\frankie\.claude\projects\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\subagents\agent-a6dd17b3e86cd39f3.jsonl' -> 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a6dd17b3e86cd39f3.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:319)","timestamp":"2026-04-30T12:48:43.768Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a70e1d834a4dd8d04.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:54:19.109Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a389fc82f89ea2150.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:59:20.138Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:00:42.605Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:01:08.904Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at A (B:/~BUN/root/src/entrypoints/cli.js:723:242)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:723:456)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:985)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:01:08.904Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:02:10.480Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a7a6ae9f26d5773af.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T13:05:03.160Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\frankie\AppData\Local\Temp\claude\C--Users-frankie-Development-Home-llm-work\dfc574f0-c92a-400c-a155-16bc5944d23e\tasks\a5c236def061aa7f2.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T13:10:19.128Z"},{"error":"Error…

Code Example

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a6dd17b3e86cd39f3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:20:52.950Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a8817a10273cae45f.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:39:05.547Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a9b0585a825aa6c93.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:39:24.371Z"},{"error":"Error: EPERM: operation not permitted, symlink 'C:\\Users\\frankie\\.claude\\projects\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\subagents\\agent-a6dd17b3e86cd39f3.jsonl' -> 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a6dd17b3e86cd39f3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:319)","timestamp":"2026-04-30T12:48:43.768Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a70e1d834a4dd8d04.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:54:19.109Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a389fc82f89ea2150.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:59:20.138Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:00:42.605Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:01:08.904Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (B:/~BUN/root/src/entrypoints/cli.js:723:242)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:723:456)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:985)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:01:08.904Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:02:10.480Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a7a6ae9f26d5773af.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T13:05:03.160Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a5c236def061aa7f2.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T13:10:19.128Z"},{"error":"Error
RAW_BUFFERClick to expand / collapse

Bug Description Claude session has stopped 4 times now, once with an actual fabrication of a reason, the others with a tell me to keep going, or this is a natural stopping point etc. This is new bahaviour over the last 24 hours and in direct violation of the CLAUDE.md and MEMORY.md

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.123
  • Feedback ID: 84d84ee0-9d79-4222-9c8d-f1826f3a6175

Errors

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a6dd17b3e86cd39f3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:20:52.950Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a8817a10273cae45f.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:39:05.547Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a9b0585a825aa6c93.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:39:24.371Z"},{"error":"Error: EPERM: operation not permitted, symlink 'C:\\Users\\frankie\\.claude\\projects\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\subagents\\agent-a6dd17b3e86cd39f3.jsonl' -> 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a6dd17b3e86cd39f3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:319)","timestamp":"2026-04-30T12:48:43.768Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a70e1d834a4dd8d04.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:54:19.109Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a389fc82f89ea2150.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T12:59:20.138Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:00:42.605Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:01:08.904Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at A (B:/~BUN/root/src/entrypoints/cli.js:723:242)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:723:456)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:985)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:01:08.904Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:720:914)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T13:02:10.480Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a7a6ae9f26d5773af.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T13:05:03.160Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\frankie\\AppData\\Local\\Temp\\claude\\C--Users-frankie-Development-Home-llm-work\\dfc574f0-c92a-400c-a155-16bc5944d23e\\tasks\\a5c236def061aa7f2.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-30T13:10:19.128Z"},{"error":"Error…

Note: Content was truncated.

extent analysis

TL;DR

The issue can be resolved by investigating and addressing the ENOENT and EPERM errors related to file operations in the Claude session.

Guidance

  • Investigate the ENOENT errors to determine why the files are not found, and ensure that the files exist in the specified directories before attempting to unlink them.
  • Check the permissions and access control lists (ACLs) for the directories and files involved in the EPERM errors to ensure that the necessary permissions are granted.
  • Review the code at B:/~BUN/root/src/entrypoints/cli.js:8754:299 and B:/~BUN/root/src/entrypoints/cli.js:720:914 to understand the file operations being performed and identify potential issues.
  • Consider increasing the timeout for the ripgrep search or optimizing the search pattern to prevent timeouts.

Example

No code snippet is provided as the issue is related to a specific implementation and requires further investigation.

Notes

The provided error messages indicate issues with file operations, permissions, and timeouts. Resolving these issues will likely require a combination of code changes, configuration updates, and potentially adjustments to the system environment.

Recommendation

Apply a workaround by investigating and addressing the underlying causes of the ENOENT and EPERM errors, and consider optimizing the ripgrep search to prevent timeouts.

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

claude-code - 💡(How to fix) Fix [Bug] Session termination not respecting configured conversation continuity settings [2 comments, 2 participants]