-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Environment:
- Basic Memory 0.20.2
- Docker deployment
- managed project root enabled (
/app/data)
Command:
bm doctor
Observed behavior:
- The doctor command creates a temp-named project successfully
- Then it fails with:
ValueError: API note file missing: doctor/Doctor API Note.md
However, the note is actually created on disk under the managed project root, for example:
/app/data/doctor-7467a76f/doctor/Doctor API Note.md
So this appears to be a false failure rather than an actual write failure.
Likely cause:
cli/commands/doctor.pycreates the project withpath=str(temp_path)- later it checks for the created note under that same
temp_path - when
project_rootis configured, project creation ignores the requested path and resolves the project underproject_root/<sanitized-project-name> - as a result, doctor checks the wrong filesystem path and fails
Suggested fix:
- after project creation, use the actual resolved project path returned by the project service/API instead of assuming the requested temp path is the project location
Additional note:
- after the main failure, a background task logs a noisy
CancelledError, but that looks secondary to the path-assumption bug above
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels