Skip to content

fix(channels): remove stale pre-tool previews from Slack and Telegram - #147106

Merged
vincentkoc merged 4 commits into
mainfrom
fix/issue-25592-preview-lifecycle
Sep 13, 2026
Merged

vincentkoc merged 4 commits into
mainfrom
fix/issue-25592-preview-lifecycle

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Related: #25592

Landed via native squash as ec049f94608c. Native completion receipt.

What Problem This Solves

Pre-tool assistant text can remain as extra Slack or Telegram messages when partial streaming crosses tool boundaries, even after the runtime correctly excludes that text from the final answer.

User Impact

Partial streaming keeps the final answer or useful failure notice without abandoned pre-tool previews. Slack previews that someone already replied to remain conversation context. Automatic replies, accepted answer blocks, and opt-in tool progress remain available.

Why This Change Was Made

The transport preview owns its cleanup until an answer is accepted. Telegram materializes accepted blocks, retires provisional text at a new tool start, and fences delayed receipts from restoring retired text. Slack reuses a preview across internal model messages, records human detachment at the conversation boundary, and uses confirmed delivery to avoid duplicate cleanup. Failed deletions and explicit turn rotations remain eligible for cleanup.

This covers the verified Slack/Telegram preview-lifecycle subcases in the linked issue. Earlier phase-classification and terminal-answer fixes are already shipped. The independent provider-replay work in #102173 and Claude CLI work in #121567 remain separate. This PR does not claim new live qualification of the original iMessage/Claude Opus scenario or close the broader issue.

Evidence

Candidate: bd2a42621aec221f785bc8d5459e57ac6ba4119e.

  • Exact test-only baseline 1caf982ed6425b4a62b198445ba91e3a91096bc2 reproduced the Slack retention assertion and five Telegram assertions: the tool-only boundary, both terminal-error modes, and delayed send/edit recovery. Retained runtime diagnostics show test-body assertion failures; setup errors are excluded.
  • Isolated candidate build passed. All 378 focused tests across six regression files and 93 shared draft tests passed. The focused suite covers accepted-block preservation. All 25 named regression gates executed, including human replies during delayed Slack closeout, identity/media/error/TTS fallback, cleanup retries, quiet tool progress, and useful interrupted answers.
  • Full Gateway Slack proof passed with a mock Completions provider and recording Slack HTTP transport: pre-tool preview visible, tool-result counts [0, 1, 2], final sent once, abandoned preview deleted, final alone retained. The Gateway verdict below is copied from the SHA-bound run receipt.
  • Reviewed-head CI passed: 118 jobs succeeded, 16 skipped, zero failed; the required aggregate gate is green. Full standard Slack coverage passed 160 files / 3,016 tests; full standard Telegram coverage passed 223 files / 4,176 tests, including the nine changed HTTP tests. Existing live/E2E exclusions are not counted as passed. CI tested merge 1cedf3fd1bfe2fb987c54efb7917f6b5b7f42ca8, whose parents are 3243939fd651a49a3990cc403163fc6fc4baa63e and this candidate. The Control UI gate passed with the upstream budget fix; this PR changes no UI budget.
  • Real Telegram Test Server proof passed on this exact head. A TDLib user observer saw the preamble, tool progress, and final answer; the provider trace with tool-result counts [0, 1, 2] confirms the tool-only middle response. The preamble and tool-progress messages were permanently deleted, leaving only the final. With tool progress disabled, the terminal-error case observed counts [0, 1], permanent preamble deletion, and exactly one canonical failure notice. Both recordings completed; QA credential leases and owned Gateway/mock processes were released. The isolated AWS leases also completed provider cleanup.
  • Independent owner review, complete-diff P0–P2 autoreview, and exact-head ClawSweeper Revision 7 found no actionable code or security defect.
{
  "kind": "mock-gateway",
  "sha": "bd2a42621aec221f785bc8d5459e57ac6ba4119e",
  "channel": "slack",
  "status": "pass",
  "providerApi": "openai-completions",
  "previewWasVisible": true,
  "toolResultCounts": [
    0,
    1,
    2
  ],
  "remainingMessages": [
    "PREVIEW_FINAL_25592"
  ]
}

