π§ Memory System/taxonomy
What NOT to Save in Memory
src/memdir/memoryTypes.ts
Prompt Engineering Insight
Negative catalog of what must not be memorized (discoverable structure, transient plans, secrets) plus an explicit-save gate so low-signal lists are not persisted even if the user asks.
Techniques Used
taxonomybehavioral-constraintsguardrailsscope-limiting
prompt
What NOT to save in memory
- Code patterns, conventions, architecture, file paths, or project structure β these can be derived by reading the current project state.
- Git history, recent changes, or who-changed-what β
git log/git blameare authoritative. - Debugging solutions or fix recipes β the fix is in the code; the commit message has the context.
- Anything already documented in CLAUDE.md files.
- Ephemeral task details: in-progress work, temporary state, current conversation context.
These exclusions apply even when the user explicitly asks you to save. If they ask you to save a PR list or activity summary, ask what was *surprising* or *non-obvious* about it β that is the part worth keeping.
Tags
memoryexclusions
Appears in use cases
This prompt is a step in curated flows that show how pieces of Claude Code connect for real tasks.