#14677: fix: strengthen CRON_EVENT_PROMPT to ensure agents execute tasks
stale
size: XS
Cluster:
System Prompt Enhancements
## Problem
The existing CRON_EVENT_PROMPT is too passive:
> *A scheduled reminder has been triggered. Please relay this reminder to the user in a helpful and friendly way.*
Agents interpret 'relay' as informational acknowledgment and dismiss cron systemEvent tasks without executing the actual work.
## Fix
Strengthen the prompt to be explicit:
> *A scheduled cron job has fired. The task instructions are in the system messages above. Execute the requested task fully — do NOT reply with HEARTBEAT_OK. Complete the work described, then report the results.*
Matches the assertive tone of EXEC_EVENT_PROMPT which works reliably for exec completions.
## Notes
- The cron detection wiring (reason prefix, peekSystemEvents, empty-heartbeat-file bypass) is already correct on main
- Only the prompt text needs changing — 3 lines
Most Similar PRs
#22351: fix(cron): deduplicate event text in cron heartbeat prompt
by seheepeak · 2026-02-21
73.4%
#20563: fix: skip default HEARTBEAT_OK instructions when custom prompt is set
by clawalpha · 2026-02-19
66.7%
#17221: fix(agents): prevent agents from using exec for gateway management
by CornBrother0x · 2026-02-15
64.6%
#8307: fix(cron): improve tool description with reliable reminder guidance
by vishaltandale00 · 2026-02-03
63.8%
#8097: fix: auto-convert one-shot reminders for reliable delivery
by Gerrald12312 · 2026-02-03
63.7%
#23736: fix(system-prompt): improve prompt cache locality with unique agent ID
by mrx-arafat · 2026-02-22
62.9%
#20521: feat(heartbeat): inject active cron job summary into heartbeat prompt
by maximalmargin · 2026-02-19
62.3%
#15422: fix(auto-reply): keep cron systemEvent payloads that start with 'Re...
by liuxiaopai-ai · 2026-02-13
62.2%
#13068: docs(system-prompt): warn against using exec for gateway restart
by whyuds · 2026-02-10
62.1%
#6522: fix(cron): deliver original message when agent response is heartbea...
by sidmohan0 · 2026-02-01
61.5%