web-chat test harness

QA-only page. Not linked from anywhere. The bubble in the bottom-right posts to /api/web-chat/send on this same Vercel deploy, which writes to the shared Neon DB. The local ~/social-autoposter launchd agent picks unread messages up every 15s and Claude replies. Replies surface here on the 30s poll and are also forwarded to the visitor email by Resend.

what to test
  1. Click the bubble (bottom-right).
  2. Drop your real email and a question (so the agent has something to answer).
  3. Within ~15s the local launchd agent should pick up the message via Neon poll.
  4. An agent reply should appear in the widget on the next 30s poll, and ALSO arrive in your email via Resend.
  5. You should also receive a [WEB-CHAT #N] Mediar: … founder-notify email at i@m13v.com (or matt@mediar.ai for Mediar).
  6. Reply to that email in Gmail; within ~5min the ingest job picks it up and forwards your override to the visitor as a sender="founder" message.