Expand description
Memory write discipline.
Enforces the two-step write pattern:
- Write the memory file with proper frontmatter
- Update MEMORY.md index with a one-line pointer
Prevents entropy by never dumping content into the index.
Functionsยง
- delete_
memory - Remove a memory file and its index entry.
- rebuild_
index - Rebuild MEMORY.md from the actual files in the memory directory. Scans all .md files (except MEMORY.md itself), reads their frontmatter, and regenerates the index.
- write_
memory - Write a memory file and update the index atomically.