Skip to content

fix: reject message tables without a caption instead of silently dropping them - #196367

Merged
obviyus merged 3 commits into
openclaw:mainfrom
indra622:fix/reject-captionless-table-196312
Nov 19, 2026
Merged

obviyus merged 3 commits into
openclaw:mainfrom
indra622:fix/reject-captionless-table-196312

Conversation

@indra622

@indra622 indra622 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Root cause: src/interactive/payload.ts:738 (normalizeTableBlock) drops a table without a caption by design (the presentation docs make table normalization atomic and the caption required, and Slack's data_table requires caption), but nothing in the message action path checked the caption before that drop, so the rest of the message was sent and the tool reported deliveryStatus: "sent" without the table.

Fixes #196312

What Problem This Solves

When an agent sends a Slack message through the message tool with a table block that has no caption, the table vanishes. The text around it is posted, and the tool tells the agent the message was sent, so the agent reports success while the data it meant to share is missing.

User Impact

A table without a caption is now rejected before anything is posted, with the same "<field> required" tool error the message tool already uses for missing inputs (presentation.blocks[].caption required). The agent sees the error and can retry with a caption instead of reporting a send that lost its table. Tables with a caption are unchanged.

Why This Change Was Made

The caption is part of the documented table contract, and Slack's native data table block requires it (Slack data table block: caption is Required), so rendering a captionless table would mean inventing a heading, which the docs rule out ("drops the table block instead of truncating or repairing its data"). The check now lives with the other message-action parameter parsing, right after the presentation JSON is parsed, so every message action rejects the table before any part is sent. It reuses the existing required-parameter error instead of adding new wording.

This adopts @indra622's PR: their commit added the check inside the send payload builder with a new error message. On top of it, the check moved to the parameter owner, uses the existing error, and the regression is folded into one test; the test-lines allocation file is dropped.

Evidence

  • Real Gateway from source (ocx src) with the bundled Slack plugin in Socket Mode against a local Slack Web API and Socket Mode fixture; a deterministic model calls the message tool with "Contract summary", a text block and a two-row table, first without a caption, then with one.
    • main 0b18f610d325, no caption: Slack receives chat.postMessage with only two section blocks and no table, and the tool returns deliveryStatus="sent", payloadOutcomes[0].status="sent".
    • this PR a8aa768ead2b, no caption: no Slack call; the tool returns error="presentation.blocks[].caption required".
    • control, with caption, both refs: Slack receives section, section, data_table (caption "Expiring contracts", 3 rows), deliveryStatus="sent".
    • Observed proof lines: fix: reject message tables without a caption instead of silently dropping them #196367 (comment)
  • src/infra/outbound/message-action-send.validation.test.ts: the new case fails on main (the send resolves instead of rejecting) and passes here (18/18). Neighbouring send, params and runner suites pass (102 tests).

Thanks @judeKim for the clear report with both receipts, and @indra622 for the original fix.

Merge danger: two-way door. Only adds input validation; a revert restores the old silent drop. Blast radius: message tool and openclaw message calls that include a table block without a caption now get an error instead of a partial send; tables with captions and all other blocks are unchanged.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: S labels Nov 10, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Reject presentation tables without a non-empty caption before any message content is sent.

Example: Send “Summary” with a table containing headers [“Name”], rows [[“Alpha”]], and no caption.

  • Before: The text can be delivered successfully while the table disappears.
  • After: Nothing is sent, and the caller receives “presentation.blocks[].caption required”.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A narrow contract repair with exact-head shipped-entry-point evidence, a meaningful red/green regression, and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): At a8aa768, obviyus’s recorded source Gateway run exercises the message tool and bundled Slack client against local Web API and Socket Mode fixtures: captionless input returns the required-caption error without transport, and the captioned control delivers the complete table; this proves the production path without claiming live Slack delivery.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: An agent can report successful delivery even though the table containing the requested information was omitted.
Reason: Rejecting invalid input before delivery preserves the required-caption contract and gives the agent a corrective error; collaborator obviyus explicitly adopted and verified this direction.

Merge readiness

✅ Ready for maintainer review

Keep open: this PR provides a focused, proven repair for silent table omission, with no actionable findings; exact-head CI is still running.

