fix(core): honor BASIC_MEMORY_CONFIG_DIR across remaining call sites (#744)

Signed-off-by: Drew Cain <groksrc@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Drew Cain
2026-04-15 22:55:25 -05:00
committed by GitHub
parent bf9a6b4a75
commit e2e65575d6
10 changed files with 134 additions and 14 deletions
+3 -5
View File
@@ -1137,12 +1137,10 @@ class ProjectService:
# Get watch service status if available
watch_status = None
watch_status_path = Path.home() / ".basic-memory" / WATCH_STATUS_JSON
watch_status_path = self.config_manager.config.data_dir_path / WATCH_STATUS_JSON
if watch_status_path.exists():
try: # pragma: no cover
watch_status = json.loads( # pragma: no cover
watch_status_path.read_text(encoding="utf-8")
)
try:
watch_status = json.loads(watch_status_path.read_text(encoding="utf-8"))
except Exception: # pragma: no cover
pass