pub async fn create_notes_atomic_with_attachments(
runtime: &KhiveRuntime,
specs: Vec<AtomicNoteSpec<'_>>,
attachments: &[NewAttachment],
) -> RuntimeResult<(Vec<Note>, EmbeddingTruncationReport)>Expand description
Create notes and their role-keyed attachments in the same writer transaction. The existing note, FTS, vector and revision accounting is preserved.