From 07263e20fb8fd0ee5c181903c616916a44c8fbc3 Mon Sep 17 00:00:00 2001 From: Simone Date: Thu, 23 Jul 2026 17:30:45 +0200 Subject: [PATCH] docs(plans): tick W3 in web UI checklist --- plans/web-ui-management-plan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/web-ui-management-plan.md b/plans/web-ui-management-plan.md index 964a5af..7688e04 100644 --- a/plans/web-ui-management-plan.md +++ b/plans/web-ui-management-plan.md @@ -21,7 +21,7 @@ Stato passi (spunta man mano): - [x] **W0** — Scaffolding: extra `[web]` in `pyproject.toml`, dir package `operations/` + `web/`, skeleton test. Nessuna logica. - [x] **W1** — Layer `operations/vms.py`: estrai la logica da `commands/vm.py` in funzioni tipate che ritornano dataclass. Refactor dei comandi CLI per chiamarle. **Comportamento CLI invariato.** (Incluso: seam `VmBackend.list_running()` + fold del fix §2.8 IP-pool leak via `IpSlotPool.reconcile` / `operations.vms.reconcile_ip_leases`.) - [x] **W2** — Layer `operations/cache.py` + `operations/host.py`: stato cache cargo, purge, disco, runner, backup template. Refactor `retention.py` (`monitor.py` lasciato invariato — refactor opzionale; `disk_status`/`runner_status` verranno consumati dalla web app in W4). -- [ ] **W3** — `operations/audit.py`: append-only JSONL + lettura. Config `[web]` in `config.py`. +- [x] **W3** — `operations/audit.py`: append-only JSONL + lettura. Config `[web]` in `config.py`. - [ ] **W4** — App web core: `web/app.py` factory + `commands/web.py` (`ci web serve`). Dashboard **read-only** (VM, cache, disco, runner). Ancora **senza auth**, bind localhost. - [ ] **W5** — Auth: Gitea OIDC (Authlib) + sessione firmata + allowlist utenti. Tutte le route protette. - [ ] **W6** — Azioni mutanti + safety: remove VM, cleanup orfane, purge cache, backup. Confirm gate + CSRF + audit + dry-run. HTMX partials.