You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR\n\nOn legacy installs, workspace-docs may remain registered with the old workspace-root local_path even though the current updater correctly resolves and imports the agents.defaults.workspace/docs directory. This makes future sync --all semantics and doctor freshness misleading. Reconcile the path without deleting or re-embedding the user's source.\n\n## Reproduction\n\nLocal configured workspace: /Users/lume/.openclaw/workspace-eva.\nResolved docs directory: /Users/lume/.openclaw/workspace-eva/docs.\nRegistered workspace-docs local_path: legacy workspace root.\nThe exact-tag updater imports the docs directory, searches pass, and embeddings remain 100%, but the source record retains the older root.\n\n## Safety boundary\n\nDo not repair this by sources remove plus re-add: that deletes source-scoped pages and may trigger costly re-embedding. Prefer a provider-neutral, guarded source-path update seam or an idempotent migration that verifies source identity and path overlap first.\n\n## Acceptance\n\n- Fresh installs still register the docs subdirectory.\n- Legacy installs update the registered path without deleting pages, chunks, or embeddings.\n- Path overlap and missing-path guards fail closed.\n- Updater and health tests cover the migration.\n- Existing customer databases are not rebuilt.
TL;DR\n\nOn legacy installs, workspace-docs may remain registered with the old workspace-root local_path even though the current updater correctly resolves and imports the agents.defaults.workspace/docs directory. This makes future sync --all semantics and doctor freshness misleading. Reconcile the path without deleting or re-embedding the user's source.\n\n## Reproduction\n\nLocal configured workspace: /Users/lume/.openclaw/workspace-eva.\nResolved docs directory: /Users/lume/.openclaw/workspace-eva/docs.\nRegistered workspace-docs local_path: legacy workspace root.\nThe exact-tag updater imports the docs directory, searches pass, and embeddings remain 100%, but the source record retains the older root.\n\n## Safety boundary\n\nDo not repair this by sources remove plus re-add: that deletes source-scoped pages and may trigger costly re-embedding. Prefer a provider-neutral, guarded source-path update seam or an idempotent migration that verifies source identity and path overlap first.\n\n## Acceptance\n\n- Fresh installs still register the docs subdirectory.\n- Legacy installs update the registered path without deleting pages, chunks, or embeddings.\n- Path overlap and missing-path guards fail closed.\n- Updater and health tests cover the migration.\n- Existing customer databases are not rebuilt.