-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
When working in a subdirectory of a Python package, Claude Mem creates CLAUDE.md files using relative paths that recreate the parent directory structure. This creates a local folder with the same name as the installed package, causing Python's import system to find the empty local folder instead of the real package.
Steps to Reproduce:
- Have a Python package installed (e.g., my_package) as editable
- Navigate to a subdirectory: my_package/subdir/study/
- Use Claude Code with Claude Mem plugin
- Claude Mem attempts to write CLAUDE.md to track another folder in the repo
- A local ./my_package/ folder is created relative to CWD
- Imports like from my_package import ... fail with ModuleNotFoundError
Expected Behavior:
CLAUDE.md files should be written using absolute paths, or to a location that doesn't recreate parent directory names
Actual Behavior:
Relative paths create shadowing directories that break Python imports.
Workaround:
rm -rf ./my_package # from the subdirectory where shadowing occurred
Impact: High - breaks all package imports until manually removed
Version: 9.0.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working