- LOT C2 (§14.5.3) : use cases de configuration des embedders déclaratifs (List/Save/Delete + DescribeEmbedderEngines : modèles ONNX recommandés, environnement local détecté, stratégies compilées). UI EmbedderSettings. - LOT C3 (§14.5.5) : suggestion contextuelle best-effort à l'activation quand la mémoire dépasse le budget de recall sans embedder configuré (event EmbedderSuggested, anti-spam 1×/session, « ne plus demander »). - Contexte projet partagé .ideai/CONTEXT.md (model-agnostic) injecté à tous les agents/profils au lancement, avant la persona. UI ProjectContextPanel. Tests : backend workspace vert (0 échec) ; frontend 306/306. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
1.2 KiB
Rust
24 lines
1.2 KiB
Rust
//! 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/<slug>.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,
|
|
};
|