lanceyq
e3ab19dd4f
feat(memory): sync user entity aliases and metadata to PostgreSQL
...
- Add `aliases` and `end_user_id` fields to user entity dicts in
`collect_user_entities_for_metadata` so downstream tasks can write
them to PostgreSQL
- Add `update_aliases_and_metadata` method to `EndUserInfoRepository`
for incremental, case-insensitive dedup merge of aliases and
structured metadata fields
- Add `_sync_end_user_info_pg` helper in tasks.py that writes aliases
and extracted metadata to `end_user_info`, and back-fills
`end_user.other_name` when empty
- Call `_sync_end_user_info_pg` from `extract_metadata_batch_task`
after Neo4j write, and also when no new metadata but aliases exist
- Filter `meta_data` response in `UserMemoryService.get_end_user_info`
to expose only four core fields: goals, traits, interests, core_facts
2026-05-08 11:28:44 +08:00
..
2026-04-16 13:43:38 +08:00
2025-12-02 20:28:01 +08:00
2026-03-16 18:00:09 +08:00
2026-02-04 18:06:29 +08:00
2025-12-29 14:51:23 +08:00
2025-12-02 20:28:01 +08:00
2026-01-23 10:50:24 +08:00
2026-03-05 11:17:56 +08:00
2026-04-27 14:05:06 +08:00
2026-04-27 17:56:58 +08:00
2026-04-21 15:03:18 +08:00
2026-04-27 15:20:25 +08:00
2026-04-17 11:34:11 +08:00
2026-02-05 14:31:04 +08:00
2026-03-13 16:46:03 +08:00
2026-04-24 11:18:50 +08:00
2026-03-05 09:55:54 +08:00
2026-04-16 16:27:55 +08:00
2025-12-15 14:09:43 +08:00
2025-12-02 20:28:01 +08:00
2026-04-27 17:56:58 +08:00
2025-12-29 14:51:23 +08:00
2026-02-25 11:29:42 +08:00
2026-04-14 17:28:24 +08:00
2026-01-28 16:07:53 +08:00
2026-01-26 11:53:34 +08:00
2025-12-02 20:28:01 +08:00
2026-03-25 17:54:27 +08:00
2026-03-25 18:06:01 +08:00
2026-03-05 09:55:54 +08:00
2026-03-26 11:50:36 +08:00
2026-04-13 18:47:56 +08:00
2026-04-21 17:18:11 +08:00
2025-12-02 20:28:01 +08:00
2026-03-05 11:17:56 +08:00
2025-12-02 20:28:01 +08:00
2026-04-16 16:27:55 +08:00
2026-04-16 16:27:55 +08:00
2026-02-25 10:27:16 +08:00
2026-02-25 10:27:16 +08:00
2026-05-08 11:28:24 +08:00
2026-05-08 11:26:24 +08:00
2026-04-13 18:47:56 +08:00
2026-05-08 11:26:04 +08:00
2026-04-24 11:18:50 +08:00
2026-02-03 16:03:08 +08:00
2026-01-26 11:53:34 +08:00
2026-04-23 19:32:13 +08:00
2026-03-30 13:45:17 +08:00
2026-03-20 21:05:22 +08:00
2026-04-16 16:27:55 +08:00
2026-02-09 17:28:42 +08:00
2026-03-03 16:48:34 +08:00
2026-05-08 11:26:04 +08:00
2026-04-16 16:27:55 +08:00
2026-04-21 12:15:14 +08:00
2025-12-02 20:28:01 +08:00
2026-01-07 17:48:17 +08:00
2026-04-16 16:27:55 +08:00
2026-03-05 09:55:54 +08:00
2026-04-27 17:56:58 +08:00
2026-02-09 21:23:24 +08:00
2025-12-24 20:35:04 +08:00
2026-05-08 11:28:24 +08:00
2026-04-16 16:27:55 +08:00
2025-12-15 14:09:43 +08:00
2025-12-02 20:28:01 +08:00
2026-04-16 16:27:55 +08:00
2026-03-05 11:17:56 +08:00
2025-12-15 14:09:43 +08:00
2025-12-02 20:28:01 +08:00
2026-03-27 14:36:19 +08:00
2026-04-24 18:49:55 +08:00
2025-12-02 20:28:01 +08:00
2026-05-08 11:28:44 +08:00
2026-04-24 11:18:50 +08:00
2026-04-23 15:46:12 +08:00
2026-04-27 17:56:58 +08:00
2026-04-28 18:34:06 +08:00