blog
Checking agent memory notes against what actually happened
Richard Sutton says an agent needs ground truth from the consequences of its actions. That idea shaped one design choice in my memory tool, and it shows what I still can't claim.
Richard Sutton says an agent needs ground truth from the consequences of its actions. That idea shaped one design choice in my memory tool, and it shows what I still can't claim.
A summary can be wrong, and copying it copies the mistake
In a live pilot of smartcompact, my plugin for keeping a coding agent on track after compaction, the harness’s own summary decided the task was inert historical material. My continuation packet copied that judgement into its state section. Most of the failures I saw were about authority: which instruction is current, and what is actually done. A better packet doesn’t settle either question.
What Sutton gave me to push against
In his interview with Dwarkesh Patel, Richard Sutton defines intelligence as the ability to achieve goals, and says an agent should learn from what happens when it acts instead of imitating what people write. For an agent in his sense, the truth comes from the environment. A summary has no such anchor, because it is one model’s reading of what happened.
What I changed in observational-memory
In my port of elpapi42’s design, every note cites the ids of the transcript lines it came from. The script checks each cited id against the chunk it showed the observer model and rejects any note without a valid source. A recall tool takes a note’s id and returns the exact lines behind it, so the agent can look before it relies on a note. The full design is in Memory that survives compaction.
Where Sutton’s standard is stricter than mine
A transcript records what was said and done, but not whether it worked. By his standard that is weaker than ground truth, which comes from consequences. My check catches notes with no real source, not notes that draw the wrong conclusion from real lines.
The part I haven’t measured
The test his view asks for is outcomes: do tasks go better with the notes than without? That is the question smartcompact never answered, and I haven’t measured it this time either.
What I do keep is a verification ladder per harness, with the date and the exact command for every step that ran, so my claims about what runs can be checked. The top step, actual day-to-day use, isn’t marked for any harness yet.