Skip to content

fix(nextcloud-talk): reject reactions for disabled or unconfigured accounts - #112675

Merged
steipete merged 1 commit into
openclaw:mainfrom
masatohoshino:fix/nextcloud-talk-react-disabled-account
Jul 29, 2026
Merged

steipete merged 1 commit into
openclaw:mainfrom
masatohoshino:fix/nextcloud-talk-react-disabled-account

Conversation

@masatohoshino

@masatohoshino masatohoshino commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Nextcloud Talk react message action dispatched straight to the sender without
re-checking the resolved account. A user who disabled their Nextcloud Talk account
(channels.nextcloud-talk.enabled: false) but left the baseUrl/botSecret in config
could therefore still have the react action emit reactions through that disabled
account — outbound traffic from a channel the user explicitly turned off.

describeMessageTool already hides the react tool when no account is enabled and
configured, but that only affects tool listing. handleAction receives its own accountId
and applied no equivalent account check, so a disabled-but-credentialed account was not
stopped before dispatch. The credential resolver (resolveCredentials in send.ts)
validates only baseUrl/secret presence, not enabled.

Why This Change Was Made

The contract this restores is Nextcloud Talk's own: tool listing and direct dispatch
should agree about which accounts may act. This change resolves the account at the top of
the react branch and reuses the plugin's existing isAccountConfigured predicate
(enabled && secret && baseUrl) — the exact predicate describeMessageTool already uses
to decide whether to offer the tool. No second configuration model is introduced, and
resolveCredentials stays the credential-validation owner for the send path.

The same class of gap was fixed for Signal in #112607 (merged), which is precedent for
the shape rather than a replacement for this plugin-local fix.

User Impact

A disabled Nextcloud Talk account with leftover credentials no longer emits reactions.
Reacting through a disabled or unconfigured account now throws
Nextcloud Talk account "<id>" is disabled or not configured. instead of reaching the API.
Enabled, configured accounts are unaffected.

Real behavior proof

Behavior addressed: a Nextcloud Talk account with enabled: false and leftover
credentials still posts reactions to the provider when react is dispatched with an
explicit account.

Real environment tested: real Nextcloud 34.0.2.1 with the real Talk (spreed) app
24.0.3, a real Talk bot registered on the server (occ talk:bot:install --feature response --feature reaction) and attached to a real conversation (occ talk:bot:setup),
real chat messages posted through the server's OCS chat API, Node v24.18.0. The harness
imports the production adapter and calls
nextcloudTalkMessageActions.handleAction directly under tsx — no vitest, no
vi.mock, no injected sender — so account resolution, signing, the SSRF-guarded fetch,
and the HTTP POST to /ocs/v2.php/apps/spreed/api/v1/bot/{token}/reaction/{messageId}
all run as shipped. After each scenario the harness reads the reaction map back from the
server (GET /ocs/v2.php/apps/spreed/api/v1/reaction/{token}/{messageId}), so the result
lines below are what Nextcloud itself recorded: {"👍":["bots:… (Bot)"]} means the
reaction really landed and the server attributed it to the bot.

Exact steps or command run after this patch: drop the throwaway proof harness
nc-live-proof.mts at the repo root and run the command below. The harness is not part of
this PR's diff; its full source is inlined underneath so the run is reproducible.

NC_BASE_URL=<nextcloud-url> NC_ROOM_TOKEN=<room> NC_BOT_SECRET=<bot-secret> \
NC_ADMIN_USER=<admin> NC_ADMIN_PASSWORD=<password> \
./node_modules/.bin/tsx nc-live-proof.mts
nc-live-proof.mts (proof harness, not part of the diff)
/**
 * Standalone live proof harness for PR #112675.
 *
 * Drives the production Nextcloud Talk message-action adapter
 * (`nextcloudTalkMessageActions.handleAction`) against a real Nextcloud server
 * with the real Talk (spreed) app and a real registered Talk bot. Nothing in
 * the dispatch path is mocked: real account resolution, real signature, real
 * SSRF-guarded fetch, real HTTP, real provider reaction API.
 *
 * Each scenario posts a fresh chat message through the server's OCS chat API,
 * then asks the production adapter to react to it, then reads the reaction
 * state back from the server. The server's own view of the message is the
 * evidence, not the harness's bookkeeping.
 *
 * Usage:
 *   NC_BASE_URL=... NC_BOT_SECRET=... NC_ROOM_TOKEN=... NC_ADMIN_USER=... \
 *   NC_ADMIN_PASSWORD=... ./node_modules/.bin/tsx nc-live-proof.mts
 */
