ligbox-ops-platform/specs/037-dns-multi-cloudflare-orchestration/tasks.md
Ligbox Spec Hub 038fb8f7ce feat(dns): Spec 037 DNS Viewer — Desk, Console e patches Wizard V4
Entrega read-only de apontamentos DNS (Cloudflare, OpenPanel BIND, público)
no Desk e Console /admin/dominio, com spec, scripts de rollback e patches
VM112 para painel lateral no passo DNS do onboarding (deploy wizard pendente).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 16:36:25 +00:00

57 lines
2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Spec 037 — Tasks (construção)
**Status:** 🏗️ Fases AD fechadas · ver [implementation-phases.md](./implementation-phases.md)
---
## Fase A — VM112 núcleo
- [x] Multi-conta resolve + BYO + provision-zone
- [x] `project_identity.py` monorepo + VM112
- [x] `POST /project/provision-email` VM112 ✅ smoke `proj_001@`
- [x] `GET /project/{domain}` VM112
- [x] UI painel credenciais `proj_*`
- [x] Webhook `ligbox_project_email` (apply + account + project)
- [ ] Tokens ligit + itecnologys (Roger)
- [ ] E2E smoke completo wizard público
## Fase B — Worker orquestrador
- [x] `projects/cloudflare-agents/onboard/` wrangler + DO scaffold
- [x] `OnboardMaestro` estado sessão
- [x] HTTP client VM112
- [x] Deploy Worker — https://ligbox-onboard-agents.ibytera.workers.dev
- [x] Worker → VM112 proj-mail E2E OK
- [ ] Rota `agents.ligbox.com.br` (opcional)
- [ ] Wizard UI teste manual telas (Roger)
- [ ] Feature flag wizard `use_edge_orchestrator`
## Fase C — Multi-agent edge
- [x] DO stubs `ProjMailAgent`, `CfZoneAgent`, `CfHandoffAgent`
- [x] Maestro delegação REST (`/run/proj-mail`, `/run/cf-zone`)
- [ ] WebSocket wizard ↔ edge
- [ ] Inbox Spec 029 handoff ack
## Fase D — Conta CF dedicada
- [ ] Tenant CF Ligbox confirmado
- [x] `provision-client-account` (fallback zona partilhada)
- [x] `handoff-manager` (stub registo)
- [x] `cf_client_accounts/` registry
## Backlog
- [ ] Registradores EPP (Fase E)
- [ ] Routing conta por marca (ligit/itecnologys)
## DNS Viewer (dns-viewer.md)
- [x] V0 Desk CF only — `cloudflare_dns.py` + Overview modal
- [x] Spec rollback + scripts deploy (`deploy/DNS-VIEWER-*.md`, `deploy/scripts/*`)
- [x] V1 `GET /api/v1/dns/viewer/{domain}` — CF + public + planned (deploy VM122 2026-06-25)
- [x] V1b Desk UI unificada (`dns-viewer.js` + Overview/IaaS modal)
- [x] V2 OpenPanel BIND records (`openpanel_dns.py`) — VM122 2026-06-25
- [x] V3 Console `/admin/dominio` consume viewer API — VM123 2026-06-25
- [ ] V4 Wizard painel lateral + diff planned vs actual
- [ ] RBAC `dns.viewer.read` formalizar Spec 027