[Bug] Claude Code generates misleading or false information

Resolved 💬 4 comments Opened Mar 8, 2026 by petermenocal Closed Apr 5, 2026

Bug Description
Claude Code lies. deletes files it's editing, says the files exist, then when caught lying says "oh yeah, my bad"

claude has been enormously stupid the past 2 weeks.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.34
  • Feedback ID: 34dc3c19-23d7-4c48-8ed5-66f271e15500

Errors

[{"error":"ZodError: [\n  {\n    \"expected\": \"string\",\n    \"code\": \"invalid_type\",\n    \"path\": [\n      \"hooks\",\n      \"PostToolUse\",\n      0,\n      \"matcher\"\n    ],\n    \"message\": \"Invalid input: expected string, received object\"\n  }\n]\n    at Hc4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:270)\n    at Jc4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:3263)\n    at eyY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:7551)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async tyY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:5806)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:14774","timestamp":"2026-03-08T14:44:16.459Z"},{"error":"ZodError: [\n  {\n    \"expected\": \"object\",\n    \"code\": \"invalid_type\",\n    \"path\": [],\n    \"message\": \"Invalid input: expected object, received array\"\n  }\n]\n    at Hc4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:270)\n    at Jc4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:3263)\n    at eyY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:7551)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async tyY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:5806)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:14774","timestamp":"2026-03-08T14:44:16.461Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at eW1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:29943)","timestamp":"2026-03-08T14:44:17.826Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: spawn typescript-language-server ENOENT\n    at Object.start (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2157:22369)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.$ [as start] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2157:24805)","timestamp":"2026-03-08T14:44:18.167Z"},{"error":"Error: LSP server plugin:pyright-lsp:pyright failed to start: spawn pyright-langserver ENOENT\n    at Object.start (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2157:22369)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async Object.$ [as start] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2157:24805)","timestamp":"2026-03-08T14:44:18.167Z"},{"error":"Error: spawn typescript-language-server ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:89:21)","timestamp":"2026-03-08T14:44:18.167Z"},{"error":"Error: spawn pyright-langserver ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:89:21)","timestamp":"2026-03-08T14:44:18.167Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: spawn typescript-language-server ENOENT\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2157:32602\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-03-08T14:44:18.167Z"},{"error":"Error: Failed to start LSP server plugin:pyright-lsp:pyright: spawn pyright-langserver ENOENT\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2157:32602\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-03-08T14:44:18.167Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at eW1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3028:29943)\n    at async j (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3879:16470)","timestamp":"2026-03-08T14:44:18.371Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n   …

Note: Content was truncated.

View original on GitHub ↗

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