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 04a5c23
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/demo-agentic-sdlc-walkthrough.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
@@ -33,7 +33,7 @@ Merge the PR to activate your team. Run `/squad status` afterward to verify.
33
33
34
34
**Screen shows:** The PR merges. The casting issue remains open until the user closes it.
35
35
36
-
**Key point:**Casting is a one-time setup action — it gets its own issue that the user closes after merge. Your actual work intent goes in a separate issue that stays open throughout the SDLC lifecycle.
36
+
**Key point:**This two-issue setup — a dedicated Cast issue followed by a separate work issue — is a deliberate **presenter variant** that makes each stage explicit. In everyday use you don't need to pre-cast: if you run a work command such as `/squad research` on a repo with no committed team, Squad auto-Casts on that same issue, pauses the original command, and tells you to merge the Cast PR and rerun. Either path works; the demo uses the explicit variant so each step is visible on screen.
Copy file name to clipboardExpand all lines: docs/src/content/docs/guide/gh-aw.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,8 @@ Squad performs a deep analysis of your repository in context of the issue, then
427
427
posts structured findings as a comment. This is the discovery phase — no issues
428
428
or PRs are created.
429
429
430
+
> **No team yet?** If you run `/squad research` (or any other work command) on a repo with no committed team, Squad automatically opens a Cast PR on the same issue, pauses your command for that run, and posts instructions to merge the Cast PR and rerun the original command. You don't need to pre-cast on a separate issue — Squad handles it inline.
431
+
430
432
The research comment includes:
431
433
-**Current state** — architecture, patterns, dependency versions, code health
432
434
-**Gap analysis** — what's missing or incomplete relative to the issue/goal
-`{canonical_mode}` — the parsed mode enum (e.g., `research`, `plan`, `plan-activate`); if the mode cannot be determined, substitute the literal string `squad` in prose
223
+
-`{canonical_command}` — reconstructed user-safe command: `/squad {canonical_mode}` with optional `phase {N}` suffix; if `{canonical_mode}` cannot be determined, use `/squad` as the safe fallback
224
224
-`{phase_n}` — numeric phase if present; omit the field otherwise
225
225
226
226
**Universal response invariant:** current state · result · one primary next action · recovery on ⚠️/🔴.
@@ -249,13 +249,13 @@ gh pr list --state open --json number,url,headRefName --jq '[.[] | select(.headR
249
249
- The Cast PR body may reference the originating issue and canonical command in plain language, but MUST NOT contain `Fixes`, `Closes`, or `Resolves` closing keywords for the originating work issue.
250
250
- Then `add-comment`:
251
251
```
252
-
🤖 Squad is assembling your team.
252
+
🤖 Your `{canonical_mode}` command found no team yet — Squad has automatically opened a Cast PR to assemble one.
253
253
254
254
**Current state:** No team detected — Squad auto-pivoted to Cast.
255
-
**Result:** A Cast PR has been opened. Check the **Pull Requests** tab to find and review it.
255
+
**Result:** A Cast PR has been opened. Your `{canonical_mode}` command is paused this run — resume it after merging.
256
256
**Next action:** Merge the Cast PR, then return to this issue and rerun: `{canonical_command}`
257
257
258
-
⚠️ The PR link is not available in this comment — find it in the **Pull Requests** tab.
258
+
⚠️ A direct Cast PR link is not available in this comment. Find it in the **Pull Requests** tab.
259
259
```
260
260
- A closed or failed Cast PR is not durable team state. A later rerun with no committed roster and no open Cast PR MUST attempt Cast again.
261
261
- Stop. Do not run the original command this run.
@@ -353,7 +353,7 @@ Create `meet-the-squad.md` at repo root with: title, universe name, team table (
353
353
354
354
##### Step 6: Open PR
355
355
356
-
`create-pull-request`: branch `squad/cast-{repo}`, title `[squad] Cast your Squad — {description}`, body with team summary. Files: `.squad/`, `.github/agents/squad.agent.md`, `meet-the-squad.md`. Stage only these.
356
+
`create-pull-request`: branch `squad/cast-{repo}`, title `[squad] Cast your Squad — {description}`, body with team summary. Append to the PR body: "After merging, return to the originating issue and rerun `{canonical_command}` to resume your work." Files: `.squad/`, `.github/agents/squad.agent.md`, `meet-the-squad.md`. Stage only these.
0 commit comments