Skip to content

Automation — Migration Generator (Skill #2) + Doctor (Skill #5) #82

@diberry

Description

@diberry

Parent Issue

#79

Objective

Implement automation skills for manifest evolution and validation: manifest-evolution-planner for auto-generating migration steps and manifest-doctor for validating/repairing Squad layout.

Description

Implement two automation skills: (1) manifest-evolution-planner that auto-generates migration steps from manifest version diffs, and (2) manifest-doctor that validates Squad layout against manifest and offers repair options.

Scope

  • Implement manifest-evolution-planner skill
  • Implement manifest-doctor skill
  • Auto-generate migration steps from manifest v(N) vs v(N+1) diffs
  • Validate Squad directory structure against manifest
  • Offer automated repair suggestions
  • Implement dry-run mode
  • Implement post-migration validation
  • Document rollback instructions

Acceptance Criteria

  • manifest-evolution-planner skill implemented with >90% code coverage
  • manifest-doctor skill implemented with >90% code coverage
  • Migration step auto-generation works for common version transitions
  • Dry-run mode prevents accidental changes
  • Post-migration validation confirms correct structure
  • Rollback instructions generated and tested
  • \squad doctor\ command validates and repairs layout correctly
  • All integration tests pass
  • E2E test covering full migration workflow passes

Files Likely Touched

  • skills/manifest-evolution-planner/ (new)
  • skills/manifest-doctor/ (new)
  • src/cli-doctor.ts (new or modify)
  • test/manifest-evolution-planner.test.ts (new)
  • test/manifest-doctor.test.ts (new)
  • test/e2e-migration.test.ts (new)

Dependencies

  • Depends on: Sub-issue 1 (Foundation — Manifest Schema + Path Resolver)
  • Depends on: Sub-issue 2 (Code Migration — Audit Skill + Runtime Integration)

Metadata

Metadata

Assignees

No one assigned

    Labels

    go:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:boosterAssigned to Booster (CI/CD Engineer)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions