claude-code - 💡(How to fix) Fix [Bug] Claude Code ignores user instructions and continues adding co-authored commits despite explicit directives [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#51947Fetched 2026-04-23 07:40:39
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\GVASER1\AppData\Local\Temp\claude\H--Automation-Claude-Awareonomics-Employe-Attend\df9c985a-9c51-49cd-bc0a-78628364612a\tasks\a4b33a785a0bb3368.output'\n at async unlink (node:internal/fs/promises:1068:10)\n at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T07:53:38.002Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\GVASER1\AppData\Local\Temp\claude\H--Automation-Claude-Awareonomics-Employe-Attend\df9c985a-9c51-49cd-bc0a-78628364612a\tasks\a8bcbbf576172175a.output'\n at async unlink (node:internal/fs/promises:1068:10)\n at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T08:03:58.992Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\GVASER~1\AppData\Local\Temp\claude\H--Automation-Claude-Awareonomics-Employe-Attend\df9c985a-9c51-49cd-bc0a-78628364612a\tasks\ae369db270140decf.output'\n at async unlink (node:internal/fs/promises:1068:10)\n at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T08:54:02.087Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\Automation\Claude\Awareonomics\Employe Attend\tapin. Did you mean H:\Automation\Claude\Awareonomics\Employe Attend\tapin\fly.toml?\n at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:08.534Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\Automation\Claude\Awareonomics\Employe Attend\tapin. Did you mean H:\Automation\Claude\Awareonomics\Employe Attend\tapin\railway.json?\n at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:08.888Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\Automation\Claude\Awareonomics\Employe Attend\tapin. Did you mean H:\Automation\Claude\Awareonomics\Employe Attend\tapin\Procfile?\n at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.037Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\Automation\Claude\Awareonomics\Employe Attend\tapin. Did you mean H:\Automation\Claude\Awareonomics\Employe Attend\tapin\Dockerfile?\n at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.179Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\Automation\Claude\Awareonomics\Employe Attend\tapin. Did you mean H:\Automation\Claude\Awareonomics\Employe Attend\tapin\.env.example?\n at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.411Z"},{"error":"Error: Request was aborted.\n at qh.makeRequest (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:3448)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-04-22T11:59:46.536Z"}]

Code Example

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\GVASER~1\\AppData\\Local\\Temp\\claude\\H--Automation-Claude-Awareonomics-Employe-Attend\\df9c985a-9c51-49cd-bc0a-78628364612a\\tasks\\a4b33a785a0bb3368.output'\n    at async unlink (node:internal/fs/promises:1068:10)\n    at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T07:53:38.002Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\GVASER~1\\AppData\\Local\\Temp\\claude\\H--Automation-Claude-Awareonomics-Employe-Attend\\df9c985a-9c51-49cd-bc0a-78628364612a\\tasks\\a8bcbbf576172175a.output'\n    at async unlink (node:internal/fs/promises:1068:10)\n    at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T08:03:58.992Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\GVASER~1\\AppData\\Local\\Temp\\claude\\H--Automation-Claude-Awareonomics-Employe-Attend\\df9c985a-9c51-49cd-bc0a-78628364612a\\tasks\\ae369db270140decf.output'\n    at async unlink (node:internal/fs/promises:1068:10)\n    at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T08:54:02.087Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\fly.toml?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:08.534Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\railway.json?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:08.888Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\Procfile?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.037Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\Dockerfile?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.179Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\.env.example?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.411Z"},{"error":"Error: Request was aborted.\n    at qh.makeRequest (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:3448)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-04-22T11:59:46.536Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Even after my repeated instructions and skills it fails to adhere to it like I have already said that no co-authored by claide should come in any of my apps or anywhere and whn it pushes the data to got or somewhere it always says sorry and then says won't repeat. Also, on many occassions it does not even care as to what am I saying it is just trying to prove that it's right similarly it always misses the factual point of what i am saying instead it starts asking questions which are of no use.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.112
  • Feedback ID: bbfe8d46-3a71-4700-81b0-3eed674eba08

Errors

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\GVASER~1\\AppData\\Local\\Temp\\claude\\H--Automation-Claude-Awareonomics-Employe-Attend\\df9c985a-9c51-49cd-bc0a-78628364612a\\tasks\\a4b33a785a0bb3368.output'\n    at async unlink (node:internal/fs/promises:1068:10)\n    at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T07:53:38.002Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\GVASER~1\\AppData\\Local\\Temp\\claude\\H--Automation-Claude-Awareonomics-Employe-Attend\\df9c985a-9c51-49cd-bc0a-78628364612a\\tasks\\a8bcbbf576172175a.output'\n    at async unlink (node:internal/fs/promises:1068:10)\n    at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T08:03:58.992Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\GVASER~1\\AppData\\Local\\Temp\\claude\\H--Automation-Claude-Awareonomics-Employe-Attend\\df9c985a-9c51-49cd-bc0a-78628364612a\\tasks\\ae369db270140decf.output'\n    at async unlink (node:internal/fs/promises:1068:10)\n    at async file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:8166:340","timestamp":"2026-04-22T08:54:02.087Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\fly.toml?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:08.534Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\railway.json?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:08.888Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\Procfile?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.037Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\Dockerfile?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.179Z"},{"error":"Error: File does not exist. Note: your current working directory is H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin. Did you mean H:\\Automation\\Claude\\Awareonomics\\Employe Attend\\tapin\\.env.example?\n    at Object.call (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4989:7555)\n    at async UJY (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4439:8320)","timestamp":"2026-04-22T08:54:09.411Z"},{"error":"Error: Request was aborted.\n    at qh.makeRequest (file:///C:/Users/GVAServer/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:47:3448)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-04-22T11:59:46.536Z"}]

extent analysis

TL;DR

The issue is likely caused by file path or directory issues, and checking the current working directory and file existence may resolve the problem.

Guidance

  • Verify that the files and directories mentioned in the error messages exist and are accessible.
  • Check the current working directory to ensure it is correct and matches the expected path.
  • Review the code to ensure that file paths are correctly constructed and handled.
  • Consider checking for any permissions issues that may be preventing access to the files or directories.

Example

No code snippet is provided as the issue seems to be related to file system and directory issues rather than code-specific problems.

Notes

The errors suggest that there are issues with file paths and directories, but without more information about the code and the expected behavior, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround by checking and verifying file paths and directories to ensure they exist and are accessible, as this is the most likely cause of 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