claude-code - 💡(How to fix) Fix [Bug] /goal command loops indefinitely despite user approval override

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sidhartha/.local/share/claude/versions/2.1.139 (expected in multi-process scenarios)\n at A18 (/$bunfs/root/src/entrypoints/cli.js:2664:2257)\n at eTH (/$bunfs/root/src/entrypoints/cli.js:2664:1337)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T13:01:26.716Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (81055 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at Fr7 (/$bunfs/root/src/entrypoints/cli.js:4902:13009)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T14:02:17.584Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:243:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.491Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:243:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.519Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at ky (/$bunfs/root/src/entrypoints/cli.js:2662:17357)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.520Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at ky (/$bunfs/root/src/entrypoints/cli.js:2662:17357)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.520Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:243:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:55:13.527Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:243:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:55:30.911Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:59:02.854Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:59:38.954Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:2602:36349)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T18:05:03.186Z"},{"error":"Error: unknown certificate verification error\n at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n at <anonymous> (/$bunfs/root/src…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sidhartha/.local/share/claude/versions/2.1.139 (expected in multi-process scenarios)\n    at A18 (/$bunfs/root/src/entrypoints/cli.js:2664:2257)\n    at eTH (/$bunfs/root/src/entrypoints/cli.js:2664:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T13:01:26.716Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (81055 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Fr7 (/$bunfs/root/src/entrypoints/cli.js:4902:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T14:02:17.584Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.491Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.519Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at ky_ (/$bunfs/root/src/entrypoints/cli.js:2662:17357)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.520Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at ky_ (/$bunfs/root/src/entrypoints/cli.js:2662:17357)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.520Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:55:13.527Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:55:30.911Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:59:02.854Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:59:38.954Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:2602:36349)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T18:05:03.186Z"},{"error":"Error: unknown certificate verification error\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src…
RAW_BUFFERClick to expand / collapse

Bug Description /goal is erroring on a continuous loop, even though user approved it by word to override.

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 2.1.139
  • Feedback ID: 8127adfe-e9b0-491d-b51c-4f8757b12aaa

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/sidhartha/.local/share/claude/versions/2.1.139 (expected in multi-process scenarios)\n    at A18 (/$bunfs/root/src/entrypoints/cli.js:2664:2257)\n    at eTH (/$bunfs/root/src/entrypoints/cli.js:2664:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T13:01:26.716Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (81055 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Fr7 (/$bunfs/root/src/entrypoints/cli.js:4902:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T14:02:17.584Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.491Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.519Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at ky_ (/$bunfs/root/src/entrypoints/cli.js:2662:17357)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.520Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at ky_ (/$bunfs/root/src/entrypoints/cli.js:2662:17357)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:54:58.520Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:55:13.527Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:55:30.911Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:59:02.854Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T17:59:38.954Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:2602:36349)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-12T18:05:03.186Z"},{"error":"Error: unknown certificate verification error\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src…

Note: Content was truncated.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] /goal command loops indefinitely despite user approval override