Skip to content

Enhanced Project Context Detection for Memory System #10

@nikomatsakis

Description

@nikomatsakis

Structured Insights and Project-Aware Memory System

Status: In Progress - Phase 2 Design Complete

Current Understanding

The current Hippo memory system uses abstract situational context which doesn't capture the rich contextual information needed for effective collaboration memory. We've evolved this into a structured insight format that combines automated project detection with conversational context capture.

New insight structure:

  • project_details: Automatically populated by project detection system (Phase 1 ✅ complete)
  • task: English description of what we were working on
  • lead_in: What was being discussed when the insight emerged
  • salient_quote: The key exchange or moment we want to remember
  • importance: AI-assessed importance rating

This creates much richer, more actionable memory that captures both technical context and collaboration patterns.

Next Steps

  • Implement new MCP tool interface for structured insights
  • Update insight storage schema in Rust server
  • Implement checkpoint consolidation process
  • Update guidance.md with new checkpoint workflow
  • Handle backward compatibility with existing insights
  • Test the new structure with real collaboration sessions

Open Questions

  • Should we migrate existing insights to new structure or maintain parallel systems?
  • How should search work across the structured fields?
  • Should we implement the salient quote approach for all insight types or just collaboration insights?

Context

This work emerged from analyzing the Sparkle collaborative memory framework and recognizing that effective memory needs to capture not just what happened, but the conversational dynamics and specific moments that reveal patterns. The structured format makes insights much more actionable for recreating collaborative states.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-managedAI can update OP and add commentsfeatureNew feature developmenttracking-issueOngoing work item tracked across sessions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions