diff --git a/.obsidian/plugins/hoarder-sync/data.json b/.obsidian/plugins/hoarder-sync/data.json index ba3b574..fa60cf5 100644 --- a/.obsidian/plugins/hoarder-sync/data.json +++ b/.obsidian/plugins/hoarder-sync/data.json @@ -4,7 +4,7 @@ "syncFolder": "Hoarder", "attachmentsFolder": "Hoarder/attachments", "syncIntervalMinutes": 60, - "lastSyncTimestamp": 1778775086246, + "lastSyncTimestamp": 1778778856827, "updateExistingFiles": false, "excludeArchived": true, "onlyFavorites": false, diff --git a/CLAUDE.md b/CLAUDE.md index 33b7306..cfaae36 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -61,7 +61,7 @@ name: "Human-readable name" client: "Client Name" # or "Oliver Internal" status: active # active | production | paused | archived tech: [Python, FastAPI, Docker] # array -local_path: /Volumes/SSD/Projects/Oliver/{dirname} +local_path: /Users/ai_leed/Documents/Projects/Oliver/{dirname} deploy: "docker compose up --build" url: https://... # if deployed server: GCP | optical-web-1 | TBD @@ -130,7 +130,7 @@ When a project moves to `archived`: Even if the session is short. Even if just answering a question. Log it. ## All Code Projects Location -`/Volumes/SSD/Projects/Oliver/` — this is where all code lives on disk. +`/Users/ai_leed/Documents/Projects/Oliver/` — this is where all code lives on disk. ## Key Facts - Vadym = developer at Oliver Agency, building internal tools and client solutions @@ -162,6 +162,8 @@ Drop any source material into `raw/` and say "compile raw": Claude will extract knowledge into the correct `wiki/` folder, update `_index.md`, and move the file to `raw/_processed/`. +**SessionStart auto-detection:** At the start of each session, Claude checks `raw/*.md` for unprocessed files. If any exist, it will notify and offer to process them automatically — no need to say "compile raw" manually. + **Do NOT put credentials or sensitive data in raw/.** ## Multi-Device Setup @@ -285,24 +287,36 @@ cd ~/.claude/memory-compiler && uv run python scripts/compile.py ``` ## Automation Hooks -Six hooks fire automatically via Claude Code settings (global, from any project): +Five hooks fire automatically via Claude Code settings (global, from any project): | Event | Script | Purpose | |-------|--------|---------| -| **SessionStart** | obsidian-session-start.py | Loads project note + pending commands | -| **SessionStart** | memory-compiler/hooks/session-start.py | Injects wiki/index.md + recent daily log | -| **PostCompact** | obsidian-postcompact.py | Haiku writes structured session entries to project note + daily note | -| **PreCompact** | memory-compiler/hooks/pre-compact.py | Captures transcript before compaction → knowledge flush | +| **SessionStart** | obsidian-session-start.py | Loads project note + pending commands + check raw/ inbox | +| **SessionStart** | memory-compiler/hooks/session-start.py | Injects wiki/index.md + current-state.md + recent daily log | +| **PreCompact** | memory-compiler/hooks/pre-compact.py | Captures transcript → saves current-state.md → spawns flush.py | | **SessionEnd** | memory-compiler/hooks/session-end.py | Captures session transcript → knowledge flush → daily log | | **Stop** | time_tracker.py + cc-collector.py + obsidian-session-log.py | Time tracking + CC dashboard + daily note timestamp | **Data flow:** ``` -Session ends → SessionEnd hook → flush.py (background) → daily/YYYY-MM-DD.md +PreCompact → flush.py (background) → daily/YYYY-MM-DD.md + → current-state.md ← next SessionStart reads this → context restored + +Session ends → SessionEnd hook → flush.py → daily/YYYY-MM-DD.md ↓ (after 21:00) compile.py → wiki/concepts/ (Obsidian vault) ``` +## MCP Servers + +| MCP | When to use | +|-----|-------------| +| `context7` | Live docs for FastAPI, Next.js, React, etc. — use instead of searching Google | +| `basic-memory` | Store a decision or insight mid-session (`create_entities`) / recall from past sessions (`search_nodes`) — writes `.md` files directly into this vault | +| `postgres` | Direct SQL queries to project DBs without writing scripts | +| `redis` | Redis operations for cc-dashboard, ai-cost-tracker, video-accessibility | +| `sequential-thinking` | Complex multi-step architectural decisions | + ## My Role - Log work clearly so context is never lost between sessions - Keep notes accurate and up-to-date — no stale info