From 1c45725cbaf64c288fbfe4f95d9401789ae3bb63 Mon Sep 17 00:00:00 2001 From: Taylor Eernisse Date: Fri, 6 Feb 2026 11:42:11 -0500 Subject: [PATCH] fix(sync): pass options.full through to generate-docs stage The sync pipeline was hardcoding `false` for the `full` parameter when calling run_generate_docs, so `lore sync --full` would re-ingest all entities but then only regenerate documents for newly-dirtied ones. Entities loaded before migration 007 (which introduced the dirty_sources system) were never marked dirty and thus never got documents generated. Co-Authored-By: Claude Opus 4.6 --- src/cli/commands/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/sync.rs b/src/cli/commands/sync.rs index 402aaa4..69eaa64 100644 --- a/src/cli/commands/sync.rs +++ b/src/cli/commands/sync.rs @@ -195,7 +195,7 @@ pub async fn run_sync( docs_bar_clone.set_position(processed as u64); } }); - let docs_result = run_generate_docs(config, false, None, Some(docs_cb))?; + let docs_result = run_generate_docs(config, options.full, None, Some(docs_cb))?; result.documents_regenerated = docs_result.regenerated; docs_bar.finish_and_clear(); spinner.finish_and_clear();