--- id: CORE-WP-0005 type: workplan title: "Migrate Inter-Hub data and cut over production" domain: infotech repo: core-hub status: active owner: codex topic_slug: custodian created: "2026-06-27" updated: "2026-06-27" state_hub_workstream_id: "a36efc08-5906-40c7-b1de-f3a553ffea02" --- # Migrate Inter-Hub data and cut over production Move production framework responsibility from Haskell Inter-Hub to Core Hub only after compatibility evidence exists. ## Design Migration Path ```task id: CORE-WP-0005-T01 status: wait priority: high state_hub_task_id: "01909b75-2229-41e2-a61a-c4c9ef84c232" ``` Define export/import flow, migration batches, row-count checks, relationship checks, and rollback. Waits on CORE-WP-0002 and CORE-WP-0003. ## Run Staging Import ```task id: CORE-WP-0005-T02 status: wait priority: high state_hub_task_id: "e0ea0928-a3ea-4ece-bbb7-ee08f8a3279b" ``` Import production-safe or full approved Inter-Hub data into Core Hub staging. Record counts and discrepancies. ## Dual-Run Smokes ```task id: CORE-WP-0005-T03 status: wait priority: high state_hub_task_id: "9166afe8-27ef-4345-a7b1-c33f15c90673" ``` Run public and protected smokes against both Inter-Hub and Core Hub. Record compatibility deltas. ## Production Cutover ```task id: CORE-WP-0005-T04 status: wait priority: high state_hub_task_id: "fa68858a-b18e-4f09-a477-6b11e54099d4" ``` With operator approval, switch production traffic such as `hub.coulomb.social` to Core Hub. Keep rollback available until stabilization passes.