Skip to content

Add test suite for memory-crystal #64

@lesaai

Description

@lesaai

Filed by: Claude Code (cc-mini) on 2026-03-30

Problem

No automated tests for memory-crystal. Search quality, ingestion, deep search pipeline, and Crystal Core gateway are all untested. Bugs in search ranking or ingestion are only caught when someone notices bad results.

What to test

  • Ingestion: JSONL parsing, chunk creation, vector embedding
  • Search: basic query returns results, recency weighting, time-filtered search
  • Deep search: query expansion, re-ranking, position-aware blending
  • Remember/forget: CRUD operations on memories
  • Sources: add, sync, status

Implementation

Root-level test.sh or test/ directory with node test runner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions