ligbox-ops-platform/specs/037-dns-multi-cloudflare-orchestration/tasks.md
Ligbox Spec Hub 1f340ef924 docs(dns): sincronizar Spec 037/035 com deploy V1–V3 e V4 pendente
Actualiza dns-viewer, exec/rollback, fichas VM112/122/123, API Console
proxy, token interno wizard e verify script para evitar drift documental.

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

57 lines
2.1 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 — patches em `deploy/vm112-wizard/*-v4.patch.py` · deploy VM112 pendente
- [ ] RBAC `dns.viewer.read` formalizar Spec 027