[Bug] Context compaction fails in fresh sessions despite available token budget

Resolved 💬 3 comments Opened Jan 31, 2026 by ZhangJ347 Closed Feb 4, 2026

Bug Description
context limit seems like it regressed signfiicantly. I can't compact conversation even though this is a fresh session

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.25
  • Feedback ID: e99c8dfc-f9e1-490d-8b45-6f792709e37e

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:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-31T15:43:14.385Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/claude:1751:22300)\n    at async $ (/$bunfs/root/claude:1751:24752)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T15:43:15.113Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:1751:20845)\n    at start (/$bunfs/root/claude:1751:22354)\n    at $ (/$bunfs/root/claude:1751:24752)\n    at $ (/$bunfs/root/claude:1751:25727)\n    at _ (/$bunfs/root/claude:1751:32514)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T15:43:15.113Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: Executable not found in $PATH: \"typescript-language-server\"\n    at <anonymous> (/$bunfs/root/claude:1751:32536)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-31T15:43:15.113Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:935:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:5149:2153)","timestamp":"2026-01-31T16:06:45.515Z"},{"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:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-31T16:06:46.566Z"},{"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:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-31T16:07:20.943Z"},{"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:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-31T16:07:56.047Z"},{"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:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/…

Note: Content was truncated.

View original on GitHub ↗

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