-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Bug Description
"CLAUDE.md Memories" section in the project view shows "Failed to load CLAUDE.md files" for projects located in paths containing spaces or special characters (e.g., iCloud Drive paths on macOS).
Steps to Reproduce
- Have a git repo with a valid
CLAUDE.mdat a path containing spaces or tildes, e.g.:~/Library/Mobile Documents/com~apple~CloudDocs/MacbookBackup/mystuff/code/universal-software-factory - Open opcode and navigate to Projects → select the project
- Observe the "CLAUDE.md Memories" section
Expected Behavior
CLAUDE.md content should load and display correctly regardless of the project path.
Actual Behavior
Shows red error text: "Failed to load CLAUDE.md files"
The CLAUDE.md file itself is valid — Claude Code CLI reads it without issues in the same project.
Screenshot
(The error appears at the top of the project view, above the session list)
Environment
- opcode version: latest (installed via Homebrew/dmg)
- macOS: Darwin 25.3.0 (Sequoia)
- Apple Silicon: Yes
- Project path:
~/Library/Mobile Documents/com~apple~CloudDocs/...(iCloud Drive)
Notes
- Sessions load fine — the 45 sessions in the project are all visible and browsable
- The issue appears to be path escaping — the
Mobile Documents(space) andcom~apple~CloudDocs(tilde) in the iCloud Drive path likely aren't being quoted/escaped properly when reading the CLAUDE.md file - Projects in simpler paths (no spaces/special chars) may not have this issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels