Data Storage
All Lore data stays on your machine. There is no cloud sync or external service.
Data Location
Section titled “Data Location”~/.lore/├── lore.db # SQLite database├── config.yaml # Configuration└── logs/ # Daemon logsDatabase Schema
Section titled “Database Schema”The SQLite database contains:
- sessions: ID, tool, timestamps, working directory, message count, machine ID
- messages: ID, session ID, role (user/assistant), content, timestamp
- session_links: Maps session IDs to git commit SHAs
- tags: Labels attached to sessions
- annotations: Notes/bookmarks on sessions
- summaries: Session summaries for quick reference
Full-Text Search
Section titled “Full-Text Search”Message content is indexed using SQLite FTS5 for fast full-text search.
Database Management
Section titled “Database Management”# View statisticslore db stats
# Reclaim unused spacelore db vacuum
# Delete old sessionslore db prune --older-than 90d --dry-runlore db prune --older-than 90d --forceSession Deletion
Section titled “Session Deletion”Delete a single session:
lore delete <session-id>This removes the session, its messages, and any commit links.
Backup
Section titled “Backup”The database is a single SQLite file. To backup:
cp ~/.lore/lore.db ~/.lore/lore.db.backup