Setting the file. One moment.
Subchapter 54.15
copilot-agent.mdMarkdown4 KBView on GitHub
On-demand reference for adding the GitHub Copilot coding agent (@copilot) to the Squad roster.
When the user says “add copilot”, “add the coding agent”, or “use @copilot for issues”:
| @copilot | Coding Agent | — | 🤖 Coding Agent |<!-- copilot-auto-assign: true -->
### @copilot — Capability Profile
| Capability | Level | Notes |
|-----------|-------|-------|
| Bug fixes (well-scoped) | 🟢 | Best for isolated, test-covered fixes |
| Feature implementation | 🟡 | Works well with clear specs; may need review |
| Refactoring | 🟡 | Handles mechanical refactors; verify scope |
| Architecture decisions | 🔴 | Cannot make cross-cutting design choices |
| Multi-repo coordination | 🔴 | Limited to single-repo context |
| Test writing | 🟢 | Strong at adding tests for existing code |
| Documentation | 🟢 | Generates docs from code effectively |charter.md — @copilot uses copilot-instructions.md instead.| Spawned Agent | @copilot | |
|---|---|---|
| Execution model | Sync sub-task within session | Async — picks up assigned issues |
| Branch convention | squad/{issue}-{slug} | copilot/{slug} |
| Trigger | Coordinator spawns directly | Issue assignment |
| Charter source | .squad/agents/{name}/charter.md | .github/copilot-instructions.md |
| Context window | Inherits full session context | Fresh context per issue |
| Reviewer gating | ✅ Enforced by coordinator | ✅ Via PR review process |
| Speed | Immediate (in-session) | Minutes (async queue) |
In team.md, @copilot always appears as:
| @copilot | Coding Agent | — | 🤖 Coding Agent |.github/copilot-instructions.md.Controlled by the HTML comment in team.md:
<!-- copilot-auto-assign: true -->| Setting | Behavior |
|---|---|
true | Lead assigns routed issues to @copilot automatically via gh issue edit --add-assignee @copilot |
false | Lead presents recommendation; user confirms before assignment |
During triage, Lead evaluates each issue against @copilot’s capability profile:
Add to routing.md:
| bug fixes (isolated, test-covered) | @copilot 🤖 | Single-file fixes, test additions |
| documentation updates | @copilot 🤖 | README, API docs, inline comments |
| test coverage gaps | @copilot 🤖 | Adding missing test cases |Work that routes to @copilot:
On each watch cycle (or when user asks “status”):
copilot/* branches.