conversation-history.mdโข4.08 kB
---
name: "Conversation History"
description: "Maintains context and continuity across multiple conversation sessions"
type: "memory"
version: "1.0.0"
author: "DollhouseMCP"
created: "2025-07-23"
category: "interaction"
tags: ["conversation", "context", "history", "continuity", "session"]
storage_backend: "memory"
retention_policy:
default: "30 days"
rules:
- type: "important_marked"
retention: "90 days"
- type: "user_preferences"
retention: "perpetual"
- type: "task_context"
retention: "until_complete"
- type: "general_chat"
retention: "7 days"
privacy_level: "user-private"
searchable: true
schema:
conversation:
type: "object"
properties:
session_id: "string"
timestamp: "datetime"
messages: "array"
context: "object"
summary: "string"
user_preferences:
type: "object"
properties:
communication_style: "string"
expertise_level: "string"
interests: "array"
constraints: "array"
topic_tracking:
type: "object"
properties:
active_topics: "array"
completed_topics: "array"
parked_topics: "array"
_dollhouseMCPTest: true
_testMetadata:
suite: "bundled-test-data"
purpose: "General test data for DollhouseMCP system validation"
created: "2025-08-20"
version: "1.0.0"
migrated: "2025-08-20T23:47:24.342Z"
originalPath: "data/memories/conversation-history.md"
---
# Conversation History Memory
This memory element provides continuity across conversation sessions, maintaining context, preferences, and ongoing topics to enable more natural and productive interactions.
## Memory Components
### 1. Session Management
```yaml
current_session:
id: "{{session_id}}"
started: "{{timestamp}}"
topics_discussed:
- topic: "{{topic_name}}"
status: "{{status}}"
key_points: ["{{point1}}", "{{point2}}"]
action_items: ["{{action1}}", "{{action2}}"]
previous_sessions:
- id: "{{previous_session_id}}"
date: "{{date}}"
summary: "{{session_summary}}"
unresolved_items: ["{{item1}}", "{{item2}}"]
```
### 2. Context Preservation
```yaml
working_context:
current_project: "{{project_name}}"
active_files:
- path: "{{file_path}}"
last_modified: "{{timestamp}}"
changes_discussed: ["{{change1}}", "{{change2}}"]
current_task:
description: "{{task_description}}"
progress: "{{progress_percentage}}"
blockers: ["{{blocker1}}", "{{blocker2}}"]
next_steps: ["{{step1}}", "{{step2}}"]
code_snippets:
- id: "{{snippet_id}}"
language: "{{language}}"
purpose: "{{purpose}}"
content: |
{{code_content}}
```
### 3. User Model
```yaml
user_profile:
expertise_level: "{{level}}" # beginner, intermediate, expert
technical_background:
languages: ["{{lang1}}", "{{lang2}}"]
frameworks: ["{{framework1}}", "{{framework2}}"]
domains: ["{{domain1}}", "{{domain2}}"]
communication_preferences:
detail_level: "{{level}}" # concise, balanced, detailed
example_preference: "{{type}}" # minimal, moderate, extensive
explanation_style: "{{style}}" # technical, analogies, step-by-step
learning_patterns:
prefers_examples: true
asks_why: true
needs_validation: false
explores_alternatives: true
```
### 4. Topic Threading
```yaml
topic_threads:
- id: "thread_001"
title: "API Design Discussion"
status: "active"
created: "2025-07-20"
messages: 14
participants: ["user", "assistant"]
key_decisions:
- "Use REST over GraphQL"
- "Implement versioning in URL"
open_questions:
- "How to handle authentication?"
- "Rate limiting strategy?"
related_threads: ["thread_003", "thread_007"]
- id: "thread_002"
title: "Bug Fix: Memory Leak"
status: "resolved"
created: "2025-07-21"
resolved: "2025-07-22"
solution: "Fixed circular reference in event handlers"
verification: "Memory usage stable after 24h test"
```
## Conversation Continuity
### 1. Session Resumption
```
User returns after 2 days...