Skip to content

Announce-mode delivery from subagents/crons logs success but never reaches Telegram #31714

@agent-plex

Description

@agent-plex

Bug Report

Version: 2026.3.1 (also reproduced on 2026.2.26)
OS: macOS 26.2 (arm64), node 25.4.0
Channel: Telegram (direct chat)

Summary

Announce-mode delivery from isolated cron sessions and subagents silently fails. The gateway logs ✓ send channel=telegram but the message never reaches the Telegram chat. Direct message tool sends from the main session work perfectly.

Reproduction

  1. Spawn a subagent with mode: "run":
sessions_spawn({
  task: "Reply with exactly: test message",
  label: "announce-test",
  mode: "run"
})
  1. Subagent completes successfully
  2. OpenClaw system notification "✅ Subagent main finished" arrives in Telegram
  3. The actual announce content never arrives

Meanwhile, a direct message tool send to the same chat ID works immediately:

message({ action: "send", target: "<chatId>", message: "test" })
// → delivered successfully

Evidence

Gateway logs show successful send (but nothing arrives):

13:03:03.974Z ⇄ res ✓ send 381ms channel=telegram

Cron runs also affected:

  • Morning Briefing cron: deliveryStatus: "delivered", delivered: trueuser never received it
  • Savant Market Brief cron: lastError: "⚠️ ✉️ Message failed" despite lastDelivered: true
  • Subagent announce: gateway logs success, no Telegram delivery

Tested twice post-update (2026.3.1):

  • Test 1: subagent completed, ✓ send logged, nothing in Telegram
  • Test 2: subagent completed + direct message sent simultaneously. Direct message arrived. Announce did not. Screenshot available.

Cron delivery config (working config that fails):

{
  "delivery": {
    "mode": "announce",
    "channel": "telegram",
    "to": "8168044629"
  }
}

Environment

  • Gateway: local loopback (127.0.0.1:18789)
  • Telegram channel: ON, status OK
  • Single agent (main), default model claude-opus-4-6
  • Subagents run on codex/gpt-5.2-codex

Impact

All cron-based Telegram deliveries are broken (morning brief, market brief, research summaries). All subagent announce results are lost. Only workaround is having the agent use the message tool directly instead of relying on announce delivery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions