Skip to content

[pi-extension] Memory Recall Quality Improvements #32

Description

@codenamekt

Overview

Improve the quality and utility of memory recall in the pi-extension.

Issues to Address

  • Memory content truncated at 400 chars — add maxMemoryLength config (default 800), truncate at word boundary
  • No way to exclude/silence specific memories — add hexus_exclude tool to suppress a memory from future recall
  • Memory ordering is arbitrary — sort results by recency (created_at) as a tiebreaker when scores are close
  • No recall observability — log hexus_recall hits/misses for debugging

Acceptance Criteria

  • Memories display up to 800 chars by default (configurable)
  • hexus_exclude tool marks memories as excluded, they stop appearing in recall
  • Results with similar scores ordered by recency
  • Recall stats logged (count, latency)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpi-extensionIssues related to the pi-extension integration

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions