o2o-infinith-demo/supabase/functions
Haewon Kam 6e8f6940bf fix: gangnamUnni always-try + leadDoctor in Perplexity prompt
- collect-channel-data: gangnamUnni scraping no longer requires
  verified=true. Fallback: Firecrawl search for gangnamunni.com URL
  when discover-channels failed to verify. Solves empty ratings/reviews.
- generate-report: Perplexity prompt now explicitly requests leadDoctor
  (name, specialty, rating, reviewCount) and staffCount in clinicInfo.
- transformReport: clinicInfo type extended with leadDoctor + staffCount;
  transformation prefers clinic.leadDoctor over doctors[0] fallback.

Root cause: clinic_registry table not yet in DB → discover-channels
always falls back to API search → gangnamUnni URL not found →
collect-channel-data skips gangnamUnni → all clinic metrics empty.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 10:29:10 +09:00
..
_shared feat: archive Firecrawl screenshots to Supabase Storage (permanent URLs) 2026-04-07 09:51:31 +09:00
adjust-strategy feat: clinic registry DB + pipeline audit P0 fixes 2026-04-07 09:33:25 +09:00
analyze-market feat: Sprint 1 — 7 data quality quick wins 2026-04-04 23:35:40 +09:00
collect-channel-data fix: gangnamUnni always-try + leadDoctor in Perplexity prompt 2026-04-07 10:29:10 +09:00
discover-channels feat: per-URL clinic folder — auto-save all scraped data to Storage 2026-04-07 10:04:52 +09:00
enrich-channels feat: add API Dashboard + filled icons + pipeline improvements 2026-04-06 14:59:31 +09:00
generate-content-plan feat: clinic registry DB + pipeline audit P0 fixes 2026-04-07 09:33:25 +09:00
generate-report fix: gangnamUnni always-try + leadDoctor in Perplexity prompt 2026-04-07 10:29:10 +09:00
scrape-website feat: prototype gap closure — enrichment diagnosis + brand extraction + plan assets 2026-04-03 17:09:15 +09:00