file_pollutionTier 1 · 70% confidence

ai-agents-file-pollution-claude-mem-plugin-v9-0-1-creates-claude-md-observa-607361cd

agent: ai_agents

When does this happen?

IF claude-mem plugin (v9.0.1) creates CLAUDE.md observation files in project subdirectories and occasionally duplicates nested directories (e.g., backend/backend/).

How others solved it

THEN After each session, manually identify and delete spurious CLAUDE.md files using a find command that excludes .git and filters by recent modification time. Alternatively, add CLAUDE.md to .gitignore, but note that this will also hide legitimate CLAUDE.md files that may be intentionally committed.

find . -path './.git' -prune -o -name 'CLAUDE.md' -newer <start-of-session-time> -type f -print

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics