[Bug] Plan context lost when cleared without saving to disk

Resolved 💬 3 comments Opened Jan 26, 2026 by joesh Closed Jan 30, 2026

Bug Description
I was in plan mode and, in going back and forth between claude and chatgpt, ran low on context. I didn't want to just run the plan so I crossed my fingers and cleared the context and then gave it the next bit of feedback for the plan. turns out the ongoing plan had not been written to disk. luckily i had the previous copy from sending it to chatgpt but this can't be how you want it to work.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.19
  • Feedback ID: 80f373af-de25-486b-acae-1790ec490b16

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at mW (/$bunfs/root/claude:11:35435)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at ILR (/$bunfs/root/claude:2215:380)\n    at ILR (/$bunfs/root/claude:2215:1350)\n    at <anonymous> (/$bunfs/root/claude:2215:4440)\n    at <anonymous> (/$bunfs/root/claude:2215:5171)\n    at A (/$bunfs/root/claude:11:7259)\n    at FZ8 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T05:34:06.786Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at mW (/$bunfs/root/claude:11:35435)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at ILR (/$bunfs/root/claude:2215:380)\n    at ILR (/$bunfs/root/claude:2215:1350)\n    at <anonymous> (/$bunfs/root/claude:2215:4440)\n    at <anonymous> (/$bunfs/root/claude:2215:5171)\n    at A (/$bunfs/root/claude:11:7259)\n    at FZ8 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T08:57:14.474Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at mW (/$bunfs/root/claude:11:35435)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at ILR (/$bunfs/root/claude:2215:380)\n    at ILR (/$bunfs/root/claude:2215:1350)\n    at <anonymous> (/$bunfs/root/claude:2215:4440)\n    at <anonymous> (/$bunfs/root/claude:2215:5171)\n    at A (/$bunfs/root/claude:11:7259)\n    at FZ8 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T09:33:44.978Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:161:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T09:33:56.326Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:161:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T09:33:56.328Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at mW (/$bunfs/root/claude:11:35435)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at ILR (/$bunfs/root/claude:2215:380)\n    at ILR (/$bunfs/root/claude:2215:1350)\n    at <anonymous> (/$bunfs/root/claude:2215:4440)\n    at <anonymous> (/$bunfs/root/claude:2215:5171)\n    at A (/$bunfs/root/claude:11:7259)\n    at FZ8 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T09:40:30.768Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:47:10685)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/claude:46:3321)\n    at request (/$bunfs/root/claude:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T17:10:06.739Z"},{"error":"Error: 1P event logging: 21 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:639:2077)\n    at async doExport (/$bunfs/root/claude:639:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T17:10:13.076Z"},{"error":"Error: {\"message\":\"Failed to export 21 events\",\"originalLine\":\"639\",\"originalColumn\":\"1336\",\"line\":\"639\",\"column\":\"1336\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 21 events\\n    at doExport (/$bunfs/root/claude:639:1336)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1791:25028)\n    at <anonymous> (/$bunfs/root/claude:633:34987)\n    at iMD (/$bunfs/root/claude:633:35531)\n    at <anonymous> (/$bunfs/root/claude:634:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-26T17:10:13.076Z"},{"error":"Error: 1P event lo…

Note: Content was truncated.

View original on GitHub ↗

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