Repository navigation
refactor(plugins): deslop imessage, mattermost, and voice-call - #163767
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed October 2, 2026, 4:42 PM ET / 20:42 UTC. ClawSweeper reviewWhat this changesThe PR consolidates transport and lifecycle helpers in the iMessage, Mattermost, and Voice Call plugins, fixes Twilio stream cleanup, and removes a Mattermost configuration migration. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 4 items remain The cleanup remains useful and is not implemented on current main, but removing Mattermost’s network migration leaves an unsafe upgrade path for legacy configuration. Priority: P2 Review scores
Verification
How this fits togetherThese plugins translate OpenClaw message actions and call operations into platform requests and process incoming callbacks. Their Doctor contracts repair existing configuration before runtime validation. flowchart LR
A[Existing configuration] --> B[Doctor repairs]
B --> C[Plugin configuration]
D[Message and call actions] --> E[Plugin transport owners]
C --> E
E --> F[Messaging platforms and carriers]
F --> G[Incoming callbacks]
G --> E
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource -1232, Tests +74, Docs 0, Other -4. Total -1162 across 53 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep the transport simplifications while preserving Mattermost’s existing network migration until a safe retirement path has upgrade coverage. Do we have a high-confidence way to reproduce the issue? Yes, from source: pass a Mattermost root or account configuration containing allowPrivateNetwork through Doctor repair; the removed transform leaves an invalid alias that the retirement checker does not recognize. Runtime execution was not performed. Is this the best way to solve the issue? Mostly yes: consolidating existing owners is appropriate, but deleting the migration without its retirement refusal is incomplete; retaining that transform is the narrowest repair. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ad23b8888d55. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* commit '79be075e5aa46be9e42dbd53ed6e30e81469210a': (33 commits) fix(ui): keep selected-text comment input readable while scrolling (#163772) test(memory): open corpus database explicitly fix: bound Doctor migration capture to plugin data (#163780) fix(ui): gate system information at the shared reader (#160982) chore(db): reclassify worker inventory sites with caller evidence (#163754) refactor(channels): deslop Slack and Matrix (#163740) fix(agents): reject empty sessions_search queries in the tool schema (#129120) perf(nodes): load only what a worker turn needs (#160442) test(cli): assert concise Gateway failure copy in CLI process tests (#163649) refactor(discord): deslop discord (#163728) fix(workboard): make Sessions boards work on multi-agent Gateways (#163761) test(gateway): add sustained heap retention diagnostics (#163764) test(ui): disambiguate session filter controls refactor(plugins): deslop imessage, mattermost, and voice-call (#163767) fix(qa): run Telegram plugin source in --source-gateway userbot runs (#163718) feat(macos): add a --no-activate launch flag for background automation (#163758) fix(agents): preserve host authority across module reloads (#163725) perf(gateway): serve the listener before multi-gigabyte store validation and honor clean-close receipts at startup (#163690) fix: keep video widgets scrollable and preload initial frames (#163762) feat(memory): add a provider-neutral memory provider runtime (#162175) ...
…law#163767) Consolidate iMessage action encoding and reply authorization, Mattermost callback/setup definitions, and Voice Call carrier HTTP, frame, playback, and call-store plumbing. Remove 1,232 net production lines while preserving supported configuration, persisted records, carrier payloads, and model-facing descriptions. Fix Twilio disconnect cleanup for an empty stream ID, retire the April Mattermost network-alias migration under the July-2026+ support policy, and correct the ngrok signature-verification documentation. Validation: 2,684 plugin tests, 1,132 plugin-contract tests, original-code regression failure, production/test typechecks, clean owned-plugin lint, both cycle checks at zero, and independent review.
* commit '1fda703fb4d3630e4633461967b2a2186e8f15fd': (33 commits) fix(ui): keep selected-text comment input readable while scrolling (openclaw#163772) test(memory): open corpus database explicitly fix: bound Doctor migration capture to plugin data (openclaw#163780) fix(ui): gate system information at the shared reader (openclaw#160982) chore(db): reclassify worker inventory sites with caller evidence (openclaw#163754) refactor(channels): deslop Slack and Matrix (openclaw#163740) fix(agents): reject empty sessions_search queries in the tool schema (openclaw#129120) perf(nodes): load only what a worker turn needs (openclaw#160442) test(cli): assert concise Gateway failure copy in CLI process tests (openclaw#163649) refactor(discord): deslop discord (openclaw#163728) fix(workboard): make Sessions boards work on multi-agent Gateways (openclaw#163761) test(gateway): add sustained heap retention diagnostics (openclaw#163764) test(ui): disambiguate session filter controls refactor(plugins): deslop imessage, mattermost, and voice-call (openclaw#163767) fix(qa): run Telegram plugin source in --source-gateway userbot runs (openclaw#163718) feat(macos): add a --no-activate launch flag for background automation (openclaw#163758) fix(agents): preserve host authority across module reloads (openclaw#163725) perf(gateway): serve the listener before multi-gigabyte store validation and honor clean-close receipts at startup (openclaw#163690) fix: keep video widgets scrollable and preload initial frames (openclaw#163762) feat(memory): add a provider-neutral memory provider runtime (openclaw#162175) ...
What Problem This Solves
The iMessage, Mattermost, and Voice Call plugins repeat transport serialization, callback discovery, carrier HTTP handling, and lifecycle bookkeeping that already have authoritative owners.
User Impact
Supported configuration keys, persisted records, carrier payloads, model-facing descriptions, and visible output remain unchanged. Twilio now releases an empty stream ID when that stream disconnects. The obsolete Mattermost private-network alias migration from April 2026 is retired under the July-2026-and-newer migration policy; the July streaming migration remains.
Why This Change Was Made
This is one accumulated batch removing 1,232 net production lines (excluding tests, fixtures, docs, and generated files); tests add 74 net lines.
Fixes found along the way
Twilio's old disconnect guard treated an empty registered stream ID as absent, leaving the call in its stream map. The new regression checks the public registration query after disconnect. The voice-call configuration guide also incorrectly said the ngrok option accepted invalid signatures; it now describes URL reconstruction with signature verification still required.
Evidence
Linux Blacksmith Testbox proof used frozen-lockfile installs and the repository's source-verifying wrapper. Leases:
tbx_01m3z04xgwj0zee78yagq6a2wd(allocation run) and its replacementtbx_01m3z3ydw8kzm0djry5b9jsmv9(allocation run). Both leases have been stopped.node scripts/run-vitest.mjs extensions/imessage extensions/mattermost extensions/voice-call: 194 files and 2,684 tests passed across six projects, 281.33s total.node scripts/run-vitest.mjs src/plugins/contracts: 48 files and 1,132 tests passed, 67.40s.expected true to be false) and passes with the cleanup fix. The final outbound suite also passed all 21 tests.The first changed-check run requested the expected assertion-baseline shrink. A later lint run caught a removed stored-mode cast; that declaration and log line were restored to base. A standalone all-extension lint run also reported the untouched
extensions/codex/src/session-catalog-index.tsat 723/700 lines; the normal changed-path workflow classifies that cap as a warning. The final owned-plugin lint pass is clean.Changed-test cost, measured with
pnpm test <file> --maxWorkers=1on the Linux CI-sized runner (wall/runner seconds, including startup):extensions/imessage/src/actions.runtime.test.tsextensions/voice-call/src/manager/events.test.tsextensions/voice-call/src/providers/twilio.test.tsThese are synthetic transport/lifecycle tests; no live carrier calls or signed-in Mac messages were sent. Hosted CI passed on
67926abf2816e0ac45483fba825326a91a07fd97. Squash-merged as2d8a022362e791912a6be3d180f2d7a466501d66; ancestry verified on current main.