Title: Suggestion: Generic, provider-agnostic scheduler for Squad · Issue #296 · github/squad · GitHub
Open Graph Title: Suggestion: Generic, provider-agnostic scheduler for Squad · Issue #296 · github/squad
X Title: Suggestion: Generic, provider-agnostic scheduler for Squad · Issue #296 · github/squad
Description: Suggestion: Generic, Provider-Agnostic Scheduler for Squad Hey @bradygaster — wanted to float an idea that came out of real-world Squad usage. The Problem Right now, Squad's scheduled work is scattered across multiple mechanisms: GitHub ...
Open Graph Description: Suggestion: Generic, Provider-Agnostic Scheduler for Squad Hey @bradygaster — wanted to float an idea that came out of real-world Squad usage. The Problem Right now, Squad's scheduled work is scatt...
X Description: Suggestion: Generic, Provider-Agnostic Scheduler for Squad Hey @bradygaster — wanted to float an idea that came out of real-world Squad usage. The Problem Right now, Squad's scheduled work is s...
Opengraph URL: https://github.com/github/squad/issues/296
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: Generic, provider-agnostic scheduler for Squad","articleBody":"## Suggestion: Generic, Provider-Agnostic Scheduler for Squad\n\nHey @bradygaster — wanted to float an idea that came out of real-world Squad usage.\n\n### The Problem\n\nRight now, Squad's scheduled work is scattered across multiple mechanisms:\n- **GitHub Actions cron** (e.g., daily digest, heartbeat workflows)\n- **Local polling scripts** (e.g., ralph-watch.ps1 with hardcoded 5-min intervals)\n- **Manual triggers** (workflow_dispatch for ad-hoc runs)\n\nThere's no unified view of *what Squad is supposed to do regularly*. Schedules are tightly coupled to their infrastructure, making it easy to forget tasks or lose them when switching environments.\n\n### The Proposal\n\nA **Squad Scheduler** with a single `.squad/schedule.json` manifest that declares all recurring work, paired with provider adapters that handle execution:\n\n**Schedule manifest** — declarative JSON defining:\n- Trigger types: `cron`, `interval`, `event`, `startup`, `webhook`\n- Task types: `workflow` (GitHub dispatch), `script` (local shell), `copilot` (agent session), `webhook` (HTTP), `function` (TypeScript)\n- Per-task config: retry policy, timeout, notification channels, tags\n\n**Provider adapters** (plugin architecture):\n- `github-actions` — dispatch workflows via GitHub's scheduler\n- `local-polling` — ralph-watch.ps1 evaluates schedule.json each cycle\n- `windows-scheduler` — OS-level persistence via `New-ScheduledTask`\n- `http-webhook` — external trigger support\n- `copilot-agent` — dispatch Copilot sessions for complex work\n\n**Key features:**\n- Single source of truth for all scheduled tasks\n- Provider fallback chains (e.g., GitHub Actions primary, local polling fallback)\n- Execution history and failure alerting\n- Lock file for de-duplication across concurrent instances\n- Clean migration path from existing ad-hoc schedules\n\n### Example (Minimal MVP)\n\n`json\n{\n \"version\": 1,\n \"schedules\": [\n {\n \"id\": \"ralph-heartbeat\",\n \"name\": \"Ralph Heartbeat\",\n \"enabled\": true,\n \"trigger\": { \"type\": \"interval\", \"intervalSeconds\": 300 },\n \"task\": { \"type\": \"workflow\", \"ref\": \".github/workflows/squad-heartbeat.yml\" },\n \"providers\": [\"local-polling\", \"github-actions\"]\n },\n {\n \"id\": \"daily-digest\",\n \"name\": \"Daily Digest\",\n \"enabled\": true,\n \"trigger\": { \"type\": \"cron\", \"expression\": \"0 8 * * *\" },\n \"task\": { \"type\": \"workflow\", \"ref\": \".github/workflows/squad-daily-digest.yml\" },\n \"providers\": [\"github-actions\"]\n }\n ]\n}\n`\n\nThis came from issue tamirdresher_microsoft/tamresearch1#199. We have a full design doc ready and want to try it locally first, but figured it's worth tracking upstream. Would love your thoughts on whether this fits Squad's direction.\n\ncc @bradygaster","author":{"url":"https://github.com/tamirdresher","@type":"Person","name":"tamirdresher"},"datePublished":"2026-03-09T08:13:34Z","url":"https://github.com/github/squad/issues/296"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b95d44d8-4aec-d9e4-23a0-7363bbe9c163 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCF0:F7C4C:1AB3DEC:23B6D43:6B015FC1 |
| html-safe-nonce | 6febd03d298896304e7468117f30caf25bd42bb42a51b772a051b1498ef90169 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0YwOkY3QzRDOjFBQjNERUM6MjNCNkQ0Mzo2QjAxNUZDMSIsInZpc2l0b3JfaWQiOiIzNTExODU2NjA2NzkzODA5MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b6a00bec8724159bc7b89a16342d33253b6a2cbbf92be7e22b7b618d65df61d9 |
| hovercard-subject-tag | issue:4044071070 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/296/issue_layout |
| twitter:image | https://opengraph.githubassets.com/049a496664ee9a30b882938189d9c09fe0f34cca9ba1b95a94c18da9531676da/github/squad/issues/296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/049a496664ee9a30b882938189d9c09fe0f34cca9ba1b95a94c18da9531676da/github/squad/issues/296 |
| og:image:alt | Suggestion: Generic, Provider-Agnostic Scheduler for Squad Hey @bradygaster — wanted to float an idea that came out of real-world Squad usage. The Problem Right now, Squad's scheduled work is scatt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tamirdresher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width