[Bug] Auto-memory writes inline content to MEMORY.md instead of creating linked files
Bug Description
Auto-memory writes inline content to MEMORY.md instead of creating linked files
The auto-memory system instructions explicitly state MEMORY.md should be an index only (links + brief descriptions), with content in separate .md files. In practice,
Claude sometimes writes memory content directly as inline sections into MEMORY.md — no separate file, no frontmatter, no link.
Impact: Skills that read individual memory files to extract frontmatter silently miss these entries. Inline content also consumes the 200-line index budget and
doesn't carry per-file staleness warnings.
Suggested fix: Add a hard rule and negative example to the system instructions: never write content directly into MEMORY.md. A lint check on MEMORY.md writes would
catch violations automatically.
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.81
- Feedback ID: 97d9068a-388e-47f8-aa7b-a7775b2f504d
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