mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 04:31:14 +00:00
* feat(cron): add unattended-run preamble to isolated agent turns Isolated cron and hook agent turns received only the job tag, message, and time line — no operating contract for unattended execution. Runs ended in questions, plans, or bare acknowledgements (the runtime even re-prompts once for interim acks). Append a static per-class preamble: the final reply is the deliverable, HEARTBEAT_OK when idle, plain failure statements. Trusted jobs additionally defer to the job's own instructions on conflict and learn removal-only self-cleanup; external-hook runs get only the common core so fenced webhook content cannot use an override clause or a destructive affordance advertised in the trusted suffix. Free-form job names stay out for the same reason. * feat(cron): teach watcher authoring rules in the cron tool description Trigger-script guidance covered only the return contract. Add the operating rules that keep watchers trustworthy: fire on every actionable state including failures (success-only watchers go silent when broken), dedupe via returned state, keep scripts read-only with actions in the payload, and make the fired message self-contained.