P1: Verify Shared Thread Sessions (Multi-User Discord/Telegram) #121
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Commit
89c812d1makes threads (Telegram forum topics, Discord threads, Slack threads) shared by default. Multiple users in a thread now share the same conversation.Key changes:
build_session_key(): thread_id present = user_id not appended to session key[sender name]prefix on messagesthread_sessions_per_user: trueAcceptance Criteria
thread_sessions_per_user: true, confirm threads revert to per-user isolationWhy This Matters
Collaborative work requires shared context. When multiple team members discuss an issue in a thread, the agent needs the full conversation, not fragmented per-user sessions.
Hints
gateway/session.py—build_session_key()thread_sessions_per_userin gateway configParent: #111