From 05939a98db19e2a72eef01443f4ce8f39fcf87ba Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 14:19:00 +0000 Subject: [PATCH] fix: use incremental sync (force_full=False) in cloud sync/bisync commands Previously both sync_project_command and bisync_project_command hardcoded force_full=True when triggering the database sync after file sync, causing every operation to do a full re-index instead of incremental change detection. Fixes #706 Co-authored-by: Paul Hernandez --- src/basic_memory/cli/commands/cloud/project_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic_memory/cli/commands/cloud/project_sync.py b/src/basic_memory/cli/commands/cloud/project_sync.py index 08b616be..a8cc62a2 100644 --- a/src/basic_memory/cli/commands/cloud/project_sync.py +++ b/src/basic_memory/cli/commands/cloud/project_sync.py @@ -131,7 +131,7 @@ def sync_project_command( async def _trigger_db_sync(): async with get_client() as client: return await ProjectClient(client).sync( - project_data.external_id, force_full=True + project_data.external_id, force_full=False ) try: @@ -206,7 +206,7 @@ def bisync_project_command( async def _trigger_db_sync(): async with get_client() as client: return await ProjectClient(client).sync( - project_data.external_id, force_full=True + project_data.external_id, force_full=False ) try: