Multiple hook errors: UserPromptSubmit, PostToolUse (Bash, Edit, Grep, Read)
Problem
Claude-mem is throwing multiple hook errors during operation, affecting various tool interactions including user prompts and post-tool-use hooks for Bash, Edit, Grep, and Read operations.
Environment
- Claude-mem Version: 9.0.12
- Claude Code Version: 2.1.29
- Node.js: v25.3.0
- Bun: 1.3.8
- Operating System: macOS 26.3 (arm64)
- Platform: darwin
- Dev Mode: No
Configuration Status
- Plugin Path:
~/.claude/plugins/marketplaces/thedotmack
- Data Directory:
~/.claude-mem
- Database Path:
~/.claude-mem/claude-mem.db
- Database Exists: ❌ No
- Settings File:
~/.claude-mem/settings.json
- Settings Exist: ❌ No
- Worker Running: ❌ No
Observed Behavior
The following hook errors are occurring:
UserPromptSubmit hook error
PostToolUse:Bash hook error
PostToolUse:Edit hook error
PostToolUse:Grep hook error
PostToolUse:Grep hook error
PostToolUse:Read hook error
Expected Behavior
Claude-mem should execute hooks without errors during normal operation. All tool use hooks should complete successfully.
Possible Causes
Based on the diagnostics:
- Missing database: The database file (
~/.claude-mem/claude-mem.db) does not exist
- Missing configuration: Settings file (
~/.claude-mem/settings.json) does not exist
- Worker not running: The worker process is not active
These missing components may be preventing hooks from executing properly.
Additional Context
This appears to be either a fresh installation that hasn't been properly initialized, or a corrupted installation where critical files have been removed. The hook errors suggest that claude-mem is attempting to interact with the database or configuration files that don't exist.
Multiple hook errors: UserPromptSubmit, PostToolUse (Bash, Edit, Grep, Read)
Problem
Claude-mem is throwing multiple hook errors during operation, affecting various tool interactions including user prompts and post-tool-use hooks for Bash, Edit, Grep, and Read operations.
Environment
Configuration Status
~/.claude/plugins/marketplaces/thedotmack~/.claude-mem~/.claude-mem/claude-mem.db~/.claude-mem/settings.jsonObserved Behavior
The following hook errors are occurring:
Expected Behavior
Claude-mem should execute hooks without errors during normal operation. All tool use hooks should complete successfully.
Possible Causes
Based on the diagnostics:
~/.claude-mem/claude-mem.db) does not exist~/.claude-mem/settings.json) does not existThese missing components may be preventing hooks from executing properly.
Additional Context
This appears to be either a fresh installation that hasn't been properly initialized, or a corrupted installation where critical files have been removed. The hook errors suggest that claude-mem is attempting to interact with the database or configuration files that don't exist.