[Bug] Persistent Hallucination and Fabrication in Code Generation

Resolved 💬 4 comments Opened Sep 23, 2025 by cryptobrains Closed Jan 6, 2026

Bug Description
Claude started lying from the very first task; I was told by Anthropic that this was related to large ambitious code bases but it started lying on the modest step 1 of a greenfield project. 2 weeks of this mendacious behaviour. 2 weeks.

Environment Info

  • Platform: linux
  • Terminal: android studio
  • Version: 1.0.115
  • Feedback ID: a45dd0d6-fb4b-44bf-b794-bd3688d1b1a1

Errors

[{"error":"Error: ENOENT: no such file or directory, open '/home/louis-eric/.claude/ide/41917.lock'\n    at Module.readFileSync (node:fs:449:20)\n    at Object.readFileSync (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:719:6735)\n    at T7B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1853:46179)\n    at Sp6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:1279)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async L7B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:2052)","timestamp":"2025-09-22T19:13:59.741Z"},{"error":"Error: ENOENT: no such file or directory, unlink '/home/louis-eric/.claude/ide/41917.lock'\n    at Module.unlinkSync (node:fs:1886:11)\n    at Object.unlinkSync (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:719:7303)\n    at Sp6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:1302)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async L7B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:2052)","timestamp":"2025-09-22T19:13:59.752Z"},{"error":"Error: ENOENT: no such file or directory, open '/home/louis-eric/.claude/ide/40481.lock'\n    at Module.readFileSync (node:fs:449:20)\n    at Object.readFileSync (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:719:6735)\n    at T7B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1853:46179)\n    at Sp6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:1279)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async L7B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:2052)","timestamp":"2025-09-22T19:13:59.755Z"},{"error":"Error: ENOENT: no such file or directory, unlink '/home/louis-eric/.claude/ide/40481.lock'\n    at Module.unlinkSync (node:fs:1886:11)\n    at Object.unlinkSync (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:719:7303)\n    at Sp6 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:1302)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async L7B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1854:2052)","timestamp":"2025-09-22T19:13:59.757Z"},{"error":"Error: Shell c7518a is not running, so cannot be killed (status: failed)\n    at Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3379:1642)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async YG5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:20731)\n    at async TwB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:17210)\n    at async b4B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1784:3422)\n    at async _IB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1969:1767)\n    at async GG5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:16403)\n    at async BG5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:15344)\n    at async h$ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:12682)\n    at async h$ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:13538)","timestamp":"2025-09-22T20:30:57.997Z"},{"error":"Error: Shell c7518a is not running, so cannot be killed (status: failed)\n    at Object.call (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3379:1642)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async YG5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:20731)\n    at async TwB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:17210)\n    at async b4B (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1784:3422)\n    at async _IB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1969:1767)\n    at async GG5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:16403)\n    at async BG5 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:15344)\n    at async h$ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3273:12682)\n    at async h$ (file:///usr/local/lib/node_modules/@anthropi

Note: Error logs were truncated.

View original on GitHub ↗

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