Priority: P2
Reviewed head: a8aa768ead2b3edd22137ec0fa05da9e3c21d165

Before merge

None.

Findings

None.

Agent review details

How this fits together

CLI and message-tool arguments enter the shared message-action runner, which validates presentation input before routing, normalization, channel rendering, and transport delivery.

flowchart LR
  A[CLI or message tool] --> B[Parse presentation]
  B --> C[Require table captions]
  C --> D[Route and decorate]
  D --> E[Normalize presentation]
  E --> F[Channel rendering]
  F --> G[Transport delivery]
Loading

Technical review

Best possible solution:

Keep caption validation in the existing parameter owner before normalization or delivery can discard authored table content.

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

Current-main source establishes silent omission with surviving text, matching judeKim’s official-release report and obviyus’s supplied before/after Gateway trace; no target code was executed during this review.

Is this the best way to solve the issue?

This is the smallest complete repair for the reported missing-caption case: it reuses existing coercion and required-parameter errors, preserves atomic normalization, and validates before cross-context decoration can erase invalid input.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 895091c98787.

Provenance checked

  • Portable table validity keeps the original intent (81a201d: feat: add portable table presentation blocks #103583 established complete typed table data, required captions, and atomic normalization with native or complete text rendering.)
  • Message-action input handling changes intended behavior with a stated reason (39af215: Parameter helpers were extracted from the runner into their existing owner; this PR explicitly changes captionless requests from partial-send success to an input error.)
  • Facade and regression ownership keeps the original intent (627e5bb: refactor(outbound): split message action runner by concept #121434 separated routing, send construction, execution, and facade coordination while retaining boundary integration coverage.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 81a201d adds docs/plugins/message-presentation.md:159 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 81a201df267b; files: docs/plugins/message-presentation.md)
  • Ayaan Zaidi: Raw commit 4f5c5b2 adds src/infra/outbound/message-action-runner.ts:438 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4f5c5b227bfb; files: src/infra/outbound/message-action-runner.ts)

PR surface

Source +19, Tests +10, Docs +2. Total +31 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 21 2 +19
Tests 1 10 0 +10
Docs 1 2 0 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 33 2 +31

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #196312
Summary: This PR directly repairs the canonical missing-caption report; the other open PR overlaps while extending validation to additional malformed data.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Important table content can disappear behind successful delivery, but the trigger is bounded and supplying the required caption avoids it.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-10T01:22:48.718Z sha 2f6e502 :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-10T01:42:12.350Z sha 2f6e502 :: needs maintainer review before merge. :: none

Reviewed November 18, 2026, 8:15 PM ET / November 19, 2026, 01:15 UTC (Revision 3).

@indra622

Copy link
Copy Markdown
Contributor Author

Added shipped CLI behavior proof to the PR body at unchanged head 2f6e502b3f36ec47cf9ffc5d89a76a1647df9c43: three invalid-caption sends reject with zero local transport calls; the valid-caption control is a non-dry-run send with the complete table captured intact. Exact commands, JSON output, capture, isolation and limits are included. This proves the normal CLI send path at a synthetic local transport boundary, not Slack API delivery.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 10, 2026
…ng required-param error

- Move the check to the message-action param owner so every message action rejects before any part is sent, reuse the ToolInputError '<label> required' message, fold the regression into one test, and drop the test-lines allocation.
@obviyus

obviyus commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Observed proof (source tier: ocx src Gateway, bundled Slack plugin in Socket Mode against a local Slack Web API + Socket Mode fixture; a deterministic model calls the message tool with a presentation table, first without a caption, then with one as control).

base: origin/main 0b18f610d325 (merge base)
candidate: a8aa768ead2b

--- base
root=/Users/obviyus/.cache/ocx/scratch/src-0b18f610d325-20261119T005651-15f3 sha=0b18f610d325 profile=p196312base tier=source(ocx src)
config=<work>/oc-home/.openclaw-p196312base/openclaw.json
Config valid: $OPENCLAW_HOME/.openclaw-p196312base/openclaw.json
== case nocap
  model -> message tool, caption=null
  slack chat.postMessage ok=true text="Contract summary\n\nContracts expiring soon:" blocks=[{"type":"section"},{"type":"section"}]
  tool result -> model: deliveryStatus="sent" payloadOutcomes=[{"index":0,"status":"sent","resultCount":1}] receipt.parts.kind=["card"]
== case cap
  model -> message tool, caption="Expiring contracts"
  slack chat.postMessage ok=true text="Contract summary\n\nContracts expiring soon:\n\nExpiring contracts (table)\nContract\tExpires\nAcme\t2026-12-01\nGlobex\t2027-01-15" blocks=[{"type":"section"},{"type":"section"},{"type":"data_table","caption":"Expiring contracts","rows":3}]
  tool result -> model: deliveryStatus="sent" payloadOutcomes=[{"index":0,"status":"sent","resultCount":1}] receipt.parts.kind=["card"]

--- candidate
root=/Users/obviyus/Developer/.worktrees/openclaw/bugloop-196367 sha=a8aa768ead2b profile=p196312cand tier=source(ocx src)
config=<work>/oc-home/.openclaw-p196312cand/openclaw.json
Config valid: $OPENCLAW_HOME/.openclaw-p196312cand/openclaw.json
== case nocap
  model -> message tool, caption=null
  tool result -> model: error="presentation.blocks[].caption required"
== case cap
  model -> message tool, caption="Expiring contracts"
  slack chat.postMessage ok=true text="Contract summary\n\nContracts expiring soon:\n\nExpiring contracts (table)\nContract\tExpires\nAcme\t2026-12-01\nGlobex\t2027-01-15" blocks=[{"type":"section"},{"type":"section"},{"type":"data_table","caption":"Expiring contracts","rows":3}]
  tool result -> model: deliveryStatus="sent" payloadOutcomes=[{"index":0,"status":"sent","resultCount":1}] receipt.parts.kind=["card"]

--- regression test src/infra/outbound/message-action-send.validation.test.ts
base 0b18f610d325: 1 failed | 17 passed (promise resolved { kind: 'send' } instead of rejecting)
candidate: 18 passed; neighbours message-action-send/params/runner.plugin-dispatch/runner.context/send.core: 100 + 2 passed

@obviyus obviyus changed the title fix: reject table messages with missing captions before partial delivery fix: reject Slack tables without a caption instead of silently dropping them Nov 19, 2026
@obviyus

obviyus commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@obviyus obviyus changed the title fix: reject Slack tables without a caption instead of silently dropping them fix: reject message tables without a caption instead of silently dropping them Nov 19, 2026
@clawsweeper

clawsweeper Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@obviyus
obviyus merged commit e20e84f into openclaw:main Nov 19, 2026
194 of 202 checks passed
@obviyus

obviyus commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Thanks @indra622 for the fix and @judeKim for the report. This is merged in e20e84f: a presentation table without a caption no longer vanishes while the message tool reports "sent". The message is now checked before anything is posted, and the agent gets the tool's existing "presentation.blocks[].caption required" error, so it can retry with a caption. Captioned tables are unchanged.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…ping them (openclaw#196367)

Root cause: `src/interactive/payload.ts:738` (`normalizeTableBlock`) drops a table without a caption by design (the presentation docs make table normalization atomic and the caption required, and Slack's `data_table` requires `caption`), but nothing in the message action path checked the caption before that drop, so the rest of the message was sent and the tool reported `deliveryStatus: "sent"` without the table.

Fixes openclaw#196312

## What Problem This Solves

When an agent sends a Slack message through the `message` tool with a table block that has no `caption`, the table vanishes. The text around it is posted, and the tool tells the agent the message was sent, so the agent reports success while the data it meant to share is missing.

## User Impact

A table without a caption is now rejected before anything is posted, with the same "`<field> required`" tool error the message tool already uses for missing inputs (`presentation.blocks[].caption required`). The agent sees the error and can retry with a caption instead of reporting a send that lost its table. Tables with a caption are unchanged.

## Why This Change Was Made

The caption is part of the documented table contract, and Slack's native data table block requires it ([Slack data table block](https://docs.slack.dev/reference/block-kit/blocks/data-table-block): `caption` is Required), so rendering a captionless table would mean inventing a heading, which the docs rule out ("drops the table block instead of truncating or repairing its data"). The check now lives with the other message-action parameter parsing, right after the `presentation` JSON is parsed, so every message action rejects the table before any part is sent. It reuses the existing required-parameter error instead of adding new wording.

This adopts @indra622's PR: their commit added the check inside the send payload builder with a new error message. On top of it, the check moved to the parameter owner, uses the existing error, and the regression is folded into one test; the test-lines allocation file is dropped.

## Evidence

- Real Gateway from source (`ocx src`) with the bundled Slack plugin in Socket Mode against a local Slack Web API and Socket Mode fixture; a deterministic model calls the `message` tool with "Contract summary", a text block and a two-row table, first without a caption, then with one.
  - main `b13146de12b7`, no caption: Slack receives `chat.postMessage` with only two `section` blocks and no table, and the tool returns `deliveryStatus="sent"`, `payloadOutcomes[0].status="sent"`.
  - this PR `a8aa768ead2b`, no caption: no Slack call; the tool returns `error="presentation.blocks[].caption required"`.
  - control, with caption, both refs: Slack receives `section`, `section`, `data_table` (caption "Expiring contracts", 3 rows), `deliveryStatus="sent"`.
  - Observed proof lines: openclaw#196367 (comment)
- `src/infra/outbound/message-action-send.validation.test.ts`: the new case fails on main (the send resolves instead of rejecting) and passes here (18/18). Neighbouring send, params and runner suites pass (102 tests).

Thanks @judeKim for the clear report with both receipts, and @indra622 for the original fix.

Merge danger: two-way door. Only adds input validation; a revert restores the old silent drop. Blast radius: message tool and `openclaw message` calls that include a table block without a caption now get an error instead of a partial send; tables with captions and all other blocks are unchanged.

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
…ping them (#196367)

Root cause: `src/interactive/payload.ts:738` (`normalizeTableBlock`) drops a table without a caption by design (the presentation docs make table normalization atomic and the caption required, and Slack's `data_table` requires `caption`), but nothing in the message action path checked the caption before that drop, so the rest of the message was sent and the tool reported `deliveryStatus: "sent"` without the table.

Fixes #196312

## What Problem This Solves

When an agent sends a Slack message through the `message` tool with a table block that has no `caption`, the table vanishes. The text around it is posted, and the tool tells the agent the message was sent, so the agent reports success while the data it meant to share is missing.

## User Impact

A table without a caption is now rejected before anything is posted, with the same "`<field> required`" tool error the message tool already uses for missing inputs (`presentation.blocks[].caption required`). The agent sees the error and can retry with a caption instead of reporting a send that lost its table. Tables with a caption are unchanged.

## Why This Change Was Made

The caption is part of the documented table contract, and Slack's native data table block requires it ([Slack data table block](https://docs.slack.dev/reference/block-kit/blocks/data-table-block): `caption` is Required), so rendering a captionless table would mean inventing a heading, which the docs rule out ("drops the table block instead of truncating or repairing its data"). The check now lives with the other message-action parameter parsing, right after the `presentation` JSON is parsed, so every message action rejects the table before any part is sent. It reuses the existing required-parameter error instead of adding new wording.

This adopts @indra622's PR: their commit added the check inside the send payload builder with a new error message. On top of it, the check moved to the parameter owner, uses the existing error, and the regression is folded into one test; the test-lines allocation file is dropped.

## Evidence

- Real Gateway from source (`ocx src`) with the bundled Slack plugin in Socket Mode against a local Slack Web API and Socket Mode fixture; a deterministic model calls the `message` tool with "Contract summary", a text block and a two-row table, first without a caption, then with one.
  - main `0b18f610d325`, no caption: Slack receives `chat.postMessage` with only two `section` blocks and no table, and the tool returns `deliveryStatus="sent"`, `payloadOutcomes[0].status="sent"`.
  - this PR `a8aa768ead2b`, no caption: no Slack call; the tool returns `error="presentation.blocks[].caption required"`.
  - control, with caption, both refs: Slack receives `section`, `section`, `data_table` (caption "Expiring contracts", 3 rows), `deliveryStatus="sent"`.
  - Observed proof lines: #196367 (comment)
- `src/infra/outbound/message-action-send.validation.test.ts`: the new case fails on main (the send resolves instead of rejecting) and passes here (18/18). Neighbouring send, params and runner suites pass (102 tests).

Thanks @judeKim for the clear report with both receipts, and @indra622 for the original fix.

Merge danger: two-way door. Only adds input validation; a revert restores the old silent drop. Blast radius: message tool and `openclaw message` calls that include a table block without a caption now get an error instead of a partial send; tables with captions and all other blocks are unchanged.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit e20e84f)

Co-authored-by: RomneyDa <[email protected]>
github-actions Bot pushed a commit to clawhaven/openclaw that referenced this pull request Nov 23, 2026
…ping them (openclaw#196367)

Root cause: `src/interactive/payload.ts:738` (`normalizeTableBlock`) drops a table without a caption by design (the presentation docs make table normalization atomic and the caption required, and Slack's `data_table` requires `caption`), but nothing in the message action path checked the caption before that drop, so the rest of the message was sent and the tool reported `deliveryStatus: "sent"` without the table.

Fixes openclaw#196312

## What Problem This Solves

When an agent sends a Slack message through the `message` tool with a table block that has no `caption`, the table vanishes. The text around it is posted, and the tool tells the agent the message was sent, so the agent reports success while the data it meant to share is missing.

## User Impact

A table without a caption is now rejected before anything is posted, with the same "`<field> required`" tool error the message tool already uses for missing inputs (`presentation.blocks[].caption required`). The agent sees the error and can retry with a caption instead of reporting a send that lost its table. Tables with a caption are unchanged.

## Why This Change Was Made

The caption is part of the documented table contract, and Slack's native data table block requires it ([Slack data table block](https://docs.slack.dev/reference/block-kit/blocks/data-table-block): `caption` is Required), so rendering a captionless table would mean inventing a heading, which the docs rule out ("drops the table block instead of truncating or repairing its data"). The check now lives with the other message-action parameter parsing, right after the `presentation` JSON is parsed, so every message action rejects the table before any part is sent. It reuses the existing required-parameter error instead of adding new wording.

This adopts @indra622's PR: their commit added the check inside the send payload builder with a new error message. On top of it, the check moved to the parameter owner, uses the existing error, and the regression is folded into one test; the test-lines allocation file is dropped.

## Evidence

- Real Gateway from source (`ocx src`) with the bundled Slack plugin in Socket Mode against a local Slack Web API and Socket Mode fixture; a deterministic model calls the `message` tool with "Contract summary", a text block and a two-row table, first without a caption, then with one.
  - main `0b18f610d325`, no caption: Slack receives `chat.postMessage` with only two `section` blocks and no table, and the tool returns `deliveryStatus="sent"`, `payloadOutcomes[0].status="sent"`.
  - this PR `a8aa768ead2b`, no caption: no Slack call; the tool returns `error="presentation.blocks[].caption required"`.
  - control, with caption, both refs: Slack receives `section`, `section`, `data_table` (caption "Expiring contracts", 3 rows), `deliveryStatus="sent"`.
  - Observed proof lines: openclaw#196367 (comment)
- `src/infra/outbound/message-action-send.validation.test.ts`: the new case fails on main (the send resolves instead of rejecting) and passes here (18/18). Neighbouring send, params and runner suites pass (102 tests).

Thanks @judeKim for the clear report with both receipts, and @indra622 for the original fix.

Merge danger: two-way door. Only adds input validation; a revert restores the old silent drop. Blast radius: message tool and `openclaw message` calls that include a table block without a caption now get an error instead of a partial send; tables with captions and all other blocks are unchanged.

Co-authored-by: Ayaan Zaidi <[email protected]>

(cherry picked from commit e20e84f)

Release adaptation: Exact caption validation at message-action ingress before normalized tables can silently disappear.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 24, 2026
…ping them (#196367)

Baseline adaptation: preserve the branch outbound fixtures and assert no send at its real dispatch boundary. Production checks and docs match upstream.

(cherry picked from commit e20e84f)

Co-authored-by: Ayaan Zaidi <[email protected]>

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor 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.

Slack: presentation table block without caption is silently dropped while delivery reports sent

2 participants