Skip to content

fix(signal): keep reactions on the normalized target - #112607

Merged
joshavant merged 1 commit into
mainfrom
audit/signal-reaction-resource-binding
Jul 22, 2026
Merged

joshavant merged 1 commit into
mainfrom
audit/signal-reaction-resource-binding

Conversation

@joshavant

Copy link
Copy Markdown
Collaborator

Closes #112604

What Problem This Solves

Fixes an issue where Signal reactions could use alternate routing metadata instead of the normalized message target. This could make an otherwise valid reaction fail or select the wrong configured account path.

Why This Change Was Made

Signal now resolves the selected account once and sends add/remove reactions only to the canonical normalized target. Disabled, unconfigured, and recipient-only requests are rejected before provider dispatch.

User Impact

Signal reactions now consistently stay on the conversation and account selected by OpenClaw routing, including when stale alternate metadata is present.

Evidence

  • 78 focused Signal and shared message-action tests passed locally.
  • 130 exact-HEAD focused tests passed remotely, including 52 Codex dynamic-tool tests.
  • Exact-HEAD pnpm check:changed passed.
  • Live Signal DM proof against the byte-identical candidate Signal package: real inbound message, real model-selected reaction, and provider-side mutation observed for both ordinary and stale-alternate-metadata cases.
  • Live disabled and unconfigured account controls rejected without provider connection attempts.
  • Fresh $autoreview: clean, no actionable findings.

AI-assisted implementation and validation.

@openclaw-barnacle openclaw-barnacle Bot added channel: signal Channel integration: signal size: S maintainer Maintainer-authored PR labels Jul 22, 2026
@clawsweeper

clawsweeper Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(signal): keep reactions on the normalized target This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@joshavant
joshavant merged commit b0ccaa6 into main Jul 22, 2026
106 of 110 checks passed
@joshavant
joshavant deleted the audit/signal-reaction-resource-binding branch July 22, 2026 09:30
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 23, 2026
masatohoshino added a commit to masatohoshino/openclaw that referenced this pull request Jul 26, 2026
…counts

The react message-action handler dispatched straight to the sender without
checking the resolved account, so a disabled Nextcloud Talk account
(`enabled:false`) that still had a baseUrl/botSecret in config could keep
emitting reactions. `describeMessageTool` already hides the tool for
unconfigured accounts, but an explicit accountId can reach `handleAction`
directly. Enforce the same enabled+configured gate at dispatch, mirroring
the Signal reaction fix (openclaw#112607).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
steipete pushed a commit that referenced this pull request Jul 29, 2026
…counts (#112675)

The react message-action handler dispatched straight to the sender without
checking the resolved account, so a disabled Nextcloud Talk account
(`enabled:false`) that still had a baseUrl/botSecret in config could keep
emitting reactions. `describeMessageTool` already hides the tool for
unconfigured accounts, but an explicit accountId can reach `handleAction`
directly. Enforce the same enabled+configured gate at dispatch, mirroring
the Signal reaction fix (#112607).

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
…counts (openclaw#112675)

The react message-action handler dispatched straight to the sender without
checking the resolved account, so a disabled Nextcloud Talk account
(`enabled:false`) that still had a baseUrl/botSecret in config could keep
emitting reactions. `describeMessageTool` already hides the tool for
unconfigured accounts, but an explicit accountId can reach `handleAction`
directly. Enforce the same enabled+configured gate at dispatch, mirroring
the Signal reaction fix (openclaw#112607).

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: signal Channel integration: signal maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Signal reactions do not consistently honor normalized routing

1 participant