Home / Lessons / Make it stick / 23 of 27
New agent, same old mistakes
A fresh agent inherits nothing from the last chat.
- A fresh agent inherits nothing. It walks into the same old mistake.
- Write the lesson where the next one will read it.
- Better still, make it a rule that runs.
- It is stopped whether it read anything or not.
Different kinds of knowledge live in different places. A project wiki explains architecture, decisions and history. Repository rules record the failures every agent must read. A memory service gives lasting recall of preferences and lessons across sessions. Hooks inject context and enforce rules automatically, without relying on anyone remembering.
The sources have an order of authority. The code that is running and the project’s written rules outrank summaries, the wiki and remembered context. Memory helps an agent find its feet. It does not overrule the system that actually runs.
How I do it
I use a project wiki, repository rules, Mem0 for memory across sessions, and hooks.
The rule
Decide where each kind of knowledge lives, and which source wins when two disagree.
Rule 23. Decide where each kind of knowledge lives, and which source wins when two disagree. (New agent, same old mistakes, https://chiefofagents.si/one-page#rule-23)
Read next
The ideas behind it
This lesson as plain text, for your agent. Or all 27 on one page.