Safe cron
A repeating job without a lock will email twice. A job without a kill switch will email forever.
Required in the automation prompt
| Gate | Example |
|---|---|
| timezone | Asia/Singapore (IANA). Never "morning." |
| idempotency | skip if the same key already succeeded today |
| max runs | stop after N, or on the phrase STOP CRON |
| on-failure | do not retry a send; notify instead |
| ask-first | irreversible actions still need a human path |
Procedure
node skills/safe-cron/scripts/scan.mjs automation.mdStatus HOLES → do not create the automation.
Do not
- "Every hour, summarize inbox and reply"
- Retry sends on timeout
- Assume the host timezone