You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi — I'm a heavy claude-mem user on Windows and I'm out of ideas. I've spent ~1 week and ~7 reinstall/fix attempts and the tool still doesn't persist anything. Posting here as a last resort because I've lost ~5 weeks of memory and I don't know what else to try.
1. No observations persisted since 30-mar-2026 (today is 3-may).
DB last meaningful write: 30-mar. WAL is touched daily but no rows added.
Hooks ARE firing (logs daily in ~/.claude-mem/logs/), but they log "Worker failed to start before hook, handler will proceed gracefully" and then the data is silently dropped.
Only 3 of the last 30 days logged any archive/observation event.
~/.claude-mem/transcript-watch.json only contains a watch for Codex (~/.codex/sessions/**/*.jsonl). There is no watch for Claude Code transcripts (~/.claude/projects/**/*.jsonl). I assume the installer should add this — but reinstalling never re-adds it (see import-history command fails with TypeError: path argument must be string #3).
2. chroma-mcp opens a persistent visible CMD window I cannot close.
Worker spawns it via:
The CMD window stays open for the entire session. If I close it, chroma dies and logs flood with [CHROMA_SYNC] Batch add failed, chroma-mcp connection in backoff (249 errors in last 30 days).
3. Port 37777 zombies between Claude Code restarts.
17× [ERROR] Failed to start server. Is port 37777 in use? in last 30 days
Worker falls back to 37778
Only a full system reboot clears it
I suspect this is caused by problem ACCIDENTALLY TAGGED #2: the orphan chroma CMD prevents clean shutdown, so the listening socket leaks.
Reinstall via npx claude-mem install --ide claude-code aborts
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
error: install script from "tree-sitter-kotlin" exited with 1
I don't have Visual Studio C++ build tools (and don't use Kotlin). The installer aborts on this native dep before any post-install step runs, so transcript-watch.json never gets regenerated. This is why ~7 reinstall attempts changed nothing on the config side.
What I've already tried
Full uninstall + reinstall multiple times (each one aborts on tree-sitter-kotlin)
Plugin upgrades across all 12.3.9 → 12.5.0
Renamed hooks.json → hooks.json.disabled (mitigates bash-hook flashes; doesn't fix the chroma CMD or persistence)
Switched to memsearch on 23-apr while waiting; came back on 26-apr
Multiple system reboots
Manual worker restarts via npx claude-mem restart
Questions
When --ide claude-code is used, is transcript-watch.json supposed to contain a claude-code watch entry? Could you share the expected schema so I can patch it manually while waiting?
Is there a way to make tree-sitter-kotlin (and other heavy native parsers) optional, or a --skip-native-parsers flag for the installer? On Windows without VS C++ build tools the install just dies.
Can chroma-mcp be spawned hidden / detached on Windows so the CMD window doesn't lock the user out? subprocess.CREATE_NO_WINDOW or start /b style.
Any recommended workaround so port 37777 releases cleanly between Claude Code restarts on Windows?
I have full logs (~/.claude-mem/logs/), transcript-watch.json, settings.json hooks section, and a DB dump available — happy to share whatever helps. I really want this working again. Thank you for any pointer 🙏
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi — I'm a heavy claude-mem user on Windows and I'm out of ideas. I've spent ~1 week and ~7 reinstall/fix attempts and the tool still doesn't persist anything. Posting here as a last resort because I've lost ~5 weeks of memory and I don't know what else to try.
Setup
Three coupled problems
1. No observations persisted since 30-mar-2026 (today is 3-may).
~/.claude-mem/logs/), but they log "Worker failed to start before hook, handler will proceed gracefully" and then the data is silently dropped.~/.claude-mem/transcript-watch.jsononly contains a watch for Codex (~/.codex/sessions/**/*.jsonl). There is no watch for Claude Code transcripts (~/.claude/projects/**/*.jsonl). I assume the installer should add this — but reinstalling never re-adds it (see import-history command fails with TypeError: path argument must be string #3).2. chroma-mcp opens a persistent visible CMD window I cannot close.
Worker spawns it via:
The CMD window stays open for the entire session. If I close it, chroma dies and logs flood with
[CHROMA_SYNC] Batch add failed, chroma-mcp connection in backoff(249 errors in last 30 days).3. Port 37777 zombies between Claude Code restarts.
[ERROR] Failed to start server. Is port 37777 in use?in last 30 daysReinstall via
npx claude-mem install --ide claude-codeabortsI don't have Visual Studio C++ build tools (and don't use Kotlin). The installer aborts on this native dep before any post-install step runs, so
transcript-watch.jsonnever gets regenerated. This is why ~7 reinstall attempts changed nothing on the config side.What I've already tried
hooks.json→hooks.json.disabled(mitigates bash-hook flashes; doesn't fix the chroma CMD or persistence)npx claude-mem restartQuestions
--ide claude-codeis used, istranscript-watch.jsonsupposed to contain aclaude-codewatch entry? Could you share the expected schema so I can patch it manually while waiting?tree-sitter-kotlin(and other heavy native parsers) optional, or a--skip-native-parsersflag for the installer? On Windows without VS C++ build tools the install just dies.subprocess.CREATE_NO_WINDOWorstart /bstyle.I have full logs (
~/.claude-mem/logs/),transcript-watch.json,settings.jsonhooks section, and a DB dump available — happy to share whatever helps. I really want this working again. Thank you for any pointer 🙏All reactions