Commit graph

49 commits

Author SHA1 Message Date
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
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
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
935ceda4e0 Console: barra de alertas clicável com drill-down no Discover.
Cada contador de severidade liga a /discover?bucket= com agente, regra, domínio e chamado; contagens calculadas a partir dos eventos Wazuh 24h.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 11:55:31 +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
5cf722c0e3 G1: publicar console.ligbox.com.br via Traefik CT114 e VM123.
DNS Cloudflare, routers Traefik, bind LAN 0.0.0.0:8100, rollback e script de validação — Spec 019 F0 mínimo.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 11:14:25 +00:00
Ligbox Spec Hub
f6cf9f8e1c Add Spec 034 Nextcloud integration with VM112 Carbonio mail.
Defines hybrid hot/warm storage to expand tenant mail capacity via Nextcloud Hub on proposed VM116.
2026-06-20 22:07: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
9c443f32a9 Add chat bruto archive for Spec 027 access matrix UI session.
Preserves the full conversation transcript and index for the RBAC matrix preview work on 2026-06-20.
2026-06-20 22:01:22 +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
1e8deb23ec Fix SQLite thread error on parallel Agentic Ops API requests.
Enable check_same_thread=False for FastAPI threadpool compatibility.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-20 06:31:41 +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
92148e5980 Mark Spec 029 phases F/G homologation complete.
Document staging checklist results and production deploy 0.9.7-spec029-agentic.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:47:55 +00:00
Ligbox Spec Hub
d066586023 Serialize agentic ticks and retry SQLite writes under concurrent load.
Redis lock prevents overlapping worker ticks; auth login retries on DB locked.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:36:41 +00:00
Ligbox Spec Hub
33db764c74 Fix agentic tick SQLite locking and health version reporting.
Commit KB chunks per file with retry on locked DB; expose app.version in /api/health.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:30:42 +00:00
Ligbox Spec Hub
bf367a75eb Sync app/permissions.py with Spec 027 RBAC for vm123 and agentic routes.
Fixes ImportError on staging API build (can_access_foss_admin missing).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 23:26:24 +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
2168d432f7 Docs: Spec 032 purge extra-auth codes and cross-refs in 017.
Document Infra authorization codes for protected domains (myvexx.com) and update backlog.
2026-06-19 22:22:14 +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
06d0dcc977 Add chat bruto exports 2026-06-19 (OpenPanel Spec028, Wizard VM112). 2026-06-19 21:17:05 +00:00
Ligbox Spec Hub
45b0914de8 Spec 016: backlog export códigos backup 2FA (Roger).
Agrega opções guardar local, Google Drive, Telegram, WhatsApp e cofre — implementação futura.
2026-06-19 20:11:12 +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
cb07e3bf88 Remove script duplicado da pasta specs 028 2026-06-19 19:29:12 +00:00
Ligbox Spec Hub
a8e3732bda Spec 028: adendo teste confirmação API multidomínio OpenPanel.
Script CLI repetível, documentação CONFIRMACAO-TESTE-API e endpoint Desk test-confirm.
2026-06-19 19:29:07 +00:00
Ligbox Spec Hub
b8fc44554e Update chat index: Spec 029 tickets rebuild status 2026-06-19 19:20:35 +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
6189290ba8 Update chat bruto index: session times + documentation audit
Records session start 18/06 18:15 BRT, gaps for tickets/ASM/live presence.
2026-06-19 19:16:45 +00:00
Ligbox Spec Hub
7a64539b3f Add chat bruto export: Spec Hub CT130 session 2026-06-19
Cursor transcript 59ee9646 — portal, Git Forgejo, projects/ reorg, LAPTOP browse.
2026-06-19 19:12:35 +00:00
Ligbox Spec Hub
db77a67606 Add Spec 028: OpenPanel CE Ligbox re-engineering.
Documenta bypass CE, bridge FOSS :18087, E2E validado e scripts de deploy VM123.
2026-06-19 19:01:06 +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
Ligbox Spec Hub
1c1f5bc86f Add VM inventory docs: VM112, VM122, VM123, VM104, CT130 — portal por VM 2026-06-19 18:12:10 +00:00
Ligbox Spec Hub
283f2dab20 Spec 031: Ligbox Spec Hub portal — Obsidian + Spec Kit access page 2026-06-19 17:48:26 +00:00
Ligbox Spec Hub
5f2ddc293d Add deploy manifest and guard script refs 2026-06-19 17:28:22 +00:00
Ligbox Spec Hub
3a2c64834b Initial import: ligbox-ops-platform + specs + LAPTOP + obsidian merge (CT130)
Source: VM122 /opt + obsidian-infra + LAPTOP
Hub: CT130 spec-hub 10.10.10.130
2026-06-19 17:26:41 +00:00