{"slug": "your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat", "title": "Your coding agent keeps repeating past mistakes because the reasons live in chat history, not in the repo.", "summary": "A developer built a decision ledger for coding agents that records the rationale behind every change in the repository rather than in chat history, so rejected approaches resurface before the next edit. The tool aims to prevent agents from repeating past mistakes by making the \"why\" of each change persistent and queryable, complementing git blame's record of \"who.", "body_md": "Git blame tells you who. This tells you why\nyi zhao\nyi zhao\nyi zhao\nFollow\nOct 17\nGit blame tells you who. This tells you why\n#\nai\n#\nprogramming\n#\nproductivity\n#\narchitecture\n1\nreaction\nAdd Comment\n2 min read", "url": "https://wpnews.pro/news/your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat", "canonical_source": "https://dev.to/yi_zhao_a2633e86f8c799b5b/your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat-history-not-in-2kln", "published_at": "2026-10-19 19:21:31+00:00", "updated_at": "2026-10-19 19:44:44.605315+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "artificial-intelligence"], "entities": ["yi zhao", "git"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat", "markdown": "https://wpnews.pro/news/your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat.md", "text": "https://wpnews.pro/news/your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat.txt", "jsonld": "https://wpnews.pro/news/your-coding-agent-keeps-repeating-past-mistakes-because-the-reasons-live-in-chat.jsonld"}}