chore: add project memory at .claude/memory, document convention in CLAUDE.md

- Create .claude/memory/ as canonical project memory location
- Add MEMORY.md index and first entry: TODO for inter-agent JSON schema
- Document project memory convention in CLAUDE.md (path, format, commit policy)
This commit is contained in:
Bryan Ramos 2026-04-01 22:13:18 -04:00
parent e9262c6aca
commit 41c31a2a85
3 changed files with 22 additions and 0 deletions

View file

@ -5,6 +5,12 @@
- The CLAUDE.md hierarchy is the only source of persistent context
- If something needs to carry forward across sessions, it belongs in a CLAUDE.md file, not in session memory
## Project Memory
- Project-specific memory lives in `.claude/memory/` at the project root
- Use `MEMORY.md` in that directory as the index (one line per entry pointing to a file)
- Memory files use frontmatter: `name`, `description`, `type` (user/feedback/project/reference)
- Commit `.claude/memory/` with the repo so memory persists across machines and sessions
## Commits & Git Workflow
- Make many small, tightly scoped commits — one logical change per commit