Observed Test Server outcomes, summarized from the SHA-bound receipts:

{
  "kind": "live-telegram",
  "sha": "bd2a42621aec221f785bc8d5459e57ac6ba4119e",
  "providerApi": "openai-completions",
  "status": "pass",
  "scenarios": [
    {
      "scenario": "preview-tool-boundaries",
      "recordingComplete": true,
      "preambleSeen": true,
      "toolProgressSeen": true,
      "providerToolResultCounts": [
        0,
        1,
        2
      ],
      "remainingMessages": 1,
      "provisionalPreviewPermanentlyDeleted": true
    },
    {
      "scenario": "preview-tool-error",
      "recordingComplete": true,
      "preambleSeen": true,
      "toolProgressSeen": false,
      "providerToolResultCounts": [
        0,
        1
      ],
      "remainingMessages": 1,
      "provisionalPreviewPermanentlyDeleted": true,
      "terminalNotice": "LLM request failed: provider rejected the request schema or tool payload."
    }
  ]
}

Redacted Telegram recorder timeline (elapsed milliseconds from each recording; message aliases are local to each scenario):

Scenario Elapsed ms Observed event
Final answer 1,492 Message A: pre-tool preamble
Final answer 2,800 Message B: tool progress
Final answer 3,748 Message C: final answer
Final answer 5,542 Message A permanently deleted
Final answer 6,922 Message B permanently deleted; C alone remains
Terminal error 1,594 Message A: pre-tool preamble
Terminal error 3,182 Message B: exact canonical failure notice
Terminal error 5,643 Message A permanently deleted; B alone remains

This timeline fulfills Revision 6's requested redacted message/edit/delete evidence. The provider trace, rather than the Telegram observer, establishes the tool-result sequences shown above.

Review and Proof Disposition

The proof requests from ClawSweeper Revisions 5 and 6 are fulfilled. Revision 7 explicitly accepts the supplied runtime evidence, reports no actionable code or security finding, and lists no remaining before-merge item. Native review, hosted-CI preparation, pinned-head squash, and post-merge verification completed. The landed patch matches the reviewed change; no new test execution on the squash commit is claimed. Bot-owned labels and review markers were not manually changed. Issue25592 remains open for its broader original-channel/provider scope.

Production: +80/-30 (net +50), justified by preview ownership and stale-receipt fencing. Tests and proof fixtures: +688/-136. No configuration, plugin SDK, protocol, or storage-schema change.

@vincentkoc vincentkoc self-assigned this Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 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 channel: slack Channel integration: slack channel: telegram Channel integration: telegram size: L maintainer Maintainer-authored PR labels Sep 13, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper review

Please review head 4bc4ee25cbf2597d5e39d26879c808d48f469615 for the preview lifecycle path in #25592. Independent owner review and full-diff autoreview found no remaining actionable P0–P2 issue. The PR remains draft while exact-baseline/candidate runtime tests, Gateway Slack proof, and real Telegram observations are collected; the body will be updated with those results. No autofix or merge requested.

@clawsweeper

clawsweeper Bot commented Sep 13, 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 exact_review_queue).
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 P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. 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. labels Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 1:59 PM ET / 17:59 UTC (Revision 7).

ClawSweeper review

What this changes

Removes abandoned Slack and Telegram streaming previews across tool calls while preserving accepted answers, useful failure notices, and Slack context followed by human replies.

Merge readiness

✅ Ready for maintainer review

This remains a useful fix that current main does not contain. The new Telegram timeline resolves the previous proof blocker, and this review found no actionable code or security defect.

