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
The squad upgrade --migrate-directory command renames .ai-team/ to .squad/ and scrubs email addresses from file content, but it does not replace .ai-team/ path references inside the migrated files themselves.
Example
After running --migrate-directory, .squad/skills/squad-conventions/SKILL.md still contains:
`markdown
File Structure
.ai-team/ — Team state (user-owned, never overwritten by upgrades)
.ai-team-templates/ — Template files copied from templates/
.ai-team/skills/ — Team skills in SKILL.md format
.ai-team/decisions/inbox/ — Drop-box for parallel decision writes
`
The upstream template (templates/skills/squad-conventions/SKILL.md) has already been updated to use .squad/ paths, but the migration command doesn't propagate those content changes to existing user files.
Affected files
Any user-owned file inside .squad/ that contains .ai-team/ string references. The squad-conventions SKILL.md is one example, but decisions.md, history.md files, and log entries may also contain stale references.
Suggested fix
Add a content replacement pass to the --migrate-directory flow (after the rename, alongside the email scrub) that replaces .ai-team/ → .squad/ and .ai-team-templates/ → .squad-templates/ in all .md and .json files within the migrated directory.
Additional context
Also hit EPERM on Windows during the fs.renameSync call (VS Code file watchers holding handles on the directory). A copy+delete fallback for Windows would make the migration more robust.
Fixed in PR #151 (merged to dev). The --migrate-directory flow now includes a content replacement pass after the rename and email scrub — walks all .md and .json files inside .squad/ and replaces .ai-team/ → .squad/ and .ai-team-templates/ → .squad-templates/ in file content. Will ship in the next release.
Activity
fix: replace .ai-team/ references inside migrated file content
fix: replace .ai-team/ references in migrated file content (Fixes #134)
bradygaster commentedon Feb 27, 2026
Fixed in PR #151 (merged to dev). The --migrate-directory flow now includes a content replacement pass after the rename and email scrub — walks all .md and .json files inside .squad/ and replaces .ai-team/ → .squad/ and .ai-team-templates/ → .squad-templates/ in file content. Will ship in the next release.
docs(ai-team): Log issue cleanup session — #134 fix, community respon…
chore: merge dev for v0.5.3 release
Scribe: Process manifest — log 4 agent completions, 6 issues closed, …
feat(notifications): wire coordinator to call notification scripts (g…
fix: address Galadriel review findings for github#134