//! Memory use cases (ARCHITECTURE §14.5.1; LOT A, étage 1: `.md`). //! //! The memory module owns the CRUD of a project's persistent knowledge base — //! one Markdown note per [`domain::memory::Memory`], stored under //! `.ideai/memory/.md` with a derived `MEMORY.md` index. On top of the //! CRUD it exposes two read-only navigation helpers driving the graphical memory //! view: [`ReadMemoryIndex`] (the structured index) and [`ResolveMemoryLinks`] //! (a note's resolved `[[slug]]` outgoing links, broken links dropped). //! //! Every use case talks only to ports ([`domain::ports::MemoryStore`], //! [`domain::ports::EventBus`]). Mutating use cases ([`CreateMemory`], //! [`UpdateMemory`], [`DeleteMemory`]) announce a [`domain::DomainEvent`]; the //! read use cases emit nothing. mod usecases; pub use usecases::{ CreateMemory, CreateMemoryInput, CreateMemoryOutput, DeleteMemory, DeleteMemoryInput, GetMemory, GetMemoryInput, GetMemoryOutput, ListMemories, ListMemoriesInput, ListMemoriesOutput, ReadMemoryIndex, ReadMemoryIndexInput, ReadMemoryIndexOutput, RecallMemory, RecallMemoryInput, RecallMemoryOutput, ResolveMemoryLinks, ResolveMemoryLinksInput, ResolveMemoryLinksOutput, UpdateMemory, UpdateMemoryInput, UpdateMemoryOutput, };