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

28 lines
1,017 B
Markdown

# Spec 019 — Tasks (execução VM122)
## Fase A — Fundação
- [x] Schema SQLite migration_jobs, mailboxes, runs, gate_checks, credentials
- [x] API CRUD `/api/v1/migration/jobs`
- [x] Preflight runner (IMAP reachability + imapsync check)
- [x] Sync initial/delta/final (runner MVP)
- [x] UI Desk «Migração E-mail» (`email-migration.js`)
- [x] `install-migration-tools.sh` no host VM122
## Fase B — Gate DNS
- [x] `gate.py` — ratio 99%, estados blocked/warning/ready
- [x] `GET /api/v1/migration/gate?domain=`
- [x] `POST approve-gate` com ops_lead
- [x] Integração ticket via job.ticket_id (manual)
## Fase C — PST + verify
- [x] 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