Skip to content

fix(synology-chat): stop fabricating send message ids - #110770

Merged
steipete merged 3 commits into
openclaw:mainfrom
wangmiao0668000666:fix/synology-send-id-honesty
Jul 29, 2026
Merged

steipete merged 3 commits into
openclaw:mainfrom
wangmiao0668000666:fix/synology-send-id-honesty

Conversation

@wangmiao0668000666

Copy link
Copy Markdown
Contributor

What Problem This Solves

Synology Chat outbound sends fabricated a platform message id. After the incoming-webhook sendMessage/sendFileUrl calls resolve with a bare true (extensions/synology-chat/src/client.ts:96, :132 — Promise<boolean>, no id in the webhook contract), the adapter returned messageId: \sc-${Date.now()}`and stamped that synthetic id into the delivery receipt'sprimaryPlatformMessageId, platformMessageIds, and parts (extensions/synology-chat/src/channel.ts). Downstream consumers treat messageIdas a real platform id (e.g. delivery-pin lookup insrc/infra/outbound/deliver.ts), so a fabricated id can be acted on as if it were deliverable platform state. This is the same shape as the merged nostr fix #110006, which removed the synthetic nostr-${Date.now()}` id in favor of an honest send result.

Why This Change Was Made

The plugin-sdk contract already defines the sanctioned representation for "no platform id": the empty string sentinel. createEmptyChannelResult documents that "empty message ids are the legacy 'no platform id' sentinel expected by outbound callers" (src/plugin-sdk/channel-send-result.ts:55), and buildChannelSendResult normalizes a missing id to "" (src/plugin-sdk/channel-send-result.ts:120). Sibling channels that receive no platform id from their transport (qqbot extensions/qqbot/src/channel.ts:52, googlechat extensions/googlechat/src/channel.adapters.ts:52) pass an empty results array to createMessageReceiptFromOutboundResults, producing a receipt with no platform ids and no parts. This change adopts exactly that shape: messageId: "" and a receipt built from an empty results array (keeping threadId = chat id for routing context only). Note the receipt builder falls back from messageId to chatId when resolving a part id (src/channels/message/receipt.ts:17-27), so passing the chat id alongside an empty message id would have re-laundered the chat id into a fake platform message id; the empty-results form avoids that. Downstream is safe for the sentinel: the delivery-pin path explicitly guards if (!params.messageId) (src/infra/outbound/deliver.ts:1075), and result aggregation uses truthiness (deliver.ts:2572, :2618). Scope is limited to the two send paths; no SDK or core changes.

User Impact

Successful Synology Chat text and media sends now report an empty message id and a receipt with no platform message ids instead of a plausible-looking but fake sc-<timestamp> id. Delivery itself is unchanged; only the reported send metadata becomes honest. Operators relying on delivery receipts will no longer see synthetic ids that cannot be resolved on the NAS.

Evidence

  • Precedent: fix(nostr): send receipts report the relay event id #110006 (merged) removed the identical nostr-${Date.now()} fabrication in the nostr adapter.
  • Tests: node scripts/run-vitest.mjs extensions/synology-chat — with the fix, channel.test.ts is 40 passed / 41 total, and the full plugin suite shows 120 passed with 3 failures that reproduce identically on unmodified origin/main (5143d909b9): two setup-wizard prompt failures in core.test.ts and setup status honors the selected named account in channel.test.ts (locale-dependent wizard prompt expectations, unrelated to this change).
  • Reverse verification: with only channel.ts stashed, the three updated/new assertions fail (declares message adapter durable text and media with receipt proofs, sendText returns an honest empty-id result on success, sendMedia returns an honest empty-id result on success); with the fix restored, all three pass.
  • New/updated coverage: sendText/sendMedia success tests now assert messageId === "", receipt.primaryPlatformMessageId === undefined, empty platformMessageIds/parts, and receipt.threadId === chatId; the message-adapter capability proof test asserts the same honest receipt shape for both text and media.
  • Typecheck: node scripts/run-tsgo.mjs -p tsconfig.extensions.json — zero errors in touched code; only the 3 pre-existing packages/net-policy/src/ip.ts errors that also occur on clean origin/main.
  • git diff --check clean; oxfmt --check clean on both touched files.
  • Diff stat: 2 files, +43/-20 (prod channel.ts net −6 lines).

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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 18, 2026
@clawsweeper

