ReadonlyidOptional ReadonlymetadataReadonlytextReadonlyvectorReadonlyversionOrders writes to one id: a store keeps the higher version and ignores a lower one that arrives late. Use a revision counter or the source row's last-modified time in milliseconds, taken from where the text was read, so a backfill of an old copy cannot overwrite a newer live write.
What a store is asked to keep: the document plus one profile's vector for it.