//! The fold chokepoint — where a peer's op becomes part of a file. //! //! [`apply::apply_ops`] is here rather than in `cotton-server` because //! [`crate::mcp::writer::Writer`] commits through it, and the writer is what a //! tool call writes with. One function, so an assistant's write, a device's //! exchange and the phone's own tap land by the same rules. //! //! The INGEST half — the exchange route's batching, its schema window, its //! answer — stays in `cotton_server::sync`, which re-exports this module so //! `crate::sync::apply_ops` still resolves there. pub mod apply; pub use apply::{ apply_ops, file_schema_version, parse_op, ApplyOutcome, MAX_OPS_PER_EXCHANGE, };