From the 2026-07 architecture review (basic-memory-cloud docs/architecture-review-2026-07.md, diagram 4). Lower priority — comprehension debt plus modest wins, not a live bottleneck.
Important constraint first: both runtimes run FastEmbed (CPU); semantic_embedding_sync_batch_size = 2 is the deliberately benchmarked local default and cloud overrides to 64 via env. Do not change flush behavior without re-running those benchmarks.
From the 2026-07 architecture review (basic-memory-cloud
docs/architecture-review-2026-07.md, diagram 4). Lower priority — comprehension debt plus modest wins, not a live bottleneck.Important constraint first: both runtimes run FastEmbed (CPU);
semantic_embedding_sync_batch_size = 2is the deliberately benchmarked local default and cloud overrides to 64 via env. Do not change flush behavior without re-running those benchmarks.indexing/embedding_index_planning.py,indexing/vector_sync_planning.py, plus the batch path — unify to one planner with single + batch entry pointsreindex_all_tenants(FTS + vectors, cloud),reindex_search->search_service.reindex_all()(FTS-only, sequential per entity),reindex_vectors— operator guidance documented in basic-memory-clouddocs/architecture-review-2026-07.mdINDEX_EMBEDDINGSPGQ job per entity (file_followup_jobs.py) — coalesced into bounded embedding batches in basicmachines-co/basic-memory-cloud#1572search_repository_base.py:1421-1558) — batchindexing/relation_resolution.py:150-205) — batch into set-based updates + one multi-entity reindex