[Bug] Auto-compact not functioning; manual `/compact` command required despite enabled setting

Resolved 💬 4 comments Opened Feb 11, 2026 by Deavall Closed Feb 14, 2026

Bug Description
Auto compact setting is set but claude code stall asks me to use the '/compact' command and seems to run out of context very quickly

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.38
  • Feedback ID: 1855ee82-89fd-4f33-a706-cfe1db07c860

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/Code/.local/share/claude/versions/2.1.38 (expected in multi-process scenarios)\n    at QVR (/$bunfs/root/claude:3622:2098)\n    at yMA (/$bunfs/root/claude:3622:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:34.821Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:36.271Z"},{"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:2113:22315)\n    at async H (/$bunfs/root/claude:2113:24763)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:37.253Z"},{"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:2113:20845)\n    at H (/$bunfs/root/claude:2113:24763)\n    at _ (/$bunfs/root/claude:2113:32525)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:37.254Z"},{"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:2113:32547)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:37.254Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async Q (/$bunfs/root/claude:3837:14661)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:45.185Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async h (/$bunfs/root/claude:3837:15177)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:45.187Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async Q (/$bunfs/root/claude:3837:14661)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:45.737Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async h (/$bunfs/root/claude:3837:15177)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:21:45.737Z"},{"error":"Error: File has been unexpectedly modified. Read it again before attempting to write it.\n    at call (/$bunfs/root/claude:2143:948)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:27:57.641Z"},{"error":"Error: File has been unexpectedly modified. Read it again before attempting to write it.\n    at call (/$bunfs/root/claude:2143:948)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T13:30:04.991Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async Q (/$bunfs/root/claude:3837:14661)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T14:28:37.367Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async h (/$bunfs/root/claude:3837:15177)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T14:28:37.379Z"},{"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:6135:2200)","timestamp":"2026-02-10T14:40:54.611Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server greptile invalid: Missing environment variables: GREPTILE_API_KEY\n    at wET (/$bunfs/root/claude:3072:30229)\n    at async…

Note: Content was truncated.

View original on GitHub ↗

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