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
Bug: Squad init in existing project marks all files as new in GIT #1026
changed the title [-]squad init in existing project marks all files as new in GIT[/-][+]Bug: Squad init in existing project marks all files as new in GIT[/+]on Apr 22, 2026
Mac OS Tahoe 26.4.1
VSCode Version: 1.115.0
Model Raptor mini
I thought about why this happened and i think it is because of my folder structure. I have a bit a an unconventional repo. The main folder (which is the root of the repo) has multiple project folders. All these folders have package.json and node_modules. Maybe this caused the error?
I deleted the entire repo and cloned it again. I added squad to a subfolder and did the squad init again. Again all the files that where in my repo are marked as new.
I just tried to reproduce it in an empty folder with the same setup, but it didn't occur this time. The setup is:
The nested run detected the monorepo, put .squad/ under frontend/, put squad.agent.md at the Git root, and did not create frontend/.git. None of the fixture's .tsx, .ts, .cs, project, solution, package, or other application files changed status.
Raw pre/post porcelain status, full binary diffs, name-status output, diff stats, CLI output, and the machine-readable summary are preserved here:
The reported symptom is consistent with the historical behavior tracked in #939: Squad used to run git init inside a repository subfolder. An editor opening that nested repository would then see the subproject's existing outer-repository files as new. PR #944 removed that behavior and added the monorepo regression coverage on April 14, 2026: https://github.com/bradygaster/squad/pull/944. #1026 was reported April 22; the fix reached a public release in v0.9.4 on April 25: https://github.com/bradygaster/squad/releases/tag/v0.9.4.
Closing as already fixed by #944. No product-code change or new PR is warranted from this graduation run.
Activity
[-]squad init in existing project marks all files as new in GIT[/-][+]Bug: Squad init in existing project marks all files as new in GIT[/+]CarlosSardo commentedon Apr 22, 2026
thanks @bpikaar
Can you please share more details about your exisiting setup?
OS, VSCode version, Model used, etc. Thanks!
bpikaar commentedon Apr 22, 2026
Mac OS Tahoe 26.4.1
VSCode Version: 1.115.0
Model Raptor mini
I thought about why this happened and i think it is because of my folder structure. I have a bit a an unconventional repo. The main folder (which is the root of the repo) has multiple project folders. All these folders have package.json and node_modules. Maybe this caused the error?
I deleted the entire repo and cloned it again. I added squad to a subfolder and did the squad init again. Again all the files that where in my repo are marked as new.
I just tried to reproduce it in an empty folder with the same setup, but it didn't occur this time. The setup is:
bradygaster commentedon Aug 26, 2026
Disposition: fixed by #944; not reproducible on current Squad
I ran two clean, disposable reproductions with the validated
bradygaster/AspireAppTemplatefixture at4fe6ccf, using the official Squad v0.13.0 Windows x64 standalone artifact..gitattributes,.gitignoreonlyfrontend/subproject (matches reported nested-project shape)frontend/.gitignoreonlyThe nested run detected the monorepo, put
.squad/underfrontend/, putsquad.agent.mdat the Git root, and did not createfrontend/.git. None of the fixture's.tsx,.ts,.cs, project, solution, package, or other application files changed status.Raw pre/post porcelain status, full binary diffs, name-status output, diff stats, CLI output, and the machine-readable summary are preserved here:
The reported symptom is consistent with the historical behavior tracked in #939: Squad used to run
git initinside a repository subfolder. An editor opening that nested repository would then see the subproject's existing outer-repository files as new. PR #944 removed that behavior and added the monorepo regression coverage on April 14, 2026: https://github.com/bradygaster/squad/pull/944. #1026 was reported April 22; the fix reached a public release in v0.9.4 on April 25: https://github.com/bradygaster/squad/releases/tag/v0.9.4.Closing as already fixed by #944. No product-code change or new PR is warranted from this graduation run.