WP Migration Factory¶
Repo: savvydealer-adam/wp-migration-factory · Path: C:/Users/adam/wp-migration-factory · Owner: Adam
Status: Live · % Done: 80 · Last commit: 2026-03-24
Deployed: https://website.savvydealer.ai
What it is¶
Spec-driven website migration factory — ingests WordPress (or any) sites and rebuilds them as lightweight FastAPI + static HTML apps on Cloud Run. Strategy #1: Full migration.
Why it exists¶
Replace slow, expensive WP dealer sites with fast, cheap, SavvyDealer-controlled runtimes without rewriting every site by hand. One dashboard tracks every client migration and domain queue.
How it works¶
- FastAPI dashboard API + React/Vite UI, Supabase (
yjdrcdzstqxtjtzmbjcc) for state - CLI
cli/migrate_cli.pydrives phases: crawl → spec → build → verify → deploy - Per-site runtime:
runtime/<site_id>/app.py(FastAPI + uvicorn, python:3.12-slim) - MCP server at
dashboard/mcp/mcp_server.pybypasses RLS for automation (wp-migrationin mcp.json) - 8-phase SOP documented in
migration_runbook.md
What's done¶
- End-to-end migration pipeline (Phase 0-8) operational
- Dashboard live at website.savvydealer.ai with site CRUD + domain queue
- Reference migrations: Compton & Smith, Brighton Ford, Jarrett Scott Ford
- MCP server exposing list/create/update sites and queue domains
What's next¶
- More client migrations through the factory
- Tighten audit step (validate images with
filefirst, deploy once) - Reduce manual spec authoring
Where the code lives¶
- Dashboard:
dashboard/api/(FastAPI) +dashboard/web/(React) - CLI:
cli/migrate_cli.py - Specs:
spec/site.spec.schema.json+examples/*.site.spec.yaml - Deploy:
dashboard/Dockerfile→ Cloud Runwp-migration-dashboard(GCPsavvydealer-website)
Integrations¶
- Peer strategies: savvy-demo (Strategy #2), savvy-page-builder (Strategy #3)
- Supabase
yjdrcdzstqxtjtzmbjcc - MCP server
wp-migration(in~/.claude/mcp.json)
Don't rebuild this — extend it¶
If you're migrating a whole dealer site off WordPress, use this factory. For single CMS pages use savvy-page-builder; for sales demos use savvy-demo.