claude-code - 💡(How to fix) Fix [Bug] Auto-mode classifier incorrectly blocks parallel tool execution after allowing similar tool calls [1 participants]

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…
GitHub stats
anthropics/claude-code#52867Fetched 2026-04-25 06:18:45
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/XYZ/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:28:32.852Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:30:01.555Z"}]

Code Example

Bash(cd /Users/XYZ.claude/worktrees/develop-XYZ &&
       git push --force-with-lease origin…)
To github.com:xyzgit
      + f7a29e0...a96dda8 feature/XYZ-> feature/XYZ(forced update)                                       
Allowed by auto mode classifier                                                                                               
                                                                                                                                   
Bash(cd /Users/XYZ/.claude/worktrees/develop-XYZ&&
       git push --force-with-lease origin…)                                                                                        
Denied by auto mode classifier ∙ /feedback if incorrect                     
                                                                                                                                   
Bash(git push --force-with-lease origin feature/XYZ 2>&1 | tail -5)                                                
Cancelled: parallel tool call Bash(cd /Users/XYZ) errored

---

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/XYZ/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:28:32.852Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:30:01.555Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description I had couple of blocked parallel tool by auto-mode classifier recently. e.g.

Bash(cd /Users/XYZ.claude/worktrees/develop-XYZ &&
       git push --force-with-lease origin…)
  ⎿  To github.com:xyzgit
      + f7a29e0...a96dda8 feature/XYZ-> feature/XYZ(forced update)                                       
  ⎿  Allowed by auto mode classifier                                                                                               
                                                                                                                                   
⏺ Bash(cd /Users/XYZ/.claude/worktrees/develop-XYZ&&
       git push --force-with-lease origin…)                                                                                        
  ⎿  Denied by auto mode classifier ∙ /feedback if incorrect                     
                                                                                                                                   
⏺ Bash(git push --force-with-lease origin feature/XYZ 2>&1 | tail -5)                                                
  ⎿  Cancelled: parallel tool call Bash(cd /Users/XYZ…) errored

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.119
  • Feedback ID: b7318d42-6d41-46c7-9d56-b9cc12e496e5

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/XYZ/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:28:32.852Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:30:01.555Z"}]

extent analysis

TL;DR

The issue may be resolved by addressing the lock acquisition failure and request abortion errors in the Claude tool.

Guidance

  • Investigate the lock acquisition failure error and ensure that the /Users/XYZ/.local/share/claude/versions/2.1.119 directory is not locked by another process.
  • Check the Claude tool's documentation for guidance on handling multi-process scenarios and lock acquisition failures.
  • Verify that the request abortion error is not caused by a network issue or a problem with the GitHub repository.
  • Consider retrying the git push operation to see if the issue is intermittent.

Example

No code snippet is provided as the issue is related to a specific tool and its configuration.

Notes

The issue seems to be specific to the Claude tool and its interaction with the GitHub repository. The provided errors suggest that there may be a problem with lock acquisition and request handling.

Recommendation

Apply workaround: The issue may be resolved by retrying the git push operation or by addressing the lock acquisition failure and request abortion errors. This approach is recommended as it allows for a targeted investigation and potential resolution of the issue without requiring an upgrade to a fixed version (which is not mentioned in the issue).

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] Auto-mode classifier incorrectly blocks parallel tool execution after allowing similar tool calls [1 participants]