# ShiftForge

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Anup Kumar](https://cerebralvalley.ai/u/AiAk)
- **GitHub:** https://github.com/Anup7870/migration-pilot.git
- **Demo video:** https://youtu.be/wVwt5yW1Sv0
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2148

MigrationPilot is an autonomous cross-framework codebase migration prototype built for the Meta AI Hackathon that converts entire software repositories across stacks with deterministic compiler verification and self-healing.

Migrating legacy codebases manually takes weeks, incurs significant engineering costs, and introduces subtle runtime bugs. While generative AI models can write isolated code snippets, they consistently fail at repository scale—breaking relative import trees, hallucinating APIs, and delivering code without verifying whether it compiles.

MigrationPilot solves this through an automated, closed-loop pipeline powered by Meta Muse AI. First, it ingests the repository and extracts project-wide AST relationships, component hierarchies, and import contracts. Next, Meta Muse AI batch-translates components across target framework conventions while automatically rewriting relative import paths. To ensure code validity, the system executes target toolchain checks (tsc --noEmit) inside an isolated sandbox environment. When diagnostic errors are detected, MigrationPilot routes the exact compiler feedback back to the model in an autonomous self-healing loop, patching failing files iteratively until the project passes cleanly with zero errors.

The reference prototype demonstrates this architecture by converting legacy React JavaScript (.jsx) repositories into strictly typed TypeScript (.tsx) codebases, streaming live pipeline updates over Server-Sent Events (SSE) and providing side-by-side Monaco diff reviews alongside an exportable, build-ready .zip archive.

## More from Meta Global AI Developer Hackathon

- [MK MetaForge](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2145)
- [Munshi](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2146)
- [Grey Team](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2147)
- [FixLens Intelligence](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2149)
- [Anurag squad](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2150)
- [MooseCart](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2151)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/2148. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
