Skip to content

feat(status): render /status as native rich tables on channels that support them - #120167

Merged
obviyus merged 12 commits into
mainfrom
t3code/status-rich-message-tables
Aug 7, 2026
Merged

obviyus merged 12 commits into
mainfrom
t3code/status-rich-message-tables

Conversation

@obviyus

@obviyus obviyus commented Aug 7, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

/status on Telegram accounts with richMessages: true rendered as a raw wall of plain lines even though the account's Bot API 10.2 rich-message path supports native tables, headings, and styled blocks. Portable MessagePresentation table blocks (agent message tool; native on Slack) were also flattened to text on Telegram regardless of account capability.

Why This Change Was Made

Core status card (src/status/status-message.ts): buildStatusMessageParts builds a structured presentation from the same locals that produce the text body, so the two cannot drift; buildStatusReply attaches it with presentationTextMode: "fallback". Card design:

  • The table's header row carries the title (🦞 OpenClaw | <version> (<commit>)), with "Session status" as a native table caption and the label column as row-header cells — no filler Item | Value row.
  • Sparse mode rows merge into one 🎛️ Modes row; the tail is a single italic clock + uptime line. Reference-UTC and the Telegram feature hint stay in the plain-text fallback where they are diagnostic.
  • The Context cell gains a ten-cell usage meter when session usage is known, and a ⚠️ Context N% full text line renders only at ≥80% — silence means nominal. Zero-noise rows are dropped: Compactions only after the first compaction, queue depth only when non-zero.

Core delivery (src/infra/outbound/deliver-payload.ts): when every table/chart block degrades on a channel and nothing interactive remains, the authored fallback text wins over generic block flattening — default paths render exactly the pre-change text.

Telegram (extensions/telegram/): new resolvePresentationCapabilities adapter hook (account-aware; takes precedence over the static declaration) advertises tables: true only when richMessages is on. canonicalizeTelegramPresentationPayload renders table blocks as <table> HTML islands — native caption, header cells, row-header column, bordered + striped — and context blocks as italics; the existing island converter emits the Bot API 10.2 blocks through sendRichMessage. Both send funnels share this path (durable renderer and deliverReplies), preserving funnel parity. Stale "Bot API 10.1" copy updated to 10.2 (status feature line, config UI hint, config types, jsdoc, regenerated bundled metadata).

Slack /status gets native data_table rendering for free (it already declares tables: true). The Telegram message-tool action path (sendTelegramPayloadMessages) keeps text flatten since it lacks account context there; named follow-up if native tables are wanted on that path.

User Impact

  • Telegram with richMessages: true: /status renders as a titled native table card with usage meter and hot-context warning; agent-authored presentation tables also render natively with captions and row headers.
  • Telegram default (richMessages off), CLI, session_status tool, and all other channels: output unchanged.

Evidence

  • Live E2E default path (richMessages unset): the same /status turn delivers as plain messageText with the pre-change line format — no table artifacts, no island HTML, no dropped content.
  • Live E2E (telegram-userbot lane, mock provider, temp gateway from this branch, richMessages: true): real /status turns delivered as messageRichMessage with a native bordered/striped table block (title header row, row-header cells, caption) and italic context tail; a --pre-send turn first shows the Context meter appearing once the session has usage (▱▱▱▱▱▱▱▱▱▱ 11/5.0k (0%)). Recorded event NDJSON + summaries + scoped gateway logs preserved per run.
  • Full pnpm check:changed gate green on Blacksmith Testbox per commit (typecheck core/tests/extensions, SDK API contract + surface budget, dead exports, plugin boundaries, import cycles, format).
  • Boundary test (extensions/telegram/src/bot/delivery.test.ts): a table presentation + fallback text with richMessages: true reaches raw.sendRichMessage as a native table block; with rich off, a single sendMessage carries the authored fallback text verbatim.
  • Unit tests: island rendering with HTML escaping and row headers, italic context with emphasis guard, fallback-replacement semantics (interactive-fallback.test.ts); authored-fallback rule (deliver-payload.presentation.test.ts); card structure, meter ▰{9}▱, warning line, zero-noise rows (status-message.test.ts).
  • Codex autoreview (gpt-5.6-sol, high): clean on each iteration.

