Skip to content

An always-on second brain you talk to. Voice notes in Telegram → typed, linked knowledge in your Obsidian vault. Runs 24/7 on the Claude subscription you already have.

feat(memory): add Clawdbot-style memory system

smixs20328292aaf4
diff --git a/vault/.claude/CLAUDE.md b/vault/.claude/CLAUDE.md
index caa1578..1451ef6 100644
--- a/vault/.claude/CLAUDE.md
+++ b/vault/.claude/CLAUDE.md
@@ -2,6 +2,39 @@
Voice-first personal assistant for capturing thoughts and managing tasks via Telegram.
+## EVERY SESSION BOOTSTRAP
+
+**Before doing anything else, read these files in order:**
+
+1. `vault/MEMORY.md` — curated long-term memory (preferences, decisions, context)
+2. `vault/daily/YYYY-MM-DD.md` — today's entries
+3. `vault/daily/YYYY-MM-DD.md` — yesterday's entries (for continuity)
+4. `vault/goals/3-weekly.md` — this week's ONE Big Thing
+
+**Don't ask permission, just do it.** This ensures context continuity across sessions.
+
+---
+
+## SESSION END PROTOCOL
+
+**Before ending a significant session, write to today's daily:**
+
+```markdown
+## HH:MM [text]
+Session summary: [what was discussed/decided/created]
+- Key decision: [if any]
+- Created: [[link]] [if any files created]
+- Next action: [if any]
+```
+
+**Also update `vault/MEMORY.md` if:**
+- New key decision was made
+- User preference discovered
+- Important fact learned
+- Active context changed significantly
+
+---
+
## Mission
Help user stay aligned with goals, capture valuable insights, and maintain clarity.
@@ -158,5 +191,5 @@ For personal overrides: create `CLAUDE.local.md`
---
-*System Version: 2.0*
-*Updated: 2024-12-20*
+*System Version: 2.1*
+*Updated: 2026-01-27*
diff --git a/vault/MEMORY.md b/vault/MEMORY.md
new file mode 100644
index 0000000..fb32c94
--- /dev/null
+++ b/vault/MEMORY.md
@@ -0,0 +1,75 @@
+# Long-term Memory
+
+Curated knowledge that persists across sessions. Layer 2 of Clawdbot memory architecture.
+
+## User Profile
+
+| Field | Value |
+|-------|-------|
+| Name | [Your name] |
+| Timezone | [Your timezone, e.g., UTC+5] |
+| Location | [City/Country] |
+| Primary language | [e.g., Russian/English] |
+
+## Preferences
+
+### Tech Stack
+- Languages: [e.g., Python, TypeScript]
+- Frameworks: [e.g., React, FastAPI]
+- Tools: [e.g., Cursor, Claude Code]
+
+### Communication Style
+- Preferred response language: [Russian/English/Mixed]
+- Detail level: [Brief/Detailed]
+- Code comments: [Minimal/Verbose]
+
+### Habits
+- Morning routine: [if relevant]
+- Work hours: [e.g., 10:00-19:00]
+- Planning cadence: [weekly/daily]
+
+## Key Decisions
+
+| Date | Decision | Context |
+|------|----------|---------|
+| YYYY-MM-DD | Example: Use uv instead of pip | Better dependency management |
+
+## Active Context
+
+### ONE Big Thing (This Week)
+<!-- From goals/3-weekly.md -->
+- [ ] [Current week's main focus]
+
+### Hot Projects
+1. [Project name] — [status/next action]
+
+### Pipeline/Leads
+<!-- If applicable -->
+- [Lead name] — [status]
+
+## Key People
+
+| Name | Role | Contact | Notes |
+|------|------|---------|-------|
+| [Name] | [Role] | [Telegram/Email] | [Context] |
+
+## Learnings
+
+### What Worked
+- [Pattern/approach that was successful]
+
+### What Didn't Work
+- [Anti-pattern to avoid]
+
+### Rules to Remember
+- [Important rule discovered during work]
+
+## Quick Links
+
+- [[goals/3-weekly]] — Weekly focus
+- [[goals/2-monthly]] — Monthly priorities
+- [[MOC/index]] — Maps of Content
+
+---
+
+*Last updated: YYYY-MM-DD*