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: upgrade --migrate-directory exits early, skips the actual upgrade #125
node squad-v050-index.js upgrade --migrate-directory
# Result: .ai-team/ renamed to .squad/, squad.agent.md still at v0.3.0
Expected vs Actual
Expected
Actual
.ai-team/ → .squad/
✅
✅
squad.agent.md updated to v0.5.0
✅
❌ Still v0.3.0
Workflows updated
✅
❌ Not updated
.ai-team-templates/ created
✅
❌ Not created
Version-specific migrations run
✅
❌ Not run
Root Cause
index.js line 1181: process.exit(0) terminates the process after directory migration, before the upgrade logic executes.
Fix
After the migration block completes successfully, fall through to the normal upgrade flow instead of exiting. The isMigrateDirectory flag should trigger the rename as a pre-step, not as an exclusive path.
Impact
Any user upgrading from .ai-team/-based installs (pre-0.5.0) to 0.5.0+ using the documented --migrate-directory flag ends up with a migrated directory structure but stale Squad files. The help text implies the flag works alongside upgrade, not instead of it.
Found by: Diagnostic run on SqncR — investigation triggered by reported 0.5.0 issues.
Fixed in v0.5.2. Removed \process.exit(0)\ from the \isMigrateDirectory\ block so that --migrate-directory\ now renames the directory as a pre-step and then falls through to the full upgrade flow (squad.agent.md, workflows, .ai-team-templates, migrations). Validated against bradygaster/SqncR.
Activity
chore: log 0.5.0 investigation session — bugs #124 #125 #126
fix: upgrade --migrate-directory now completes full upgrade (v0.5.2)
fix: upgrade --migrate-directory now completes full upgrade (v0.5.2)
fix: upgrade --migrate-directory now completes full upgrade (v0.5.2)
bradygaster commentedon Feb 20, 2026
Fixed in v0.5.2. Removed \process.exit(0)\ from the \isMigrateDirectory\ block so that --migrate-directory\ now renames the directory as a pre-step and then falls through to the full upgrade flow (squad.agent.md, workflows, .ai-team-templates, migrations). Validated against bradygaster/SqncR.
feat(notifications): failure recovery integration (github#116) (githu…
diberry commentedon Mar 31, 2026
🔄 Ralph status update: PR #725 has team review, CI green except changelog-gate. Labeled \squad:pr-reviewed. Awaiting Dina review.
fix(cli): auto-update config version during upgrade
fix(cli): auto-update config version during upgrade
fix(cli): auto-update config version during upgrade