pub fn append_ops(project_root: &Path, ops: &[DocumentOp]) -> Result<usize>Expand description
Append a batch of ops, assigning a monotonic per-document Lamport tick to each new op. Returns the number of ops actually written (deduped ops are skipped). Best-effort: callers should log and continue on error rather than failing the cycle.