Skip to content

feat(memory): entity canonicalization with alias table #1231

@bug-ops

Description

@bug-ops

Summary

Follow-up to graph memory epic (#1222). The UNIQUE(name, entity_type) constraint cannot represent two semantically different entities with the same name and type.

Add:

  • canonical_name column on graph_entities
  • graph_entity_aliases table (entity_id, alias_name) for variant names
  • Resolution checks aliases before creating new entity

Depends on: #1225 (extraction pipeline)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgraph-memoryKnowledge graph memory featurememoryzeph-memory crate (SQLite)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions