Retrieve first. Write only what should persist.
MEMORY.md — curated long-term memorymemory/YYYY-MM-DD.md — daily notes and running contextmemory_search — find likely snippetsmemory_get — read exact lines neededWhen user asks about prior work, decisions, dates, people, preferences, or todos:
memory_search with a tight, specific query.memory_get for the needed lines only.Good queries: omar internship goal fall 2026, notion workspace page id
Bad queries: whole paragraphs, vague terms like memory
Write when user says "remember this," states a durable preference, or makes a decision that matters later.
| Destination | What goes there |
|---|---|
| --- | --- |
MEMORY.md | Standing preferences, durable facts, recurring workflows, important long-term decisions |
memory/YYYY-MM-DD.md | Day-to-day notes, progress, one-off events, session context |
Rules:
Skip retrieval when the answer is in the current message or task is current-turn only.
Skip writing when the fact is trivial, belongs in project docs, or is temporary scratch.
共 1 个版本