Bildabrain

Chapter 3

Something to Remember It By: long-term memory

Here is the lobe that most feels like a brain. Memory is the set of facts Claude carries from one session to the next: who you are, how you like to work, what is going on in the projects, and where the useful things live. Done well, you stop repeating yourself. Done badly, you build a hoard.

The shape of a memory

The pattern that works is almost boringly simple: one fact per file, each with a little header so the system knows what it is, plus a single index file that lists every memory in one line each. The index is loaded into every session; the full files are opened only when a line looks relevant.

One memory, one file
---
name: deploys-need-a-branch
description: Never commit straight to main; branch first, open a PR.
type: feedback
---

I was burned once by a push straight to main on a Friday.
From now on: always branch, always PR, even for a one-line fix.
Why: a bad main costs the whole team an afternoon.

The description line is not decoration. It is the hook the model reads in the index to decide whether this memory is worth opening right now. Write it like a search result you are trying to click: concrete, specific, in the words you would actually use later.

Four kinds of memory worth keeping

The discipline (this is the whole game)

Memory rots without rules. The ones that keep it useful:

  1. Update, don't duplicate. Before writing, check whether a file already covers it. Edit that one.
  2. Delete what's wrong. A confidently remembered falsehood is worse than a gap. When a fact turns out false, remove it.
  3. Don't store what the code already says. Structure, past fixes, and history live in the repo. Memory is for what the repo can't tell you.
  4. One fact, one file. Tangled files never get updated, because nobody can tell what they would be breaking.
  5. Mind what's sensitive. A brain full of your life is a liability as much as an asset — see principles.

Recall: how the brain finds the memory

When a session starts, the model sees the index — every memory as a single described line. As the conversation turns toward a topic, the relevant lines light up and the model opens those files. That is why the index line matters more than the file body: a perfect memory with a vague description is a book with no title on the spine. It exists, and no one will ever pull it off the shelf.

Treat recalled memories as what they are: notes from a past session, true as of when they were written. If one names a file or a flag, the model should verify it still exists before leaning on it. Straw settles; fields change.