Priority: P2
Reviewed head: bd2a42621aec221f785bc8d5459e57ac6ba4119e

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-level fix with strong supplied runtime evidence and no remaining actionable review findings.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): For the reviewed head, supplied full-Gateway Slack results and real Telegram Test Server observations exercise provisional text across tool boundaries and terminal failure. The redacted recorder timeline shows permanent preview deletion and final-message retention, resolving the prior proof request; focused regressions supplement accepted-block, human-context, and delayed-receipt coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): For the reviewed head, supplied full-Gateway Slack results and real Telegram Test Server observations exercise provisional text across tool boundaries and terminal failure. The redacted recorder timeline shows permanent preview deletion and final-message retention, resolving the prior proof request; focused regressions supplement accepted-block, human-context, and delayed-receipt coverage.
Evidence reviewed 9 items Introduced changes and review continuity: Reviewed the pinned merge-base-to-head changes. Comparing the previous production revision with HEAD shows only the three Telegram regression-test corrections; production is unchanged. The prior completed review recorded no code findings.
Slack cleanup ownership: The draft owner distinguishes human-detached previews from failed deletions and explicit rotations, waits for pending receipts before removing its conversation tracker, and preserves human context during confirmed final-delivery cleanup. Dispatch uses that existing owner for normal fallback and message-tool completion.
Telegram acceptance and stale-receipt boundary: Tool starts serialize retirement through the existing draft queue. Accepted blocks materialize before rotation; unaccepted previews use deferred deletion. The stream generation check prevents a late send/edit receipt from restoring retired recovery text.
Findings None None.
Security None None.

How this fits together

Slack and Telegram preview handlers turn streamed assistant text and tool events into temporary chat messages. They coordinate edits, final delivery, and cleanup so provisional text does not remain beside the accepted reply.

flowchart TD
  A[Assistant text and tool events] --> B[Channel preview handler]
  B --> C[Temporary chat preview]
  C --> D{Accepted answer or human context?}
  D -->|Yes| E[Preserve conversation message]
  D -->|No| F[Retire provisional preview]
  B --> G[Final answer or failure notice]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +50, Tests +489, Other +63. Total +602 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 6 80 30 +50
Tests 7 624 135 +489
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 64 1 +63
Total 14 768 166 +602

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net +50 lines; tests and proof fixtures net +552 lines Production growth is justified by selective cleanup ownership and delayed-receipt fencing, with most added code exercising those behaviors.

Technical review

Best possible solution:

Keep preview retirement with the existing channel owners, preserving accepted content and human context without changing streaming settings or provider replay.

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

Yes, source establishes a concrete path: partial text becomes visible before a tool call, then survives a tool-only response or contaminates terminal-error recovery. The supplied baseline results corroborate it; this review did not execute a current-main reproduction.

Is this the best way to solve the issue?

Yes. The patch repairs existing preview lifecycle owners, reuses Telegram's deferred deletion, and retains meaningful answer and human-context exceptions without adding a competing delivery policy.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 201f11afefdb.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. For the reviewed head, supplied full-Gateway Slack results and real Telegram Test Server observations exercise provisional text across tool boundaries and terminal failure. The redacted recorder timeline shows permanent preview deletion and final-message retention, resolving the prior proof request; focused regressions supplement accepted-block, human-context, and delayed-receipt coverage.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 message-delivery: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: Repairs misleading leftover messages in bounded Slack and Telegram preview paths without changing channel defaults.
  • 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 (logs): For the reviewed head, supplied full-Gateway Slack results and real Telegram Test Server observations exercise provisional text across tool boundaries and terminal failure. The redacted recorder timeline shows permanent preview deletion and final-message retention, resolving the prior proof request; focused regressions supplement accepted-block, human-context, and delayed-receipt coverage.
  • proof: sufficient: Contributor real behavior proof is sufficient. For the reviewed head, supplied full-Gateway Slack results and real Telegram Test Server observations exercise provisional text across tool boundaries and terminal failure. The redacted recorder timeline shows permanent preview deletion and final-message retention, resolving the prior proof request; focused regressions supplement accepted-block, human-context, and delayed-receipt coverage.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The PR changes visible Telegram message deletion and final retention; the supplied Test Server timeline covers that behavior.

Evidence