import { nextcloudTalkMessageActions } from "./extensions/nextcloud-talk/src/message-actions.ts";
import type { CoreConfig } from "./extensions/nextcloud-talk/src/types.ts";

const baseUrl = requireEnv("NC_BASE_URL");
const botSecret = requireEnv("NC_BOT_SECRET");
const roomToken = requireEnv("NC_ROOM_TOKEN");
const adminUser = requireEnv("NC_ADMIN_USER");
const adminPassword = requireEnv("NC_ADMIN_PASSWORD");

function requireEnv(name: string): string {
  const value = process.env[name]?.trim();
  if (!value) {
    console.error(`missing required env ${name}`);
    process.exit(2);
  }
  return value;
}

const ocsHeaders = {
  "OCS-APIRequest": "true",
  Accept: "application/json",
  Authorization: `Basic ${Buffer.from(`${adminUser}:${adminPassword}`).toString("base64")}`,
};

/** Posts a chat message as the admin user and returns its server-assigned id. */
async function postMessage(text: string): Promise<string> {
  const response = await fetch(`${baseUrl}/ocs/v2.php/apps/spreed/api/v1/chat/${roomToken}`, {
    method: "POST",
    headers: { ...ocsHeaders, "Content-Type": "application/x-www-form-urlencoded" },
    body: new URLSearchParams({ message: text }),
  });
  const payload = (await response.json()) as { ocs: { data: { id: number } } };
  return String(payload.ocs.data.id);
}

/** Reads the server's reaction map for a message: emoji -> reacting actor ids. */
async function readReactions(messageId: string): Promise<Record<string, string[]>> {
  const response = await fetch(
    `${baseUrl}/ocs/v2.php/apps/spreed/api/v1/reaction/${roomToken}/${messageId}`,
    { headers: ocsHeaders },
  );
  if (response.status === 404) {
    return {};
  }
  const payload = (await response.json()) as {
    ocs: { data: Record<string, { actorType: string; actorDisplayName: string }[]> };
  };
  return Object.fromEntries(
    Object.entries(payload.ocs.data ?? {}).map(([reaction, actors]) => [
      reaction,
      actors.map((actor) => `${actor.actorType}:${actor.actorDisplayName}`),
    ]),
  );
}

type Scenario = {
  id: string;
  description: string;
  cfg: CoreConfig;
};

/** Config a user would have after turning the channel off but leaving credentials in place. */
function config(params: { enabled: boolean; withSecret: boolean }): CoreConfig {
  return {
    channels: {
      "nextcloud-talk": {
        enabled: params.enabled,
        baseUrl,
        ...(params.withSecret ? { botSecret } : {}),
        // Required for a loopback Nextcloud; production installs use a public host.
        network: { dangerouslyAllowPrivateNetwork: true },
      },
    },
  } as unknown as CoreConfig;
}

const scenarios: Scenario[] = [
  {
    id: "S1-disabled-account",
    description: "channel disabled (enabled:false) but baseUrl + botSecret still in config",
    cfg: config({ enabled: false, withSecret: true }),
  },
  {
    id: "S2-enabled-account-control",
    description: "control: enabled + fully configured account must still reach the provider",
    cfg: config({ enabled: true, withSecret: true }),
  },
  {
    id: "S3-unconfigured-account",
    description: "enabled but required configuration (bot secret) missing",
    cfg: config({ enabled: true, withSecret: false }),
  },
];

const emoji = "👍";

