The public technician profile showed fabricated data — "George" (a seeded test
account) with 80 reviews / 80 jobs / 5.0★ / verified / professional but ZERO
backing review rows. Root cause: aggregate columns were seeded with fake numbers
and `recomputeTechnicianAggregate` only updated technicians that HAD reviews
(inner join), so a 0-review tech kept stale/seeded values forever.
- recomputeTechnicianAggregate now LEFT JOINs a base row + COALESCE, so a
technician with no published reviews is reset to 0/0.0 — fake aggregates can
no longer survive a recompute.
- Technician profile now shows the real avatar (user_profiles.avatar_url, joined
in getTechnicianById) with the initial-letter fallback. Avatar upload already
works at /dashboard/profile → /api/uploads → Cloudflare R2 (storage was never
missing — it's R2, verified live).
- scripts/ops/purge-demo-content.sql: the one-time prod cleanup (already applied)
that TRUNCATEd the E2E/demo content (159 listings, 150 IT-Hilfe requests, 82
appointments, 75 erfassung items, reviews, conversations) + removed the
fabricated technician profiles, keeping all user accounts and org tables.
The profile's stats render was already guarded (>0), so with truthful data a
no-review technician simply shows no rating/jobs line.
typecheck + lint clean; full suite zero new failures vs baseline.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>