# Ticket: Long-Term Memory Design ## Ticket Information - **ID**: TICKET-041 - **Title**: Long-Term Memory Design - **Type**: Design - **Priority**: High - **Status**: Backlog - **Track**: Safety/Memory - **Milestone**: Milestone 3 - Memory, Reminders, Safety - **Created**: 2024-01-XX ## Description Design long-term memory system: - Schema for personal memory (facts, preferences, routines) - Timestamps and confidence scores - Memory write policy (when agent can persist) - Retrieval strategy (light retrieval over structured store) ## Acceptance Criteria - [ ] Memory schema designed - [ ] Data model documented - [ ] Write policy defined - [ ] Retrieval strategy documented - [ ] Integration points identified ## Technical Details Memory schema: - Facts: names, preferences, routines - Metadata: timestamp, confidence, source - Categories: personal, family, preferences, routines Storage: - SQLite or lightweight DB - Indexed for fast retrieval - Backup strategy ## Dependencies - TICKET-025 (system prompts) - for integration - TICKET-004 (architecture) ## Related Files - `docs/MEMORY_DESIGN.md` (to be created) - `home-voice-agent/memory/` (to be created) ## Notes Needs LLM prompting framework. Independent from ASR/TTS and client work.