[Bug] Context limit reached message spammed repeatedly without user action

Resolved 💬 2 comments Opened Jan 14, 2026 by JonasFocus Closed Feb 27, 2026

Bug Description
context limit reached /compact or /clear to confirm being spammed

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.7
  • Feedback ID: e9aa5a31-79d5-4e99-8771-6ff6b37450ec

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jonas/.local/share/claude/versions/2.1.7 (expected in multi-process scenarios)\n    at ALR (/$bunfs/root/claude:3168:2157)\n    at eFA (/$bunfs/root/claude:3168:1268)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T03:14:29.457Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:562)\n    at n2 (/$bunfs/root/claude:11:34565)\n    at readFileSync (/$bunfs/root/claude:12:521)\n    at Zk_ (/$bunfs/root/claude:4639:24009)\n    at call (/$bunfs/root/claude:1618:945)\n    at call (/$bunfs/root/claude:1614:6443)\n    at <anonymous> (/$bunfs/root/claude:2898:1561)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T03:16:54.069Z"},{"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:4646:2148)","timestamp":"2026-01-14T03:18:51.468Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:858:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:14:06.724Z"},{"error":"MaxFileReadTokenExceededError: File content (52530 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Qk_ (/$bunfs/root/claude:1609:13323)\n    at async call (/$bunfs/root/claude:1618:1005)\n    at async zA8 (/$bunfs/root/claude:3075:17932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:44:37.050Z"},{"error":"MaxFileReadTokenExceededError: File content (79467 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Qk_ (/$bunfs/root/claude:1609:13323)\n    at async call (/$bunfs/root/claude:1618:1005)\n    at async zA8 (/$bunfs/root/claude:3075:17932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:44:37.053Z"},{"error":"MaxFileReadTokenExceededError: File content (47281 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Qk_ (/$bunfs/root/claude:1609:13323)\n    at async call (/$bunfs/root/claude:1618:1005)\n    at async zA8 (/$bunfs/root/claude:3075:17932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:44:37.083Z"},{"error":"MaxFileReadTokenExceededError: File content (50916 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Qk_ (/$bunfs/root/claude:1609:13323)\n    at async call (/$bunfs/root/claude:1618:1005)\n    at async zA8 (/$bunfs/root/claude:3075:17932)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:44:37.107Z"},{"error":"MaxFileReadTokenExceededError: File content (79467 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Qk_ (/$bunfs/root/claude:1609:13323)\n    at async call (/$bunfs/root/claude:1618:1005)\n    at async <anonymous> (/$bunfs/root/claude:2898:1561)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:44:42.449Z"},{"error":"MaxFileReadTokenExceededError: File content (50916 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Qk_ (/$bunfs/root/claude:1609:13323)\n    at async call (/$bunfs/root/claude:1618:1005)\n    at async <anonymous> (/$bunfs/root/claude:2898:1561)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-14T04:44:42.615Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:562)\n    at n2 (/$bunfs/root/claude:11:34565)\n    at readFileSync (/$bunfs/root/claude:12:521)\n    at Zk_ (/$bunfs/root/claude:4639:24009)\n    at call (/$bunfs/root/claude:1618:945)\n    at call (/$bunfs/root/claude:1614:6443)\n    at zA8 (/$bunfs/root/claude:3075:17932)\n    at processTicksAndR

Note: Error logs were truncated.

View original on GitHub ↗

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