openclaw - 💡(How to fix) Fix Cron-delivered messages not visible in channel session context [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#80468Fetched 2026-05-11 03:14:18
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
2
Timeline (top)
cross-referenced ×2commented ×1
RAW_BUFFERClick to expand / collapse

Problem

When a cron job delivers a message to a Discord channel (via delivery.mode="announce"), the message appears in the Discord UI but is not injected into the channel session context. This means the agent operating in that channel has no awareness of what cron jobs have previously reported there.

Steps to Reproduce

  1. Create a cron job with payload.kind="agentTurn" and delivery targeting a Discord channel (e.g. channel:123456)
  2. The cron runs in an isolated session, produces output, and delivers it to the channel — visible in Discord UI ✅
  3. When the agent later operates in that channel session (e.g. user asks a question), query sessions_history for the channel session
  4. The cron-delivered messages are absent from the channel session transcript

Expected Behavior

Cron-delivered messages should be visible (or at least queryable) within the target channel session context, so the agent can reference prior cron reports when interacting in that channel.

Actual Behavior

Cron delivery is UI-only — messages appear in the chat surface but never enter the channel session. The agent operating in that channel has a "split brain" view: users see cron reports + interactive messages, but the agent only sees interactive messages.

Impact

  • Agent cannot reference its own cron-generated reports when users ask about them in the channel
  • Creates confusion when users reference information the agent "posted" but has no memory of
  • Breaks the mental model that a channel is a unified conversation history

Environment

  • OpenClaw 2026.5.3-1
  • Discord channel with daily cron delivery (openclaw-version-check → #openclaw-dogfood)

Discovery

Found during dogfooding: user asked about the daily version report in #openclaw-dogfood. The agent searched the channel session history but could not find any cron-delivered reports — only interactive conversation from days ago. The cron reports were visible to the user in Discord but invisible to the agent.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Cron-delivered messages not visible in channel session context [1 comments, 2 participants]