[Bug] Unintended Overwrite of Local Changes During Git Code Extraction

Resolved 💬 3 comments Opened Oct 14, 2025 by klausagnoletti Closed Oct 17, 2025

Bug Description
Claude was supposed to take only a small piece of code from git. Instead all my small meticulously adjusted UI changes were overwritten without any warning. FUCK!

Environment Info

  • Platform: linux
  • Terminal: xterm-256color
  • Version: 2.0.11
  • Feedback ID: 7ab54411-15d2-46ac-a03b-615973b05a98

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at pN (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:713:1075)\n    at IncomingMessage.<anonymous> (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:714:9910)\n    at IncomingMessage.emit (node:events:529:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1400:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at pQ1.request (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:716:2078)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async cIA (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:877:25947)","timestamp":"2025-10-13T21:15:13.074Z"},{"error":"Error: Tool mcp__puppeteer__puppeteer_navigate not found\n    at qOB (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2289:7648)\n    at PC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:19415)\n    at $p (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:42814)\n    at G9 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38355)\n    at qh (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38283)\n    at gC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38137)\n    at yH (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:35216)\n    at P6 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:4841)\n    at Z5 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:32461)\n    at Q.updateContainer (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:38:1827)","timestamp":"2025-10-13T21:15:14.999Z"},{"error":"Error: Tool mcp__puppeteer__puppeteer_screenshot not found\n    at qOB (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2289:7648)\n    at PC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:19415)\n    at $p (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:42814)\n    at G9 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38355)\n    at qh (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38283)\n    at gC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38137)\n    at yH (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:35216)\n    at P6 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:4841)\n    at Z5 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:32461)\n    at Q.updateContainer (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:38:1827)","timestamp":"2025-10-13T21:15:15.003Z"},{"error":"Error: Tool mcp__puppeteer__puppeteer_navigate not found\n    at qOB (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2289:7648)\n    at PC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:19415)\n    at $p (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:42814)\n    at G9 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38355)\n    at qh (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38283)\n    at gC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:38137)\n    at yH (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:35216)\n    at P6 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:4841)\n    at Z5 (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:32461)\n    at Q.updateContainer (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:38:1827)","timestamp":"2025-10-13T21:15:15.005Z"},{"error":"Error: Tool mcp__puppeteer__puppeteer_screenshot not found\n    at qOB (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2289:7648)\n    at PC (file:///home/klaus/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:19415)\n    at $p (file:///home/klaus/.npm-global/lib/node_modules/@an

Note: Error logs were truncated.

View original on GitHub ↗

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