for (const scenario of scenarios) {
  const messageId = await postMessage(`proof message for ${scenario.id}`);
  const before = await readReactions(messageId);

  let outcome: string;
  try {
    const result = await nextcloudTalkMessageActions.handleAction?.({
      channel: "nextcloud-talk",
      action: "react",
      params: { to: `room:${roomToken}`, messageId, emoji },
      cfg: scenario.cfg,
      // The gap under test is the explicit-account path: describeMessageTool can
      // hide the tool, but a caller naming an accountId still reaches handleAction.
      accountId: "default",
    } as Parameters<NonNullable<typeof nextcloudTalkMessageActions.handleAction>>[0]);
    outcome = `returned ${JSON.stringify(result?.details ?? result)}`;
  } catch (error) {
    outcome = `threw ${error instanceof Error ? error.message : String(error)}`;
  }

  // Give the server a moment to persist the reaction before reading it back.
  await new Promise((resolve) => setTimeout(resolve, 300));
  const after = await readReactions(messageId);

  console.log(`--- ${scenario.id} — ${scenario.description}`);
  console.log(`    messageId          : ${messageId}`);
  console.log(`    handleAction       : ${outcome}`);
  console.log(`    reactions before   : ${JSON.stringify(before)}`);
  console.log(`    reactions on server: ${JSON.stringify(after)}`);
}

Before evidence (extensions/nextcloud-talk/src/message-actions.ts restored to
upstream/main cd5a5ecb4c, nothing else changed):

# capture: BEFORE (extensions/nextcloud-talk/src/message-actions.ts at upstream/main cd5a5ecb4c, nothing else changed)
# server : Nextcloud 34.0.2.1 / Talk (spreed) 24.0.3 / node v24.18.0
--- S1-disabled-account — channel disabled (enabled:false) but baseUrl + botSecret still in config
    messageId          : 25
    handleAction       : returned {"ok":true,"added":"👍"}
    reactions before   : {}
    reactions on server: {"👍":["bots:OpenClaw Proof Bot (Bot)"]}
--- S2-enabled-account-control — control: enabled + fully configured account must still reach the provider
    messageId          : 27
    handleAction       : returned {"ok":true,"added":"👍"}
    reactions before   : {}
    reactions on server: {"👍":["bots:OpenClaw Proof Bot (Bot)"]}
--- S3-unconfigured-account — enabled but required configuration (bot secret) missing
    messageId          : 29
    handleAction       : threw Nextcloud Talk bot secret missing for account "default" (set channels.nextcloud-talk.botSecret/botSecretFile or NEXTCLOUD_TALK_BOT_SECRET for default).
    reactions before   : {}
    reactions on server: {}

Evidence after fix (head a410c911e5):

# capture: AFTER (this PR, head a410c911e5e78b5b0a76e84779b9bcefbaffb544)
# server : Nextcloud 34.0.2.1 / Talk (spreed) 24.0.3 / node v24.18.0
--- S1-disabled-account — channel disabled (enabled:false) but baseUrl + botSecret still in config
    messageId          : 21
    handleAction       : threw Nextcloud Talk account "default" is disabled or not configured.
    reactions before   : {}
    reactions on server: {}
--- S2-enabled-account-control — control: enabled + fully configured account must still reach the provider
    messageId          : 22
    handleAction       : returned {"ok":true,"added":"👍"}
    reactions before   : {}
    reactions on server: {"👍":["bots:OpenClaw Proof Bot (Bot)"]}
--- S3-unconfigured-account — enabled but required configuration (bot secret) missing
    messageId          : 24
    handleAction       : threw Nextcloud Talk account "default" is disabled or not configured.
    reactions before   : {}
    reactions on server: {}

Observed result after fix: S1 flips — before the fix a channel the user had turned off
still posted a reaction that the real server accepted and attributed to the bot; after the
fix the dispatch throws and the server records no reaction for that message. S2 is
identical in both runs, so an enabled, configured account still reaches the provider and
the reaction still lands. S3 changes only which error is raised (credential error inside
the send path → explicit account gate); both refuse, and the new one names the real cause.

What was not tested: multi-account routing — the capture uses the single default
account, though the gate runs on whatever resolveNextcloudTalkAccount returns, which is
the same resolver describeMessageTool uses. Reaction removal (params.remove === true)
is rejected by a pre-existing guard and is untouched here.

