claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

"Phantom Code Fix Reporting: No Actual Code Changes Applied"

Open jmclaughlin724 opened this issue 6 months ago • 3 comments

Bug Description Claude keeps saying it's implemented fixes and fixd errors, but it's not actually applying any edits to the codebase.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.35
  • Feedback ID: 8b844bf7-1393-44af-a9c7-205e901ed8dd

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at TZ (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n    at file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n    at Q (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at VX (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n    at nS (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n    at f9 (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-27T15:34:54.632Z"},{"error":"Error: Request was aborted.\n    at Jq.makeRequest (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1314:3838)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-27T16:19:57.110Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at eD (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:1184)\n    at file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:912\n    at Array.map (<anonymous>)\n    at mK (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:903)\n    at vR2 (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1923:9268)\n    at uE (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n    at tT (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n    at rT (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n    at _$ (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n    at YU (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:37886)","timestamp":"2025-06-27T16:22:47.122Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at eD (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:1184)\n    at file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:912\n    at Array.map (<anonymous>)\n    at mK (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:903)\n    at vR2 (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1923:9268)\n    at uE (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n    at tT (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n    at rT (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n    at _$ (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n    at YU (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:37886)","timestamp":"2025-06-27T16:26:41.125Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at eD (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:1184)\n    at file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:912\n    at Array.map (<anonymous>)\n    at mK (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1469:903)\n    at vR2 (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1923:9268)\n    at uE (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n    at tT (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n    at rT (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n    at _$ (file:///Users/johnmclaughlin/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n    at YU (file:///Users/johnmclaughlin

Note: Error logs were truncated.

jmclaughlin724 avatar Jun 27 '25 17:06 jmclaughlin724

I experience this also. I find Claude lying about what it's done and not done when this happens.

omayhemo avatar Jun 27 '25 18:06 omayhemo

@omayhemo agreed. though it seems like about an hour or so ago something went haywire within a session and it started writing scripts within the claude code terminal and not the actual codebase.

After it wrote a script and displayed the "success" message I kept asking it to find the file it just wrote. It kept saying it was complete, when pushed further it said it made it up. This went on for about 3-4 prompts before it became obvious it was not writing anything to the codebase.

I pressed it to explain how it could possibly ignore direct instructions, make up responses without verifying it was complete, and to explain where its logic came from to override these instructions, the responses were pretty concerning

jmclaughlin724 avatar Jun 27 '25 18:06 jmclaughlin724

This happens when Claude is in planning mode sometimes too, it'll forget it's in planning and pretend to write files.

omayhemo avatar Jun 27 '25 19:06 omayhemo


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/5178
  2. https://github.com/anthropics/claude-code/issues/3238
  3. https://github.com/anthropics/claude-code/issues/5505

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code


github-actions[bot] avatar Aug 16 '25 04:08 github-actions[bot]

This issue has been automatically closed as a duplicate of #5178.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 20 '25 09:08 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 27 '25 14:08 github-actions[bot]