reembedRemaining method
Up-to-date count of chunks still tagged with a non-current fingerprint.
Safe to call while reembed is running — uses a read-only SELECT.
Implementation
Future<int> reembedRemaining() async {
final count = await migration_meta.countChunksNeedingReembed(
targetFingerprint: currentEmbeddingFingerprint,
);
return count;
}