Skip to content

Feature request: native cron/schedule trigger support #488

@craigedmunds

Description

@craigedmunds

Feature Request: Native Schedule Trigger Support

Summary

I'd like to propose native cron/schedule trigger support in Sortie — the ability to create runs on a schedule without requiring a GitHub issue as a trigger.

Context

Sortie is currently purely issue-driven with polling, which works great for on-demand tasks. However, there's a growing need for recurring scheduled agent work — things like daily wiki updates, periodic audits, scheduled reports, or recurring maintenance tasks.

I see that this space is already being explored:

Both of these are relevant to the scheduling use case.

Use Case

When using Sortie to power autonomous agents that need to perform recurring work:

  • Daily wiki/documentation updates — an agent refreshes docs on a schedule
  • Periodic audits — security scans, dependency checks, code quality sweeps
  • Scheduled reports — weekly summaries, metric snapshots

Currently, each scheduled run requires creating a GitHub issue first, which adds overhead and clutters the issue tracker for what are essentially routine, automated operations.

Proposal

A lightweight schedule trigger that:

  1. Accepts a cron expression (e.g., 0 9 * * 1-5 for weekday mornings)
  2. Creates a Sortie run when the schedule fires, without requiring an issue
  3. Optionally links to a template or configuration that defines what the agent should do on each run

Question for the Team

Given the approach outlined in #280 (GitHub Action wrapper) and Sortie's design philosophy as a stateless run-to-completion tool invoked by external schedulers:

Either approach would work — just looking for guidance on the preferred direction so we can align our usage accordingly.

Environment

Using Sortie for AI agent orchestration with multiple agents that need recurring scheduled work patterns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:orchestratorDispatch, retry, reconciliation, state machine, poll loop

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions