Repository navigation
[BACKPORT] fix(slack): allow group DMs to be opened from the message tool - #133199
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
872e429 to
f19aa03
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 5:05 AM ET / 09:05 UTC. ClawSweeper reviewWhat this changesThis backport adds Slack message-tool support for opening or reusing one-to-one and group direct-message conversations, then returning a scoped target for the existing send action. Merge readinessKeep open. This is a necessary release-branch backport: current main has the merged upstream implementation, while the latest release tag lacks it; the prior SDK-baseline blocker is resolved, but release inclusion and exact-head CI remain maintainer work. Priority: P1 Review scores
Verification
How this fits togetherThe Slack channel plugin maps agent message-tool actions to the configured Slack account’s Web API. This action validates member IDs, opens a scoped conversation through the write identity, and returns a target that the existing send path can use. flowchart LR
A[Agent message tool] --> B[Slack action dispatcher]
B --> C[Recipient and workspace validation]
C --> D[Configured Slack write identity]
D --> E[Slack conversation API]
E --> F[Scoped conversation target]
F --> G[Existing send action]
Decision needed
Why: Backports are optional release-scope decisions, and the protected maintainer label requires explicit maintainer handling even though the upstream implementation is already merged on main. Before merge
Agent review detailsSecurityNone. PR surfaceSource +118, Tests +293, Docs +12, Generated 0. Total +423 across 17 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Include this bounded upstream-equivalent Slack action only if the release owner selects it for the release line, after the exact head has a resolved security-fast result and completed relevant CI. Do we have a high-confidence way to reproduce the issue? Yes, from source: the latest release tag lacks the helper while the head adds the action from shared discovery through Slack API dispatch; no live Slack workspace run was supplied. Is this the best way to solve the issue? Yes. This is the narrow owner-boundary backport of the already-merged main implementation, retaining shared action-contract declarations while keeping Slack-specific validation and API use in the Slack plugin. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3306b6295315. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
What Problem This Solves
The current OpenClaw release branch does not include the merged Slack message-tool support for opening or reusing one-to-one and group direct-message conversations.
Why This Change Was Made
Backport the merged conversation-open action onto the active release line so the release can expose the same validated Slack workflow as main without bringing unrelated main-branch changes.
User Impact
Users on this release line can ask the Slack message tool to open or reuse a DM or group DM for explicit member IDs, then send to the returned canonical target. Existing message gates, workspace scoping, and read or inbound policies remain unchanged.
Evidence
a66dfa7742444d1d00b7b1f0f06680342fc7cdba.git diff --checkpasses.oxfmt --checkpasses for all 16 changed files.Backport-Of: #132928
Release-Target: sjf_openclaw_2026-07-31