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
I searched existing issues and confirmed this is not a duplicate
Is your feature request related to a problem? Please describe.
The automatic folder CLAUDE.md generation creates files in directories where non-code files break tooling. Specifically, Drizzle ORM's drizzle-kit generate scans the drizzle/meta/ directory for JSON snapshot files, and when it encounters a CLAUDE.md file there, it attempts to parse it as JSON and crashes:
SyntaxError: Unexpected token '<', "<claude-me"... is not valid JSON
at JSON.parse (<anonymous>)
at snapshots.reduce.malformed (drizzle-kit/bin.cjs:6953:29)
This blocks all database migrations until the file is manually removed. Other issues describe a similar problem with the .git directory.
Describe the solution you'd like
A way to exclude specific directories from folder CLAUDE.md generation, similar to .gitignore. For example, a CLAUDE_MEM_FOLDER_CLAUDEMD_EXCLUDE setting or a .claudememignore file that accepts glob patterns:
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.
-
Before submitting
Is your feature request related to a problem? Please describe.
The automatic folder
CLAUDE.mdgeneration creates files in directories where non-code files break tooling. Specifically, Drizzle ORM'sdrizzle-kit generatescans thedrizzle/meta/directory for JSON snapshot files, and when it encounters aCLAUDE.mdfile there, it attempts to parse it as JSON and crashes:This blocks all database migrations until the file is manually removed. Other issues describe a similar problem with the
.gitdirectory.Describe the solution you'd like
A way to exclude specific directories from folder
CLAUDE.mdgeneration, similar to.gitignore. For example, aCLAUDE_MEM_FOLDER_CLAUDEMD_EXCLUDEsetting or a.claudememignorefile that accepts glob patterns:{ "CLAUDE_MEM_FOLDER_CLAUDEMD_EXCLUDE": ["drizzle/**", "dist/**", "node_modules/**"] }Describe alternatives you've considered
CLAUDE.mdgeneration entirely (CLAUDE_MEM_FOLDER_CLAUDEMD_ENABLED: false) — loses the feature in directories where it's usefulBeta Was this translation helpful? Give feedback.
All reactions