clawsweeper Bot commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 18, 2026, 12:17 PM ET / 16:17 UTC.

Summary
The PR changes Synology Chat text and media sends to return an empty message-ID sentinel with no platform receipt IDs, and updates focused channel assertions.

PR surface: Source -7, Tests +30. Total +23 across 2 files.

Reproducibility: yes. at source level with high confidence: successful text and media sends traverse the production outbound adapter after a boolean-only webhook acknowledgement, and the contributor provided matching before/after live terminal output against a protocol-compatible endpoint.

Review metrics: none identified.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Rebase or merge-update onto current main and rerun the focused Synology Chat test/check path on the resulting head.

Risk before merge

  • [P1] The branch is behind current main, so maintainers should refresh the exact merge result and rerun the focused Synology Chat checks before landing; this is not evidence that the three-way merge will remove current-main behavior.

Maintainer options:

  1. Decide the mitigation before merge
    Rebase or merge-update the narrow two-file change onto current main, preserve the empty-ID/empty-receipt contract for webhook acknowledgements without platform IDs, and land it after the refreshed focused checks remain green.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P2] This open PR has no discrete repair finding; the remaining action is ordinary maintainer review after a current-main refresh.

Security
Cleared: The diff changes only outbound result metadata and colocated tests; it adds no dependencies, permissions, secret handling, network destination, or executable supply-chain surface.

Review details

Best possible solution:

Rebase or merge-update the narrow two-file change onto current main, preserve the empty-ID/empty-receipt contract for webhook acknowledgements without platform IDs, and land it after the refreshed focused checks remain green.

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

Yes, at source level with high confidence: successful text and media sends traverse the production outbound adapter after a boolean-only webhook acknowledgement, and the contributor provided matching before/after live terminal output against a protocol-compatible endpoint.

Is this the best way to solve the issue?

Yes. Returning the existing empty-ID sentinel with an empty receipt is narrower and more truthful than generating a local timestamp or treating a chat target as a platform message identifier.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 88e5af7097de.

Label changes

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The contributor posted redacted before/after terminal output from the production Synology Chat outbound text and media paths against a protocol-compatible incoming-webhook endpoint, including observed wire requests and successful boolean acknowledgements with the corrected result shape.
  • 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 contributor posted redacted before/after terminal output from the production Synology Chat outbound text and media paths against a protocol-compatible incoming-webhook endpoint, including observed wire requests and successful boolean acknowledgements with the corrected result shape.
  • remove rating: 🦐 gold shrimp: 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 corrects inaccurate delivery metadata in a single optional channel, with limited but concrete operator and downstream-consumer impact.
  • 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 contributor posted redacted before/after terminal output from the production Synology Chat outbound text and media paths against a protocol-compatible incoming-webhook endpoint, including observed wire requests and successful boolean acknowledgements with the corrected result shape.
  • proof: sufficient: Contributor real behavior proof is sufficient. The contributor posted redacted before/after terminal output from the production Synology Chat outbound text and media paths against a protocol-compatible incoming-webhook endpoint, including observed wire requests and successful boolean acknowledgements with the corrected result shape.
Evidence reviewed

PR surface:

Source -7, Tests +30. Total +23 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 1 5 12 -7
Tests 1 38 8 +30
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 43 20 +23

What I checked:

  • Patch behavior: The proposed createSynologyChatSendResult always returns the established empty message-ID sentinel and builds its receipt from no outbound platform results, preventing both timestamp IDs and chat IDs from appearing as platform message IDs. (extensions/synology-chat/src/channel.ts:238, 777ffdc9325f)
  • Focused regression coverage: The PR updates durable message-adapter and direct outbound tests for both text and media to require an empty message ID plus empty platformMessageIds and parts. (extensions/synology-chat/src/channel.test.ts:475, 777ffdc9325f)
  • Receipt-contract rationale: The PR discussion identifies the relevant invariant: a webhook success acknowledgement carries no real platform ID, and passing a chat ID into receipt construction could be reinterpreted as a platform message ID. The empty-results receipt avoids that false correlation. (src/channels/message/receipt.ts:17, 88e5af7097de)
  • Real behavior proof: The contributor supplied before/after terminal output that invokes the public Synology Chat outbound text and media entry points with a protocol-compatible HTTP webhook. Both requests reach the expected incoming-webhook endpoint and return successful empty-ID results after the patch. (extensions/synology-chat/src/client.ts:338, 777ffdc9325f)
  • Adjacent merged precedent: Merged PR fix(nostr): send receipts report the relay event id #110006 established the same receipt-honesty principle for a different transport, but it is not a duplicate because Nostr can return a real relay event ID while Synology Chat’s webhook acknowledgement does not. (extensions/nostr/src/channel.outbound.ts, f76f06b1ae52)

