-
-
Notifications
You must be signed in to change notification settings - Fork 57.6k
Closed
Closed
Copy link
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels