You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a3a5ca4
Browse filesBrowse the repository at this point in the historyBrowse files
docs: remove all cron references from documentation
Cron is permanently disabled in Squad. Updated all docs to reflect
event-based triggers and squad watch for periodic polling.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The heartbeat workflow (`squad-heartbeat.yml`) is installed during `init` or `upgrade`. It runs every 30 minutes by default, on issue close, on PR merge, and on manual dispatch. Edit the cron schedule in `.github/workflows/squad-heartbeat.yml` to fit your cadence.
132
+
The heartbeat workflow (`squad-heartbeat.yml`) is installed during `init` or `upgrade`. It runs on issue close, PR merge, and manual dispatch. Edit the workflow in `.github/workflows/squad-heartbeat.yml` to customize triggers. For periodic polling without events, use `squad watch` locally.
133
133
134
134
**PAT requirement:** Ralph needs `gh` CLI authenticated with a Classic PAT (scopes: `repo` and `project`). The default `GITHUB_TOKEN` doesn't have sufficient scopes.
Copy file name to clipboardExpand all lines: docs/src/content/docs/features/ralph.md
+7-19Lines changed: 7 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,14 +96,14 @@ When you're in a Copilot session, Ralph self-chains the coordinator's work loop:
96
96
97
97
### Between Sessions (GitHub Actions Heartbeat)
98
98
99
-
When no one is at the keyboard, the `squad-heartbeat.yml` workflow runs on a cron schedule (every 30 minutes by default). It:
99
+
When no one is at the keyboard, the `squad-heartbeat.yml` workflow runs on event-based triggers (issue close, PR merge, manual dispatch). It:
100
100
101
101
- Finds untriaged `squad`-labeled issues
102
102
- Auto-triages based on your routing.md — matching issues to the right agent by work type and module ownership
103
103
- Assigns `squad:{member}` labels
104
104
- For `@copilot` (if enabled with auto-assign): assigns `copilot-swe-agent[bot]` so the coding agent picks up work autonomously
105
105
106
-
This creates a fully autonomous loop for `@copilot` — heartbeat triages → assigns → agent works → issue closed → heartbeat finds next issue → repeat.
106
+
This creates a fully autonomous loop for `@copilot` — heartbeat triages → assigns → agent works → issue closed → heartbeat finds next issue → repeat. For continuous periodic monitoring, use `squad watch` locally.
107
107
108
108
### Work-in-Progress Monitoring
109
109
@@ -147,11 +147,10 @@ Ralph monitors work at three different layers, each with different wake-up trigg
- Scheduled cron triggers (default every 30 min) → Ralph checks GitHub
150
+
**Cloud Heartbeat (GitHub Actions events):**
151
+
- Issue close event → Ralph checks for next item
152
+
- PR merge event → Ralph checks for next item
152
153
- Manual dispatch via GitHub Actions UI → Ralph checks GitHub
153
-
- Issue closed event → Ralph checks for next item
154
-
- PR merged event → Ralph checks for next item
155
154
156
155
In all three layers, when Ralph wakes up, he scans the board, triages any untriaged items using routing.md, dispatches work to the right agent, watches in-flight items for progress, and reports results.
157
156
@@ -211,7 +210,7 @@ This runs as a standalone local process (not inside Copilot) that:
211
210
|-------|------|-----|
212
211
|**In-session**| You're at the keyboard | "Ralph, go" — active loop while work exists |
213
212
|**Local watchdog**| You're away but machine is on |`squad watch --interval 10`|
Copy file name to clipboardExpand all lines: docs/src/content/docs/scenarios/ci-cd-integration.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,22 +14,24 @@ Ralph runs periodically via GitHub Actions to handle housekeeping between Copilo
14
14
15
15
## 1. The Heartbeat Workflow — Ralph Between Sessions
16
16
17
-
Ralph (the manager agent) runs via GitHub Actions on a schedule:
17
+
Ralph (the manager agent) runs via GitHub Actions on event-based triggers:
18
18
19
19
- Triage new issues
20
20
- Apply squad labels based on routing rules
21
21
- Check for stale branches
22
22
- Archive old decisions
23
23
24
-
The workflow is in `.github/workflows/squad-heartbeat.yml` and runs every 6 hours.
24
+
The workflow is in `.github/workflows/squad-heartbeat.yml` and runs on issue close, PR merge, and manual dispatch (or via `squad watch` for local polling).
25
25
26
26
**You don't have to do anything** — it's installed automatically (along with 9 other workflows) when you run `squad`.
27
27
28
28
```yaml
29
29
name: Ralph Heartbeat
30
30
on:
31
-
# schedule:
32
-
# - cron: '0 */6 * * *' # Every 6 hours
31
+
issues:
32
+
types: [closed]
33
+
pull_request:
34
+
types: [closed]
33
35
workflow_dispatch:
34
36
35
37
jobs:
@@ -41,7 +43,7 @@ jobs:
41
43
run: squad heartbeat
42
44
```
43
45
44
-
> ⚡ **Cron is commented out by default.** The heartbeat schedule is disabled when Squad installs the workflow — it only runs via manual `workflow_dispatch` until you uncomment the `schedule` block. Be aware: enabling scheduled heartbeats will consume GitHub Actions minutes on every run. A 6-hour cron burns ~120 runs/month. Adjust the frequency to match your budget, or leave it manual and trigger heartbeats from the CLI with `squad heartbeat`.
46
+
> ⚡ **Cron is permanently disabled.** Scheduled cron jobs are no longer supported in GitHub Actions to reduce costs. The heartbeat workflow runs on event-based triggers: when issues are closed, PRs are merged, or you manually trigger via `workflow_dispatch`. For periodic polling without events, use `squad watch` in a separate terminal (local, no GitHub Actions cost).
45
47
46
48
Ralph reads `.squad/routing.md`, looks at open issues, and applies labels:
Copy file name to clipboardExpand all lines: docs/src/content/docs/tips-and-tricks.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,7 +254,7 @@ When you see this, you can:
254
254
255
255
### 4. Use Ralph Between Sessions
256
256
257
-
The `squad-heartbeat` workflow runs every 30 minutes (or on your schedule).
257
+
The `squad-heartbeat` workflow runs Ralph on event-based triggers (issue close, PR merge, manual dispatch). For persistent polling when you're away from the keyboard, use `squad watch` locally.
0 commit comments