openclaw/src
calder-sandy 93ac2b43fb
feat(slack): per-thread session isolation for DM auto-threading (#26849)
* feat(slack): create thread sessions for auto-threaded DM messages

When replyToMode="all", every top-level message starts a new Slack thread.
Previously, only subsequent replies in that thread got an isolated session
(via 🧵<threadTs> suffix). The initial message fell back to the base
DM session, mixing context across unrelated conversations.

Now, when replyToMode="all" and a message is not already a thread reply,
the message's own ts is used as the threadId for session key resolution.
This gives the initial message AND all subsequent thread replies the same
isolated session.

This enables per-thread session isolation for Slack DMs — each new message
starts its own thread and session, keeping conversations separate.

* Slack: fix auto-thread session key mode check and add changelog

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
2026-03-01 11:24:45 -06:00
..
acp
agents fix(slack): use SLACK_USER_TOKEN when connecting to Slack (#28103) 2026-03-01 11:05:35 -06:00
auto-reply fix(slack): use SLACK_USER_TOKEN when connecting to Slack (#28103) 2026-03-01 11:05:35 -06:00
browser fix(browser): resolve correct targetId in navigate response after renderer swap (#25326) 2026-02-28 09:23:24 -08:00
canvas-host
channels fix(slack): use SLACK_USER_TOKEN when connecting to Slack (#28103) 2026-03-01 11:05:35 -06:00
cli feat(cron): configurable failure alerts for repeated job errors (openclaw#24789) thanks @0xbrak 2026-03-01 08:18:15 -06:00
commands fix(slack): use SLACK_USER_TOKEN when connecting to Slack (#28103) 2026-03-01 11:05:35 -06:00
compat
config fix(slack): map legacy streaming=false to off (openclaw#26020) thanks @chilu18 2026-03-01 10:21:25 -06:00
cron feat(cron): configurable failure alerts for repeated job errors (openclaw#24789) thanks @0xbrak 2026-03-01 08:18:15 -06:00
daemon fix(gateway): shorten manual reinstall/restart delays 2026-02-28 20:46:11 -05:00
discord Discord: thread bindings idle + max-age lifecycle (#27845) (thanks @osolmaz) 2026-02-27 10:02:39 +01:00
docs
gateway feat: detect stale Slack sockets and auto-restart (#30153) 2026-03-01 10:58:21 -06:00
hooks
imessage refactor(security): enforce account-scoped pairing APIs 2026-02-26 21:57:52 +01:00
infra fix(slack): use SLACK_USER_TOKEN when connecting to Slack (#28103) 2026-03-01 11:05:35 -06:00
line refactor(security): enforce account-scoped pairing APIs 2026-02-26 21:57:52 +01:00
link-understanding
logging
markdown
media test: add outside-workspace error mapping coverage 2026-02-28 18:08:10 +05:30
media-understanding
memory Memory: keep keyword hits when hybrid vector misses 2026-02-28 14:18:24 -08:00
node-host refactor(gateway): share node command catalog 2026-02-26 22:01:06 +01:00
pairing refactor(channels): unify dm pairing policy flows 2026-02-26 22:36:20 +01:00
plugin-sdk refactor(channels): unify dm pairing policy flows 2026-02-26 22:36:20 +01:00
plugins test: align compaction hook usage expectation 2026-02-26 22:03:26 +00:00
process fix: restore dm command and self-chat auth behavior 2026-02-26 18:49:16 +01:00
providers
routing fix(core): unify session-key normalization and plugin boundary checks 2026-02-26 12:41:23 +00:00
scripts
secrets fix: restore dm command and self-chat auth behavior 2026-02-26 18:49:16 +01:00
security refactor(security): enforce account-scoped pairing APIs 2026-02-26 21:57:52 +01:00
sessions TUI: sync /model status immediately 2026-02-28 14:02:56 -08:00
shared Web UI: strip relevant-memories scaffolding 2026-02-28 13:20:50 -08:00
signal refactor(channels): unify dm pairing policy flows 2026-02-26 22:36:20 +01:00
slack feat(slack): per-thread session isolation for DM auto-threading (#26849) 2026-03-01 11:24:45 -06:00
telegram fix: preserve whitespace in telegram html retry chunking 2026-02-28 08:13:59 +05:30
terminal
test-helpers
test-utils diffs plugin 2026-02-28 18:38:00 -05:00
tts fix(tts): use opus format and enable voice bubbles for feishu and whatsapp (#27366) 2026-02-27 23:41:22 -06:00
tui TUI: guard SIGTERM shutdown against setRawMode EBADF 2026-02-28 14:56:01 -08:00
types
utils fix(agents): add forward-compat fallback for google-gemini-cli gemini-3.1-pro/flash-preview (#26570) 2026-02-26 18:39:13 -05:00
web refactor(security): enforce account-scoped pairing APIs 2026-02-26 21:57:52 +01:00
whatsapp
wizard feat(secrets): expand onboarding secret-ref flows and custom-provider parity 2026-02-26 14:47:22 +00:00
channel-web.ts
docker-image-digests.test.ts
docker-setup.test.ts
dockerfile.test.ts
entry.ts fix(secrets): make apply idempotent and keep audit read-only 2026-02-26 14:47:22 +00:00
extensionAPI.ts
globals.ts
index.ts
logger.test.ts
logger.ts
logging.ts
polls.test.ts
polls.ts
runtime.ts
utils.test.ts
utils.ts
version.test.ts
version.ts