Skip to content

Live (part 4) — notify on match SUGGESTION + MISALIGNMENT

Goal

Part 4 of T-037. (a) New notifyMatchSuggestion producer for ambiguous / new-vendor / no-match cases (today only console.logged) so misses surface for QA. (b) Wire the misalignment/integrity alerts (notifyDataIntegrity / integrityEmail) to the matchers — honors [[feedback_no_silent_fixes]] (detect + notify, never silently correct).

Optional extras (dormant infra, same system — fold here or split later)

  • Resend webhook handler pages/api/webhooks/resend.ts (bounce/complaint) — stub, no logic.
  • Overdue-invoice cron /api/cron/check-overdue-invoices.ts — doesn't exist.
  • Verify RESEND_API_KEY set in PROD Vercel (gates all email).

Log

  • 2026-06-14 created (T-037 split, owner).