Specs / Migration Checklist (Individual Repos → Monorepo)

Migration Checklist (Individual Repos → Monorepo)

Use this checklist for each legacy repository you migrate into the TiltCheck monorepo.

Migration Checklist (Individual Repos → Monorepo)

Use this checklist for each legacy repository you migrate into the TiltCheck monorepo.

1. Pre-Migration Assessment

2. Code Quality Gate

3. Mapping to Monorepo Structure

Legacy → Monorepo:


/src/types      → packages/types (merge & dedupe)
/src/events     → services/event-router (convert to publish/subscribe calls)
/src/lib        → modules/<module-name>/src/lib
/.env.example   → apps/discord-bot/.env.example (if shared) or module README
/tests          → <module>/tests (Vitest)

4. Extraction Steps

5. Refactor Pass

6. Testing Setup

7. Documentation

8. Validation

9. Cleanup

10. Post-Migration Observability

11. Post-Migration Validation (Required)

---

Principles: