# Leah & Sam — Issues and Backlog

Simple tracking for what’s broken, what’s missing, and what’s next.

## How to use this file
- **Bugs** → anything that doesn’t match the spec or surprises a caller
- **Improvements** → behavior changes that make Leah/Sam better
- **Features** → net-new capabilities (tools, channels, integrations)

Each item:
- `[ID] [Type] [Status] [Priority] — short title`
- One or two bullet points of detail

**Status values:** `open`, `in-progress`, `blocked`, `ready-for-deploy`, `done`
**Priority:** `P0` (must fix before prod), `P1` (important), `P2` (nice-to-have)

---

## Bugs
- [B-001] Bug open P1 — No persistent memory between calls
  - Leah and Sam treat every interaction as first-contact
  - Interim: rely on GHL history manually; long-term: Supabase or similar

## Improvements
- [I-001] Improvement open P1 — Clearer staging vs production config
  - Ensure numbers/prompts/build IDs are documented and easy to verify before go-live

## Features
- [F-001] Feature open P0 — Persistent memory layer for Leah/Sam
  - Add cloud DB (e.g., Supabase) and wire vapi-tools to store/retrieve conversation summaries
- [F-002] Feature open P1 — Email channel
  - Leah/Sam draft replies to services@nomorechores.com in Gmail Drafts for Abigael to review/send
- [F-003] Feature open P1 — After-hours task creation
  - When no human is available, log follow-up tasks in GHL with clear next actions
- [F-004] Feature open P2 — Webchat parity with voice/SMS
  - Ensure webchat uses same pricing + lookup_customer tools and KB as voice/SMS
- [F-005] Feature done P1 — Booking details tools
  - get_booking_details + get_upcoming_booking deployed to Twilio and referenced in Leah v3.4
  - Falls back to customer record data when Bookings table unavailable
- [F-006] Feature done P2 — #leah-qa Slack channel
  - Channel C0AR2TAVD42 created for post-call QA scoring
  - Vapi Call Auditor exists but not yet wired to post-call webhook
- [F-007] Feature open P1 — Booking automation (Playwright on Launch27)
  - check_availability + create_booking so Leah/Sam can confirm bookings on the call
- [F-008] Feature open P1 — Post-call QA scoring pipeline
  - Wire vapi-call-auditor to post-call webhook, score each call, post to #leah-qa
