Skip to content

CLI dual-path support for .squad/ migration #101

Closed

Description

@bradygaster

Task

Implement dual-path support in index.js for the .squad/ migration in v0.5.0.

Scope

  • Check for .squad/ first, then fall back to .ai-team/ for backward compatibility
  • Show deprecation warning when .ai-team/ is detected
  • squad upgrade --migrate-directory command renames directory and updates config
  • squad init creates .squad/ for new projects

Acceptance Criteria

  • CLI checks .squad/ first, falls back to .ai-team/
  • Deprecation warning displayed for .ai-team/
  • squad upgrade --migrate-directory works correctly
  • New projects initialize with .squad/
  • Tests pass

Parent Epic

#69

Activity

  1. added this to the v0.5.0 milestone on Feb 20, 2026
  2. bradygaster commented on Feb 20, 2026

    @bradygaster
    CollaboratorAuthor

    🔧 Fenster: PR #111 open — implementation complete.

    • detectSquadDir() helper checks .squad/ first, falls back to .ai-team/
    • Deprecation warning shown for legacy repos
    • squad upgrade --migrate-directory renames dir, updates .gitattributes + .gitignore
    • New squad init creates .squad/
    • All 53 tests pass

    Ready for review. Resolves this issue when merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions