KomarDB
development

Go Beyond Quality Phone Log

24/7 emergency call-logging for Quality Team

scores

progress30%
priorityhigh
complexity5/10
readiness3/10
excitement5/10
hours invested0h
last18 days ago

claude · 2 hours ago

Internal tool for Quality Team recently promoted to high-priority development at 30% progress, but GitHub shows zero pushes since May 20 despite repeated syncs. Momentum is at risk of stalling while it's pinned and visible.

  • Define MVP call-log schema: caller, time, severity, disposition
  • Ship single-operator logging form end-to-end this week
  • Confirm 24/7 uptime requirements with Quality Team lead
  • Pick hosting target (internal server vs Vercel) and deploy staging
  • Replace placeholder description with one-paragraph spec

notes

Go Beyond project

Plan from /cl

  1. Foundation — schema, auth, on-call, /log shell
    Postgres + pgvector + MinIO running in dev compose. Drizzle schema + migrations for tickets/users/comments/etc. NextAuth v5 credentials sign-in. On-call rotation seeded. /log mobile shell renders.
  2. PWA capture — record → Whisper → Claude → ticket
    /log capture flow records audio, uploads to MinIO via presigned PUT, transcribes via Whisper, extracts structured fields via Claude (bilingual issue_en/issue_th), persists ticket. Offline queue via IndexedDB.
  3. Recommendations — pgvector retrieval + Claude rank
    /api/suggest retrieves 5 nearest precedents from pgvector, Claude ranks with hallucination filter. Cold-start guard at <20 closed tickets. Suggestions persist on ticket; accept/dismiss tracked in events.
  4. Bilingual i18n — en/th toggle + locale persistence
    Full en/th localization across PWA + sign-in. Locale stored in cookie + users.preferred_locale. LocaleToggle Server Action. Suggest prompt emits both languages in one call.
  5. Dashboard — triage, detail, search, trends, insights
    Quality team uses /dashboard daily: Triage Inbox, ticket detail with status PATCH + Claude resolution summary, escalation email composer, feedback widget, full-text search, trends + insights tabs. All bilingual.
  6. Maintenance & insights — audio purge, digest, cron
    jobs-cron container runs scheduled audio purge (30-day retention), embedding refresh, weekly digest email. Production-grade cron + observability.
  7. Production deploy — komarlab Docker + Caddy
    phonelog.komarlab.com live behind Caddy. Production compose.prod.yml + Dockerfiles for web + jobs-cron. Migrations applied. Admin password rotated. Health endpoint monitored.