[Bug] Claude ignores previously generated code and pursues redundant solutions
Resolved 💬 3 comments Opened Apr 13, 2026 by ifrumin Closed May 25, 2026
Bug Description
claude waste time on wrong directions, on things he has in memory but he doesm;t evwen check it.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.104
- Feedback ID: 1df4c944-5fa2-46de-bf28-20c7f8f5d696
Errors
[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\admin\\AppData\\Local\\Temp\\claude\\Z--gcpc-qt\\ad19e76c-de7e-4086-a127-51061eba0df6\\tasks\\a841b6b07e90bf78f.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-12T14:34:12.558Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T14:40:48.640Z"},{"error":"Error: Error normalizing tool input: ZodError: [\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"old_string\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"expected\": \"string\",\n \"code\": \"invalid_type\",\n \"path\": [\n \"new_string\"\n ],\n \"message\": \"Invalid input: expected string, received undefined\"\n },\n {\n \"code\": \"unrecognized_keys\",\n \"keys\": [\n \"old_str\",\n \"new_str\"\n ],\n \"path\": [],\n \"message\": \"Unrecognized keys: \\\"old_str\\\", \\\"new_str\\\"\"\n }\n]\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:4821:1005)\n at map (native:1:11)\n at V78 (B:/~BUN/root/src/entrypoints/cli.js:4821:556)\n at Um_ (B:/~BUN/root/src/entrypoints/cli.js:7969:7513)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T04:13:24.255Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\admin\\AppData\\Local\\Temp\\claude\\Z--gcpc-qt\\ad19e76c-de7e-4086-a127-51061eba0df6\\tasks\\ab9d83affbae06e28.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T04:56:13.921Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