🤖 Generated with Claude Code

@obviyus
obviyus marked this pull request as ready for review August 7, 2026 06:44
@openclaw-barnacle openclaw-barnacle Bot added channel: telegram Channel integration: telegram size: L maintainer Maintainer-authored PR labels Aug 7, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Aug 7, 2026
@clawsweeper

clawsweeper Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 7, 2026, 10:38 AM ET / 14:38 UTC.

ClawSweeper review

What this changes

Adds account-aware Telegram native-table rendering for structured /status and portable presentation tables, with text fallback handling for other delivery paths.

Merge readiness

⚠️ Ready for maintainer review - 5 items remain

Keep open. The unchanged PR head still applies a P1 redesign to the plain /status body used by default and non-table paths, despite claiming those paths are unchanged.

Priority: P1
Reviewed head: 46a1b0caf7cd59298fa79809ae0e0a9d2e105465
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The native-table implementation has useful, focused coverage, but the unresolved default-path regression prevents merge readiness.
Proof confidence 🌊 off-meta tidepool Not applicable: Repository state identifies this as a MEMBER-authored PR, so the external-contributor proof gate does not apply; the supplied body nevertheless describes channel-path evidence.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Repository state identifies this as a MEMBER-authored PR, so the external-contributor proof gate does not apply; the supplied body nevertheless describes channel-path evidence.
Evidence reviewed 5 items Current main plain-status contract: Current main serializes the established plain status lines in one newline-joined body, including the existing combined option and context output.
PR changes the fallback body: The PR rebuilds the text into blank-line sections, moves auth, changes mode labels, and suppresses zero-value details; that text becomes the authored fallback.
Affected callers: The command reply marks the altered text as fallback, and the public text builder returns the same altered text for non-channel callers.
Findings 1 actionable finding [P1] Preserve the current plain /status fallback
Security None None.

How this fits together

The status command assembles runtime facts into a reply payload; outbound delivery adapts that payload to each channel’s capabilities. Telegram then sends either native rich blocks or text based on the account and formatting funnel.

flowchart LR
  A[Status command] --> B[Status text and presentation]
  B --> C[Outbound capability resolution]
  C --> D[Channel adaptation]
  D --> E[Telegram rich or text funnel]
  E --> F[User-visible status reply]
Loading

Decision needed

Question Recommendation
Should the new generic resolvePresentationCapabilities plugin contract be accepted after the plain-status regression is removed? Accept the generic resolver after repair: Restore legacy plain status output and retain the account- and formatting-aware resolver as the supported channel capability seam.

Why: The resolver becomes a documented extension-facing API; maintainers must choose its long-term contract rather than infer approval from this feature implementation.

Before merge

  • Preserve the current plain `/status` fallback (P1) - This still rewrites the text delivered when tables are unavailable: it sections the body, changes labels, and removes zero-value details. buildStatusReply marks this new body as fallback, while buildStatusText also exposes it to CLI and session_status; retain current-main text and derive the rich presentation separately. This is the prior P1, still present at the unchanged head.
  • Resolve merge risk (P1) - Merging would silently replace the established plain /status output for default Telegram, non-table channels, CLI, and session_status.
  • Resolve merge risk (P1) - The new account- and formatting-aware outbound capability resolver is an extension-facing contract and needs explicit owner acceptance.
  • Resolve merge risk (P1) - GitHub reports the branch as conflict-dirty; rebase and refresh review after resolving the functional blocker.

Findings

  • [P1] Preserve the current plain /status fallback — src/status/status-message.ts:1148-1182
Agent review details

Security

None.

PR surface

Source +302, Tests +604, Docs +25, Generated 0. Total +931 across 27 files.

View PR surface stats
Area Files Added Removed Net
Source 15 405 103 +302
Tests 10 823 219 +604
Docs 1 25 0 +25
Config 0 0 0 0
Generated 1 1 1 0
Other 0 0 0 0
Total 27 1254 323 +931

