Commit d902ac2
fix(squad): start coding-agent sessions for squad:copilot issues; rename go/no-go workflows
The `squad:copilot` label alone never starts a Copilot coding-agent session — an
issue must be assigned to `copilot-swe-agent[bot]` via the agent-assignment API.
That assignment lives in squad-heartbeat.yml (Ralph), but it was gated off:
- .squad/team.md had no `🤖 Coding Agent` entry and no
`<!-- copilot-auto-assign: true -->` marker, so the step returned early.
- The step only assigned issues with zero assignees, but issue-go-yes always
assigns the go:yes maintainer, so every routed issue was skipped.
Fixes:
- team.md: add a Coding Agent section with the auto-assign marker (also makes
issue-labels-sync ensure the `squad:copilot` label exists).
- squad-heartbeat.yml (active + installed template): assign the bot to any open
`squad:copilot` issue that does not already have the agent, as an additional
assignee alongside the human owner.
Also rename the issue go/no-go decision workflows for discoverability:
- issue-nogo.yml -> issue-go-no.yml ("Issue Go: No")
- issue-assign.md -> issue-go-yes.md ("Issue Go: Yes")
- issue-clarify.md -> issue-go-clarify.md ("Issue Go: Clarify")
Display names set via gh-aw frontmatter `name:`; agentic .lock.yml recompiled.
NOTE: requires a COPILOT_ASSIGN_TOKEN repo secret (a PAT that can assign the
coding agent) for the assignment step to succeed.
Refs #194
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 926f2f1 commit d902ac2
8 files changed
Lines changed: 145 additions & 115 deletions
File tree
- .github/workflows
- .squad
- templates/workflows
Lines changed: 52 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 52 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
134 | 141 | | |
135 | 142 | | |
136 | | - | |
137 | | - | |
| 143 | + | |
| 144 | + | |
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
| |||
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
147 | | - | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
29 | 43 | | |
30 | 44 | | |
31 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
138 | 145 | | |
139 | 146 | | |
140 | | - | |
141 | | - | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
151 | | - | |
| 158 | + | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
| |||
0 commit comments