---
title: "Comment by Julian Neagu on \"When your coding agent repeats a mistake, move the lesson out of chat.\" | Hashnode"
description: "I’ve seen this happen a lot with coding agents. The fix is usually not a better prompt, it’s moving that lesson into the right place so the next session starts"
url: "https://hashnode.com/posts/when-your-coding-agent-repeats-a-mistake-move-the-lesson-out-of-chat/6a70d2a0f40be8a79446c4e7/comment/6a747c10c9c92d9b15129347"
---

[Discussion](https://hashnode.com/posts/when-your-coding-agent-repeats-a-mistake-move-the-lesson-out-of-chat/6a70d2a0f40be8a79446c4e7)

Comment [When your coding agent repeats a mistake, move the lesson out of chat.](https://hashnode.com/posts/when-your-coding-agent-repeats-a-mistake-move-the-lesson-out-of-chat/6a70d2a0f40be8a79446c4e7)

[Julian Neagu](https://hashnode.com/@julianneagulab)

[Aug 6](https://hashnode.com/posts/when-your-coding-agent-repeats-a-mistake-move-the-lesson-out-of-chat/6a70d2a0f40be8a79446c4e7/comment/6a747c10c9c92d9b15129347)

I’ve seen this happen a lot with coding agents. The fix is usually not a better prompt, it’s moving that lesson into the right place so the next session starts smarter.