What I checked:

  • Introduced changes and review continuity: Reviewed the pinned merge-base-to-head changes. Comparing the previous production revision with HEAD shows only the three Telegram regression-test corrections; production is unchanged. The prior completed review recorded no code findings. (extensions/telegram/src/bot-message-dispatch.draft-rotation.test.ts:618, bd2a42621aec)
  • Slack cleanup ownership: The draft owner distinguishes human-detached previews from failed deletions and explicit rotations, waits for pending receipts before removing its conversation tracker, and preserves human context during confirmed final-delivery cleanup. Dispatch uses that existing owner for normal fallback and message-tool completion. (extensions/slack/src/draft-stream.ts:170, bd2a42621aec)
  • Telegram acceptance and stale-receipt boundary: Tool starts serialize retirement through the existing draft queue. Accepted blocks materialize before rotation; unaccepted previews use deferred deletion. The stream generation check prevents a late send/edit receipt from restoring retired recovery text. (extensions/telegram/src/bot-message-dispatch-progress.ts:221, bd2a42621aec)
  • Current-main necessity: Current main still pushes tool progress without the new serialized preview retirement. The comparison against the pinned merge base shows adjacent rendering changes, not this lifecycle fix. No merged replacement is established by the related-item context. (extensions/telegram/src/bot-message-dispatch-progress.ts:210, 201f11afefdb)
  • Latest-release check: The v2026.9.4 tool-start handler also lacks this retirement path, so the latest supplied release does not make the PR redundant. (extensions/telegram/src/bot-message-dispatch-progress.ts:210, 3a9d69db306c)
  • After-fix behavior proof and prior request disposition: The fully supplied PR body at captured source revision f27951d43674ee215c51c8434799ab6ab6125a365063917938bc4531656523f9 contains SHA-bound Gateway Slack results and a redacted Telegram Test Server recorder timeline. Slack retained only the final after tool-result counts [0,1,2]. Telegram observed permanent deletion of preamble and progress messages, retaining the final; the quiet terminal-error scenario retained exactly the canonical failure notice. This satisfies the previous request for a recording or message/edit/delete timeline. Evidence was inspected as supplied results, not rerun locally. (bd2a42621aec)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • obviyus: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (6 earlier review cycles)
  • reviewed 2026-09-13T14:54:15.555Z sha 4bc4ee2 :: blocked before merge. :: none
  • reviewed 2026-09-13T15:01:26.590Z sha 4bc4ee2 :: blocked before merge. :: none
  • reviewed 2026-09-13T15:25:25.213Z sha 4bc4ee2 :: blocked before merge. :: none
  • reviewed 2026-09-13T15:43:58.626Z sha bfe7141 :: blocked before merge. :: none
  • reviewed 2026-09-13T17:05:48.070Z sha bd2a426 :: blocked before merge. :: none
  • reviewed 2026-09-13T17:31:43.519Z sha bd2a426 :: blocked before merge. :: none

@vincentkoc
vincentkoc marked this pull request as ready for review September 13, 2026 15:18
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review the updated exact head bfe71415db86a9595e3eee4e4b19c9f0bfb4d182. The consolidated correction records human detachment for selective Slack cleanup, uses confirmed final delivery to prevent duplicate cleanup, and replaces obsolete Telegram call-count tests with observable message-ledger checks. Independent owner review and complete-diff P0–P2 autoreview are clear. Baseline failures are reproduced; candidate runtime and real Telegram proof remain pending and are not claimed by this request. No autofix or merge requested.

@clawsweeper

clawsweeper Bot commented Sep 13, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head bd2a42621aec221f785bc8d5459e57ac6ba4119e. Production is unchanged from bfe71415; the only new change corrects three Telegram tests where canceled, skipped, or media-only blocks never accepted preview text. The fixtures now deliver a real final answer and require deferred retirement rather than retaining the old preview. Full-diff P0–P2 autoreview and owner review are clear. Current-head runtime/Gateway/Telegram proof remains pending; the independent main-wide Control UI budget failure is documented in the body. No autofix or merge requested.

@clawsweeper

clawsweeper Bot commented Sep 13, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc

vincentkoc commented Sep 13, 2026 •

Copy link
Copy Markdown
Member Author

