pub struct Memory {
pub id: Uuid,
pub project_path: String,
pub source_tool: String,
pub name: String,
pub description: Option<String>,
pub memory_type: Option<String>,
pub content: String,
pub file_path: String,
pub updated_at: DateTime<Utc>,
}Expand description
A per-project memory mirrored from a coding tool’s memory store.
Tools such as Claude Code write per-project “memory” (running notes, next steps, corrections) into their own private stores that other tools cannot see. Lore mirrors those files into this read-only representation so any LLM can read them through Lore’s MCP server. Lore never writes back to the tool’s memory folder.
Each memory corresponds to a single markdown file in the tool’s memory
folder. The memory is scoped to the project it belongs to (project_path)
and the tool that authored it (source_tool).
Fields§
§id: UuidUnique identifier for this memory.
project_path: StringAbsolute path of the repository this memory belongs to.
source_tool: StringThe tool that authored this memory (e.g., “claude-code”).
name: StringShort name of the memory (from frontmatter name, or the file stem).
description: Option<String>Optional human-readable description (from frontmatter description).
memory_type: Option<String>Optional memory type (from frontmatter metadata.type, e.g. user,
feedback, project, reference).
content: StringThe memory body (the markdown content following any frontmatter).
file_path: StringAbsolute path of the source file this memory was mirrored from.
updated_at: DateTime<Utc>When the source file was last modified, used to detect changes.