# Ticket: Conversation Summarization & Pruning ## Ticket Information - **ID**: TICKET-043 - **Title**: Conversation Summarization & Pruning - **Type**: Feature - **Priority**: Medium - **Status**: Backlog - **Track**: Safety/Memory - **Milestone**: Milestone 3 - Memory, Reminders, Safety - **Created**: 2024-01-XX ## Description Implement conversation management: - Session store design (local DB/files, retention duration) - Summarization routines (after N turns or size threshold) - Use work model or family model for summarization - Privacy and deletion tools ## Acceptance Criteria - [ ] Session store implemented - [ ] Summarization working (scheduled or threshold-based) - [ ] Context pruning functional - [ ] Privacy deletion tools implemented - [ ] Retention policy enforced ## Technical Details Implementation: - Store transcripts in DB or files - Summarization: use LLM to condense old messages - Pruning: remove old messages, keep summary - Deletion: UI and admin tools to delete sessions ## Dependencies - TICKET-027 (multi-turn conversation) - TICKET-021 or TICKET-022 (LLM services) - TICKET-024 (logging) ## Related Files - `home-voice-agent/conversation/summarization/` (to be created) ## Notes Can be implemented after first working chat. Important for long conversations.