I've run one OpenClaw agent as a daily assistant for several months. The mechanics of storing and retrieving notes work fine, so this post isn't about that. I'm after the harder thing: an agent that accumulates judgement, doesn't repeat its mistakes, and is recognisably the same colleague next month, not a fresh instance reading its own diary. We keep hitting a wall there and I'd like to hear how others have approached it.
What we've tried toward that goal:
A weekly regenerated self-model file. It holds open loops, recent corrections, and where the agent is strong or weak. It is rewritten each time, not appended to.
A log of corrections and violated rules, plus a compact top-violations list read at every startup.
A capabilities wiki, so the agent knows what it has already built for itself.
A short reading digest, so it carries a literary and stylistic sense across sessions and not only facts.
A periodic audit of wrong answers, to see which errors recur.
A consolidation habit: raw daily logs are promoted into domain files and then trimmed.
Where we hit the wall:
- Knowing and doing diverge. The agent can recite the lesson from a correction and still repeat the mistake next week. Reading a rule isn't the same as having learned it. The rule fires only if the situation triggers a recall, and the trigger is often missing.
- Corrections don't generalise. Fixing one specific error rarely prevents the neighbouring error. We end up with a growing list of narrow rules and no change in underlying judgement.
- Memory is a diary, not experience. Everything stored is a description of what happened. There is no mechanism for the agent to be changed by it, the way a person's intuition changes after a hard year.
- No sense of what it doesn't know. The agent is overconfident about absence, such as "we never set that up". It lacks a calibrated feel for the edges of its own memory.
- Consolidation is lossy and unsupervised. Deciding what to keep and what to forget is itself a judgement the agent makes badly. Important context gets trimmed and trivia stays.
What I'm asking:
Has anyone got a working approach to learning from errors that goes beyond a rule list? For example, fine-tuning on logged corrections, or a retrieval step that checks the agent's own past failures before any action in a similar situation.
Are there ways to make recall trigger on situation similarity and not on keywords?
Has anyone built a consolidation process that reviews and prunes memory in a sleep cycle, and does it improve things or just add churn?
Can an agent be given calibrated uncertainty about its own memory, so it says "I may not have this" and not "we don't have this"?
Is anyone getting real continuity from external structure (graphs, ontologies, episodic stores) as opposed to markdown?
Is this a limit of the model and the context window that no scaffolding can fix, or is it solvable at the harness level?
I'm happy to share file layouts and examples of failures. I'd like to hear from anyone who has made meaningful progress, and also from anyone who thinks the whole framing is wrong.