Memory Defrag Reorganize memory files for clarity, efficiency, and relevance. Like filesystem defragmentation but for knowledge. When to Run - Periodic : Weekly or biweekly via cron (recommended) - On demand : User asks to clean up, reorganize, or defrag memory - Threshold : When MEMORY.md exceeds 500 lines or daily notes accumulate without consolidation Process 1. Audit Current State Inventory all memory files: For each file, note: line count, last modified, topic coverage, staleness. 2. Identify Problems Look for these common issues: | Problem | Signal | Fix | |---------|--------|-----| | B…