| name | memories-sanitize |
| description | Review recent memories and remove invalid or misleading ones from the semantic memory database |
| allowed-tools | Bash(simba *) |
Memory Sanitization Procedure
Review memories and identify those that are invalid, misleading, or outdated. This applies to any work session - debugging, feature development, refactoring, exploration, etc.
Step 1: List Memories
List all memories:
simba memory list
Or filter by type:
simba memory list --type GOTCHA
Each memory shows: id, type, confidence, and content.
Step 2: Identify Invalid Memories
Review each memory and mark as INVALID if it:
From Any Session Type
- Outdated information - Was true but no longer applies after changes
- Superseded by better approach - A newer, better solution exists
- Too specific/narrow - Only applied to a removed/changed feature
- Incorrect generalization - Specific case wrongly stated as general rule
From Debugging Sessions
- Red herring - An initial hypothesis that turned out to be wrong
- Wrong blame - Points to code that was actually working correctly
- Non-issue - Something suspected as a bug but wasn't
From Feature Development