The Moon on Ponce
Logical components, stored records, external integrations and data-flow boundaries.
Operations UI
Client portal
Application server
Database
External providers
AI provider (optional)
Data-flow reference
| Flow | Input → processing | Output / stored records | Write boundary |
|---|---|---|---|
| E0Gmail inbox read | Authenticated inbox request → server-side Gmail read. | Message and conversation data for the inbox view. | Gmail access is checked on the server. Durable shared-mailbox ingestion is a separate path (E1). |
| E1Mail ingestion | Shared Gmail messages → bounded ingestion → exact client-address matching. | Excerpts, metadata, source identifiers and contact/booking links. | Ambiguous matches require review. Unmatched messages remain unlinked. |
| E2Booking-stage assessment | Versioned message selection → bounded Gmail bodies → AI evidence → application validation. | Versioned assessment and, when eligible, a booking-stage update. | Fresh, complete, high-confidence evidence must pass identity and date checks. Protected imports and manual corrections are preserved. |
| E3Gmail reply | Reply content → authenticated send route → idempotency check. | Gmail send result and receipt. | Access is rechecked. An uncertain provider response remains an uncertain outcome. |
| C1Calendar import | Google/iCloud events → normalization → complete source snapshot. | Imported calendar entries with provider and connection identity. | A partial refresh retains the previous snapshot. Imported entries remain separate from bookings. |
| C2Google Calendar write | Selected booking → permission and version checks → deterministic event identifier. | External Google event and stored source link. | Explicit action; no attendee invitations. iCloud is an import source only. |
| P1Portal request | Invited, verified partner → booking-scoped access → planning submission. | Booking-linked request/conversation, owner reply and request status. | Approval does not modify booking dates, packages, prices or calendars. |
| P2Portal publication | Owner-confirmed fields → explicit publication. | Published portal information. | Publication is separate from request approval and canonical booking edits. |
| P3Portal question answering | Published guidance and permitted booking details → grounded answer generation. | Answer with source quotations, or owner handoff. | Optional AI connection. No tools for operational writes; conversation storage remains separate from booking changes. |
| B1Booking balances | Contract totals, milestones and recorded payments → integer-cent calculations. | Derived booking balances and milestone status. | Unknown amounts remain distinct from zero. Calculation does not settle payments or move money. |
| S1Scheduled staff cost | Assignments, scheduled times and owner-entered pay terms → cost calculation. | Estimated assignment costs in the owner view. | Missing rates remain unpriced. Staff views exclude pay terms and estimates. No payroll execution. |
| S2Staff notice | Saved assignment → reviewed notice → enabled email sender. | Recorded delivery status. | Saving an assignment and sending its notice are separate actions. |
Email reads, processing and delivery
Inbox request
Gmail server route
Inbox view
Shared venue Gmail
Ingest & match
Related context
Selected conversation history
AI assessment
Application checks
Reply content
Authenticated send route
Send receipt
Calendar import and Google Calendar writes
Google & iCloud
Source snapshots
Venue calendar
Choose a booking
Check & write
Linked Google event
Portal access, requests and publication
Invited partner
Planning request
Owner reply & status
Confirmed information
Publish details
Client portal
Permitted source content
Grounded answer generation
Answer or owner handoff