Why AI Coding Agents Keep Making the Same Mistakes (And How to Stop Them)
My coding agents kept repeating mistakes I had already corrected, days after I explained them, with the explanation sitting in their memory files.
On 17 September an agent added a line to a notes index in my workspace. The line was supposed to say transcribe with base on CPU. It said transcribe with on CPU. The same thing in a terminal:
$ echo "transcribe with `base` on CPU"/usr/bin/bash: line 1: base: command not foundtranscribe with on CPU
Inside double quotes, bash runs whatever sits between backticks and pastes the output in its place, as the POSIX shell specificationsays it should. Agents write Markdown, Markdown puts every file name in backticks, and the exit code stays 0. That evening it happened twice more within two hours. The third time, a backticked name matched a project file, and bash ran the file as a shell script. The trap had been...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE