sam
ea128443e0
feat(gateway): persist the channel-native sender id on messages
...
Slice 1 of docs/prds/memory-engine-unification.md: persist the
participant, so a later curator can address agent-user memory scope.
- messages gains sender_id: schema, ALTER migration (idempotent via
duplicate-column detection), both inserts, and both history selects.
Pre-existing rows default to empty.
- curator.SessionSummary gains AgentID and ConversationMessage gains
SenderID; the sessioncurator adapter fills them from the session's bot
identity and the stored record.
The memory contract is untouched and nothing consumes the new fields
yet. Deriving a session's participant from its user-role messages, and
failing closed on ambiguity, stays with the curator rewrite.
2026-09-17 22:06:54 +10:00
..
2026-09-05 22:52:03 +10:00
2026-08-23 03:27:44 +10:00
2026-08-23 03:27:44 +10:00
2026-08-08 16:42:59 +10:00
2026-08-08 16:42:59 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 03:03:33 +10:00
2026-09-10 03:03:33 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 23:29:11 +10:00
2026-09-09 01:05:36 +10:00
2026-09-08 21:28:19 +10:00
2026-09-08 21:28:19 +10:00
2026-09-08 21:28:19 +10:00
2026-08-09 01:15:41 +10:00
2026-08-09 01:15:41 +10:00
2026-09-10 03:03:33 +10:00
2026-08-28 22:28:10 +10:00
2026-09-10 03:03:33 +10:00
2026-09-15 01:24:20 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-15 10:18:53 +10:00
2026-09-09 01:05:36 +10:00
2026-08-06 22:55:26 +10:00
2026-09-10 03:03:33 +10:00
2026-07-26 01:19:38 +10:00
2026-07-26 09:53:33 +10:00
2026-09-10 03:03:33 +10:00
2026-07-27 11:03:40 +10:00
2026-09-09 01:05:36 +10:00
2026-09-05 22:52:03 +10:00
2026-09-05 22:52:03 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 01:09:31 +10:00
2026-09-10 01:09:31 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-08-09 22:27:25 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-08-05 04:24:16 +10:00
2026-08-25 05:48:17 +10:00
2026-08-09 22:27:25 +10:00
2026-09-17 22:06:54 +10:00
2026-09-17 22:06:54 +10:00
2026-09-10 03:03:33 +10:00
2026-07-26 10:25:07 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 23:33:38 +10:00
2026-09-09 23:33:38 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 03:03:33 +10:00
2026-09-08 21:28:19 +10:00
2026-09-15 12:55:52 +10:00
2026-09-17 21:19:53 +10:00
2026-09-09 23:29:11 +10:00
2026-08-26 02:02:36 +10:00
2026-09-10 03:03:33 +10:00
2026-08-28 00:19:27 +00:00
2026-09-07 00:39:26 +10:00
2026-09-17 10:13:07 +00:00
2026-09-17 11:10:30 +00:00
2026-08-22 20:43:29 +10:00
2026-09-10 03:03:33 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 01:09:31 +10:00
2026-08-09 23:18:55 +10:00
2026-07-30 01:25:46 +10:00
2026-08-09 23:18:55 +10:00
2026-09-15 10:18:53 +10:00