Files
clienthub/.planning/STATE.md
T
simone 5bf5dfce71 infra(04-00): route /c/ → /client/, Dockerfile, Gitea deploy
- Rename src/app/c/[token] → src/app/client/[token]
- Update proxy.ts, ClientRow, admin client detail with /client/ path
- Add output: "standalone" to next.config.ts for Docker build
- Add Dockerfile (multi-stage, node:20-alpine) and .dockerignore
- Push schema to Coolify Postgres via SSH tunnel (drizzle-kit push ✓)
- Update CLAUDE.md constraint 4 to reflect /client/ route
- Add Phase 4 planning artifacts (04-00, 04-RESEARCH, 04-PATTERNS)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 16:12:05 +02:00

96 lines
2.9 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.
---
gsd_state_version: 1.0
milestone: v1.0
milestone_name: milestone
status: executing
stopped_at: Phase 1 execution complete — all 5 plans done, E2E verified (valid token 200, invalid 404)
last_updated: "2026-05-21T11:56:14.461Z"
last_activity: 2026-05-21 -- Phase 4 planning complete
progress:
total_phases: 5
completed_phases: 3
total_plans: 17
completed_plans: 13
percent: 76
---
# Project State
## Project Reference
See: .planning/PROJECT.md (updated 2026-05-09)
**Core value:** Il cliente apre il link e vede esattamente a che punto è il suo progetto, cosa deve ancora succedere e cosa ha già approvato — senza dover scrivere email per chiedere aggiornamenti.
**Current focus:** Phase 03 — service-catalog-quote-builder
## Current Position
Phase: 4
Plan: Not started
Status: Ready to execute
Last activity: 2026-05-21 -- Phase 4 planning complete
Progress: [██░░░░░░░░] 25%
## Performance Metrics
**Velocity:**
- Total plans completed: 13
- Average duration: ~1 session each
- Total execution time: ~2 sessions (May 1314)
**By Phase:**
| Phase | Plans | Total | Avg/Plan |
|-------|-------|-------|----------|
| 1. Foundation & Client Dashboard | 5 | 2 sessions | ~0.4 sessions |
| 02 | 4 | - | - |
| 03 | 4 | - | - |
**Recent Trend:**
- Last 5 plans: 01-01, 01-02, 01-03, 01-04, 01-05
- Trend: Steady, one blocker fixed mid-execution (Tailwind scanning external projects)
*Updated after each plan completion*
## Accumulated Context
### Decisions
Decisions are logged in PROJECT.md Key Decisions table.
Recent decisions affecting current work:
- Phase 1: `clients.token` è campo separato (non la PK) — rotazionabile via single UPDATE
- Phase 1: `clients.accepted_total` denormalizzato — client API non tocca mai `quote_items`
- Phase 1: `deliverables.approved_at` immutabile — audit trail dal giorno uno
- Phase 1: Edge middleware (`proxy.ts`) usa fetch() a route interna — postgres-js non può girare nell'Edge runtime
- Phase 1: Tailwind v4 auto-detection allargata — aggiunto `@source not` per escludere `.01_projects/` e `.claude/`
- Phase 1: DNS `welcomeclient.iamcavalli.net` → PENDING (richiede Vercel deploy prima)
### Pending Todos
- [ ] Vercel deploy: `vercel --prod` e aggiunta dominio `welcomeclient.iamcavalli.net`
- [ ] DNS CNAME: `welcomeclient → cname.vercel-dns.com` al registrar `iamcavalli.net`
- [ ] `DATABASE_URL` env var in Vercel project settings
### Blockers/Concerns
None.
## Deferred Items
| Category | Item | Status | Deferred At |
|----------|------|--------|-------------|
| v2 | Claude AI onboarding (CLAUDE-01, CLAUDE-02, CLAUDE-03) | Phase 4 | Roadmap init |
| Post-Phase 1 | DNS CNAME + Vercel deploy | Before prod launch | 2026-05-14 |
## Session Continuity
Last session: 2026-05-14
Stopped at: Phase 1 execution complete — all 5 plans done, E2E verified (valid token 200, invalid 404)
Resume with: `/gsd-plan-phase 2` — Admin Area & Interactive Features
</content>
</invoke>