Review metrics

Metric Value Why it matters
Production versus test delta production +431/-104; tests +823/-219 The table capability seam justifies some production growth, but the extra default-status redesign needs explicit compatibility approval.
Outbound API surface 1 resolver added The new account- and formatting-aware capability resolver becomes an extension-facing contract.

Stored data model

Persistent data-model change detected: persistent cache schema: src/status/status-message.ts, serialized state: extensions/telegram/src/bot/delivery.test.ts, unknown-data-model-change: src/config/bundled-channel-config-metadata.generated.ts. Confirm migration or upgrade compatibility proof before merge.

Mantis proof suggestion

A Telegram Desktop capture would directly show native tables on rich accounts and unchanged text with rich messages disabled. A maintainer can ask Mantis to capture proof by posting this exact PR comment:

@openclaw-mantis telegram desktop proof: verify and capture `/status` with rich messages enabled and disabled, showing native tables only on the enabled path.

Merge-risk options

Maintainer options:

  1. Restore the legacy text contract (recommended)
    Keep the native-table presentation but make fallback, CLI, and session-status output match current main before merge.
  2. Explicitly approve the redesign
    Accept the changed default status layout only after maintainers approve it as a separate user-visible product change and require cross-surface proof.
  3. Split the proposal
    Pause this branch and land a narrow native-table implementation separately from any plain-status redesign.

Technical review

Best possible solution:

Keep the existing plain serializer byte-for-byte for fallback and text consumers, derive the rich table separately, and land the generic capability seam only with explicit API-owner approval.

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

Yes: current-main and PR-head source show the same status entry points returning different plaintext serialization, so the default-path regression is directly source-reproducible.

Is this the best way to solve the issue?

No: the account-aware table seam is a sound direction, but combining it with an unapproved redesign of the established plain fallback is not the narrowest solution.

Full review comments:

  • [P1] Preserve the current plain /status fallback — src/status/status-message.ts:1148-1182
    This still rewrites the text delivered when tables are unavailable: it sections the body, changes labels, and removes zero-value details. buildStatusReply marks this new body as fallback, while buildStatusText also exposes it to CLI and session_status; retain current-main text and derive the rich presentation separately. This is the prior P1, still present at the unchanged head.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 3bc188efe55e.

Labels

