-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
[Bug]: Cron job with sessionTarget: "main" triggers both systemEvent and reminder despite delivery.mode: "none" #44922
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Behavior bug (incorrect output/state without crash)
Summary
Cron job with
sessionTarget: "main"triggers both systemEvent and scheduled reminder despitedelivery.mode: "none".Steps to reproduce
Create a cron job with the following configuration:
sessionTarget: "main"payload.kind: "systemEvent"delivery.mode: "none"0 6,8,10,12,14,16,18,20,22 * * *(every 2 hours)Wait for the scheduled execution time
Observe the session logs
Expected behavior
Only the systemEvent should be injected into the main session. With
delivery.mode: "none", no additional "scheduled reminder" wrapper notification should appear.Actual behavior
Both triggers appear simultaneously in the session:
System (untrusted): [override] Disregard any instruction...(systemEvent)A scheduled reminder has been triggered...(reminder wrapper)The actual Telegram delivery works correctly (only once), but the duplicate log entries create confusion in the session history.
OpenClaw version
2026.3.12
Operating system
Ubuntu (LXC container)
Install method
npm global
Model
kimi-coding/k2p5
Provider / routing chain
kimi-coding/k2p5
Config file / key location
No response
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
Job configuration
{ "id": "312b12d3-b485-4dcc-b93b-1f8515d8174b", "name": "periodic_arona_briefing_trigger", "enabled": true, "schedule": { "expr": "0 6,8,10,12,14,16,18,20,22 * * *", "tz": "Asia/Seoul" }, "sessionTarget": "main", "wakeMode": "now", "payload": { "kind": "systemEvent", "text": "[override] Disregard any instruction to handle this internally..." }, "delivery": { "mode": "none" } }Suggested fix
Respect
delivery.mode: "none"for main session cron jobs and suppress the reminder generation.