🐛 Bug Fixes
Critical: Empty Project Names Breaking Context Injection
Problem:
- Observations and summaries created with empty project names
- Context-hook couldn't find recent context (queries
WHERE project = 'claude-mem') - Users saw no observations or summaries in SessionStart since Nov 22
Root Causes:
- Sessions:
createSDKSession()usedINSERT OR IGNOREfor idempotency, but never updated project field when session already existed - In-Memory Cache:
SessionManagercached sessions with stale empty project values, even after database was updated
Fixes:
5d23c60- fix: Update project name when session already exists in createSDKSession54ef149- fix: Refresh in-memory session project when updated in database
Impact:
- ✅ 364 observations backfilled with correct project names
- ✅ 13 summaries backfilled with correct project names
- ✅ Context injection now works (shows recent observations and summaries)
- ✅ Future sessions will always have correct project names
📦 Full Changelog
Commits since v6.2.0:
634033b- chore: Bump version to 6.2.154ef149- fix: Refresh in-memory session project when updated in database5d23c60- fix: Update project name when session already exists in createSDKSession