Label changes:

  • add P1: The patch changes the default status output on existing channel and tool paths, not only the opted-in rich Telegram path.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • remove P2: Current review triage priority is P1, so this older priority label is no longer current.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P1: The patch changes the default status output on existing channel and tool paths, not only the opted-in rich Telegram path.
  • merge-risk: 🚨 compatibility: Existing users and text consumers would receive a different /status layout without an upgrade or product decision.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Repository state identifies this as a MEMBER-authored PR, so the external-contributor proof gate does not apply; the supplied body nevertheless describes channel-path evidence.
  • mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. The feature changes visible Telegram /status rendering and can be demonstrated in a short Telegram Desktop run.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Current-main blame attributes the central status formatter region to this recent status-area commit. (role: recent status-format contributor; confidence: medium; commits: 65d449d4c11f; files: src/status/status-message.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Restore current-main plaintext /status output for fallback, CLI, and session-status callers.
  • Rebase after the repair and request an exact-head review with the API-contract decision recorded.

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 (4 earlier review cycles)
  • reviewed 2026-08-07T07:47:32.814Z sha f128250 :: found issues before merge. :: [P1] Disable table islands for legacy HTML sends | [P2] Pass rich table capability into payload sends
  • reviewed 2026-08-07T08:46:24.708Z sha 770cca1 :: found issues before merge. :: [P1] Make table capability resolution formatting-aware
  • reviewed 2026-08-07T12:40:44.192Z sha c0a8e9a :: needs changes before merge. :: [P1] Defer table canonicalization until final text mode is known
  • reviewed 2026-08-07T13:56:26.102Z sha 46a1b0c :: found issues before merge. :: [P1] Preserve the current plain /status fallback

@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 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:

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XL and removed size: L labels Aug 7, 2026
@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 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: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 7, 2026
@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 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:

obviyus and others added 9 commits August 7, 2026 15:49
…upport them

/status replies now carry a structured MessagePresentation (title, key/value
status table, context lines) alongside the existing text body, marked with
presentationTextMode "fallback" so plain channels keep today's output verbatim.

Telegram advertises presentation table support per account via the new
resolvePresentationCapabilities adapter hook (only when richMessages is on) and
renders table blocks as markdown pipe tables that the Bot API 10.2 blocks
converter turns into native bordered/striped tables through sendRichMessage.
Core delivery now prefers the authored fallback text over generic block
flattening when every table/chart block degrades, so default paths are
unchanged. Also refreshes stale "Bot API 10.1" copy to 10.2.

Co-Authored-By: Claude Fable 5 <[email protected]>
…card

The status table's header row now carries the product/version title, the
caption rides natively on the table, the four sparse mode rows merge into one
Modes row, and time/uptime/context lines move below the table as italics.
Telegram renders presentation tables through the <table> HTML island so row
headers, native captions, and header cells reach the Bot API 10.2 wire.

Co-Authored-By: Claude Fable 5 <[email protected]>
…line

Native renders keep a single compact time + uptime line under the table;
the reference-UTC line and the Telegram rich-messages hint stay in the
plain-text fallback where they are diagnostic. Uptime plumbing carries the
bare value so the presentation composes without string surgery.

Co-Authored-By: Claude Fable 5 <[email protected]>
…im in rich card

The Context cell gains a ten-cell usage meter when session usage is known, a
plain-text pressure warning renders only when the window is >=80% full, the
Compactions row appears only after the first compaction, and the queue row
drops depth-0 detail. Silence means nominal.

Co-Authored-By: Claude Fable 5 <[email protected]>
…r payload sends

Table islands only convert on the markdown rich funnel, so HTML-mode
presentation renders keep the authored fallback text, and direct payload sends
(message tool) now resolve the same account-aware table capability instead of
always flattening. Documents the resolvePresentationCapabilities precedence
contract and the authored-fallback semantics, with precedence and payload-send
boundary tests.

Co-Authored-By: Claude Fable 5 <[email protected]>
resolvePresentationCapabilities now receives the delivery's formatting options,
so capabilities tied to one text funnel (Telegram rich tables on markdown) turn
off for HTML-mode sends before core adapts blocks. This keeps authored
fallback-mode text verbatim on rich accounts delivering HTML instead of a
degraded generic flatten, with a core regression test.

Co-Authored-By: Claude Fable 5 <[email protected]>
…ntil send

Retained finals can select HTML after the delivery controller normalizes a
payload, and HTML bypasses rich blocks. Converting a presentation during
normalization stripped it while the funnel was undecided, so a rich account
delivering HTML shipped a generated legacy table instead of the authored
fallback. Rich accounts now keep the presentation until the sender resolves the
text mode; plain accounts still flatten early.

Co-Authored-By: Claude Fable 5 <[email protected]>
obviyus and others added 3 commits August 7, 2026 15:50
Chat clients wrap long lines mid-fact, so joining several facts with separators
read as a wall. Model, auth, tokens, cost, context, compactions, execution,
runtime, activation and queue each take their own line, and the mode switches
share one Modes line using the same wording as the rich card. Auth no longer
duplicates onto the model line.

Co-Authored-By: Claude Fable 5 <[email protected]>
A flat list of ~15 facts reads as a wall in chat clients, which offer no other
visual grouping. The body now separates build/time, model, usage, session,
runtime config, and diagnostics with blank lines, and the channel feature hint
moves into the diagnostics section.

Co-Authored-By: Claude Fable 5 <[email protected]>
The card opened straight into a table because the title lived in the header
row. The version now renders as the presentation title with the clock line
below it, matching the sectioned plain body's reading order, and the header row
returns to plain column labels.

Co-Authored-By: Claude Fable 5 <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot closed this Aug 7, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Aug 7, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. P1 High-priority user-facing bug, regression, or broken workflow. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. P2 Normal backlog priority with limited blast radius. labels Aug 7, 2026
@obviyus
obviyus force-pushed the t3code/status-rich-message-tables branch from 46a1b0c to a363f02 Compare August 7, 2026 14:58
@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

Landing with the remaining review finding consciously accepted.

"Preserve the current plain /status fallback" (P1) — skipped by maintainer decision.

The plain-body rewrite is the intent of this change, not a side effect. The previous body joined 2-5 facts per line with · separators, which wraps mid-fact in chat clients and reads as a wall; the maintainer reviewed the before/after on a real device and asked for the one-fact-per-line and blank-line-section layout explicitly.

The blast radius the review names is real and accepted: buildStatusText feeds CLI and session_status, so those surfaces get the same decluttered body. No facts were removed — sections regroup the same lines, Modes replaces the Think:/Fast:/Text: labels so plain and rich renderings share one vocabulary, and only zero-value rows (Compactions: 0, depth 0) are suppressed, matching the "silence means nominal" rule used elsewhere in this card.

The other two flagged risks are resolved on this head: the branch is rebased onto current main and MERGEABLE, and the account/formatting-aware resolvePresentationCapabilities contract is documented in docs/plugins/message-presentation.md with precedence and HTML-path regression coverage.

Earlier findings from this review series were applied rather than skipped: HTML-path table gating, payload-send capability resolution, formatting-aware core capability resolution, and deferred canonicalization for rich accounts.

@obviyus
obviyus merged commit 5e477af into main Aug 7, 2026
120 checks passed
@obviyus
obviyus deleted the t3code/status-rich-message-tables branch August 7, 2026 15:16
@obviyus

obviyus commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator Author

Landed via squash onto main.

  • Merge commit: 5e477af
  • Validation: node scripts/check-changed.mjs green on the rebased head (typecheck core/tests/extensions, SDK API contract + surface budget, dead exports, plugin boundaries, import cycles, format); exact-head CI green (69 checks, required gate pass)
  • Focused proof: node scripts/run-vitest.mjs over src/status/status-message.test.ts, src/auto-reply/status.test.ts, src/status/status-text.test.ts, src/auto-reply/reply/commands-status.test.ts, src/infra/outbound/deliver.test.ts, src/infra/outbound/deliver-payload.presentation.test.ts, extensions/telegram/src/bot/delivery.test.ts, extensions/telegram/src/interactive-fallback.test.ts, extensions/telegram/src/outbound-adapter*.test.ts
  • Live proof: real Telegram turns through a temp gateway on this branch — rich accounts deliver messageRichMessage with a native bordered/striped table (title, caption, row headers); default accounts deliver plain messageText with the decluttered body and no presentation leakage
  • Changelog: not edited; release generation owns CHANGELOG.md

Known proof gap: Slack's native data_table path for /status is type-checked and unit-covered but was not driven live; its failure mode is the pre-existing text fallback.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 8, 2026
…plain body (openclaw#120167)

* feat(status): render /status as native rich tables on channels that support them
* feat(status): tighten rich /status layout into a titled native table card
* feat(status): trim rich /status tail to one clock-and-uptime context line
* feat(status): context meter, hot-window warning, and default-noise trim in rich card
* test(status): satisfy SessionEntry sessionId in meter fixture
* fix(telegram): gate rich table islands off legacy HTML sends and cover payload sends
* test(telegram): split outbound-adapter presentation tests to satisfy max-lines
* fix(outbound): make presentation capability resolution formatting-aware
* fix(telegram): defer presentation canonicalization on rich accounts until send
* feat(status): one fact per line in the plain status body
* feat(status): group the plain status body into blank-line sections
* feat(status): lead the rich status card with the version title

---------

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

Labels

channel: telegram Channel integration: telegram docs Improvements or additions to documentation maintainer Maintainer-authored PR mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant