Commit graph

31 commits

Author SHA1 Message Date
Ligbox Spec Hub
c815a32bbc feat(desk): Spec 043 Fases 2–6 — activar conta FOSS/OpenPanel/Odoo
Orquestra create_client/order FOSS, bridge OpenPanel com metadata,
upsert res.partner Odoo, mail-bundle wizard e webhook order-activated.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 15:19:54 +00:00
Ligbox Spec Hub
f344931925 feat(desk): Spec 043 Fase 1 — activation preview API e UI
Adiciona mapper de campos, endpoint GET activation-preview, modal
FOSS/OpenPanel/Odoo e canManageBilling para staff activar conta.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 15:06:31 +00:00
Ligbox Spec Hub
aef9864034 feat(desk): promover modern UI v0.12.2 para produção desk.ligbox.com.br
Merge staging validado: topnav por zonas, desk-modern.css, app unificado
(Escopo OPS, blocklist, SSO Console), backup legacy e scripts promote/rollback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 21:29:49 +00:00
Ligbox Spec Hub
a1e4f43dbb chore(desk): processo staging modern UI — topnav + servicos merge (sem prod)
Adiciona index.staging.html, topnav.js, desk-modern.css, app.staging.js,
snapshot VM122, script deploy-staging-only e checklist antes de cutover prod.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 21:20:21 +00:00
Ligbox Spec Hub
c1881f58e6 chore: sync Console SSO, DNS viewer, specs e infra docs pendentes
Inclui console handoff Desk↔Console (Spec 019), melhorias DNS Viewer (037),
OpenPanel/Nextcloud/VM116 deploy notes, contracts stack e sidebar actualizado.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 20:10:17 +00:00
Ligbox Spec Hub
edffd8b3c0 feat(desk): Serviços IaaS perf, Escopo OPS cards e blocklist UI (Spec 017/018)
Cache VM112/VM122 para lista e detalhe domínio, modal purge com loading animado,
cards Escopo OPS clicáveis (camada + Spec + navegação), blocklist visível na UI,
e documentação nas specs e anais de referência 20260625.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 18:53:57 +00:00
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
Ligbox Spec Hub
7e4920a4bb fix(desk): corrigir SyntaxError em app.js que impedia carregar desk
Restaura declaração sourceBadge() quebrada no hotfix de poll — desk ficava
preso em "Carregando…" por falha de boot JavaScript.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 15:48:16 +00:00
Ligbox Spec Hub
1640a93ae1 fix(desk): eliminar flash "Carregando…" no poll global Ligbox Ops
Refresh suave em todas as vistas, Agentic Ops com poll próprio e
patch incremental só quando dados mudam — sem apagar o ecrã a cada 30s.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 15:36:35 +00:00
Ligbox Spec Hub
48b0dc2fe3 fix(desk): parar piscar da página SOC Infra 2 no poll 15s
Refresh suave sem ecrã "Carregando SOC", guard de render concorrente,
flash de linha só em evento novo e event delegation nos controlos.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 13:11:33 +00:00
Ligbox Spec Hub
af58565999 feat(console): v2 home Fase 1 — KPI, saúde, incidentes e rollback
Unifica Overview Desk na home do Console com KPI bar, health cards,
domínios com atenção e strip Agentic; banners de migração no Desk;
documentação e rollback CONSOLE-V2 para VM123.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 12:33:56 +00:00
Ligbox Spec Hub
33ccbcd879 Console: tema claro Wazuh + Tenants fundidos no menu Console.
Substitui fundo escuro por layout branco com cards e barra de alertas; home Console unifica infra tenants e scorecard; Desk esconde menu Tenants e aponta para console.ligbox.com.br.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 11:48:00 +00:00
Ligbox Spec Hub
6c4b063f76 Implement Spec 027 access matrix preview and agent bindings enforcement.
Adds RBAC matrix API/UI behind feature flags, agent×role toggles with audit,
and extends Agentic Ops with streaming chat, Kimi LLM support, and UI updates.
2026-06-20 22:02:03 +00:00
Ligbox Spec Hub
fd491e5859 Implement Spec 030 Agentic Ops Mission Board (UI-A/B/C).
Add agent_incidents dedup, overview/incidents/timeline API, mission board UI with fleet rail, kanban, context panel, mobile tabs, poll and keyboard shortcuts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 06:49:38 +00:00
Ligbox Spec Hub
6daa692af8 Fix Agentic Ops 401 — reuse Desk global api() and session check.
Forward Authorization in nginx; accept Spec 027 roles in JWT decode.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 06:28:42 +00:00
Ligbox Spec Hub
40bb16bbc9 Fix Agentic Ops UI auth — use shared authHeaders/getToken.
Fixes 401 not authenticated on roster/inbox when logged into Desk.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 06:22:36 +00:00
Ligbox Spec Hub
62463aa76f Complete Spec 029 docs and staging frontend proxy for agentic API.
Adds tasks.md, scenarios copy, full API contract, Dockerfile.staging
with nginx proxy to api-staging container on port 8192.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:25:28 +00:00
Ligbox Spec Hub
2a5273201b Name Agentics A0-A7, add inter-agent messaging and operator inbox UI.
Adds catalog with Maestro/Pulso/Trilho etc., agent_threads/messages bus,
inbox and context window API, and complete Desk Agentic Ops panel for
human operators to read, reply, and chat with agents.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:24:48 +00:00
Ligbox Spec Hub
e0959e6fd7 Add Agentic Ops Spec 029: wire API, worker tick, T0/T1, staging stack.
Mounts agents router and schema init, adds VM123 checks, chat copilot,
Desk UI module, isolated docker-compose staging on ports 8180/8192,
and full spec documentation without touching production ports.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:22:33 +00:00
Ligbox Spec Hub
acaacce705 Fix ticket detail next-action box crushed text in narrow panel.
Prevent flex shrink on ASM action buttons; widen tickets grid detail column; style assist panel in tickets-workspace.css.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 22:54:23 +00:00
Ligbox Spec Hub
1c4c460b74 Fix Tickets layout: add isolated tickets-workspace.css (Spec 029).
Ticket cards had no CSS after workspace JS replaced ticket-row; separate stylesheet prevents infra/proc-card deploys from breaking Tickets again.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 22:50:46 +00:00
Ligbox Spec Hub
50085b7d94 Fix stack status 500 (VM112_IP) and rename INFRA COD to INFRA CODE.
Define missing VM112_IP in stack_health probes; update menu and page titles to Infrastructure as Code branding.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 22:43:43 +00:00
Ligbox Spec Hub
3ee63b3018 Add full stack health cards for VMs 112-130 and rename INFRA COD.
New /api/v1/infra/stack/status probes all stack apps/APIs/SW; Infra UI groups proc-cards by VM; wire vm123 router; menu INFRA COD and Serviços IaaS · Infra as Code labels.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 22:41:53 +00:00
Ligbox Spec Hub
68ec7bc901 Standardize Infra process cards with uniform grid and detail modals.
Adopt proc-card pattern (fixed min-height, icons, spec labels, 2-line desc) per UX research; move purge forms and rich content to infra-process-modal; document catalog in Spec 033.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 22:33:29 +00:00
Ligbox Spec Hub
7dfdf5bc43 Restore prominent OpenPanel panel on Infra and add Spec 033.
Promote OpenPanel to a full-width featured panel with VM123 health metrics, add hero chip, and document Infra console UI layout in Spec 033 with cross-ref from Spec 028.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 22:29:29 +00:00
Ligbox Spec Hub
41c0c2d428 Improve Infra page cards with wizard-style ws-panel aqua/teal layout.
Redesign SOC, purge auth, and integration panels; fix servicos-tile-icon CSS typo.
2026-06-19 22:25:17 +00:00
Ligbox Spec Hub
a39618afb8 Add purge authorization codes for protected domains (myvexx.com).
Root generates single-use codes in Infra with root password; Serviços purge requires code plus root password for PURGE_EXTRA_AUTH_DOMAINS.
2026-06-19 22:20:04 +00:00
Ligbox Spec Hub
0ee4845818 Fix purge 500 when SQLite database is locked (Spec 017).
Enable WAL/busy_timeout, retry writes, reject duplicate running jobs with HTTP 409,
use bcrypt directly instead of broken passlib 1.7.4 + bcrypt 4.x, and improve UI errors.
2026-06-19 22:06:06 +00:00
Ligbox Spec Hub
44dad0063c fix: wire TicketsWorkspace.renderPage in app.js (VM122 live) 2026-06-19 19:30:39 +00:00
Ligbox Spec Hub
468e6bd573 Add Spec 029 Tickets Workspace — motor de tickets P0-P2
Rebuilt from Cursor transcript: tickets-workspace.js, tickets-detail-panel.js,
app.js delegation, CSS, desk-live-stub. VM122 deploy pending SSH.
2026-06-19 19:20:23 +00:00
Ligbox Spec Hub
821675ab4a Reorganize monorepo into projects/wizard, ops-desk, finance
Specs stay at repo root (cross-VM). Move deploy and code into logical
projects with README per domain, updated manifest.yaml, and symlinks at
legacy paths for VM122 backward compatibility.
2026-06-19 18:55:03 +00:00