fix: harden outbound mirroring normalization

This commit is contained in:
Peter Steinberger
2026-01-24 12:51:29 +00:00
parent 8b4e40c602
commit 62c9255b6a
6 changed files with 60 additions and 2 deletions

View File

@@ -40,6 +40,8 @@ Outbound sends were mirrored into the *current* agent session (tool session key)
- Mattermost targets now strip `@` for DM session key routing.
- Zalo Personal uses DM peer kind for 1:1 targets (group only when `group:` is present).
- BlueBubbles group targets strip `chat_*` prefixes to match inbound session keys.
- Slack auto-thread mirroring matches channel ids case-insensitively.
- Gateway send lowercases provided session keys before mirroring.
## Decisions
- **Gateway send session derivation**: if `sessionKey` is provided, use it. If omitted, derive a sessionKey from target + default agent and mirror there.