diff --git a/.planning/REQUIREMENTS.md b/.planning/REQUIREMENTS.md index 5735856..06eb14d 100644 --- a/.planning/REQUIREMENTS.md +++ b/.planning/REQUIREMENTS.md @@ -15,7 +15,7 @@ v2.0 (Phases 7–10) ha consegnato catalogo unificato, offerte con fasi, prevent | OFFER-10 | L'utente filtra/cerca servizi e offerte istantaneamente (ricerca client-side, nessun reload) | Complete | | OFFER-11 | L'utente compone un'offerta trascinando servizi dal catalogo (`@dnd-kit`), con totale live aggiornato durante il drag | Pending | | OFFER-12 | L'utente importa un CSV one-shot per popolare servizi/offerte esistenti (solo seed iniziale, non sync continuo) | Pending | -| OFFER-13 | I dati legacy di `service_catalog` e `offer_services` sono consolidati in `services` senza perdita (migration additiva) | Pending | +| OFFER-13 | I dati legacy di `service_catalog` e `offer_services` sono consolidati in `services` senza perdita (migration additiva) | Complete | ## Workspace Progetto — Servizi Attivi (v1) @@ -90,7 +90,7 @@ Popolata dal roadmapper durante la creazione della roadmap. | OFFER-08 | Phase 11 | Complete | | OFFER-09 | Phase 11 | Complete | | OFFER-10 | Phase 11 | Complete | -| OFFER-13 | Phase 11 | Pending | +| OFFER-13 | Phase 11 | Complete | | OFFER-11 | Phase 12 | Pending | | OFFER-12 | Phase 12 | Pending | | PROJ-06 | Phase 13 | Pending | diff --git a/.planning/STATE.md b/.planning/STATE.md index 9408955..c07a0bd 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -2,13 +2,13 @@ gsd_state_version: 1.0 milestone: v2.1 milestone_name: milestone -status: executing -stopped_at: "11-04: ServiceTable rewritten as database-view (inline edit, tags, quick-add, active/inactive split) + CatalogSearch added — Phase 11 plans 1-4 all executed" -last_updated: "2026-06-13T14:02:06Z" +status: verifying +stopped_at: "11-04: ServiceTable rewritten as database-view (inline edit, tags, quick-add, active/inactive split) + CatalogSearch added — Phase 11 plans 1-4 all executed, code-complete" +last_updated: "2026-06-13T18:31:02.274Z" last_activity: 2026-06-13 progress: total_phases: 11 - completed_phases: 8 + completed_phases: 9 total_plans: 37 completed_plans: 34 percent: 92 @@ -26,8 +26,8 @@ See: .planning/PROJECT.md (updated 2026-06-13) ## Current Position -Phase: 11 (catalog-database-view-ux-legacy-consolidation) — ALL PLANS EXECUTED -Plan: 4 of 4 (complete) +Phase: 11 +Plan: Not started Status: Phase 11 code-complete; pending live-DB migration apply before OFFER-13/end-to-end verification Last activity: 2026-06-13 @@ -37,7 +37,7 @@ Progress: [█████████▒] 92% **Velocity:** -- Total plans completed: 0 (v2.1) +- Total plans completed: 4 (v2.1) - Average duration: — - Total execution time: — @@ -46,6 +46,7 @@ Progress: [█████████▒] 92% | Phase | Plans | Total | Avg/Plan | |-------|-------|-------|----------| | Phase 11 P01 | 25min | 2 tasks | 6 files | +| 11 | 4 | - | - | **Recent Trend:** diff --git a/.planning/phases/11-catalog-database-view-ux-legacy-consolidation/11-VERIFICATION.md b/.planning/phases/11-catalog-database-view-ux-legacy-consolidation/11-VERIFICATION.md index 20c1780..70affb1 100644 --- a/.planning/phases/11-catalog-database-view-ux-legacy-consolidation/11-VERIFICATION.md +++ b/.planning/phases/11-catalog-database-view-ux-legacy-consolidation/11-VERIFICATION.md @@ -1,15 +1,29 @@ --- -status: human_needed +status: passed phase: 11-catalog-database-view-ux-legacy-consolidation verified: 2026-06-13 verifier: orchestrator-inline -reason: verifier-agent socket failure; code verified directly by orchestrator. DB-data must_haves blocked by firewall (user-owned manual migration). -requirements_code_verified: [OFFER-07, OFFER-08, OFFER-09, OFFER-10] -requirements_pending_db: [OFFER-13] +reason: code verified directly by orchestrator; DB migration applied via SSH tunnel and both validators returned ALL CHECKS PASSED. +requirements_verified: [OFFER-07, OFFER-08, OFFER-09, OFFER-10, OFFER-13] --- # Phase 11 Verification — Catalog Database-View UX & Legacy Consolidation +## DB migration — APPLIED ✓ (2026-06-13, via SSH tunnel to Coolify Postgres) + +The additive migration + consolidation scripts were run against the live DB +(`178.104.27.55:54321`, confirmed production by the user) through an SSH tunnel. +Results: +- `tags` table created (`CREATE TABLE IF NOT EXISTS` + 2 indexes) +- `service_catalog` → `services`: 1 row consolidated (`migrated_from` set); `offer_services` empty (0) +- `migrate-tags`: 0 "Offerta" tags needed (offer_services empty) +- `validate-services-migration.ts` → **ALL CHECKS PASSED** +- `validate-tags-migration.ts` → **ALL CHECKS PASSED** +- Protected tables UNCHANGED: clients 4, projects 5, payments 13, phases 6 (identical before/after) + +**Production deploy:** this DB *is* production, so the migration is already applied to prod — +the schema-dependent code is safe to deploy. OFFER-13 satisfied. + ## Goal Deliver a Notion/Airtable-style catalog database-view UX (inline-edit cells, tags,