[Bug] Context window exhaustion with single MCP enabled and inconsistent claude.md adherence

Resolved 💬 4 comments Opened Nov 13, 2025 by bchoor Closed Jan 13, 2026

Bug Description
too slow, and keeps running out of context even though I'm only using 1 mcp - context7; all other mcps have been disabled. doesn't seem to follow claude.md consistently - it should refresh it's claude.md regularly. code is way too verbose - we need short/simple code. also a lot of hackiness built-in that you find out much later - when doing unit and regression tests, it has a tendency to use hacks/silent exception handling to pass the test - it's incentivized to pass tests but not to achieve objectives. I've caught it making up test cases (non-valid) and saying it's successfully finished testing.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.36
  • Feedback ID: 0b1f490e-9711-4a63-9594-7d9ccaae9def

Errors

[{"error":"Error: Lock file is already being held\n    at <anonymous> (/$bunfs/root/claude:82:11838)\n    at O (/$bunfs/root/claude:81:5167)\n    at <anonymous> (node:fs:243:13)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T18:55:50.639Z"},{"error":"MaxFileReadTokenExceededError: File content (37339 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 Q6B (/$bunfs/root/claude:1578:25952)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T22:59:29.634Z"},{"error":"MaxFileReadTokenExceededError: File content (37339 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 Q6B (/$bunfs/root/claude:1578:25952)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T23:06:20.374Z"},{"error":"MaxFileReadTokenExceededError: File content (37339 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 Q6B (/$bunfs/root/claude:1578:25952)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T23:06:28.234Z"},{"error":"MaxFileReadTokenExceededError: File content (37339 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 Q6B (/$bunfs/root/claude:1578:25952)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T23:06:35.273Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:661:3861)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T23:36:20.314Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:661:3861)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T23:37:23.652Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at oJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at CI (/$bunfs/root/claude:1003:4109)\n    at alB (/$bunfs/root/claude:2105:1688)\n    at B7 (/$bunfs/root/claude:101:19663)\n    at T2 (/$bunfs/root/claude:103:42806)\n    at rF (/$bunfs/root/claude:103:38344)\n    at c1 (/$bunfs/root/claude:103:38272)\n    at ZJ (/$bunfs/root/claude:103:38126)","timestamp":"2025-11-11T23:45:56.414Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at oJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at CI (/$bunfs/root/claude:1003:4109)\n    at clT (/$bunfs/root/claude:1003:7745)\n    at B7 (/$bunfs/root/claude:101:19663)\n    at T2 (/$bunfs/root/claude:103:42806)\n    at rF (/$bunfs/root/claude:103:38344)\n    at c1 (/$bunfs/root/claude:103:38272)\n    at ZJ (/$bunfs/root/claude:103:38126)","timestamp":"2025-11-12T00:17:26.206Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at oJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (native:1:11)\n    at CI (/$bunfs/root/claude:1003:4109)\n    at fQB (/$bunfs/root/claude:1687:6605)\n    at B7 (/$bunfs/root/claude:101:19663)\n    at T2 (/$bunfs/root/claude:103:42806)\n    at rF (/$bunfs/root/claude:103:38344)\n    at c1 (/$bunfs/root/claude:103:38272)\n    at ZJ (/$bunfs/root/claude:103:38126)","timestamp":"2025-11-12T00:59:55.770Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at oJ (/$bunfs/root/claude:1003:4395)\n    at <anonymous> (/$bunfs/root/claude:1003:4117)\n    at map (

Note: Error logs were truncated.

View original on GitHub ↗

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