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
squad init: Squad init should not run git init in a sub-folder of a repository (or ever) #939
We use a monorepo.
I've tried to setup squad in the folder that my team works in. squad init detected that we're not at the root, warned about it, and then ran git init in the folder
Expectation:
don't run git init.
Copilot resolves .github/agents/ from the git root, not from here.
The Squad agent won't be visible to copilot in this folder.
→ Running git init to create a repo boundary...
✓ Initialized git repo at /home/<user>/code/<repo-root>/<folder>
Agreed — \git init\ should never run here. Filed PR #944 with a fix: splits file placement (agent file at git root, .squad/ in subfolder), enables multiple squads per monorepo, and adds CWD-first resolution. See the PR for full details.
Update: Workflow placement gap found during E2E testing
PR #944 fixes the core issue (no more git init, split file placement works), but a review found a gap: GitHub Actions workflow files are placed in the subfolder in monorepo mode, where GitHub can't find them.
Options being discussed on the PR:
Skip workflows entirely in monorepo-subfolder mode (multiple squads would conflict anyway)
Place at git root (but which squad's workflows win?)
Merge workflows intelligently (complex)
See PR #944 comment for details. Would appreciate input on the preferred approach.
Activity
nirmitnd commentedon Apr 9, 2026
+1 to this. Even I use monorepo and the
git inittripped me. The documentation also doesn't clearly mention thatgit initwill be run.fix: monorepo subfolder support — never run git init (#939)
tamirdresher commentedon Apr 9, 2026
Agreed — \git init\ should never run here. Filed PR #944 with a fix: splits file placement (agent file at git root, .squad/ in subfolder), enables multiple squads per monorepo, and adds CWD-first resolution. See the PR for full details.
tamirdresher commentedon Apr 9, 2026
Update: Workflow placement gap found during E2E testing
PR #944 fixes the core issue (no more
git init, split file placement works), but a review found a gap: GitHub Actions workflow files are placed in the subfolder in monorepo mode, where GitHub can't find them.Options being discussed on the PR:
See PR #944 comment for details. Would appreciate input on the preferred approach.
fix: skip workflows in monorepo-subfolder mode (#939)
fix: squad init no longer runs git init in subdirectory; az CLI Windo…
fix: squad init no longer runs git init in subdirectory; az CLI Windo…
docs: update GITHUB_ISSUES_FIXED.md with issues github#939 and github…
docs: update GITHUB_ISSUES_FIXED.md with issues github#939 and github…
fix: monorepo subfolder support — never run git init (#939)
fix: skip workflows in monorepo-subfolder mode (#939)
fix: monorepo subfolder support — never run git init (#939)
fix: resolve 31 test failures from monorepo detection (#1005)
fix: squad init no longer runs git init in subdirectory; az CLI Windo…
fix: monorepo subfolder support — never run git init (#939)
fix: resolve 31 test failures from monorepo detection (#1005)
spec(piece-49): self-hosted fold runners and multi-squad host onboarding