Skip to content

Add message log for manual WhatsApp operations #143

Description

@Taleef7

Context

CorvEd intentionally uses WhatsApp as the MVP communication layer, but the platform remains the system of record. docs/ARCHITECTURE.md future-proofing and advisor_update.md both call out a missing message/notification log, which matters once reminders, no-shows, renewals, and disputes need traceability.

Acceptance criteria

  • Define the MVP data model for manual message events: recipient, related entity, template/type, sent_at, actor/admin, and optional notes without storing full sensitive message text unless explicitly approved.
  • Add migration, RLS, generated DB types, and minimal admin UI or action hooks if included in MVP 0.2.
  • Connect high-value events first: payment confirmation, tutor assignment, one-hour reminder, no-show notice, reschedule confirmation, renewal reminder.
  • Keep WhatsApp API automation out of scope unless a separate future issue promotes it.
  • Update OPS/docs with how admins record sent messages.

References

  • docs/ARCHITECTURE.md future-proofing notes: WhatsApp automation
  • docs/OPS.md WhatsApp templates and data hygiene rules
  • advisor_update.md Data model gaps: No message/notification log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions