Local only
On this device
0 / 13 proofs · 0%
Part II · Compounding harness · 07

Memory floors

Context is session RAM. Durable memory is on disk. Caps are intentional.

30 min

Three floors

Three memory floors
Cap is a feature · writes often load next session
Floor 1 · Notebook
SOUL · MEMORY · USER
Always loaded · capped
Floor 2 · Journal
Session recall / FTS
Verbatim search
Floor 3 · Library
Vault / notes
Next module

Part II starts with memory because tools without durable facts re-hallucinate preferences every session. Map the floors before you write anything.

FloorWhatLimit
1 · NotebookSOUL, MEMORY, USER: always loadedIntentionally capped
2 · JournalSession recall: verbatim / full-text searchLocal history size
3 · LibraryVault / external notes (next module)Your disk

Cap as a feature

MEMORY.md and USER.md share a tight prompt budget on purpose. The cap forces durable preferences, facts, corrections, and conventions, not a dump of chat logs. Near capacity: merge, compress, drop stale lines.

Remembering everything is remembering nothing. Prefer dense facts.

Gotcha: write now, load next session

Disk updates can succeed while the current system prompt stays frozen for cache efficiency. A same-session "do you remember?" check can look like failure when the file is already correct. Verify the file, then open a new session for the behavioral proof.

If MEMORY.md has the line and this session ignores it, close and reopen before blaming the agent.

MEMORY.md and USER.md

MEMORY.md is the agent notebook (environment, conventions, lessons). USER.md is your card (name, preferences, avoid-list). The agent writes them; you may edit them in any text editor. Unwritten facts do not persist.

File over app: closed chat products do not offer this honesty.

External providers (optional)

Pluggable providers (user modeling, fact extraction, graphs) augment the built-in layer; they do not replace your files. Run one provider at a time. Switching does not migrate prior accumulation.

  • Default for this course: files plus vault.
  • Add a provider only when built-in memory is clearly insufficient.
  • Export or note important facts before switching providers.

Proof ritual

Steps · tap to check0/5
Memory system ↗

Memory vs hallucination

Without memory the model fills gaps with confidence. With memory and sources it consults first. Still fallible, but checkable by you and by the agent.

Context window vs durable memory

The context window is session RAM. Hermes may auto-compress long threads; you can also run /context and /compress so the active prompt shrinks while the stored session remains. Prefer writing durable facts to MEMORY.md / USER.md rather than hoping a long chat will still "know" them next week.

Checklist · this device0/2
Lab: Session control studio →
Proof of completion

You wrote a durable fact, verified it on disk, closed the session, reopened, and the agent still knew it.

Proof · this device0/1

Stored on this device only, not sent anywhere.

Part II begins
You already have an agent. Now give it durable memory and ownership habits.