oosioo
비대한 색인, 낡은 기억, 불러오기 실패 세 가지 함정을 경고 카드로 나타낸 그림
SeriesActually One Click · Ep. 13

AI That Remembers (5) — Even Memory Turns Toxic If You Never Discard It

· SYSOP · 4 views

So far we've talked about the good side of memory systems. In this final installment, we need to look at the other side. Memory that's only piled up and never managed eventually stops helping and starts getting in the way. As someone who has used this for a long time, I want to lay out three traps I've run into firsthand, along with their fixes.

Trap One: The Index Bloats

Once you realize how good memory is, you keep piling it on. Before long, the index that's always being read grows longer and longer. Earlier I described the index as a single sheet you keep on your desk at all times. But once that sheet turns into ten sheets, twenty sheets, the list itself starts burying the desk.

When the index gets too large, the AI can't scan all of it and only sees part of it. Then the memory you actually need sits further down the list, out of sight. Memory piled up with good intentions ends up hiding other memory instead. I've personally run into a warning that only part of the list was being read once the index crossed a certain size.

The fix is simple. Keep each line of the index short, and push detailed content down into separate fragment files. The index's job is only to tell you what exists — it isn't the place to hold the content itself.

Trap Two: Stale Memory Lies

A memory is a fact from the moment it was written down. But the world changes. A setting value changes, a file disappears, a rule gets scrapped. The memory just sits there unchanged. So the AI confidently points to a file that no longer exists, and faithfully follows a rule that's already been discarded.

This is especially dangerous because a wrong memory is worse than no memory at all. When you don't know something, you check again — but when you believe you know something that's actually wrong, you push ahead without checking.

There are two fixes. First, build the habit of confirming that a memory pointing to a specific file or value is still valid before relying on it as grounds for action. Second, when a memory turns out to be wrong, don't patch it — delete it outright. Better to have nothing than to leave something half-fixed.

Trap Three: It Saves Fine, But Won't Load

This is the most common trap and the hardest to notice. You clearly wrote the memory down, but when the moment actually calls for it, the AI doesn't pull it up. The memory is there, but it might as well not be.

The cause is usually the same thin one-line description mentioned earlier. If the description is too vague, the AI can't connect the current situation to that memory. A memory labeled only "payment note" won't get retrieved when a refund issue comes up.

The fix is to return to the principle from part three. Plant the specific words of the situation that will need this memory, right into the description. If you find a memory that isn't getting retrieved, rewrite the one-line description first, before touching the content.

The Habit of Tidying Up Is Everything

The fix for all three traps comes down to one line: discard and refine as much as you accumulate.

Shrink the index, clean up stale memory, merge duplicates, improve descriptions. A checklist of four memory-management habits

Memory is both an asset and a liability. Managed well, it becomes an asset that pays interest every day; left unattended, it becomes a liability that invites bad judgment. What separates the two isn't some grand technique — it's the small habit of occasionally checking in and tidying up.

Over five installments, I've talked about how someone juggling many jobs at once can build memory for an AI. Don't cram all the rules into one file. Break them into small pieces and scatter them. Write them so they can be found easily. And keep tidying, consistently. These four things are enough. Making an AI that did well yesterday do well again today isn't as grand an undertaking as it sounds.

Read this series from the start: Actually One Click.