feat: move to Claude's native memory management

Enable CLAUDE_CODE_DISABLE_AUTO_MEMORY=0 and
CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1 in container env so
agents use Claude Code's built-in persistent memory instead of
manually editing CLAUDE.md. Remove instructions that told agents to
write context into CLAUDE.md files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gavriel Cohen
2026-02-09 09:28:25 +02:00
parent 116fba1349
commit b3f5814f48
3 changed files with 25 additions and 9 deletions

View File

@@ -41,13 +41,12 @@ The `conversations/` folder contains searchable history of past conversations. U
When you learn something important:
- Create files for structured data (e.g., `customers.md`, `preferences.md`)
- Split files larger than 500 lines into folders
- Add recurring context directly to this CLAUDE.md
- Always index new memory files at the top of CLAUDE.md
- Keep an index in your memory for the files you create
## WhatsApp Formatting
## WhatsApp Formatting (and other messaging apps)
Do NOT use markdown headings (##) in WhatsApp messages. Only use:
- *Bold* (asterisks)
- *Bold* (single asterisks) (NEVER **double asterisks**)
- _Italic_ (underscores)
- • Bullets (bullet points)
- ```Code blocks``` (triple backticks)