Proof limitations or environment constraints: the test Nextcloud runs on loopback, so the
harness's own config object sets network.dangerouslyAllowPrivateNetwork. That is a
harness-side value only — this PR adds no config surface and changes no default, and the
flag reaches only the SSRF policy, never the account gate under test. Bot secret, admin
credentials, and the room token are redacted from the command above and appear nowhere in
the captured output.

Evidence

Supplemental to the runtime capture above:

  • New focused tests in extensions/nextcloud-talk/src/message-actions.test.ts:
    • rejects a disabled account before reaching the sender — disabled account
      (enabled:false, credentials present) → handleAction throws and
      sendReactionNextcloudTalk is not called.
    • rejects an unconfigured account before reaching the sender — required
      configuration missing → throws, sender not called.
  • vitest run extensions/nextcloud-talk/src/message-actions.test.ts → 21 passed at head
    a410c911e5; the two new tests fail with the same file restored to cd5a5ecb4c
    (the disabled account resolves and sendReactionNextcloudTalk is called).

Rebased onto current main (cd5a5ecb4c) so the exact-head validation above is against
today's main.

Related: #112607

@openclaw-barnacle openclaw-barnacle Bot added channel: nextcloud-talk Channel integration: nextcloud-talk size: XS labels Jul 22, 2026
@masatohoshino
masatohoshino marked this pull request as ready for review July 22, 2026 13:45
@masatohoshino

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 26, 2026
@clawsweeper

clawsweeper Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 26, 2026, 6:41 AM ET / 10:41 UTC.

ClawSweeper review

What this changes

The PR rejects Nextcloud Talk reaction requests for disabled or incompletely configured resolved accounts before they reach the provider, and adds tests for both rejection paths.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep this PR open. PR close coverage proof kept this PR open against #112607: PR B is an adjacent Signal implementation, not a carry-forward of PR A's concrete Nextcloud Talk account-validation behavior. PR A's durable report explicitly identifies the adapters as independent.

Priority: P2
Reviewed head: a410c911e5e78b5b0a76e84779b9bcefbaffb544

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, well-scoped fix with strong real-provider proof and no identified correctness or security defect.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body contains reproducible, redacted before/after live output from a real Nextcloud Talk server, including provider-side reaction-state reads for the rejected disabled-account case and the enabled-account control.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body contains reproducible, redacted before/after live output from a real Nextcloud Talk server, including provider-side reaction-state reads for the rejected disabled-account case and the enabled-account control.
Evidence reviewed 4 items PR close coverage proof: PR close coverage proof kept this PR open against #112607: PR B is an adjacent Signal implementation, not a carry-forward of PR A's concrete Nextcloud Talk account-validation behavior. PR A's durable report explicitly identifies the adapters as independent.
linked superseding PR: #112607 (fix(signal): keep reactions on the normalized target) is merged at 2026-07-22T09:30:50Z.
cluster evidence: the durable review links that PR in the work cluster or recommended risk path.
Findings None None.
Security None None.

How this fits together

Nextcloud Talk is a bundled channel plugin whose message-action adapter receives agent reaction requests and sends them to the Talk provider. The adapter resolves an account, validates whether it may act, then delegates eligible reactions to the sender that performs the authenticated API request.

flowchart LR
  A[Agent reaction request] --> B[Nextcloud Talk action adapter]
  B --> C[Resolve requested account]
  C --> D{Enabled and configured?}
  D -- No --> E[Reject before provider call]
  D -- Yes --> F[Validate room target]
  F --> G[Reaction sender]
  G --> H[Nextcloud Talk API]
Loading

Before merge

  • Complete next step (P2) - No mechanical follow-up is identified; this remains an ordinary contributor PR ready for maintainer merge review rather than a ClawSweeper repair job.
Agent review details

Security

None.

PR surface

Source +12, Tests +35. Total +47 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 12 0 +12
Tests 1 35 0 +35
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 47 0 +47

Review metrics

None.

Technical review

Best possible solution:

Keep this PR open until a linked canonical PR proves it covers this PR's unique work, or a maintainer confirms closure.

Do we have a high-confidence way to reproduce the issue?

Yes, source and the supplied live harness identify a high-confidence path: dispatch react with an explicit account ID whose account retains credentials but has enabled: false, then observe whether the provider receives a reaction. The PR body also provides before/after output from that path against a real Nextcloud Talk server.

