obsidian-vault/ligbox-ops-platform/specs/019-email-migration-vm122-execution/tasks.md
2026-06-19 17:26:42 +00:00

1,017 B

Spec 019 — Tasks (execução VM122)

Fase A — Fundação

  • Schema SQLite migration_jobs, mailboxes, runs, gate_checks, credentials
  • API CRUD /api/v1/migration/jobs
  • Preflight runner (IMAP reachability + imapsync check)
  • Sync initial/delta/final (runner MVP)
  • UI Desk «Migração E-mail» (email-migration.js)
  • install-migration-tools.sh no host VM122

Fase B — Gate DNS

  • gate.py — ratio 99%, estados blocked/warning/ready
  • GET /api/v1/migration/gate?domain=
  • POST approve-gate com ops_lead
  • Integração ticket via job.ticket_id (manual)

Fase C — PST + verify

  • Verify endpoint + relatório gate
  • Upload PST multipart (futuro)
  • Pipeline readpst → imap-upload (futuro)

Fase D — VM112 hook

  • VM112 consulta gate antes DNS final (API pronta; integração VM112 pendente)

Piloto

  • Job real cPanel/Zimbra → Carbonio (aguarda credenciais piloto Roger)

Deploy: API 0.9.6-spec019-023 · 2026-06-17