Final proof and landing disposition for bd2a42621aec221f785bc8d5459e57ac6ba4119e:

  • P1 selective-retirement proof: complete. The isolated candidate build, 378 focused tests, and 93 shared draft tests passed. The 378 focused tests cover accepted-block preservation. All 25 named regression gates ran, including delayed send/edit receipts, Slack human replies during closeout, identity/media/error/TTS fallbacks, and cleanup retry ownership. The test-only baseline 1caf982ed6425b4a62b198445ba91e3a91096bc2 reached the intended Slack retention and five Telegram assertion failures.
  • P2 Gateway and live Telegram proof: complete. The full Gateway Slack scenario observed the pre-tool preview, two tool steps, one final answer, and deletion of the abandoned preview. Real Telegram Test Server recordings on this exact head also passed: with tool progress enabled, provider counts [0, 1, 2] produced a visible preamble, tool progress, and final; permanent deletion removed both provisional messages and left only the final. With tool progress disabled, counts [0, 1] produced one canonical failure notice and permanently removed the preamble. The error probe requires exact equality to LLM request failed: provider rejected the request schema or tool payload. Both recordings completed, awaited QA credential cleanup, and released their Gateway/mock ports; the AWS leases completed provider cleanup. SHA-bound observed summaries are in the PR body.

Exact-head CI and its required gate are green: 118 successful jobs, 16 skipped, zero failed. Standard plugin coverage passed 160 Slack files / 3,016 tests and 223 Telegram files / 4,176 tests. CI tested merge 1cedf3fd1bfe2fb987c54efb7917f6b5b7f42ca8, containing this exact candidate; existing live/E2E exclusions are not counted as passed.

Revisions 5 and 6's proof moves and redacted-timeline request are complete. The later exact-head Revision 7 explicitly accepts the supplied runtime evidence and lists no remaining before-merge item or code/security finding. Native review/prepare/merge completed, squashing the reviewed head as ec049f94608c; native completion receipt. Post-merge verification confirmed the exact reviewed patch at the landed parent and main ancestry. This preserves the distinction between reused pre-merge runtime proof and post-merge source verification. No score refresh was requested or bot-owned label manually changed. The broader issue remains open for its original iMessage/Claude Opus and separate producer/replay paths.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. proof: sufficient ClawSweeper judged the real behavior proof convincing. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels Sep 13, 2026
@clawsweeper clawsweeper Bot added the rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. label Sep 13, 2026
@vincentkoc
vincentkoc merged commit ec049f9 into main Sep 13, 2026
211 of 214 checks passed
@vincentkoc
vincentkoc deleted the fix/issue-25592-preview-lifecycle branch September 13, 2026 18:04
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 13, 2026
* commit '2d87daf04b78992382299d552f15ac84a86a23ed': (1815 commits)
  fix(ui): distinguish tool activity with semantic icons (#147207)
  fix(linux): recover completed Quick Chat replies without resending (#146048)
  feat(desktop): unify Tauri title bar and window controls (#147097)
  refactor(test): share plugin fixture server shims (#147225)
  perf(gateway): defer worker workspace execution imports (#143496)
  fix(gateway): post-ack webhook work fails with "Async work scope is closed" (#144801)
  refactor(scripts): centralize upgrade survivor version floors (#146975)
  fix(ci): check publication registries before FRV fanout (#147184)
  fix(qa): align system-agent delegation with channel contracts (#145905)
  improve: reduce repeated chat message identity work (#147210)
  fix(channels): remove stale pre-tool previews from Slack and Telegram (#147106)
  fix: keep catalog discovery scoped and execution lazy (#147159)
  fix: serialize reclamation worker shutdown with foreground writes (#147178)
  test(sessions): cover abrupt committed transcript recovery (#143984)
  fix: stop transcript storms during context overflow recovery (#147202)
  fix: reduce CPU overhead for small history and usage reads (#147205)
  fix: resume tasks after tools finish and the model times out (#147203)
  refactor(scripts): share SQLite reliability message waits (#146900)
  feat(exec): configure approval reviewer thinking and fastMode (#147192)
  test: remove redundant Bonjour module headers (#146981)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
…openclaw#147106)

* test(channels): reproduce pre-tool preview retention

* fix(channels): remove stale pre-tool previews from Slack and Telegram

* fix(channels): preserve human preview context through final cleanup

* test(telegram): assert retirement of unaccepted previews
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: slack Channel integration: slack channel: telegram Channel integration: telegram maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L 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.

1 participant