Is this the best way to solve the issue?

Yes. Reusing the plugin’s existing account predicate at the direct-dispatch boundary is narrower and more maintainable than adding a second configuration model or weakening the sender’s credential-validation responsibility.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 53e3f296b1cc.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body contains reproducible, redacted before/after live output from a real Nextcloud Talk server, including provider-side reaction-state reads for the rejected disabled-account case and the enabled-account control.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body contains reproducible, redacted before/after live output from a real Nextcloud Talk server, including provider-side reaction-state reads for the rejected disabled-account case and the enabled-account control.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This fixes a real but bounded channel-action bug: a disabled configured account could still emit a reaction when explicitly targeted.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body contains reproducible, redacted before/after live output from a real Nextcloud Talk server, including provider-side reaction-state reads for the rejected disabled-account case and the enabled-account control.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body contains reproducible, redacted before/after live output from a real Nextcloud Talk server, including provider-side reaction-state reads for the rejected disabled-account case and the enabled-account control.

Evidence

What I checked:

  • PR close coverage proof: PR close coverage proof kept this PR open against fix(signal): keep reactions on the normalized target #112607: PR B is an adjacent Signal implementation, not a carry-forward of PR A's concrete Nextcloud Talk account-validation behavior. PR A's durable report explicitly identifies the adapters as independent.
  • linked superseding PR: fix(signal): keep reactions on the normalized target #112607 (fix(signal): keep reactions on the normalized target) is merged at 2026-07-22T09:30:50Z.
  • cluster evidence: the durable review links that PR in the work cluster or recommended risk path.
  • no human follow-up: live comments and timeline hydrated by apply contain no non-automation activity after the ClawSweeper review.

Likely related people:

  • masatohoshino: The supplied PR context shows direct knowledge of the Nextcloud Talk reaction-dispatch path and a real-provider validation setup; repository-history ownership could not be independently established in this read-only review environment. (role: current patch and live-proof contributor; confidence: low; commits: a410c911e5e7; files: extensions/nextcloud-talk/src/message-actions.ts, extensions/nextcloud-talk/src/message-actions.test.ts)
  • joshavant: Authored the merged Signal reaction fix cited by this PR as the closest established implementation pattern, though it is not ownership evidence for the Nextcloud Talk plugin itself. (role: adjacent reaction-guard contributor; confidence: low; commits: b0ccaa6eecba; files: src/channels/signal)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-07-26T06:45:04.898Z sha 5e78912406cec6fbdf4fa7eb494490ff01c5360a :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-26T10:12:54.383Z sha a410c91 :: needs real behavior proof before merge. :: none

…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]>
@masatohoshino
masatohoshino force-pushed the fix/nextcloud-talk-react-disabled-account branch from 5e78912 to a410c91 Compare July 26, 2026 10:09
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 26, 2026
@steipete
steipete merged commit 46b2bed into openclaw:main Jul 29, 2026
161 of 169 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

