Skip to content

[Bug]: iMessage channel polling broken in 2026.5.3-1 (regression from 2026.5.2) #77503

Closed

Description

@avavavbot

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

iMessage channel polling broken in 2026.5.3-1 - messages arrive in database but gateway doesn't respond automatically

Steps to reproduce

  1. Configure iMessage channel in ~/.openclaw/openclaw.json with allowFrom filter set to your phone number
  2. Upgrade OpenClaw to version 2026.5.3-1 (from 2026.5.2)
  3. Send an iMessage to the configured number
  4. Check ~/Library/Messages/chat.db and verify the message is stored
  5. Observe that the gateway does not automatically respond or acknowledge the message

Expected behavior

Gateway should automatically detect and respond to incoming iMessages from configured numbers, as it did in 2026.5.2.

Actual behavior

Gateway automatically responds to incoming iMessages from configured numbers in real-time, as it did in 2026.5.2.

OpenClaw version

2026.5.3-1

Operating system

OS: macOS (Sonoma or later)

Install method

Installed via Homebrew. Updated from 2026.5.2 to 2026.5.3-1 using: openclaw update --tag 2026.5.3-1

Model

anthropic/claude-haiku-4-5i

Provider / routing chain

Messages.app → Gateway iMessage Channel → Agent → Response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Evidence:                                                                                                             
  1. iMessage messages confirmed arriving in ~/Library/Messages/chat.db via SQLite query                                
  2. Gateway iMessage channel configured correctly in ~/.openclaw/openclaw.json (enabled: true, allowFrom:              
["+13362107441"])                                                                                                       
  3. Messages verified in database but no gateway response triggered                                                    
  4. Same configuration worked perfectly in 2026.5.3-1                                                                  
  5. Gateway logs show no iMessage polling activity after upgrade                                                       
                                                                                                                        
  Database verification command:                                                                                        
  sqlite3 ~/Library/Messages/chat.db "SELECT text, date FROM message ORDER BY date DESC LIMIT 5;"                       
                                                                                                                        
  Output shows latest messages arriving but no corresponding gateway responses.

Impact and severity

Severity: High
Impact: iMessage real-time monitoring completely broken - users cannot receive automatic responses to incoming
messages. Regression from 2026.5.2.

Additional information

No response

Activity

  1. clawsweeper commented on May 4, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 1, 2026, 2:02 AM ET / 06:02 UTC.

    Summary
    Keep open: this is a plausible iMessage channel regression report, but it cannot be safely closed or queued for an automated fix without a current-version live macOS/imsg reproduction. Current main still contains the iMessage watch/dispatch path, and the latest shipped release plus main have moved well past the reported 2026.5.3-1 build, but there is no proof that the reported failure is fixed or still present.

    Reproducibility: no. The report describes a historical 2026.5.3-1 failure and current source shows the watch/dispatch path, but there is no live macOS/imsg run proving the failure on current main or the latest release.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.

    Next step
    Manual live-repro triage is needed before repair automation because the report lacks current OpenClaw/imsg versions and redacted startup-to-inbound logs.

    Review details

    Best possible solution:

    Keep this open until a current-version live macOS/imsg repro identifies the failing point, then fix the iMessage plugin monitor/watch/gating path with focused regression coverage.

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

    No. The report describes a historical 2026.5.3-1 failure and current source shows the watch/dispatch path, but there is no live macOS/imsg run proving the failure on current main or the latest release.

    Is this the best way to solve the issue?

    Unclear. A code fix should wait for current imsg version, watch.subscribe status, and redacted Gateway logs so maintainers can distinguish monitor failure from allowlist, pairing, permissions, or external imsg behavior.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The original report is for 2026.5.3-1 and has contradictory actual-behavior text, so the failing point could be monitor startup, allowlist/config, imsg permissions, or an external bridge issue.
    • Current main and v2026.5.28 differ substantially from the reported release on iMessage monitor/state code, but there is no live proof that the current code fixes the user's setup.

    Codex review notes: model gpt-5.5, reasoning high; reviewed against 275caeb5f522.

    Label changes

    Label changes:

    • add P2: The issue reports a real iMessage inbound-response regression, but current-version reproduction is still missing and the report targets an older build.
    • add impact:message-loss: The reported failure is that inbound iMessages are not detected and routed into Gateway responses.
    • add issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.
    • add clawsweeper:needs-info: Current issue advisory state selects this label.
    • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
    • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
    • remove clawsweeper:needs-live-repro: Current issue advisory state no longer selects this label.

    Label justifications:

    • P2: The issue reports a real iMessage inbound-response regression, but current-version reproduction is still missing and the report targets an older build.
    • impact:message-loss: The reported failure is that inbound iMessages are not detected and routed into Gateway responses.
    Evidence reviewed

    Acceptance criteria:

    • On a signed-in macOS Messages host, capture imsg --version, imsg rpc --help, imsg status --json, and openclaw channels status --probe --channel imessage.
    • Start Gateway with the reported allowFrom config, send an inbound iMessage from the allowed sender, and capture redacted logs from startup through the inbound message including watch.subscribe and any iMessage drop/dispatch lines.
    • If a code fix follows, run focused iMessage monitor/gating tests such as node scripts/run-vitest.mjs extensions/imessage/src/monitor.watch-subscribe-retry.test.ts extensions/imessage/src/monitor.gating.test.ts extensions/imessage/src/monitor/inbound-processing.test.ts.

    What I checked:

    Likely related people:

    • steipete: Available blame for the current iMessage monitor/watch path and gateway account startup points to Peter Steinberger's commit in the shallow checkout history. (role: recent area contributor; confidence: medium; commits: ebcdb637bb77; files: extensions/imessage/src/monitor/monitor-provider.ts, extensions/imessage/src/channel.runtime.ts, docs/channels/imessage.md)
    • omarshahine: Recently assigned the issue, removed stale state, added the needs-live-repro label, and requested the exact current-version imsg/watch.subscribe evidence needed to proceed. (role: recent triage owner; confidence: medium)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. openclaw-barnacle commented on May 31, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale due to inactivity.
    Please add updates or it will be closed.

  3. self-assigned this
    on Jun 1, 2026
  4. added
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    and removed
    staleMarked as stale due to inactivity
    on Jun 1, 2026
  5. omarshahine commented on Jun 1, 2026

    @omarshahine
    Contributor

    Thanks for the report. I reviewed this again while processing the stale queue, but I cannot validate it against current OpenClaw from the information here.

    What I can verify:

    • The report is for 2026.5.3-1, which is now several releases old.
    • The expected behavior says the gateway should respond automatically, but the actual behavior currently says it does respond automatically, so the failure mode is ambiguous.
    • The previous automated review timed out before establishing a reproduction path.
    • I do not see enough current evidence to determine whether this is still an iMessage monitor/watch regression, an allowlist/config issue, or a version-specific bug that has already been fixed.

    If this still reproduces, please add a fresh current-version repro with:

    • current OpenClaw build/SHA and install method
    • imsg --version
    • macOS version
    • whether imsg rpc / watch.subscribe is running or timing out
    • redacted gateway logs from startup through the inbound iMessage
    • confirmation of the allowFrom value shape used in config and the sender value seen in chat.db

    Please redact phone numbers, Apple IDs, private message content, and any secrets from logs/screenshots.

  6. added
    P2Normal backlog priority with limited blast radius.
    impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.
    issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
    clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    and removed
    clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.
    on Jun 1, 2026
  7. locked as resolved and limited conversation to collaborators on Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.regressionBehavior that previously worked and now fails

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions