Repository navigation
feat(gh-aw): automate Squad bootstrap - #2041
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
bradygaster
changed the base branch from
bradygaster-fix-gh-aw-bootstrap
to
dev
September 14, 2026 19:36
Contributor
🛫 PR Readiness Check
PR Scope: 🔧 Infrastructure
|
| Status | Check | Details |
|---|---|---|
| ❌ | Single commit | 3 commits — consider squashing before review |
| ✅ | Not in draft | Ready for review |
| ✅ | Branch up to date | Up to date with dev |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | Changeset file found |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | No merge conflicts |
| ✅ | Copilot threads resolved | No Copilot review threads |
| ✅ | CI passing | All checks passing |
Files Changed (20 files, +1632 −131)
| File | +/− |
|---|---|
.changeset/automatic-squad-bootstrap.md |
+8 −0 |
.github/agents.md |
+7 −4 |
.github/workflows/squad-ci.yml |
+20 −4 |
.squad-templates/skills/gh-aw-enlistment/SKILL.md |
+28 −21 |
README.md |
+3 −2 |
docs/src/content/docs/guide/gh-aw.md |
+42 −27 |
packages/squad-cli/templates/skills/gh-aw-enlistment/SKILL.md |
+28 −21 |
packages/squad-sdk/templates/skills/gh-aw-enlistment/SKILL.md |
+28 −21 |
templates/skills/gh-aw-enlistment/SKILL.md |
+28 −21 |
test/gh-aw-bootstrap-workflow.test.ts |
+458 −0 |
test/gh-aw-command-parse.test.ts |
+35 −0 |
test/gh-aw-enlistment-skill.test.ts |
+8 −4 |
test/gh-aw-implement-workflow.test.ts |
+1 −0 |
test/gh-aw-quality.test.ts |
+4 −1 |
test/gh-aw-review-workflow.test.ts |
+6 −2 |
test/gh-aw-security-scan.test.ts |
+3 −2 |
workflows/shared/squad-bootstrap-validator.mjs |
+378 −0 |
workflows/shared/squad.md |
+2 −1 |
workflows/squad-bootstrap.md |
+539 −0 |
workflows/squad.md |
+6 −0 |
Total: +1632 −131
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
This was referenced Sep 14, 2026
jplummer01
pushed a commit
to jplummer01/squad
that referenced
this pull request
Sep 17, 2026
Follow-up to github#2041 and github#2043 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This was referenced Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the dedicated seventh Agentic Workflow that automatically bootstraps Squad after the installation workflow lands on the default branch.
[Research Proposals] Agent-discovered repo opportunitiesissue/squadissue commentsDependency and landing order
#2040 supplied the dispatcher security gate and current workflow source required by this feature. It merged into
devfirst at5521c46d. This PR was then restacked non-destructively by merging updateddev, and now targetsdevdirectly. The final diff contains only the automatic bootstrap feature.Security and output design
The analysis job has read-only repository permissions plus
copilot-requests: write. GitHub mutations are isolated to the typed materializer. Repository content is treated only as untrusted evidence: branch, titles, allowed Cast paths, output shape, commands, and deduplication keys are fixed and validator-enforced.The issue and PR come from the same payload. The writer creates or resolves
squad/bootstrap-cast, obtains the real deterministic PR URL, replaces{{CAST_PR_URL}}, validates again in resolved-link mode, and only then creates or repairs the issue. Closed-unmerged PRs are treated as human opt-out; duplicate or ambiguous states fail closed.Validation
npm run lint: passednpm run build: passedgh aw compile --strict --approve: seven workflows compiledgh aw compile --strict: seven workflows compiled; only the existing dispatcher slash-command/bot warning remainsubuntu-slim,copilot-requests, and concurrencyqueue)dev: all applicable checks passed, including fulltest, docs quality, policy gates, strict compile, SDK exports, samples, changeset drift, readiness, and prompt-size checksDemo
[squad] Cast your SquadPR and the linked research-proposals issue./squad research ...commands, then/squad triage,/squad plan, and/squad activate.