vincentkoc added a commit to yetval/openclaw that referenced this pull request Jul 29, 2026
* origin/main: (224 commits)
  fix(memory): preserve Windows session ownership (openclaw#115851)
  fix(compaction): drop context-engine fallback on codex ownership skip (openclaw#114155) (openclaw#115666)
  fix(msteams): ignore blank certificate settings (openclaw#109112)
  fix(usage): guard malformed DeepSeek payloads (openclaw#110785)
  docs(agents): reword imported review rules in repo voice
  docs(agents): add context-budget, tool-description, cache-invalidation, and review-premise rules
  docs(agents): mock-gateway proof satisfies gate without discouraging live proof
  docs(agents): add vitest in-flight edit rule and mock-gateway proof recipe
  docs(agents): restructure root AGENTS.md around product doctrine and deduped policy
  fix(codex): keep completed answers over audit gaps (openclaw#115849)
  test(cli): isolate unknown-command process validation (openclaw#115848)
  fix(memory-host-sdk): resolve stable execPath for worker fork to survive Homebrew Node upgrades (openclaw#99318)
  feat(ui): add composer capability menu (openclaw#115800)
  fix(synology-chat): stop fabricating send message ids (openclaw#110770)
  fix(feishu): reply to direct messages by chat id (openclaw#109637)
  fix(acp): attach error listener to spawned ACP agent process (openclaw#109529)
  fix(sessions): deliver agent announcements to direct message sessions (openclaw#115811)
  fix(nextcloud-talk): reject reactions for disabled or unconfigured accounts (openclaw#112675)
  refactor(ui): move Agent Defaults entry from the sidebar into the Agents page (openclaw#115836)
  feat(gateway): push session PR indicators to subscribed clients (openclaw#115643)
  ...

# Conflicts:
#	src/agents/apply-patch.ts
#	src/agents/sandbox/fs-bridge-mutation-helper.ts
pull Bot pushed a commit to yann0001/openclaw that referenced this pull request Jul 29, 2026
* origin/main:
  docs(agents): reword imported review rules in repo voice
  docs(agents): add context-budget, tool-description, cache-invalidation, and review-premise rules
  docs(agents): mock-gateway proof satisfies gate without discouraging live proof
  docs(agents): add vitest in-flight edit rule and mock-gateway proof recipe
  docs(agents): restructure root AGENTS.md around product doctrine and deduped policy
  fix(codex): keep completed answers over audit gaps (openclaw#115849)
  test(cli): isolate unknown-command process validation (openclaw#115848)
  fix(memory-host-sdk): resolve stable execPath for worker fork to survive Homebrew Node upgrades (openclaw#99318)
  feat(ui): add composer capability menu (openclaw#115800)
  fix(synology-chat): stop fabricating send message ids (openclaw#110770)
  fix(feishu): reply to direct messages by chat id (openclaw#109637)
  fix(acp): attach error listener to spawned ACP agent process (openclaw#109529)
  fix(sessions): deliver agent announcements to direct message sessions (openclaw#115811)
  fix(nextcloud-talk): reject reactions for disabled or unconfigured accounts (openclaw#112675)
  refactor(ui): move Agent Defaults entry from the sidebar into the Agents page (openclaw#115836)
  feat(gateway): push session PR indicators to subscribed clients (openclaw#115643)
  fix(setup): make Gemini recovery actionable (openclaw#115835)
  fix(terminal-core): prevent String.replace $ pattern injection in display-string (openclaw#111398)
  refactor(channels): share ingress retention defaults (openclaw#115824)
  fix(nostr): profile imports vary on timestamp ties (openclaw#111798)
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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 30, 2026
* origin/main:
  docs(agents): reword imported review rules in repo voice
  docs(agents): add context-budget, tool-description, cache-invalidation, and review-premise rules
  docs(agents): mock-gateway proof satisfies gate without discouraging live proof
  docs(agents): add vitest in-flight edit rule and mock-gateway proof recipe
  docs(agents): restructure root AGENTS.md around product doctrine and deduped policy
  fix(codex): keep completed answers over audit gaps (openclaw#115849)
  test(cli): isolate unknown-command process validation (openclaw#115848)
  fix(memory-host-sdk): resolve stable execPath for worker fork to survive Homebrew Node upgrades (openclaw#99318)
  feat(ui): add composer capability menu (openclaw#115800)
  fix(synology-chat): stop fabricating send message ids (openclaw#110770)
  fix(feishu): reply to direct messages by chat id (openclaw#109637)
  fix(acp): attach error listener to spawned ACP agent process (openclaw#109529)
  fix(sessions): deliver agent announcements to direct message sessions (openclaw#115811)
  fix(nextcloud-talk): reject reactions for disabled or unconfigured accounts (openclaw#112675)
  refactor(ui): move Agent Defaults entry from the sidebar into the Agents page (openclaw#115836)
  feat(gateway): push session PR indicators to subscribed clients (openclaw#115643)
  fix(setup): make Gemini recovery actionable (openclaw#115835)
  fix(terminal-core): prevent String.replace $ pattern injection in display-string (openclaw#111398)
  refactor(channels): share ingress retention defaults (openclaw#115824)
  fix(nostr): profile imports vary on timestamp ties (openclaw#111798)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: nextcloud-talk Channel integration: nextcloud-talk P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants