Files
MemoryBear/api/app/repositories/neo4j
lanceyq 811193dd75 fix(memory): make PgSQL the single source of truth for user entity aliases
- Skip alias merging for user entities during dedup (_merge_attribute and
  _merge_entities_with_aliases) to prevent dirty data from overwriting
  PgSQL authoritative aliases
- Add PgSQL→Neo4j alias sync after Neo4j write in write_tools to
  ensure Neo4j user entities always reflect the PgSQL source
- Remove deduped_aliases (Neo4j history) from alias sync in
  extraction_orchestrator, only append newly extracted aliases to PgSQL
- Guard Neo4j MERGE cypher to preserve existing aliases for user
  entities (name IN ['用户','我','User','I'])
- Fix emotion_analytics_service query to use ExtractedEntity label
  and entity_type property
2026-04-14 17:28:24 +08:00
..
2026-02-05 13:50:04 +08:00
2026-01-26 11:53:34 +08:00
2026-02-10 13:46:09 +08:00
2026-01-07 16:00:53 +08:00
2026-04-10 10:43:43 +08:00
2026-01-20 10:39:12 +08:00