Skip to content

Cron announce delivery fails silently for named agents — only default agent works #32432

@albertovasquez

Description

@albertovasquez

Problem

Cron jobs with --agent <named-agent> execute successfully but announce delivery silently fails (delivered: false, no error). The same cron without --agent (using the default/main agent) delivers correctly.

Repro

# This delivers:
openclaw cron add --at +2m --channel <custom-channel> --to <target-id> --announce --message "test"

# This runs but does NOT deliver (delivered=false, no error):
openclaw cron add --agent my-agent --at +2m --channel <custom-channel> --to <target-id> --announce --message "test"

Both crons execute (status: ok), but only the default agent's announce reaches the channel plugin's outbound adapter.

Tested Variations (all fail with named agent)

Agent --announce --to --session-key Delivered
(default) yes
named ❌ no
named ✅ (explicit) ❌ no
named ❌ no

Expected

Named agents with channel account bindings should deliver announces the same as the default agent.

Workaround

Omit --agent (use the default agent) for crons that need to deliver to custom channel plugins.

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