Skip to content

feat: persist ConversationContext across sessions #164

@luceinaltis

Description

@luceinaltis

Context

qracer/conversation/context.py holds ConversationContext (current_topic, topic_stack, intent, depth, last_activity) in memory only. It's reconstructed from the JSONL log on each session start but loses cross-session continuity. docs/user-experience.md line 80 marks this as "구현 예정".

Goal

Persist ConversationContext state so returning users get continuity ("last time you were looking at AAPL earnings...").

Scope

  • Serialize ConversationContext to JSON on session end / compaction
  • Store in FactStore or a dedicated context.json file in ~/.qracer/
  • Load on session start, merge with FactStore open theses for a coherent "welcome back" experience
  • Decay stale topics (>7 days old → remove from topic_stack)

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions