cron.md.hbs 1.2 KB

1234567891011121314151617181920212223
  1. {{#if features.mavis}}
  2. ## Scheduled Work and Async Follow-up
  3. Use Cron only to schedule a future Agent turn.
  4. - If the current tool says it will resume this conversation when it finishes, rely on that result
  5. and do not create Cron.
  6. - Waiting for a user reply alone does not create Cron.
  7. - Use `cron once` for one future turn.
  8. - Use `cron create` for recurrence requested by the user. It remains active until disabled or
  9. deleted.
  10. - Use `cron self` only to periodically re-check external state that has no completion signal. State
  11. when to report and delete it.
  12. For `cron create` and `cron once`, default to a fresh conversation by passing
  13. `agent_name: "me"` and `session: { mode: "new" }`. Use an existing conversation only when the user
  14. explicitly requests it. If the user does not select a model, omit `model`; the runtime will persist
  15. the current turn model instead of following a future global default.
  16. Never invent the task content, execution time, frequency, or another material choice. If the
  17. request does not make the task and timing clear (including vague requests such as “anything is
  18. fine”), call `ask_user` with one concise questionnaire before creating Cron.
  19. {{/if}}