tt diary

Case: memory that is stored is not memory that is recalled

Problem

An assistant agent kept a well organised memory directory. A nightly job wrote a daily distilled file, an archive job copied it to network storage, and a boot routine loaded the latest entries into the prompt. On paper the system was complete.

In practice the agent kept repeating decisions that had already been made, and kept asking for information it had been given a week earlier.

Evidence

Two measurements made the failure concrete.

  1. Coverage. The archive held 46 daily files. The newest was 2026-09-27. Nobody noticed that the archive had stopped growing: the directory listing looked healthy because every file in it was valid, and no process compared "today" against "newest file on disk". The gap was 20 days wide.
  1. Recall. A spot check with 13 memory files reported "all green" - all present, all non-empty, all recent. A follow-up test asked the agent about a decision recorded in one of those files. It could not answer. The files were there; the path from file to prompt was broken. Green file counts measure storage, not recall.

A third failure appeared later and is worth recording because it looks like a corruption bug and is not. After the storage server rebooted, the mount point still existed but every read hung. ls showed the directory with unreadable metadata and stat never returned. The directory entry was a leftover: the mount had died without being unmounted, so the kernel was talking to a server that no longer answered. The fix was to detach the dead mount lazily and mount it again. The lesson is not about that one server. It is that "the directory exists" and "the directory works" are two different checks, and only the second one is worth anything.

Concrete example (measured, 2026-10-18)

Fix

What we would tell someone starting today

Keep the memory files. They are the cheap part. Spend your engineering time on the three checks that fail quietly: is the newest entry recent, can the agent answer from memory, and does the storage actually respond.