Files
homeclaw/.smallclaw/templates/MEMORY.md
T
kimandClaude Sonnet 4.6 5608b83850 Refactor project layout and fix workspace/subagent paths
- Remove global workspace (workspace/) — all data migrated to .smallclaw/
- Move ppt/ skins & templates to .smallclaw/skills/presenter/ppt/
- Add .smallclaw/templates/ for user bootstrap files
- Move dental_images to .smallclaw/databases/, update 1,485 DB entries
- Fix subagent store paths to use SMALLCLAW_DATA_DIR instead of workspace.path
- Per-user Telegram bots: MultiUserTelegramManager, vault-stored tokens
- Fix Telegram token persistence (vault fallback, strip from config.json)
- Fix session migration: delete global originals even when skipping
- Delete unused root images, MD docs, tests/, smallclawworkspace/ artifacts
- Add meteorologist skill, counselor skill, presenter skill scaffold
- Strip workspace.path from config.json (was causing path confusion)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 15:21:21 +09:00

993 B

MEMORY.md — Long-Term Memory

Architecture

  • v2 native Ollama tool calling (not text-based parsing)
  • Line-based editing tools prevent full-file rewrites
  • System prompt must be compact — tools eat most of the 8K context
  • Personality files (SOUL, IDENTITY, USER) load per turn, truncated to char limits

Lessons Learned

  • Native tool calling > text-based code generation for reliability
  • One action per turn works best for small models
  • Line-number tools > find_replace (whitespace matching is unreliable)
  • Always write important facts to files — "mental notes" are lost between sessions

Status (2026-05)

  • server-v2.ts: Native tool calling ✓
  • Task Runner: Sliding context multi-step ✓
  • Browser Automation: Playwright tools ✓
  • Skills: Installable via ClawHub ✓
  • Email: Multi-account IMAP ✓
  • PubMed/Scholar: Search + fulltext ✓
  • PPTX: python-pptx ✓
  • Weather, Photos, PDF, OCR, Python eval, SQLite: ✓

Use memory_write("memory", ...) to update.