Sync¶
transcript_indexer.sync
¶
Idempotent two-pass sync engine.
Pass 1 walks conversation sources (Otter .txt today), reads, hashes, and ingests new/changed/renamed/deleted conversations along with their turns and participants. Pass 2 walks note sources (.md summaries) and pairs each to its parent conversation by filename stem.
This phase deliberately omits LLM extraction (Phase 4) and embedding (Phase 5). Sync ingests structural rows only.
sync(conn, cfg, *, only=None, strict=False, keep_orphans=False)
¶
Run a full sync against the given DB connection.