Likely related people:

  • mushuiyu886: Authored the merged Nostr send-receipt correction that provides the closest merged precedent for avoiding fabricated outbound identifiers, although it is a separate channel implementation. (role: adjacent receipt-pattern contributor; confidence: low; commits: f76f06b1ae52; files: extensions/nostr/src/channel.outbound.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.
Review history (1 earlier review cycle)
  • reviewed 2026-07-18T15:28:34.326Z sha 777ffdc9325fc0992570cd48d5a04fbcd19fcf41 :: needs real behavior proof before merge. :: none

@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Addressing the [P1] proof finding on head 777ffdc932 with live behavior proof (real production outbound path, protocol-compatible local webhook — the #109997 / #110147 precedent).

Baseline: origin/main @ 593423ecc0

Method (precedent: #109997 / #110147)

No real Synology NAS is available, so per the accepted protocol-compatible-local-webhook
precedent, this proof drives the real production outbound path —
synologyChatPlugin.outbound.sendText / .sendMedia from
extensions/synology-chat/src/channel.ts — against a local HTTP stub that implements the
Synology Chat incoming-webhook contract:

  • POST /webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2
  • body application/x-www-form-urlencoded, single field payload=<json> ({text} or {file_url}, plus user_ids)
  • success ack = HTTP 200 + {"success":true} — a boolean-ish ack with no platform message id in the contract (see doPost in extensions/synology-chat/src/client.ts:338, which treats statusCode === 200 as success and reads no id from the response)

No mocks, no monkey-patching: the driver builds a production-shaped config
(channels."synology-chat".incomingUrl pointing at the stub) and calls the plugin's public
outbound adapter entry points. Both sends therefore also pass through the production media
SSRF guard (assertSafeWebhookFileUrl → resolvePinnedHostnameWithPolicy,
extensions/synology-chat/src/client.ts:271) — the media proof uses a real public URL
(https://example.com/media/proof-image.png) that the guard DNS-pins and allows; per the
contract the NAS, not OpenClaw, fetches that URL.

Because the webhook ack carries no message id, the honest result is the empty-id sentinel —
that is exactly what the fix returns.

BEFORE — origin/main @ 593423ecc0 (fabricated sc-<timestamp> ids)

>>> synologyChatPlugin.outbound.sendText({ to: '4', text: ... })
TEXT RESULT:
{
  "channel": "synology-chat",
  "messageId": "sc-1784390950681",
  "chatId": "4",
  "receipt": {
    "primaryPlatformMessageId": "sc-1784390950681",
    "platformMessageIds": [ "sc-1784390950681" ],
    "parts": [
      {
        "platformMessageId": "sc-1784390950681",
        "kind": "text",
        "index": 0,
        "threadId": "4",
        "raw": { "channel": "synology-chat", "messageId": "sc-1784390950681", "chatId": "4", "conversationId": "4" }
      }
    ],
    "threadId": "4",
    "sentAt": 1784390950682,
    "raw": [ { "channel": "synology-chat", "messageId": "sc-1784390950681", "chatId": "4", "conversationId": "4" } ]
  }
}

>>> synologyChatPlugin.outbound.sendMedia({ to: '4', mediaUrl: 'https://example.com/media/proof-image.png' })
MEDIA RESULT:
{
  "channel": "synology-chat",
  "messageId": "sc-1784390950971",
  ... same fabricated shape, "kind": "media" ...
}

Note the tell: messageId is sc-<Date.now()> (compare sc-1784390950681 with
sentAt: 1784390950682 — the id is just the local wall clock, not a platform id), and the
receipt propagates the fabricated id into primaryPlatformMessageId, platformMessageIds,
and parts[].platformMessageId.

AFTER — PR head 777ffdc932 (honest empty-id sentinel)

Text send

>>> synologyChatPlugin.outbound.sendText({ to: '4', text: ... })
TEXT RESULT:
{
  "channel": "synology-chat",
  "messageId": "",
  "chatId": "4",
  "receipt": {
    "platformMessageIds": [],
    "parts": [],
    "threadId": "4",
    "sentAt": 1784390891972,
    "raw": []
  }
}

Media send

>>> synologyChatPlugin.outbound.sendMedia({ to: '4', mediaUrl: 'https://example.com/media/proof-image.png' })
MEDIA RESULT:
{
  "channel": "synology-chat",
  "messageId": "",
  "chatId": "4",
  "receipt": {
    "platformMessageIds": [],
    "parts": [],
    "threadId": "4",
    "sentAt": 1784390892354,
    "raw": []
  }
}

messageId is now the empty sentinel, platformMessageIds/parts are empty (no invented
ids anywhere in the receipt), while chatId/threadId are retained as "4".

Stub-observed wire traffic (identical shape BEFORE and AFTER — real sends happened)

POST /webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2 content-type=application/x-www-form-urlencoded body=payload=%7B%22text%22%3A%22proof%3A%20live%20text%20send%20via%20production%20outbound%20path%20(PR%20%23110770)%22%2C%22user_ids%22%3A%5B4%5D%7D
POST /webapi/entry.cgi?api=SYNO.Chat.External&method=chatbot&version=2 content-type=application/x-www-form-urlencoded body=payload=%7B%22file_url%22%3A%22https%3A%2F%2Fexample.com%2Fmedia%2Fproof-image.png%22%2C%22user_ids%22%3A%5B4%5D%7D

Decoded: payload={"text":"proof: live text send via production outbound path (PR #110770)","user_ids":[4]}
and payload={"file_url":"https://example.com/media/proof-image.png","user_ids":[4]}.
Both POSTs returned HTTP 200 from the stub, so sendMessage/sendFileUrl resolved true
and the adapter returned a successful result — the only change is the honesty of the id fields.

Downstream handling of the empty id

The empty-string message id is a handled state, not a new failure mode: the core delivery
path guards on falsy ids — src/infra/outbound/deliver.ts:1075
(if (!params.messageId) { ... }) skips delivery-pin silently (warns/throws only when the
payload explicitly requests a pin, which Synology Chat cannot honor anyway since the
platform never returns an id to pin). Previously the fabricated sc-<timestamp> id would
have flowed into any id-keyed bookkeeping as a value that never existed on the platform.

Environment

  • Node 24.15.0 (via nvm), Linux x86_64
  • Driver: throwaway tsx script (not committed) invoking synologyChatPlugin.outbound.* directly with a production-shaped cfg; full raw transcripts at /tmp/synology-proof/before-transcript.txt and /tmp/synology-proof/after-transcript.txt

@clawsweeper

clawsweeper Bot commented Jul 18, 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: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 18, 2026
The incoming-webhook send contract acks with a bare boolean and carries
no platform message id, but the adapter returned a synthetic
`sc-${Date.now()}` id and stamped it into the delivery receipt. Return
the established empty-id sentinel and an empty receipt instead, matching
the honest no-platform-id shape used by sibling channels (qqbot,
googlechat) and the plugin-sdk empty-id contract.

Co-Authored-By: Claude <[email protected]>
@wangmiao0668000666
wangmiao0668000666 force-pushed the fix/synology-send-id-honesty branch from 777ffdc to 2487872 Compare July 21, 2026 12:31
@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 21, 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: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@steipete
steipete merged commit 77e9ee0 into openclaw:main Jul 29, 2026
88 of 90 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
* fix(synology-chat): stop fabricating send message ids

The incoming-webhook send contract acks with a bare boolean and carries
no platform message id, but the adapter returned a synthetic
`sc-${Date.now()}` id and stamped it into the delivery receipt. Return
the established empty-id sentinel and an empty receipt instead, matching
the honest no-platform-id shape used by sibling channels (qqbot,
googlechat) and the plugin-sdk empty-id contract.

Co-Authored-By: Claude <[email protected]>

* test(synology-chat): verify truthful webhook receipts

---------

Co-authored-by: Claude <[email protected]>
Co-authored-by: Peter Steinberger <[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: synology-chat 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: M 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