Problem
code-analysis@mag-claude-plugins v3.2.2 does not detect indexed projects when claudemem is backed by mnemex.
The hook checks claudemem status output with:
status.match(/(\d+)\s+(chunks|symbols)/)
But current mnemex/claudemem status outputs key-value format:
exists=true
files=20
chunks=355
languages=python,json,markdown
model=ollama/qwen3-embedding:8b
last_updated=2026-05-07T10:35:25.198Z
Because of this, the hook treats the project as not indexed and falls back to native Grep/Glob/Read instead of enriching search with mnemex context.
Expected
The hook should recognize both status output formats:
355 chunks
chunks=355
symbols=355
Actual
code-analysis behaves as if the project is not indexed, even though claudemem status reports existing chunks.
Environment
code-analysis@mag-claude-plugins: 3.2.2
mnemex: 0.30.1
claudemem command is available and backed by mnemex/symlink
- Claude Code plugin scope: user
Problem
code-analysis@mag-claude-pluginsv3.2.2 does not detect indexed projects whenclaudememis backed bymnemex.The hook checks
claudemem statusoutput with:But current
mnemex/claudemem statusoutputs key-value format:Because of this, the hook treats the project as not indexed and falls back to native
Grep/Glob/Readinstead of enriching search with mnemex context.Expected
The hook should recognize both status output formats:
Actual
code-analysisbehaves as if the project is not indexed, even thoughclaudemem statusreports existing chunks.Environment
code-analysis@mag-claude-plugins: 3.2.2mnemex: 0.30.1claudememcommand is available and backed by mnemex/symlink