pub async fn create_notes_atomic(
runtime: &KhiveRuntime,
specs: Vec<AtomicNoteSpec<'_>>,
) -> RuntimeResult<Vec<Note>>Expand description
Build and commit specs as one atomic unit. Returns the persisted
Notes in the same order as specs. On any failure — pre-write
validation, embedding, or the atomic commit pass itself — NO note, FTS
document, or vector row from any spec is left behind (embed failures
occur before any write is attempted; commit-pass failures roll back the
whole unit per run_atomic_unit’s guarantee).