Flip Social ClubFlip Social Club

Legal

Version v1.0 · Effective 8 November 2026 · last updated 16 November 2026

These terms and this privacy policy were written against the code as it actually runs. Every promise here has a row in the claims ledger pointing at the file that proves it, with a status of verified, missing or pending. Where something is not implemented yet, the text says so instead of claiming it. Section 11 of the Terms (automation and anti-circumvention) is a draft that has not been reviewed by counsel and is not asserted to be enforceable.

Change log · Make a privacy request (no account needed, answered within 30 days) · Agent and automation policy

Flip Social Club — Terms of Service

Version: v1.0 Effective: 8 November 2026 Status: Written against the code as it actually runs. Every promise below has a row in claims.md with a pointer to the file that proves it. Section 11 (Automation and anti-circumvention) has not been reviewed by counsel and is a draft position, not an enforceable determination. Change log: changelog.md


1. Who we are and what the Service is

Flip Social Club is a shared calendar for live events at local venues. Venues list rooms, dates and features; acts list themselves and their availability; patrons browse, follow and organise events. A talent buyer (the person who submits an event inquiry) and a venue negotiate a date through the platform; the platform holds the calendar, the correspondence and the paperwork.

We are not a ticket seller, a payment processor and not a booking agent that takes a commission on a closed deal today — no payments are live. Where this document says "the Service introduced you to", it means the platform surfaced the venue, the act, the availability and the contact, and the parties then chose to work together.

The operator of the Service and the responsible person for the data described in the Privacy Policy are referred to here as "we". The legal entity name and the jurisdiction of incorporation are recorded as an open item in claims.md rather than asserted here, because we have not published them.

2. Territory

The Service is offered in the United States and Canada. Access from anywhere else is at your own risk and may be restricted.

"United States" in this offer expressly includes Puerto Rico, the U.S. Virgin Islands, Guam and American Samoa, which our edge identifies as separate country codes. Those territories are served by decision, not by fall-through, and the reasoning is recorded in the region policy and its change log.

Countries whose region policy is currently recorded as BLOCKED are not offered the Service. How far that reaches depends on the gate's mode, and the mode is a live setting an operator changes at /admin/regions, not a date the code reaches on its own: in enforce mode a BLOCKED country gets a landing page explaining which law is the reason, and signup and city creation there are refused; in observe mode nothing is refused and every would-be decision is written to RegionEvent so the traffic evidence exists before any wall goes up. As of 8 November 2026 the gate is in observe mode — see /region. Blocking is enforced in the application, never by a firewall rule that 403s the legal pages. The paths /legal, /region, /about, /technology, /investors, /robots.txt, /llms.txt and /sitemap.xml are exempt from the gate by design: a regulator, a person filing a privacy request and a search engine must always be able to reach them. A sitemap is generated from the live database at /sitemap.xml, so it can only list pages that currently exist; the gate never redirects those paths. Until a country's policy is flipped and the gate is in enforce mode, no account is created there and no city is opened there; in observe mode the gate records the would-be decision and lets the request through.

3. Eligibility and age

  • You must be at least 13 to have an account. This is enforced at signup, before any account row is created.
  • Venues set their own age bar (All ages, 16+, 18+, 21+), and the city sets a local norm. The bar shown on a venue page is the venue's policy, not a certificate; the venue still checks ID on the night.
  • Owning a venue or adding an act in a city requires you to be at or above that city's norm.
  • We do not yet provide age assurance beyond your own declaration. Where a jurisdiction requires verified age assurance, we do not serve that jurisdiction.

4. Accounts, verification and access

  • Accounts are created with an email, a password and a date of birth. Passwords are stored as bcrypt hashes (cost 12), never in plain text.
  • Email addresses are verified with a one-time code that expires in 15 minutes. A Google or Apple sign-in will not silently merge into an existing account that shares an email address; linking is refused unless the existing account has a password (i.e. it went through the credential and verification flow).
  • You are responsible for keeping your credentials. If you give a team member manager access to your venue or act, that grant is scoped to that venue or act and can be revoked.

5. Content you publish

When you post a venue, an act, an event, a photo or a line-up, you grant Flip Social Club a non-exclusive, transferable, royalty-free licence to host, display, cache and link that content for the purpose of operating the Service. You keep ownership.

You warrant that you have the right to post what you post. If you publish a photo of an act, you are saying you may do that. If you publish another person's name, contact details or biography, you are saying you have a right to.

Takedown: anyone can ask us to remove or correct a listing about themselves or their business at /legal/privacy-request without an account. We answer in writing within 30 days, to the email address on the request.

6. Where the content came from (provenance)

Listings on the Service have three possible authors, and the distinction matters legally:

  1. Platform-authored — a Flip Social Club staff member or curator wrote the listing (including listings we created from public records so the calendar is not empty).
  2. Owner-confirmed — the venue or act owner edited or approved the listing through a verified claim.
  3. User-posted — a patron or act added the content, subject to the human approval queue that gates what becomes public.

Today, most listings are platform-authored or machine-researched and curator-reviewed; owner-confirmed listings are the minority, and the claim/verification trail for them is recorded in VenueClaim. This sentence is the classification test we are answering in classification-memo.md, and it is not marketing copy — it is the fact a regulator would check first.

7. Third-party contact information

Venue phone numbers, emails and addresses are collected from public sources (OpenStreetMap, Google Places, venue websites) and published on listing pages so that a venue can be contacted about a booking. The purpose is limited to arranging an engagement through the Service. A venue that wants its contact details removed or corrected uses the same route as any other request: /legal/privacy-request, type THIRD_PARTY.

Contact details are not published in the machine-readable structured data (JSON-LD) on a venue or act page. Availability, capacity, age policy and price band are; phone numbers and emails are not.

8. Machine-derived data

Some listing fields — enrichment blobs, verification verdicts, suggested venues, auto-drafted rationales — come from automated research and from our own assistant. These are not verified facts. They are inputs to a human curation decision. A listing marked "unverified" is exactly that. If a machine-derived field is wrong, the correction route is the one in section 5.

Where our assistant drafts something (an inquiry summary, a scheduling rationale, a venue suggestion), a human or a confirmed workflow action has to accept it before it becomes a commitment on the platform. An assistant never places a hold, confirms a date or sets a price on its own.

9. How a booking becomes a contract

  1. A talent buyer submits an inquiry (through the planner or, if authorised, through an agent).
  2. The inquiry may place a soft hold on a room for 24 hours. A hold is not a booking.
  3. The venue or its coordinator confirms. Only then does a date become committed.
  4. Rider documents and terms are attached to the confirmed booking.

A message from an automated assistant is not an offer and is not an acceptance. Nothing becomes a contract until the platform records a confirmed action by the account holder. Until that point everything is a draft. This is the rule that makes the channel attribution in section 10 meaningful.

10. Attribution of automated activity

Every inquiry the platform records carries a channel: HUMAN, PLATFORM_AGENT or EXTERNAL_AGENT, with an agent label, the API key id (once keys exist) and the account of the human the agent acted for. If you use automation to interact with the Service, you are responsible for identifying it and for what it does. The account holder is the party; the automation is a tool.

11. Automation and anti-circumvention — draft, needs counsel

The following is our draft position. It is written here so the intent is on the record, and it is deliberately worded as a contract between accounts rather than as a technical impossibility. It has not been reviewed by a lawyer, and we do not claim it is enforceable in any particular jurisdiction. Section 12 of the acceptance criteria for the compliance programme requires counsel review before this section is relied on, and it is flagged in claims.md as an open item.

Use of contact information. Venue and vendor contact details are published on the Service for the purpose of arranging an engagement through the Service. Contacting a venue directly to arrange the same engagement the Service introduced you to, without the Service's participation, is a breach of these Terms.

>

Automation. You may use automation to interact with the Service only through the surfaces we document (see /agents). You may not use automation to collect contact information from the Service in order to transact outside it.

>

Remedies. We may suspend an account, remove a listing, or restrict automated access that abuses a documented surface. If we ever introduce a platform fee on an engagement that originated through the Service, we will state in the terms how a circumvented engagement is identified and charged.

What this clause cannot do: there is no technical enforcement of it. A venue is physically free to answer a phone call. What the Service can actually deliver is the record — a dated agreement both parties accepted in-app, a confirmed hold on a calendar others cannot overwrite, rider files attached to the booking, an age policy enforced before the booking is possible, and a dispute ledger with a named person to escalate to. The moat is the paper trail, not the phone number. The remedies above are contractual and operational only.

12. Security measures we actually run

  • Passwords are bcrypt-hashed at cost 12. There is no plain-text password anywhere in the database.
  • Email-verification and password-reset codes are stored only as SHA-256 hashes, expire in 15 minutes, and are limited to 5 attempts (src/lib/auth-codes.ts).
  • Sessions are signed JWTs in an HttpOnly, SameSite=Lax cookie, flagged Secure whenever the site is served over HTTPS. The public site is HTTPS-only through Cloudflare; the HTTP port is not reachable from the public internet.
  • Google and Apple sign-in cannot link to an existing credential account without proof.
  • Uploaded images are validated by magic bytes before storage and have EXIF/GPS metadata stripped; rider uploads are validated as PDF, ZIP or UTF-8 text with a size cap.
  • Login and signup are throttled two ways: 8 failed credential attempts per country + IP + email in 15 minutes (a successful sign-in resets the count), and a backstop of 40 authentication POSTs per country + IP in 15 minutes that does not care about outcome.
  • Manager permissions are checked against the specific venue or act row being modified.
  • We hold no card data. There are no payment integrations in the running code.
  • Administrative actions that change a region policy, a claim decision, a moderation outcome or an account deletion are written to an audit log with the actor and the timestamp.

Security is not a guarantee of safety. What we have implemented is what we describe; if you find a gap, tell us at [email protected].

13. Breaches

If personal data is breached, we follow the incident runbook in breach-runbook.md: assess within 24 hours, notify the relevant authority and the affected people within the shortest applicable deadline (72 hours is our operating default for the jurisdictions on our roadmap where a clock exists), and log every incident whether or not it is reportable. Where no deadline applies, we notify without undue delay.

14. Mail and consent

Email we send falls into three kinds: marketing (what's on in your city, drip campaigns, "claim your venue"), operational (a reply to a booking you started, the outcome of a privacy request you filed), and security (the code you need to verify an account, reset a password or confirm a deletion). Marketing mail requires consent and carries an unsubscribe link in every message. Unsubscribing creates a suppression record that stops marketing and operational mail to that address — everything we initiate — until you re-subscribe. The one exception is a security code the account holder themselves asked for: if you click "forgot password" we send you the reset code even if you are on the suppression list, because refusing it would lock you out of the account the opt-out was meant to protect. Venue contacts that have not claimed their listing receive listing-correction mail only, not promotion, and a venue whose contact address has unsubscribed is not sent a claim notice.

15. Suspension, termination and appeal

We may suspend an account or remove a listing for content that breaches these terms, for abuse of a documented surface, or where a venue's ownership is disputed. Suspension of a listing takes it out of the public calendar immediately; the account holder is told why in writing, and there is a route to appeal through the privacy-request and content-report forms, which are answered by a named person.

You may stop using the Service at any time. Deleting your account is described in section 7 of the Privacy Policy, which states precisely what is removed and what is retained.

16. Changes to these terms

Material changes are announced by email to account holders at least 30 days before they take effect and recorded in changelog.md. Continued use after the effective date constitutes acceptance. Non-material changes (clarifications, corrected citations) are recorded in the change log without advance notice.

17. Governing law and venue

These Terms are governed by the laws of the State of South Dakota, United States, without regard to conflict-of-law rules, except where the mandatory consumer-protection law of your country of residence applies and cannot be displaced. Disputes are to be resolved in the state or federal courts of South Dakota where permissible.

This choice has not been checked against the operator's actual place of incorporation; that is an open item in claims.md. If the entity is incorporated elsewhere, this section changes and the change is announced under section 16.

18. Disclaimers and limitation of liability

The Service is in beta. Event details, capacity figures, age policies and prices may be wrong or out of date; they come from venue-provided or machine-researched data and are not a warranty. Whether an event happens, whether a venue admits an under-age guest, and whether a booking is honoured are the responsibilities of the venue and the parties, not of Flip Social Club. To the extent the law allows, we are not liable for losses arising from reliance on listing data. Nothing in these terms limits liability that cannot be limited by law.

19. Contact

[email protected] — a human reads it. Privacy requests, corrections, takedowns and moderation appeals also have a form: /legal/privacy-request.

Flip Social Club — Privacy Policy

Version: v1.0 Effective: 8 November 2026 Status: Written against the code as it actually runs. Every claim here has a row in claims.md pointing at the file that proves it. This policy has not yet been reviewed by counsel; see the open items in claims.md. Change log: changelog.md Full inventories: processing register · retention schedule · breach runbook

1. Who we are and how to reach us

Flip Social Club operates a shared event calendar for venues, acts and patrons in the United States and Canada. We are the controller of the personal data described below.

  • Requests, corrections, deletions and third-party removal: [/legal/privacy-request](https://flipsocialclub.com/legal/privacy-request) — no account required, and you may file on behalf of someone else.
  • General: [email protected].
  • We answer a privacy request within 30 days. Each request gets a due date when it is created, the queue shows overdue items, and every closed request records a written outcome and who closed it. The outcome is sent to the email address on the request; if that address has asked us not to be mailed, the send is refused and logged, and the answer is delivered another way.

A legal entity name and a named responsible person for data protection are not yet published; that is listed as an open item rather than asserted here.

2. What we collect

The complete table (category, source, purpose, legal basis, retention) is the processing register. In short:

CategoryWhat it isWhy
Accountname, email, password hash, date of birth, signup country, marketing opt-inrunning the account
Locationhome city, chosen cities, a zip code you type inshowing the right calendar
Published contentvenues, acts, events, features, photos, rooms, schedulesthe product itself
Booking datainquiry name/email/phone, guest count, dates, room, estimate, rider filesfulfilling a booking
Correspondencenotification rows and the mail outbox (full text of messages we send)deliverability and a record
Social signalsfollows, likes, "going", friendshipsshowing what people in town care about
Curation and provenancecity requests, venue suggestions, venue claims, audit log, region eventsdeciding what gets published and proving who decided
Compliance recordsprivacy requests, content reports, mail suppressions, region policiesanswering requests and keeping the decision trail

We do not collect: payment card data, precise GPS location, device fingerprints, or analytics identifiers. There is no advertising pixel, no third-party analytics script and no data broker in the stack.

3. Date of birth

Date of birth is collected once and stored. It is used only to set the account tier (13 floor; 16+ for full patron actions) and to check a city's ownership norm. It is never shown publicly and never shared with a third party. It is deleted when the account is deleted (see section 7). We do not yet provide age assurance beyond self-declaration, and we do not serve jurisdictions that require it.

4. Your IP address — exactly what happens

  • We do not store your IP address. There is no IP column in any table in the database, and request logs on the application do not write client IPs.
  • Your IP is read in-process to (a) geolocate you to a city on first load and (b) rate-limit login and signup attempts (8 failed attempts per country + IP + email in 15 minutes, plus a volume backstop of 40 authentication POSTs per country + IP). The rate-limit counters live in memory in a single process and expire after 15 minutes; they are not written to the database and are lost on restart.
  • For the geolocation step we send your IP to ipwho.is, a third-party service, and cache the result in memory. That is a subprocessor: the IP leaves our server. If you do not want that, you can set your city manually (zip or city + state) and the app does not need to resolve your location. (Self-hosting this lookup, so no IP leaves the server, is an open item in claims.md.)
  • We record the country code Cloudflare attaches to a request when a region-gate event is logged, not the IP.

Earlier drafts of this policy said we read your IP "to protect against abuse" without any mechanism behind it. Rate limiting now exists, so that sentence is accurate; ipwho.is was not named before, and it is named here.

5. Cookies and session storage

We set one kind of cookie: the sign-in session.

  • It is a signed JWT issued by Auth.js, stored in an HttpOnly, SameSite=Lax cookie.
  • Over HTTPS (which is how the public site is served, through Cloudflare with HSTS) the cookie name is prefixed __Secure-/__Host- and carries the Secure attribute. On the LAN development server, served over plain HTTP, the same cookie is set without Secure — that is a development-only path and is not reachable from the public internet.
  • The session lasts 30 days. That is set explicitly in src/auth.ts (session: { strategy: "jwt", maxAge: 30 * 24 * 60 * 60 }), not inherited from the library default.
  • Third-party cookies can be set by content you choose to open: a SoundCloud or YouTube embed sets its own cookies when you play it. We do not set them, and we do not read them.
  • There is no consent banner, because the only first-party storage is the strictly necessary session cookie. The plain-language notice required under UK PECR (Schedule A1, in force 5 February 2026) is this section.

6. Who we share data with

Subprocessors, with what they receive and why:

SubprocessorWhat it receivesPurpose
Cloudflarerequest metadata, the country code it derives from your IPhosting, TLS, bot protection, the country signal our region gate uses
Resendthe email address and message body of mail we sendsending transactional, operational and marketing email
ipwho.isyour IP addresscoarse city-level geolocation
OpenStreetMap / Nominatima city name, state or zip you typed, or a venue addressgeocoding for the calendar
Google (Maps pages)a venue name and address we look upverifying a venue's public listing during a claim
OpenStreetMap/CARTO tilesnothing about you; the tile request carries your IP as any web request doesrendering the map
SoundCloud / YouTubeyour IP and standard browser data, only when you open an embedded playermedia you chose to view
Our own assistant stack (Mastra, self-hosted on our LAN)venue and inquiry text already in the databasedrafting and enrichment, always with a human or workflow gate before anything becomes a commitment

We do not sell, rent or trade personal data. Disclosure to a third party happens only through the services above, or where the law requires it.

Third-party agents. If an act, venue or talent buyer uses their own automation to transact on their behalf, that automation is a processor outside our control. We record the channel, the agent label and the principal account, but we are not responsible for what their agent does with the data it already holds. We do not pretend this traffic does not exist — it is attributed.

7. Deleting your account — what is actually removed

Deleting your account from the dashboard hard-deletes your `User` row. In the same transaction we:

  • purge the rider files you uploaded from disk;
  • delete the bookings you sent and the venue claims you filed;
  • remove your follows, likes, "going" marks, friendships and friend requests;
  • delete your city requests and venue suggestions;
  • remove your manager grants, act memberships and sessions/OAuth links;
  • add your email to the mail-suppression list so no further mail reaches you;
  • record a completed deletion request in the privacy-request queue (the paper trail is the compliance).

What is retained, and why:

  • Moderation and curation history. Content reports you filed are kept with your identity removed (reporter name and email set to null). Curation queue decisions keep the decision but not the decider's user id. These are regulatory evidence.
  • Privacy requests. A request and its written outcome stay in the queue, because the record of having answered a request is itself the compliance artefact.
  • Audit log. Actor, action and timestamp are retained.
  • Venue and act listings you owned. A venue or act is somebody else's business record and a public page, so an owner cannot self-delete it: you must first transfer or delist it. The listing survives with the owner reference cleared.
  • Event inquiries. An inquiry is a record between a venue and a talent buyer, kept for the retention period in the schedule.
  • Photo files. Hiding a photo on an act profile removes it from the calendar but the file stays on disk until it is explicitly removed.
  • Mail outbox rows. Bodies of mail sent to third parties remain for the retention period.

If you own venues or acts, self-service deletion is refused until those are transferred or delisted, and an administrator must handle it. That is stated plainly so it is not a surprise when it happens.

8. Your rights

Depending on where you live: access, correction, deletion, objection to processing, and portability. All of them start at the same form (/legal/privacy-request), and a data export of everything your account touches is available at /api/me/export when you are signed in. The export deliberately excludes your password hash, your auth tokens and third-party enrichment blobs about other people.

Requests concerning someone else — a venue listing that shows your name, a photo you did not consent to — go through the same route and get a written outcome, sent to the address on the report.

9. Children

Accounts require a minimum age of 13. Venue age bars are set per venue and enforced in the booking flow before a booking can be made. We do not knowingly collect data from children under 13; if we learn we have, we delete the account.

10. International transfers

The database and the application run in the United States. We serve the United States and Canada. Countries whose region policy is blocked are not served, which is the practical reason there is currently no EU/UK transfer question to answer. Canada (PIPEDA and Quebec Law 25) is served; where the applicable rule requires a representative or a register, we have not yet filed it and that is recorded as an open item, not as a claim of compliance.

11. Automated decision-making

No decision that significantly affects you is made wholly automatically. Region gating, curation approval, claim decisions and moderation outcomes all require a human decision recorded in the audit log. Automated systems propose; they do not decide.

12. Breaches

See the breach runbook. In one sentence: we assess, we log every incident whether or not it is reportable, and we notify the authority and the affected people within the shortest applicable deadline — 72 hours as our operating default, with a separate 10-day filing branch for Puerto Rico's DACO.

13. Changes to this policy

Material changes are announced by email at least 30 days before they take effect and recorded in changelog.md. This policy is versioned: the version and effective date are shown at the top of this page and on the legal page.

Legal change log — Flip Social Club

Every change to a jurisdiction we serve, and every change to the text that describes it, is recorded here. The region gate and the legal documents are kept in the same file on purpose: a country being blocked or unblocked is a change to what the Terms and Privacy Policy claim about us, and the two must never drift apart. A toggle at /admin/regions writes an AuditLog row and appends a line to this file in the same action.

Entries are append-only, newest at the bottom of the section. Format: - <ISO timestamp> — **<CODE or document>** → <change> by <who> — <reason>.

Region policy history

  • 2026-11-07 — seed: 42 jurisdictions recorded BLOCKED (GB, IE, AU, NZ, NG, the 25 EU/EEA states plus Switzerland and Iceland, BS, JM, BB, BZ, GY, CU, and the aggregate EU bucket Cloudflare can emit), 19 recorded OPEN (US, CA, PR, VI, GU, AS, KY, VG, KN, LC, GD, AG, AW, CW, TT, BM, TC, SX, AI). Each row carries the specific statute it was decided on. Seeded by system in migration 20261107000000_compliance_provenance_region_policy.
  • 2026-11-07 — mode → observe. No page is blocked by the gate; every request that would have been gated is written to RegionEvent. The dashboard at /admin/regions is the traffic evidence, and per-country toggles are the control — there is no calendar date on which the wall "goes up".
  • 2026-11-07 — account and market layers → gated immediately, in every mode. Browsing an ungated country still works in observe mode, but signupAction refuses to create a user in a BLOCKED country and approveCityRequest refuses to open a City there. The obligations in these statutes attach when we store a person or operate a market, not when we serve a page (design decision D4).
  • 2026-11-07 — US territories (PR, VI, GU, AS) → OPEN by decision, not fall-through. CF-IPCountry emits these separately from US; they are served because the statutes we read (PR Ley 39-2012 and Ley 111-2005, 14 V.I.C. § 2209, 9 GCA ch. 48) impose notification/policy duties rather than a gating duty. Bermuda, Turks & Caicos, Sint Maarten and Anguilla remain OPEN with the reach question explicitly unresolved (UNRESOLVED_REACH).
  • 2026-11-07 — AI crawlers (GPTBot, OAI-SearchBot, Claude-Web, anthropic-ai, Google-Extended, PerplexityBot) → ALLOWED on public discovery pages, blocked on /dashboard, /admin, /api, /photos and /rider-files. Recorded decision, per D7: agents that transact through the platform are customers; the surfaces that hold personal data and raw media are not for harvesting. CCBot is disallowed entirely. Policy lives in public/robots.txt.
  • 2026-11-08T01:23:22Z — verification — the proxy branches and the toggle path were exercised against the live RegionPolicy seed: observe mode served GB/AU/IE/DE and wrote the would-be gate to RegionEvent; with REGION_GATE_MODE=enforce GB/AU redirect to /region?c=GB while /legal, /about, /region and /robots.txt still serve; flipping GB OPEN then restoring it to BLOCKED changed gate() immediately and wrote an AuditLog row (synthetic rows were deleted afterwards).
  • 2026-11-08 — mode governs every layer (corrects the 2026-11-07 line above). REGION_GATE_MODE=observe blocks nothing anywhere: signup in a BLOCKED country is allowed and the would-be gate is written to RegionEvent with the path /signup; approveCityRequest does the same with /city-creation. Those two strings are what LAYER_PATH in src/lib/region.ts stores — the bare layer names signup and city-creation are never written, so a query on path must use the leading slash. Only REGION_GATE_MODE=enforce refuses signup, opening a city, or redirecting a landing page, and it applies the per-country RegionPolicy status at all three layers. The per-country toggle remains the operator control; the mode is the master switch. Unknown country still fails open (D2), and /legal, /region, /about, /technology, /investors, /robots.txt, /llms.txt and /sitemap.xml are never gated (D1).
  • 2026-11-08 — agent surfaces published (/agents, /llms.txt, JSON-LD on venue and act pages, /api/whatson&format=jsonld). Availability, capacity, age policy and fee band are published as structured data; venue and act contact details are not, and booking remains a workflow rather than a public write API. Every inquiry records a BookingChannel (HUMAN by default, PLATFORM_AGENT / EXTERNAL_AGENT when an agent submits) with an agent label, key id and the principal on whose behalf the request is made.
  • 2026-11-08 — GB → reason corrected from the 'self-test restore' placeholder left by a verification run back to the seeded statutory reason (UK Online Safety Act). Status unchanged: BLOCKED. Recorded by compliance self-test; no policy change.

Document history

  • 2026-09-08 — terms + privacy (draft) → first plain-language legal page published in src/app/legal/page.tsx, dated "Last updated September 8, 2026". Status: draft, written for the product as it shipped, not a terms of service in the legal sense.
  • 2026-11-07 — deletion behaviour → deleteAccount becomes a real cascade in one transaction: rider files purged from disk, content reports anonymised, mail suppression created, a DELETION PrivacyRequest with a written outcome, an audit entry, then bookings and claims deleted and the User row hard-deleted. Curation history is deliberately retained. Reason: the draft policy promised deletion the code did not perform (spec §7.1).
  • 2026-11-07 — rate limiting → login/signup throttled to 8 attempts per 15 minutes per country + IP (src/lib/rate-limit.ts, src/proxy.ts). Reason: the draft policy said the IP was read "to protect against abuse" when no mechanism existed.
  • 2026-11-08 — v1.0 of Terms and Privacy → docs/legal/terms.md, docs/legal/privacy.md, docs/legal/claims.md, docs/legal/processing-register.md, docs/legal/retention-schedule.md, docs/legal/breach-runbook.md and docs/legal/classification-memo.md written against the code as it runs. The page now shows a version and an effective date and links this change log. Three draft statements corrected as follows:
    • deletion: replaced with an explicit list of what is removed and what is retained, and the rule that a venue or act owner must transfer or delist before deleting.
    • IP: ipwho.is named as a subprocessor; "we do not store your IP" kept because it is true; the abuse-protection sentence now backed by the throttle.
    • session cookie: stated as HttpOnly + SameSite=Lax, Secure over HTTPS (verified live), 30-day library default rather than a configured expiry.
  • 2026-11-08 — anti-circumvention clause → drafted in Terms §11 with an explicit note that it has not been reviewed by counsel and is not asserted to be enforceable. Remedies are contractual and operational only; there is no technical enforcement. Reason: spec §8.5 requires honesty about what the clause can do.
  • 2026-11-08 — open items recorded rather than claimed → DMCA agent designation, UK GDPR Art. 27 representative, DSA Art. 13 legal representative, ICO fee, named responsible person, retention purge jobs, appeals path, sitemap generation. These appear in claims.md as pending/missing, not as promises.
  • 2026-11-08 — GB region policy reason → the reason text left by a verification run ("self-test restore") restored to the seeded UK Online Safety Act wording; status unchanged (BLOCKED).
  • 2026-11-08 — venue claim gate → two changes. (a) A REJECTED or REVOKED verdict now requires a written reason of at least 10 characters; before this a curator could reject a claim with an empty reason, and the claimant had no way to know what was missing. (b) The claimant is now notified in their inbox when a claim is rejected or revoked, with the reason and what evidence would be enough to try again. Reason: the gate's premise is that a decision is only as good as the basis recorded for it (claims ledger #55, #65); a silent refusal is not a basis and leaves the claimant unable to act. src/actions.ts applyClaimDecision; UI hint in src/app/admin/curation/claim-review-row.tsx; proven by src/lib/venue-claim.test.ts section 4c.
  • 2026-11-08 — curation queue → no change to what the queue decides, only to what it shows. The machine-proposal list was reading as empty while tickets were pending, because the claim-exclusion filter used NOT (payload.kind = "venue-claim"). In Postgres a payload with no kind key makes that expression NULL rather than TRUE, and NULL is falsy, so every proposal — all of which have no kind key — was dropped. The filter now states the missing key explicitly (OR(kind is null, kind != "venue-claim")) and the search box reaches the proposals, claims and decisions sections it previously ignored. Regression test: src/lib/curation-queue.test.ts.
  • 2026-11-08 — session lifetime → src/auth.ts sets maxAge: 30 * 24 * 60 * 60 explicitly; claims row 21 moves from missing to verified. Reason: the privacy policy stated 30 days while the code relied on the library default (verification finding A8).
  • 2026-11-08 — public "verified" badge → the badge now derives from the verification envelope (isVerified / PublicVerificationBadge in src/app/admin/curation/verification-badge.tsx), not from approvalStatus === "APPROVED". 87 approved venues were rendering "verified"; only 9 carry an envelope. Venues with a non-verified verdict render "checked, not confirmed". Acts have no verdict column, so no act badge appears until one exists.
  • 2026-11-08 — document paths → docs/breach-runbook.md and docs/classification-memo.md moved into docs/legal/; every cross-reference in the register, the retention schedule, the terms, the privacy policy and the legal page now resolves (checked: no broken .md links in docs/).
  • 2026-11-08 — planner entry point → /plan index gained a city dropdown and a name search (?city=, ?q=); the packet breadcrumb falls back to "Plan an event" when a packet has no venue.
  • 2026-11-08 — region dashboard wording, changelog placement and DSAR delivery (repair round 2, compliance review F2-F14). insertRegionHistoryLine (src/lib/region-history.ts) puts a region line inside "Region policy history" instead of at the end of the file; /admin/regions renders the decision history from AuditLog (from → to, reason, actor) and states plainly that the global mode is REGION_GATE_MODE=enforce in .env plus a service restart, so acceptance A1 is scoped to "when the mode is enforce". proxy.ts and wouldGate now write a RegionEvent with decision blocked in enforce mode, and the dashboard has a Blocked column. wouldGate stores the layer as a path (/signup, /city-creation) so the sign-up column can be non-zero. resolvePrivacyRequest and decideContentReport send the written outcome to the recorded address through sendMail(..., transactional: true). runErasureCascade gives the DSAR queue a guarded, double-confirmed path to the deletion cascade, and a closed DELETION request now reads as "answered" rather than "erased". All listing URLs in JSON-LD and the takedown links go through listingUrl/listingPath (src/app/agents/structured-data.ts) and point at the canonical /c/<city>/venues/<slug> and /c/<city>/acts/<slug> routes; the shorthand that 404s is gone. The claims ledger is renumbered sequentially, src/lib/geo.ts:113 corrected to :116, src/auth.ts:187 corrected to :208, and the badge fix cited by commit 111ef8c rather than a task id. Regression test: src/lib/region-policy.test.ts.
  • 2026-11-08 — retry-time suppression and the venue listing URL (repair round 3, review finding R1/R2). flushOutbox now checks isSuppressed() before every retry and moves the row to DROPPED with reason "recipient unsubscribed (MailSuppression)"; the two direct PlannerMailOutbox inserts (declineInquiry in src/app/dashboard/planner-actions.ts, the smoke-submit notification in src/lib/planner/smoke-submit.ts) go through sendMail so they get the suppression check and the consent footer. src/lib/outbox-retry.test.ts gained the suppression cases. The venue page builds its url, its performer links and its takedown targetUrl from listingUrl/listingPath, so the shorthand that 404s is gone everywhere. scripts/listing-url-probe.ts fetched all 88 approved venues and 22 approved acts: 110/110 resolve, and the shorthand still 404s as a negative control. src/actions.ts now type-checks (requireCuratorActor() passes its id to applyClaimDecision; claimTicket carries the ticket status and lock holder). Lint is 104 problems, +7 against the committed 97, and the whole delta is the untracked scratch scripts in the repo root (mint.js, probe.js, probe2.js, probe3.js, b23.js) — no file in the compliance path adds a problem.
  • 2026-11-08 — claim gate hardening (repair round 2, review t22). applyClaimDecision now filters the ticket lookup on payload.path["claimId"] at the database level and names the failure precisely when a curator is holding a ticket for a different claim on the same venue. runClaimExpiry reconciles the queue in place — one ticket per (venue, claim), reopened with renewal: true — instead of stacking a second row, and the role is re-derived through syncVenueOwnerRole. OWNER_TRANSFER was declared in the Prisma schema but never migrated; migration 20261108000000_claim_method_owner_transfer adds it to the ClaimMethod enum, and every ownership hand-off is now a PENDING claim a curator must countersign before Venue.ownerId moves. A transfer keeps the venue's Google verdict intact (transferEnvelope). src/lib/server-action-guard.test.ts replaces its unworkable wire sign-in with (a) a static check that every exported core re-derives its actor from the session, and (b) a cookie-less POST sweep of all 118 actions registered for /admin/curation, classifying Next's own page-render action separately from the cores. Ledger rows 77–80 record the evidence.
  • 2026-11-08T03:20:00Z — ledger and changelog citation hygiene → the stale gate-path sentence and the bare task-id citation are corrected, by compliance-edge (review finding RES-4). Two references were stale: the "mode governs every layer" entry above described the logged layer without the leading slash, while LAYER_PATH (src/lib/region.ts) writes /signup and /city-creation; and the claims ledger's session-lifetime row cited a bare task id instead of the change itself. Both now name commit 111ef8c and the file src/auth.ts:208, where maxAge: 30 * 24 * 60 * 60 is set. No behaviour changed — only the evidence trail.
  • 2026-11-08T09:05:00Z — probe debris removed → the five untracked scratch scripts in the repo root (mint.js, probe.js, probe2.js, probe3.js, b23.js) are deleted: mint.js read .env for AUTH_SECRET and encoded a session JWT for a hardcoded user id, and probe2.js/probe3.js POSTed forged action payloads to /admin/curation. The synthetic rows they created are gone from the live database — venue guard-probe-venue (Sioux Falls, APPROVED, active), its PENDING VenueClaim, the curator account [email protected], and the locked CurationQueue ticket it held. Venue count 126 → 125, approved-and-active listing count 110 → 109, locked tickets 1 → 0, so a real curator can pick up the queue. Lint returns to the committed baseline of 97 problems. The synthetic site-admin account [email protected] (id cmw7klakm0000sry15f9qr5se, bcrypt cost 10, no venue, claim, lock or audit trail) was removed in the same sweep: accounts 22 → 21. by compliance-edge — review finding RES-1/RES-2.
  • 2026-11-08 — legal page was publishing four empty sections → src/app/legal/page.tsx hardcoded a list of filenames that did not move when the compliance documents were relocated to docs/legal/. readDoc() swallowed the ENOENT, returned an empty string, and Terms, Privacy, Change log and Claims ledger rendered as blank sections behind a "could not be loaded" banner — while the build succeeded and the route returned 200. The page now derives its document list from docs/index.json, the manifest that already records which documents exist and which are public, so a relocation cannot leave a stale copy behind. docs/processing-register.md and docs/retention-schedule.md moved into docs/legal/ and are marked public, because the legal page has been publishing them as annexes all along. Renderer fixes: real <ol> and nested lists instead of flattened paragraphs, fenced code, emphasis, authoring comments filtered out of the published page, a scroll wrapper so the claims ledger is readable on a phone, and document titles demoted to h2 under the page's single h1. New harness src/lib/legal-docs.test.ts checks, for every public document, that the manifest path resolves, the file is non-empty, the rendered HTML contains a phrase unique to that document, and every relative .md link points at a file that exists.
  • 2026-11-08 — sitemap generated → claims ledger row 3 moved from missing to verified. src/app/sitemap.ts builds /sitemap.xml from the database at request time (active cities, approved venues, approved acts) and public/robots.txt now declares it. The list is derived rather than hand-written so it can only contain pages that currently resolve; 174 entries, sampled against the live site with no 404s. Every listing URL goes through listingPath(), the same helper the JSON-LD and the whatson API use, so the sitemap, the structured data and the site cannot disagree about what a page's address is.
  • 2026-11-08 — the unsubscribe promise was stronger than the code → Terms §14 said unsubscribing stops all mail to an address, including transactional mail. Two paths send mail and only one of them checked the suppression list: sendMail did, sendAuthEmail did not, so a venue whose contact address had opted out was still being sent the "someone claimed your listing" letter. src/lib/auth-mail.ts now takes an explicit class — security (a code the account holder asked for) and notice (a letter to a third party who never subscribed) — and checks MailSuppression for notices. The security exemption is kept deliberately and stated in the Terms: refusing a password-reset code to someone who clicked "forgot password" would lock them out of the account the opt-out was meant to protect. Ledger row 44 was rewritten to describe the real boundary. New harness src/lib/mail-consent.test.ts stubs the ESP and asserts both halves of the rule without sending anything.
  • 2026-11-08 — territory sentence made conditional on the mode → Terms §2 said blocked countries "are not offered the Service" in the present tense, which overstates what is happening today: REGION_GATE_MODE is observe, so nothing is refused at any layer and each would-be decision is only written to RegionEvent. The section now says plainly what enforce mode does, what observe mode does, and that the gate is in observe mode as of 8 November 2026. Ledger row 6 already carried this caveat; the Terms did not.
  • 2026-11-08 — robots.txt caveat retired → ledger row 41 claimed Cloudflare was serving its own generated robots.txt in place of ours. Checked live: the response at https://flipsocialclub.com/robots.txt is byte-identical to public/robots.txt (md5 201d57f65fdf4f444526819b9cee0801 both sides). The row is now verified with the measurement attached instead of hedged.
  • 2026-11-08 — sitemap no longer a gap → src/app/sitemap.ts generates https://flipsocialclub.com/sitemap.xml from the database (55 active cities, 87 approved venues, 22 approved acts, plus the static legal and informational pages) and public/robots.txt declares it. Twenty sampled URLs were fetched against the live site: all 200. Ledger row 3 moves from missing to verified and the sentence in Terms §2 that admitted the gap is replaced.
  • 2026-11-08 — throttle description corrected → Terms §12, Privacy §4 and ledger row 16 said login and signup are throttled to "8 attempts per 15 minutes". The limiter counts failed credential attempts, keyed on country + IP + email, and a successful sign-in clears the bucket; a separate 40-POST-per-country+IP backstop in the proxy counts raw volume regardless of outcome. The old wording described the version of the limiter that caused the 2026-11-08 outage, where one shared household IP exhausted the window for a real user. src/lib/auth-throttle.test.ts asserts the current behaviour.
  • 2026-11-08 — deep links into collapsed annexes opened nothing → the legal page collapses the claims ledger, the register, the retention schedule, the breach runbook and the classification memo so the Terms and Privacy Policy can be read without scrolling past a 24,000-character table. Measured: arriving at /legal#claims showed 13 characters of text. A citation to a section that renders empty is the same failure the "could not be loaded" banner exists to prevent, so src/app/legal/open-annex.tsx opens the targeted annex on arrival and on every hashchange. Verified in a headless browser: plain /legal still starts collapsed (0 open), /legal#claims opens to 24,635 characters, and clicking "Processing register" in the nav opens that annex to 10,001 characters.
  • 2026-11-08 — DMARC moved from silent to reported → _dmarc.flipsocialclub.com was v=DMARC1; p=none; with no reporting address, so we had no way to know whether anything was forging our domain. rua and rfa now point at [email protected]. The policy stays p=none deliberately: DKIM and SPF are published, but we have not yet read a single aggregate report, and tightening to p=quarantine before that is a guess that could block legitimate sends. Ledger row 81 records the state and the staged plan. by compliance — checked against the live zone, not assumed.
  • 2026-11-16 — account erasure now deletes the notices addressed to that account → Notification.patronId is ON DELETE SET NULL by design, so a notice scoped to a venue or an act correctly outlives the person who triggered it. But a notice whose only addressee was the erased account became unreachable by every inbox query while the written DSAR outcome still said the rows had been deleted. eraseAccount now removes those notices inside the transaction, and the outcome text states precisely which rows were deleted, which were anonymised and which were kept as the listing's record. scripts/purge-retention.ts --job=notices (monthly) sweeps audienceless rows left by earlier test fixtures; 269 such rows were cleared on 16 November. The retention schedule is now v1.2 and lists Notification, which v1.1 did not mention at all. Separately, prisma/seed-demo.ts no longer carries a hard-coded password: six seeded accounts, including the site admin, had been sharing a literal that was readable in the repository. Harnesses: src/lib/notice-purge.test.ts. by emily
  • 2026-11-10 — venue de-duplication at submission → patron venue suggestions are now compared against the live listings in the same city at the moment they are filed, and the submitter is told when the place already exists. Triggered by a Sioux Falls case: "The Bar" at 1001 S Six Mile Rd entered the review queue alongside the approved, active "The Bar (Formerly The Alibi)" at 1001 South Six Mile Road. The guard compared exact names against other PENDING suggestions only, so an approved venue was invisible to it. Match rule and evidence tiers: docs/legal/claims.md row 82. Stored data is unchanged apart from the internal curation flag VenueSuggestion.duplicateVenueId; nothing new is collected and no retention period changes. Same change set fixed eight client forms that never called e.preventDefault(), so the browser navigated on submit and discarded the confirmation or rejection message before the patron could read it — the mechanism that made the duplicate notice invisible even once it was generated. Harnesses: src/lib/venue-match.test.ts, src/lib/form-preventdefault.test.ts. by emily
Claims ledger

Claims ledger — every public promise and the code that proves it

Version: v1.0 · Compiled: 8 November 2026 · Owner: compliance

Rule (from the compliance spec §7.3): a claim can appear in the Terms or the Privacy Policy only if it has a verified row here. A row marked missing means the capability does not exist yet; the legal text must not assert it, and where the text would otherwise imply it, the text says so plainly.

Statuses used: verified (the code does it), missing (not implemented; the legal text describes the gap instead of promising the thing), pending (a filing or a review that has not happened yet — not something we claim).

Corrections made in v1.0

Three statements in the September 2026 draft did not match the implementation. They were rewritten to match what the code does:

Draft statementWhat the code actually doesv1.0 wording
"When you delete your account, we remove or anonymize your personal information and take down content you own."src/actions.ts deleteAccount hard-deletes the User row, purges rider files, deletes bookings and claims, anonymises report rows, writes a DELETION privacy request and an audit entry — but mail-outbox bodies, inquiry rows, hidden photo files and listings you owned survive, and an owner of a live venue or act cannot self-delete at all.Privacy §7 lists what is removed, what is retained and why, and says owners must transfer or delist first.
"We read your IP address only to geolocate you to a city on first load and to protect against abuse… we do not log the IP address."No IP is stored (no column anywhere), and login/signup are throttled 8 per 15 minutes. The geolocation step sends the IP to ipwho.is, which the draft never named.Privacy §4 names ipwho.is as a subprocessor, states the rate limit, and keeps the "we do not store your IP" statement because it is true.
"We protect your session with a secure cookie."Auth.js sets an HttpOnly, SameSite=Lax cookie; over HTTPS it carries the Secure flag and the __Secure-/__Host- prefix. There is no explicit maxAge in src/auth.ts, so the 30-day default applies.Privacy §5 states exactly which attributes are set, where, and that the lifetime is the library default.

Ledger

#Claim as publishedCode / evidenceStatus
1The Service is offered in the US and Canada, plus the territories RegionPolicy marks OPEN; other countries may be restrictedsrc/lib/region.ts (ALLOW, GATED, servedMarkets()), src/proxy.ts, the RegionPolicy table (19 OPEN rows today)verified — the /region page reads the table rather than repeating a hard-coded sentence
2/legal, /region, /about, /technology, /investors, /robots.txt and /llms.txt are reachable from every countrysrc/proxy.ts:21 ALWAYS allow-listverified
3A sitemap is published at /sitemap.xmlsrc/app/sitemap.ts generates it from the database (active cities, approved venues, approved acts) and public/robots.txt declares it; 174 entries on 2026-11-08, every one built through listingPath() so it matches the JSON-LD and the whatson APIverified
4Blocked countries are gated by the application, not by a firewall 403src/proxy.ts; Cloudflare does not 403 the legal pages (verified live)verified
5A country's gate decision is data an operator can change without a redeployRegionPolicy table + /admin/regions toggle, cache cleared on toggle (src/lib/region.ts clearRegionPolicyCache)verified
6Accounts cannot be created in a blocked countryenforced only when REGION_GATE_MODE=enforce; the default is observe, which logs and allows (src/lib/region.ts wouldGate)verified as designed, not currently in force — the mode is an operator decision recorded on /admin/regions, not a date the code reaches on its own
7No city can be opened in a blocked countrysame wouldGate path in src/actions.ts approveCityRequestverified as designed, mode-dependent
8Every gated request is recorded, in both modesRegionEvent rows written by src/proxy.ts (decision: "landing" in observe, "blocked" in enforce) and src/lib/region.ts (wouldGate records "landing" or "blocked" per layer, with the layer stored as a path: /signup, /city-creation)verified
9Unknown country fails openstaticDecision() in src/lib/region.ts (D2)verified
10Passwords are bcrypt-hashed at cost 12src/app/signup/signup-action.ts, src/actions.tsverified
11Email is verified with a one-time code: SHA-256 hash only, 15-minute expiry, 5 attemptssrc/lib/auth-codes.ts (codeHash, AUTH_CODE_TTL_MINUTES, AUTH_CODE_MAX_ATTEMPTS)verified
12Google/Apple sign-in cannot silently merge into an existing credential accountsrc/auth.ts adapter rule requiring passwordHash before linking (R2)verified
13Manager grants are scoped to the specific venue/act rowrequireAccess / manager-scope fix, regression test src/lib/manager-scope.test.tsverified
14Uploaded images are validated by magic bytes and have EXIF/GPS strippedsrc/lib/uploads.ts (detectImageKind, stripImageMetadata, savePhoto), test src/lib/uploads.test.tsverified
15Rider uploads are validated as PDF/ZIP/UTF-8 with a size capsrc/lib/uploads.ts prepareRiderUpload, src/actions.ts uploadBookingRiderverified
16A credential attack against one network is stopped, and a legitimate user is notTwo separate counters, deliberately not merged: a failure bucket keyed on country + IP + email, 8 failed attempts in 15 minutes, cleared by a successful sign-in (LOGIN_FAILURE_LIMIT / SIGNUP_FAILURE_LIMIT in src/lib/rate-limit.ts, applied in both action files); and a raw POST volume backstop keyed on country + IP, 40 auth POSTs in 15 minutes (POST_FLOOD_LIMIT, applied in src/proxy.ts). The distinction matters: counting attempts rather than outcomes locked real users out of their own accounts, which is the bug that caused the 2026-11-08 login outageverified — asserted by src/lib/auth-throttle.test.ts
17Rate-limit counters are in-memory, keyed by country+IP, and expiresrc/lib/rate-limit.ts (Map with a 15-minute window, pruned past 5,000 entries)verified
18We do not store your IP address anywhere in the databaseno IP column in prisma/schema.prisma; nothing writes oneverified
19Your IP is sent to ipwho.is for coarse geolocationsrc/lib/geo.ts:116 (the fetchJson call inside ipLocation)verified
20The session cookie is HttpOnly, SameSite=Lax and Secure over HTTPSlive check: curl -I https://flipsocialclub.com/auth/signin returns __Host-authjs…; HttpOnly; Secure; SameSite=Lax; the LAN HTTP instance returns the same cookies without Secureverified
21The session lifetime is explicitly configuredsrc/auth.ts:208 sets session: { strategy: "jwt", maxAge: 30 * 24 * 60 * 60 }verified — closed by commit 111ef8c ("explicit session maxAge, envelope-derived verified badges, plan city/name filters"), which changed src/auth.ts; recorded in the change log under 2026-11-08
22Third-party media embeds set their own cookiessrc/app/soundcloud-embed.tsx, YouTube embeds in src/app/act-frame.tsxverified
23We hold no payment card datano payment dependency in package.json; unused Stripe keys removed from .env (R13)verified
24There is no advertising or analytics trackingno analytics/pixel script in src/app/layout.tsx or any pageverified
25Photos you upload are publicly servedfiles written under public/photos/<slug>/ and linked from listing pagesverified
26The anonymous profile-view tracker was removedprisma/schema.prisma (R16 note); no profileView writes in src/verified
27A privacy request can be filed without an account, including on behalf of someone elsesrc/app/legal/privacy-request/page.tsx + actions.tsverified
28Every privacy request gets a 30-day due datedueAt stamped by the DB trigger in migration 20261107000000_compliance_provenance_region_policyverified
29Overdue requests are visible to the operator/admin/privacy-requests queue sorts by due date and flags OPEN/IN_PROGRESS past dueverified
30A closed request records a written outcome, who closed it, and is sent to the requesterresolvePrivacyRequest requires an outcome of at least 20 characters, then sendMail(..., transactional: true) to requesterEmail; the AuditLog row records outcomeSentAt, outcomeDelivered and outcomeSuppressedverified
31Your data export is available and excludes secrets/api/me/export: auth-gated, no passwordHash, no auth tokens, third-party verification blobs listed under notIncludedverified
32Deleting your account hard-deletes the User rowdeleteAccount in src/actions.ts, one transactionverified
33Deletion purges your rider files from diskscripts/purge-rider-files.ts called inside the transactionverified
34Deletion anonymises the reports you filed and keeps the recordcontentReport.updateMany(... reporterId: null, reporterEmail: null)verified
35Deletion writes a DELETION privacy request with an outcomesame transactionverified
36Deletion retains curation history and audit entriesFKs are SetNull; audit rows have no FK to the userverified
37Deletion removes mail-outbox bodies, inquiry contact rows and hidden photo filesit does not; those rows and files persistmissing — the policy lists these as retained instead of claiming removal
38An owner of a live venue or act cannot self-deleteguard in deleteAccountverified
39Venue and act contact details are not published in structured datasrc/app/agents/structured-data.ts emits no phone/email; live check on /c/vermillion/venues/carey-s-bar JSON-LD returns no telephone/email keysverified
40Availability, capacity, age policy and price band are published as dataJSON-LD on venue/act pages (offers from the room rows, typicalAgeRange, maxRoomCapacity/maxCapacity as additionalProperty) and /api/whatson?format=jsonld. Capacity and price appear only where the platform holds a room row or a fee band — the agents page says a missing field means we do not hold itverified (re-checked after the URL fix: venue LocalBusiness and the ItemList events both carry the fields we hold)
41AI crawlers are allowed on public pages and blocked on authenticated onespublic/robots.txt, decision recorded 2026-11-07verified — checked live on 2026-11-08: https://flipsocialclub.com/robots.txt returns our file byte-for-byte (md5 201d57f65fdf4f444526819b9cee0801 on both the repository copy and the response Cloudflare sends), so the edge is not substituting a generated robots.txt. The earlier note that Cloudflare was overriding it was wrong and is corrected here
42Automated activity on an inquiry is attributedEventInquiry.channel/agentLabel/agentKeyId/principalUserId, set by saveInquiryverified
43Mail is classified transactional / operational / marketingonly a transactional flag exists (src/lib/planner/mail.ts); no marketing/operational taxonomymissing — the policy describes the classification as the target, not as current behaviour
44An address that has unsubscribed receives nothing we initiate; the only mail that still reaches it is a code that person asked forisSuppressed() checked in sendMail before the send and in flushOutbox before every retry (src/lib/planner/mail.ts); a queued row whose address has since been suppressed is moved to DROPPED with reason recipient unsubscribed (MailSuppression) and is never handed to the ESP. Every outbox insert in application code now goes through sendMail — declineInquiry (src/app/dashboard/planner-actions.ts) and smoke-submit no longer write PlannerMailOutbox rows directlyverified — asserted by src/lib/outbox-retry.test.ts (suppression-at-retry, sendMail refusal, outbox visibility) and by src/lib/mail-consent.test.ts, which stubs the ESP and confirms that a notice to a suppressed address is refused while a security code is still sent
45Non-transactional mail carries an unsubscribe link with an HMAC tokenconsentFooter() / unsubscribeToken() in src/lib/mail-consent.tsverified
46Unsubscribing creates a suppression record/unsubscribe + suppress()verified
47We can prove we asked for consent only once per medium (Bahamas DPA 2025 s.37(2))no consentRequestedAt column in MailSuppressionmissing — moot while the Bahamas is gated, load-bearing if it opens
48A moderator gives a written reason for every action, and the reporter receives itdecideContentReport requires reasonGiven (≥20 chars) and mails it to reporterEmail through sendMailverified
49A moderation decision can be appealedno appeal path in /admin/reportsmissing — the terms describe the route as "through the report and privacy-request forms"; a reopening action is not implemented
50A DMCA designated agent is registered and publishednot registeredpending — without it there is no §512 safe harbour for user-uploaded photos
51A UK GDPR Art. 27 representative and a DSA Art. 13 representative existnot appointedpending
52The ICO data-protection fee is paidnot filedpending
53A processing register, retention schedule and breach runbook exist and are maintaineddocs/legal/processing-register.md, docs/legal/retention-schedule.md, docs/legal/breach-runbook.md (written 2026-11-08)verified
54Data is purged on a schedule (mail outbox after 12 months, rider files for bookings older than 12 months, region events after 90 days, used/expired auth codes nightly, orphan photo files quarterly, aged research envelopes quarterly, inquiries at year-old rejected venues yearly)scripts/purge-retention.ts, run daily by retention-purge.timer (05:15 UTC), each job gated on its own cadence; every run writes an AuditLog rowverified — see docs/legal/retention-schedule.md §2
55Venue ownership is evidenced before a claim grants controlsubmitVenueClaim → confirmVenueClaim → curator decideVenueClaim → applyClaimDecision is the only writer of Venue.ownerId; VENUE_OWNER derived from VERIFIED claimsverified
56Claims lapse and are re-opened rather than persisting foreverexpireVenueClaims (12 months) writes an EXPIRED row and a renewal ticketverified
57Machine-derived listing data is labelled as unverifiedVenue.verification verdicts include "unverified"; Terms §8 states itverified
58An assistant never commits a date, price or hold without a human or workflow gateholds are placed by placeHold on a confirmed workflow action; assistant output is drafted, not committedverified
59The anti-circumvention clause is enforceablenot assertedpending — Terms §11 is explicitly marked as a draft requiring counsel review
60Governing law matches the operator's place of incorporationentity and incorporation state are not publishedpending
61The application runs under a least-privilege service accountsystemd unit runs as User=rootmissing — recorded here so the security clause in Terms §12 is not read as broader than it is
62A public venue or act shows a "verified" badge only when the verification envelope carries a verdictsrc/app/admin/curation/verification-badge.tsx (isVerified / PublicVerificationBadge), used by src/app/c/[citySlug]/venues/[venueSlug]/page.tsx and the act pageverified — closed in commit 111ef8c; 87 approved venues previously displayed the badge on approval status alone, only 9 have an envelope
63Breach notification follows a written runbook with the regional clocksdocs/legal/breach-runbook.md (72-hour default, separate 10-day Puerto Rico DACO branch)verified
64The Service is served only over HTTPS from the public internetthe direct HTTP port is not reachable from outside the LAN (connection refused); Cloudflare terminates TLS with HSTSverified
65Venue ownership is proven by a claim a human approved, never by the account that typed itsrc/actions.ts applyClaimDecision re-derives the actor from the session (bindActor in the same file); a claimant who is also a curator is recused (venue.claim.selfDecisionRefused), the ticket is matched on claimId and re-queued; a claim cannot be VERIFIED on a listed-field echo alone — it needs the venue's inbox confirmation or a resolving Google linkverified — repair round 2; regression: src/lib/venue-claim.test.ts (self-approval, echo gate, ticket/claim binding) and src/lib/server-action-guard.test.ts (no-cookie POSTs)
66Every account that owns a venue has a claim row explaining whybuckets 1/2/3 of the R17 backfill each write a VenueClaim: bucket 1 as usage-evidenced SELF_ASSERTED, buckets 2 and 3 explicitly recorded with the reason the owner is retained and flagged: true for the next curator reviewverified — scripts/backfill-claims.ts, audit actions venue.claim.backfill.grandfathered / venue.claim.backfill.retained; the venue list is below
67A lapsed claim stops being ownershipsrc/lib/claims.ts runClaimExpiry clears Venue.ownerId, rewrites the envelope to unverified, re-derives the role and reconciles the queue; it runs in the monthly retention job (scripts/purge-retention.ts, retention-purge.timer)verified — asserted in src/lib/venue-claim.test.ts including that the lapsed owner can no longer manage the venue
68A dispute does not silently remove a venue from the public recordrecordVenueDispute requires standing (claimant, manager or a booking party at that venue), is rate-limited, writes a triage ticket and leaves approvalStatus untouchedverified — repair round 2
69Ownership can move from one account to another only with a curator's countersignatureClaimMethod includes OWNER_TRANSFER; transferOwnership writes a PENDING transfer claim + ticket and does not touch Venue.ownerId unless the acting person is a site adminverified — repair round 2
70An OAuth sign-in cannot merge into an account whose address this site never verifiedsrc/auth.ts linkAccount gate is keyed on emailVerifiedAt, and a password present on an unverified address is cleared on the first provider link (auth.plantedPasswordInvalidated)verified — src/lib/oauth-link-guard.test.ts
71Photos are stored only under public/photossrc/lib/uploads.ts savePhoto resolves the directory and refuses any path outside public/photos before mkdir/writeverified — repair round 2
72A slug in a URL is machine-shapedsafeSlug in src/actions.ts validates every city/venue/act slug against ^[a-z0-9]+(-[a-z0-9]+)*$ on create and updateverified — repair round 2
73A claim refused by a curator comes with a written reason, and the person who filed it is toldapplyClaimDecision (src/actions.ts) refuses a REJECTED/REVOKED verdict whose reason is under 10 characters, then dropSystemNote writes the reason and the next step to the claimant's inbox; the Reject button in src/app/admin/curation/claim-review-row.tsx is disabled until a reason is typedverified — src/lib/venue-claim.test.ts §4c asserts the empty reason is refused, the note is delivered, and ownerId stays null

Scope note: the claim gate covers venues, not entertainer profiles

Requirement R17's ownership-by-claim mechanism is a venue mechanism. The VenueClaim table has no act counterpart, and this ledger's claim rows (55, 56 and 65–69) are about venues only. Entertainer profiles are gated differently and deliberately:

  • an act is created by a real account (createAct), and it is not public until a

curator approves it (approvalStatus, applyActDecision);

  • control of an act is the Entertainer.ownerId plus ActManager grants, checked

by requireAccess (src/lib/permissions.ts) — the same owner/manager/admin rule as venues, just without a claim ledger;

  • an act can be transferred (transferOwnership("act", …), audit action

act.owner.transferred) or taken over by a site admin (audit action act.owner.takeover).

There is no Google-verification envelope for acts either: Entertainer has no verification column, so the badge code on act pages renders nothing. Anyone reading the ledger should not infer that an act carries a "verified" claim — it does not, and the wording here says so explicitly.

Venues whose ownership was retained without usage evidence (buckets 2 and 3)

Decision R17 (captain + operator) was: grandfather owners with real platform usage, revoke nobody. The five venues below have an ownerId but no usage evidence and a listed contact that does not match the owning account. They now carry an explicit VenueClaim row (method SELF_ASSERTED, evidence.flagged: true) stating the reason, so the ownership is documented rather than implicit, and each is queued for the next curator review. None were de-listed and no ownerId was changed.

VenueCityOwning accountWhy ownership was retained
River City BrewerySioux Falls[email protected]listed contact does not match the account; venue is inactive; kept per R17 "revoke nothing"
Maple Street KitchenSioux Falls[email protected]same
The Backyard DeckSioux Falls[email protected]same
The Ox CartSioux Falls[email protected]same
The Supper ClubSioux Falls[email protected]same

(Run npx tsx scripts/backfill-claims.ts to see the live buckets; the script prints the same reasoning per row and writes the claim + audit rows with --apply.)

73A closed privacy request or content report is answered to the person who filed it`resolvePrivacyRequest` (`src/app/admin/privacy-requests/actions.ts`) and `decideContentReport` (`src/app/admin/reports/actions.ts`) call `sendMail(..., transactional: true)` to the requester/reporter address and write `outcomeSentAt`, `outcomeDelivered` and `outcomeSuppressed` into the `AuditLog` metadata. If the address is on the suppression list the send is refused and logged — the mail never goes out silentlyverified (the send exists; delivery depends on `RESEND_API_KEY`, which is set — see row 44 on suppression)
74Closing a DELETION request does not by itself erase the accountresolvePrivacyRequest writes an outcome only. runErasureCascade in the same file is the erase path: site-admin only, requires the literal word ERASE, refuses an address with no account, refuses a site-admin account, refuses an account that still owns venues or acts, then calls eraseAccount and writes a privacyRequest.erasure audit rowverified
75Every published listing URL in the structured data resolveslistingUrl/listingPath in src/app/agents/structured-data.ts is the only builder of venue/act URLs: the venue page (venueUrl, the performer link, the takedown targetUrl), the act page, the JSON-LD builders and /api/whatson?format=jsonld all use it. Canonical shape /c/<city>/venues/<slug> and /c/<city>/acts/<slug>; the shorthand /c/<city>/<slug> returns 404verified — scripts/listing-url-probe.ts enumerates every approved, active venue and act in the live database, builds each URL with listingPath, and fetches it against the running service. Run after the probe-fixture purge (8 November): 87 venues + 22 acts = 109 URLs, 109/109 returned 200, and the negative control /c/vermillion/carey-s-bar returned 404. Re-run as other members' fixtures appeared: 90 venues + 28 acts = 118, 118/118 returned 200. The count moves with the data; the invariant is that no built listing URL 404s. scripts/t17-selftest.ts asserts the helper's shape and resolves every URL it emits
76The region dashboard reports what the toggle is actually doing/admin/regions states the global mode, shows an "Effect now" column per country (logged only vs blocked), counts page requests, sign-up attempts, city-creation attempts and actual blocks separately, and renders the decision history from AuditLog (from → to, reason, actor)verified
77A venue hand-off is a request until a curator countersigns it`transferOwnership` (`src/actions.ts`) writes an `OWNER_TRANSFER` `VenueClaim` in `PENDING` state plus a ticket keyed to that claim; `applyClaimDecision` is the only writer of `Venue.ownerId` and moves it only on a `VERIFIED` decision by a curator who holds that claim's own ticket. A site-admin takeover is itself the human decision and is countersigned immediately. The audit row records the requesting actor as `USER` and the countersignature as `CURATOR`verified — `src/lib/venue-claim.test.ts` checks "transfer request", "transfer gate", "countersignature", "ownership moves", "role follows the claim"
78A transfer never invents or erases a Google verificationtransferEnvelope (src/lib/claims.ts) keeps the previous envelope's verdict, found name and found address and rewrites only the ownership provenance, so the badge says "Ownership transferred — countersigned by a curator" while the Google verdict stays exactly what the sweep recordedverified — src/lib/venue-claim.test.ts "verification unchanged"
79OWNER_TRANSFER exists in the database, not just in the schemamigration prisma/migrations/20261108000000_claim_method_owner_transfer adds the enum value to ClaimMethod. Until it was applied, every transferOwnership / adminTakeover call threw Postgres 22P02 "invalid input value for enum ClaimMethod"verified — npx prisma migrate deploy applied it on the live database; src/lib/audit-coverage.test.ts now runs the takeover family end to end
80Claim expiry reconciles the queue rather than stacking a second ticketrunClaimExpiry (src/lib/claims.ts) clears Venue.ownerId, rewrites the envelope as unverified, re-derives the role through syncVenueOwnerRole, and reopens the existing ticket for that claim with renewal: true instead of creating a duplicateverified — src/lib/venue-claim.test.ts "queue reconciliation"; scheduled monthly by scripts/purge-retention.ts (job claims)
81Mail we send from flipsocialclub.com is authenticated, and spoofed mail from that domain is not yet blockedDKIM is published at resend._domainkey.flipsocialclub.com and SPF at the zone apex (v=spf1 include:_spf.mx.cloudflare.net ~all), so legitimate sends pass DMARC on the DKIM leg. _dmarc.flipsocialclub.com reads v=DMARC1; p=none, which is reporting only: a forged Flip Social Club <[email protected]> password-reset email would not be rejected by a receiving server. Aggregate reporting (rua/rfa to [email protected]) was added on 2026-11-08 so p=quarantine can be set once the reports confirm our own mail passes. Tightening now, before any report has been read, risks blocking legitimate sendspartial — the risk is real and the mitigation is staged
82A venue suggestion that duplicates a live listing is caught when it is filed, and the person who filed it is toldsuggestVenue and resubmitMySuggestion run findVenueDuplicates (src/lib/venue-match.ts) against the active venues in the same city before anything is written. Names are compared on normalised tokens — parentheticals dropped ("(Formerly The Alibi)"), possessive apostrophes folded, & and and folded — and addresses on house number plus canonical street type. An identical name means the submission is refused with the existing listing named and linked, and a SYSTEM_NOTE is dropped in the suggester’s bell; a near-identical name corroborated by the same address is accepted but stamped duplicateVenueId so the curator sees the comparison in the queue. Approval is separately guarded: applySuggestionDecision refuses to create a venue when the suggestion already matches an active one in that city. Address alone is deliberately never a match — Wiley’s Tavern and Party Bike Sioux Falls share 330 North Main Avenue, and Bin201 and Stogeez Copper Lounge share 201 East 11th Street — so a shared address can corroborate a name, never establish one
Processing register

Processing register — every data category the code touches

Version: v1.0 · Compiled: 8 November 2026 · Owner: compliance Method: one row per Prisma model in prisma/schema.prisma plus the non-database stores (files on disk, in-memory caches, edge metadata). If the code writes it, it is here. Retention periods are the intended periods; the column "purge implemented?" says whether the mechanism exists. See retention-schedule.md for the operational side.

Legal bases are stated in the GDPR vocabulary because that is the vocabulary our roadmap uses; the equivalent in US state law is "necessary to perform the contract" / "legitimate interest" and in Canadian law (PIPEDA) "consent" or "activity necessary for the purpose identified".

1. Identity and account

CategoryWhereSourcePurposeBasisRetentionPurge implemented?
Name, email, password hashUsersignupoperate the accountcontractwhile the account existsyes — hard delete on account deletion
Date of birthUser.birthDatesignupage gating only (13 floor, 16+ patron)legal obligation / contractwhile the account existsyes
Signup countryUser.signupCountrycf-ipcountry at signupregion-policy evidencelegitimate interestwhile the account existsyes
Marketing opt-inUser.marketingOptInuser choiceconsent record for marketing mailconsentwhile the account existsyes
Roles, chosen cities, home cityUser.roles, chosenCityIds, homeCityIduser + geolocationfeed relevance, capability checkscontractwhile the account existsyes
Scoped manager grantsVenueManager, ActManagervenue/act ownerwho may act on a listingcontractwhile the listing exists; revoked on demandyes (cascade on user delete)
Account photo, bio, theme preferenceUseruserpresentationcontractwhile the account existsyes
OAuth provider links (Google/Apple)AccountOAuth sign-inidentitycontractwhile the account existsyes (cascade)
Auth.js session rowsSessionloginlegacy adapter table; sessions are JWTsstrictly necessaryadapter defaultyes (cascade)
Email verification codesAuthCodesignup / resetverify an email address, 15-minute TTLlegal obligation (security)15 minutesyes — nightly purge-retention.ts --job=authCodes removes used, expired and 2-day-old codes
OAuth state tokensVerificationTokenAuth.js adaptersign-in flow (kept because the adapter requires it)strictly necessaryflow lifetimeyes — same nightly job drops tokens past their expires

2. Location

CategoryWhereSourcePurposeBasisRetentionPurge?
Zip code you typeUser.zipCode, Entertainer.zipCodeyoutravel-radius mathscontractwhile the record existswith the record
Resolved coordinatesVenue.lat/lng, CityOSM/Nominatim geocodingmap + nearest-citylegitimate interestas long as the listing existswith the listing
IP-derived city (transient)in-memory cache in src/lib/geo.tsyour IP sent to ipwho.isfirst-load relevancelegitimate interest15 minutes in memory; never persistedn/a
Neighborhood definitionsNeighborhoodcuratordisplaylegitimate interestindefiniteno

3. Venues, acts and the calendar

CategoryWhereSourcePurposeBasisRetentionPurge?
Venue identity, address, hours, age policy, themesVenuecurator research + owner editsthe listing itselflegitimate interestwhile listed; removed on requestno automatic purge
Third-party venue contact (phone, email, website)Venue.contactPhone, contactEmail, urlpublic sources (OSM, Google, venue site)letting a booking happenlegitimate interestuntil removed on request (30-day SLA)on request only
Machine-derived enrichment and verification blobVenue.verification, VenueSuggestion.enrichmentOSM/Google fetches, our assistantcuration evidencelegitimate interest12 months after the fetch (checkedAt)yes — quarterly purge-retention.ts --job=enrichment; the verdict survives, the envelope is dropped
Rooms, capacities, dimensions, base priceVenueRoomowner/curatorplannercontractwhile listedno
Pricing rules, catalog items, policiesPricingRule, CatalogItem, Policyownerquotingcontractwhile listedno
Acts, genres, price band, travel radius, social linksEntertainerowner + curatordirectorylegitimate interestwhile listedno
Act contact phone/emailEntertainer.phone, emailowner (required for the curation gate)booking contactlegitimate interest + contractuntil removed on requeston request only
Songs, members, managers, invitesSong, ActMember, ActManager, ActInviteownerteam and repertoirecontractwhile the act exists; MemberStatus LEFT rows kept 3 years for dispute historyno
PhotosEntertainerPhoto, Venue.galleryUrls + files under public/photos/<slug>/entertainers/venuesdisplaycontractuntil the owning listing is gone; hiding a photo on a live act keeps the file until an operator decidespartial — removeVenuePhoto unlinks on demand; quarterly purge-retention.ts --job=photos removes files whose venue or act row is gone; hidden photos on a live act need --include-hidden
Features, recurrences, schedulesFeatureowner/curatorcalendarcontractwhile listedno
Events (dated occurrences)Eventderived from features and bookingscalendarcontractpast events retained for historyno
Availability rows, closed daysAvailability, VenueClosedDay, RoomAvailabilityowneropen-by-default calendarcontractrolling; soft holds expire in 24 hoursholds expire lazily
Public directory entriesVendorowner/public sourcesdirectorylegitimate interestwhile listed; removed on requeston request

4. Booking and correspondence

CategoryWhereSourcePurposeBasisRetentionPurge?
Inquiry name, email, phone, guest count, dates, answersEventInquirytalent buyer, act, venuefulfilling a bookingcontract12 months after the event date; inquiries at venues rejected for a year are removed yearlypartial — purge-retention.ts --job=inquiries covers rejected venues; general aging is still open
Inquiry channel, agent label, agent key id, principal user, confirmation timeEventInquiry.channel etc.the submitting account or its automationattribution, rate limits, dispute evidencelegitimate interest90 days of raw attribution detailno
Package snapshotsEventPackageplatformthe agreed scopecontract12 monthsno
Rider filesBookingRider rows + rider-files/<bookingId>/ on diskentertainersload-in, setup, requirementscontract12 months from booking creation (the closed+90 rule needs a closedAt column)monthly purge-retention.ts --job=riders, plus account deletion
In-app notificationsNotificationplatformtelling users what changedcontractwhile relevantno
Mail outbox (full bodies sent to third parties)PlannerMailOutboxplatformdeliverability and a record of what was saidlegitimate interest12 monthsno purge job exists
Waitlist emailsDateWaitlistsite visitorsnotificationconsent — currently dormant; the model should be deleted or consent captureduntil opt-outno
Friend requests/friendships, follows, likes, going marksFriendRequest, Friendship, Follow, EventLike, EventGoinguserssocial layercontract / legitimate interestwhile the account existscascade on deletion

5. Curation, provenance and decisions

CategoryWhereSourcePurposeBasisRetentionPurge?
City requestsCityRequestusersmarket expansionlegitimate interestindefinitely (history)no
Venue suggestions incl. enrichmentVenueSuggestionresearch + assistantcuration inputlegitimate interest12 months after the decisionyes — the quarterly enrichment job nulls the blob
Curation queue items and decisionsCurationQueuecuratorsthe approval traillegitimate interestindefinite — this is the evidence that a human reviewed a listingno (by design)
Venue claims and their verification trailVenueClaimclaimant + curator + Google/phone/email evidenceproving who controls a venue before granting controllegitimate interest + contract12 months, then EXPIRED with a renewal ticketexpiry implemented
Audit log (actor, action, target, metadata, timestamp)AuditLogplatformaccountabilitylegitimate interestindefiniteno
Region-gate events (country, path, would-be decision, mode)RegionEventedge headertraffic evidence before any wall goes uplegitimate interest90 daysmonthly purge-retention.ts --job=regionEvents
Region policy rowsRegionPolicyseeded decision + admin togglesthe actual gate statelegitimate interestindefiniteno

6. Compliance records

CategoryWhereSourcePurposeBasisRetentionPurge?
Privacy requests (type, requester, subject, target, detail, due date, outcome, handler)PrivacyRequestthe data subject or a third partyanswering a request and proving it was answeredlegal obligationindefinite — the outcome record is the compliance artefactno (by design)
Content reports and moderation decisionsContentReportanyonenotice-and-action with a written reasonlegal obligation (DSA Art. 17 in the EU; good-faith evidence elsewhere)indefiniteno
Mail suppressionsMailSuppressionunsubscribe link or manual formhonouring an opt-outconsent / legitimate interestindefinite — a suppression must outlive the account it refers tono
Research invitations and answersFocusQuiz, FocusQuizInvite, FocusResponsenon-users (research)product researchconsent — note this is a CASL/PIPEDA problem because the targets are not users12 months intendedno

7. Not collected

Precise GPS, device fingerprints, advertising identifiers, payment card data, behavioural analytics, cross-site tracking, and any IP address in a database column. The anonymous profile-view tracker that once existed in the schema was removed (R16) and is not replaced.

8. Subprocessors (what leaves our server)

Cloudflare (hosting, TLS, country signal), Resend (email), ipwho.is (IP geolocation), OpenStreetMap/Nominatim and CARTO (geocoding and map tiles), Google Maps pages (venue verification fetches), SoundCloud and YouTube (only when a visitor opens an embed). Our assistant stack (Mastra) runs on our own LAN and receives only data already in our database. Puerto Rico's Ley Núm. 39-2012 makes this list statutory content, not a nicety.

Retention schedule

Retention schedule

Version: v1.2 · Compiled: 8 November 2026, revised 16 November 2026 · Owner: compliance Companion: processing-register.md (what we hold) and claims.md (what we are allowed to promise). Companion runbooks: breach-runbook.md and classification-memo.md. Controls: scripts/purge-retention.ts, run by the systemd timer retention-purge.timer every day at 05:15 UTC on the host. v1.0 of this document listed seven purge jobs as targets; v1.1 records them as code.

Two columns matter: the retention period (what the policy says) and enforced by (what the code actually does today). Where the second column names a job, that job exists and runs on the schedule. Where it says "manual", there is no automated control and the schedule says so plainly.

1. Retention table

DataRetentionEnforced byPurge job needed?
User row, birth date, signup country, opt-inwhile the account existshard delete on account deletion (deleteAccount in src/actions.ts)no
Sessions, OAuth Account rows, manager grants (VenueManager, ActManager), follows, likes, going marks, friendships, city requests, venue suggestionswhile the account existsFK cascade on user deleteno
Auth codes (AuthCode)15 minutespurge-retention.ts --job=authCodes deletes used, expired, or two-day-old codesno — implemented
OAuth state tokens (VerificationToken)flow lifetimesame nightly job, by expiresno — implemented
Venue / act listings and their third-party contact detailswhile listed; removed on request within 30 daysmanual, via /legal/privacy-request; the admin queue flags overdue requestsno, but the queue must be monitored
Machine-derived enrichment / verification blobs (VenueSuggestion.enrichment, Venue.verification)12 months after the research fetch (checkedAt, falling back to the listing's creation date)purge-retention.ts --job=enrichment nulls the blob and keeps the curator's verdictno — implemented
Uploaded photo files under public/photos/until the owning listing is gonepurge-retention.ts --job=photos sweeps every directory and removes files with no owning venue or act row. removeVenuePhoto already unlinks on demand; hiding an act photo does not delete the file, and those are removed only with --include-hiddenno — implemented
Rider files under rider-files/<bookingId>/bookings older than 12 months, plus any directory whose booking row no longer existspurge-retention.ts --job=riders deletes the directory and the matching BookingRider rows; account deletion still purges via scripts/purge-rider-files.tsno — implemented
PlannerMailOutbox rows (full bodies of mail sent to third parties)12 months, and immediately once a row is DROPPEDpurge-retention.ts --job=outboxno — implemented
RegionEvent rows90 days (the dashboard only reads 7/30/90-day windows)purge-retention.ts --job=regionEventsno — implemented
EventInquiry at a venue that has been rejected for more than a year12 months after the rejectionpurge-retention.ts --job=inquiries (also clears the dangling RoomAvailability holds)no — implemented
RoomAvailability soft holds24 hourslazy expiry (holdExpiresAt)no
Notification rows addressed only to one personwhile that account existspurge-retention.ts --job=notices removes rows whose patronId, venueId and entertainerId are all null — no inbox query can reach themno — implemented
VenueClaim12 months, then EXPIRED with a renewal ticketexpireVenueClaimsno
AuditLogindefinitenothing, deliberatelyno
CurationQueueindefinitenothing, deliberatelyno
PrivacyRequestindefinite — the written outcome is the evidencenothing, deliberatelyno
ContentReportindefinitenothing, deliberatelyno
MailSuppressionindefinite — an opt-out must outlive the accountnothing, deliberatelyno
FocusQuizInvite, FocusResponse (research on non-users)12 monthsnothing yetyes — see §4
DateWaitlistuntil opt-outnothing; the model is dormantdelete the model or capture real consent
Server/system logs90 dayshost log rotation, not the applicationoperator task

2. The eight jobs, as code

Each target from v1.0 now has a function in scripts/purge-retention.ts with an explicit cutoff constant, a cadence, and a dry-run default. notices is new in v1.2 and closes a gap the v1.1 table did not list at all.

JobCadenceCutoffWhat it removesFunction
outboxmonthly12 months, plus every row in state DROPPEDPlannerMailOutbox rowspurgeOutbox
ridersmonthlybookings created 12+ months ago, and directories with no booking rowrider-files/<bookingId>/ and their BookingRider rowspurgeRiders
regionEventsmonthly90 daysRegionEvent rowspurgeRegionEvents
authCodesnightlyused, expired, or created 2+ days ago; OAuth state tokens past their expiresAuthCode and VerificationToken rowspurgeAuthCodes
photosquarterlyno date — the test is whether the owning venue or act row still existsfiles in public/photos/<slug>/ with no owner, and files referenced by no rowpurgePhotos
enrichmentquarterly12 months since checkedAt (or the listing's creation)VenueSuggestion.enrichment, Venue.verification envelope (verdict kept)purgeEnrichment
inquiriesyearlyvenue rejected 12+ months agoEventInquiry rows and their dangling holdspurgeRejectedInquiries
noticesmonthlyno date — the test is whether the row has any audience at all (patronId, venueId and entertainerId all null)Notification rows no inbox query can reachpurgeOrphanNotices

How it runs.

npx tsx scripts/purge-retention.ts                      # dry run of whatever is due today
npx tsx scripts/purge-retention.ts --apply              # delete (this is what the timer does)
npx tsx scripts/purge-retention.ts --force              # run every job now, ignoring cadence
npx tsx scripts/purge-retention.ts --job=outbox         # one job
npx tsx scripts/purge-retention.ts --include-hidden     # also delete photos that exist only as hidden rows
  • Dry run is the default. Nothing is deleted unless --apply is passed. The first run of any new job is therefore auditable before it touches a row.
  • Cadence is gated inside the script. The systemd timer fires every day at 05:15 UTC; a job only runs on its own schedule (nightly every day, monthly on the 1st, quarterly on the 1st of Jan/Apr/Jul/Oct, yearly on Jan 1). Persistent=true means a run missed during downtime is caught up.
  • Idempotent by construction. Every match is a date or a state; once removed, a row or file can never match again. A re-run reports matched 0.
  • Every run writes to `AuditLog` (action: retention.purge or retention.dryrun, targetType: retention-job, metadata: cutoff, matched, removed, detail). The schedule is provable, not asserted.
  • Path safety. Only directories whose name matches a cuid/slug pattern are touched, and every resolved path is checked to sit inside rider-files/ or public/photos/ before anything is removed.

The jobs are scheduled by two systemd units on the application host — a oneshot service that runs the purge script in the repository, and a timer that fires it at 05:15:00 UTC every day with Persistent=true so a missed slot runs on boot rather than being skipped. Anyone with access to the host can verify it with systemctl list-timers | grep retention; the exact unit paths are not reproduced here because a public legal document has no reason to publish the layout of a production machine.

3. Evidence the jobs work

Built and run on 8 November 2026 against synthetic fixtures that cross every cutoff, then cleaned up so the production counts returned to their baseline:

--- dry run (nothing deleted) ---
  outbox         (monthly) matched 2 — 1 rows older than 12 months, 1 rows in state DROPPED
  riders         (monthly) matched 1 — 1 directories (1 aged bookings, 0 orphan directories), 1 files, 44 bytes; 0 BookingRider rows cleared
  regionEvents   (monthly) matched 1 — 7 rows in the table, 1 older than 90 days
  authCodes      (nightly) matched 2 — 2 dead verification/reset/delete codes, 1 still-valid codes left alone, 0 stale OAuth state tokens
  photos         (quarterly) matched 1 — 6 directories scanned; 1 files with no owning row in 1 orphan directories; 41 bytes
  inquiries      (yearly) matched 1 — 1 venues rejected before 2025-11-08T03:39:01.089Z (1 dated by an audit record, 0 by Venue.updatedAt), 1 inquiries attached to them
  enrichment     (quarterly) matched 2 — 1 VenueSuggestion enrichment blobs nulled, 1 Venue verification envelopes pruned to verdict only
total: 10 matched, 0 removed (dry-run)

--- apply ---
  outbox  matched 2 removed 2 | riders matched 1 removed 1 | regionEvents matched 1 removed 1
  authCodes matched 2 removed 2 | photos matched 1 removed 1 | inquiries matched 1 removed 1 | enrichment matched 2 removed 2
total: 9 matched, 9 removed (apply)

--- re-run: idempotency ---
  every job matched 0, removed 0
total: 0 matched, 0 removed (apply)

The rider directory and the orphan photo directory were gone from disk after the apply run; the suggestion's enrichment was null; the venue's verification reduced to {"verdict":"unverified","prunedAt":...,"note":"research envelope pruned by the retention job; the curator decision is unchanged"}.

Baseline dry run on production data at the same moment: outbox 0, riders 0, regionEvents 0, authCodes 0, photos 0, inquiries 0, enrichment 0 — nothing in the live tables is yet past a cutoff. (The run did remove five DROPPED outbox rows and one orphan rider directory left behind by earlier self-tests; both are exactly what the jobs are for.)

Next scheduled runs: authCodes nightly from 8 November 05:15 UTC; outbox, riders, regionEvents on 1 December; photos and enrichment on 1 January; inquiries on 1 January.

4. Still open

  • General inquiry aging. The yearly job targets inquiries at venues rejected for a year. Inquiries at live venues are kept 12 months past the event date, but there is no job for that yet — it needs a decision on what "the event date" means for a never-confirmed inquiry.
  • Rider files on closed bookings. The policy says closed + 90 days. Booking has no closedAt; the job uses creation date instead. Add closedAt to the model if the tighter rule matters.
  • Research data on non-users. FocusQuizInvite/FocusResponse hold contact details of people who never signed up. The 12-month retention is stated but not enforced, and the lawful basis needs review before a purge job is written.
  • Hidden photos on live acts. Removed only with --include-hidden. Decide whether hiding is a soft delete or a real one, then make the code match.
Breach runbook

Breach response runbook

Version: v1.0 · Compiled: 8 November 2026 · Review: annually, and whenever the footprint changes Scope: any incident in which personal data held by Flip Social Club is accessed, disclosed, lost, altered or exfiltrated by someone without authority — including a misconfigured export, a leaked admin screenshot, a compromised account used to bulk-download, or a subprocessor telling us something happened on their side.

0. The operating rule in one line

Default to 72 hours. Seventy-two hours is the shortest live clock anywhere in our current footprint and it sits comfortably inside every US state floor we face. Puerto Rico is the exception and it is a separate branch: a 10-day filing with DACO, on top of notifying affected people in the most expedient manner possible.

1. Who is on call

  • Incident lead: the operator of the platform (currently the person with root access to the host and the Resend/Cloudflare accounts). A named title and a named person must be published before this runbook can be cited as "the responsible person" — see the open items in docs/legal/claims.md.
  • Second pair of eyes: a curator or admin who can read the audit log and is not the person fixing the server. The point is that the assessment is not written by whoever caused it.
  • Subprocessor contacts: Cloudflare (abuse/support), Resend (delivery/security), and the operator of the venue-claim verification fetches. If data left our server through one of them, they are the source of the facts and we are still the controller.

2. First four hours — contain, then find out

  1. Stop the bleeding. Rotate the session secret and AUTH_SECRET, revoke affected sessions, close the endpoint or path involved, freeze the affected table's write path if necessary.
  2. Preserve evidence. Do not delete rows you are investigating. Export AuditLog, the relevant table rows, and the systemd journal before anything is cleaned.
  3. Establish the four facts: what data, whose data, how many people, and how it left. "Data" here means the widest sensible reading: name + email + bcrypt password hash is a credential exposure even if the hash is not cracked.
  4. Write the timeline as it happens, with timestamps. This document is the regulator's first request.

3. Is this notifiable? Decision rule

Answer three questions in order. If any answer is yes, notify.

QuestionIf yes
Did unauthorised parties access or take personal data?Notify.
Is there a real risk of significant harm to the affected people (identity theft, financial harm, exposure of contact details to hostile actors, doxxing of a venue owner)?Notify. Under PIPEDA this is the threshold for reporting to the Privacy Commissioner.
Is the data of a resident of a jurisdiction with a statutory clock (any US state, Puerto Rico, Canada, Quebec, the Caribbean states on the clock table)?Notify that jurisdiction's authority and the residents, even if our own risk assessment says the harm is minor.

Log every incident, reportable or not. Under PIPEDA s.28 the record-keeping duty is separate from the reporting duty: a breach that is not reported still has to be recorded, and failure to record or report is a criminal offence (up to CA$10,000 on summary conviction, CA$100,000 on indictment), not an administrative fine — PIPEDA has no administrative penalty regime. Every incident gets a row in the incident register with date, affected count, cause, actions and notification decision.

4. The clocks

4.1 Where we serve today (United States, Canada, and the US territories we deliberately serve)

JurisdictionClockAuthorityNote
Puerto Rico10 days to DACO (Ley Núm. 111-2005, art. 3 / L.P.R.A. § 4052), and affected customers notified "in the most expedient manner possible" (§ 4053)DACO, which then publicly announces within 24 hoursSeparate branch. Whether a US-hosted platform with no PR establishment is an "entidad authorized to do business or operate in Puerto Rico" is genuinely unsettled — do not assert either answer. If we serve PR traffic (we do, by decision), assume the duty applies and file. Art. 5 protects an entity that already has its own notification procedure, which is why this runbook exists.
US states30-day floor for our procedure: California, Colorado, Florida, New York, Washington are 30 days; Maryland, Oregon, Indiana, Rhode Island, Vermont 45; Connecticut, Delaware, Texas, South Dakota and most others 60State AGs and residentsSouth Dakota is the worked example (SDCL §§ 22-40-19 to 22-40-26): residents within 60 days, AG notified when more than 250 SD residents are affected. A single 30-day procedure satisfies every state on the list.
U.S. Virgin Islands"most expedient time possible and without unreasonable delay" — no fixed clock (14 V.I.C. § 2209)—The statute's definition is narrower than a password leak: it needs a name plus SSN, driver's licence or financial account number with the access code. Decide deliberately whether to notify anyway; § 2209(h) protects an entity with its own procedure.
Guam"without unreasonable delay" — no fixed clock (9 GCA ch. 48, § 48.40)AG (exclusive enforcement, up to $150,000 per breach or series)Same narrower definition; § 48.40(a) rewards an existing written procedure.
Canada (federal)"as soon as feasible" once a breach involving personal information has occurred, where there is a real risk of significant harmPrivacy Commissioner of Canada + affected individualsMust also keep a breach record of every breach, reportable or not. No administrative fines; s.28 criminal liability.
Quebec30 days to the CAI (Law 25)Commission à l'information et aux libertésWe serve Canadian venues, so this is live, not hypothetical.

4.2 Caribbean clocks (live when the gate opens, written now so we do not improvise later)

JurisdictionClockCitationStatus of the duty
Barbados72 hoursDPA 2019 s. 61(1)live
Belize72 hoursDPA 2021 s. 61(1)enacted; proclamation status unresolved
Guyana72 hoursGYDPA 2023 s. 65(1)enacted; activation unresolved
Jamaica72 hoursDPA 2020 s. 21(3)reporting provisions' commencement unresolved
Bahamas72 hours only once the Data Protection Act 2025 commencesss. 48–49 of the 2025 Actprospective; the statute in force today (Ch. 324A) has no clock
Cayman Islandsfive days to the Ombudsman and the data subjectDPL 2017 s. 16(1)live — and it is the looser clock, not the tighter one; 120 hours
Bermudawithout undue delayPIPA 2016 s. 14live
Aruba, Curaçao, Bonaire, TCI, Antigua, Saint Lucia, St Kitts, Grenada, Trinidad & Tobagono breach-notification duty found—nothing to do here beyond logging
Cubanot servable at allLey 149 art. 7 requires Cuban-resident data to be hosted in Cubagated by design

Why 72 hours is the number: it is the shortest verified live clock across the whole roadmap footprint (EU/UK 72h, Barbados 72h, Belize 72h, Guyana 72h, Jamaica 72h once commenced), and it is shorter than every US state floor and shorter than Cayman's five days. Build one path to the 72-hour standard and you do not need twenty procedures. The only deadline longer than 72 hours anywhere in the footprint is Puerto Rico's 10-day DACO filing, which is handled as a distinct branch because it is a filing to an authority with its own form and a public announcement, not just a notice to users.

5. Notification template

Send as email, and publish on the site if the affected population is large or the data is exposed publicly.

Subject: Notice of a data incident affecting Flip Social Club

>

On [date/time UTC] we discovered that [what happened] affecting [number] accounts. The information involved was [name / email / listing details / other].

>

What we have done: [containment, revocation, fixes]. What we are doing next: [monitoring, additional controls].

>

What you should do: [change your password / watch for phishing / nothing required].

>

We have reported this to [authority, if applicable]. Questions: [email protected].

>

Filed with DACO (Puerto Rico) on [date] where applicable.

Keep the wording factual. Do not say "no customer data was affected" until the assessment is finished, and do not describe a breach as "minor" — that is a conclusion a regulator will test.

6. After the incident

  1. Close the register entry with: date found, date notified, authority notified, number affected, root cause, remediation, and whether the notification was legally required or voluntary.
  2. Post-incident review within 14 days: which control failed, and what changed in the code as a result. Record that in the audit log so the fix is provable.
  3. Decide about cyber insurance. Not a legal requirement, and the runbook is not a substitute for a policy that pays for the notification costs.
  4. Update [docs/legal/claims.md](#claims) if a promise in the terms or privacy policy turned out to be inaccurate — an inaccuracy discovered during an incident is a second exposure in its own right (Puerto Rico's Ley 39 makes a policy that does not match practice a fineable offence).

7. What we have not done yet

  • No named responsible person published (see claims.md).
  • No tabletop exercise run; the runbook has never been exercised against a real incident.
  • No subprocessor breach-notification contract terms confirmed (Resend and Cloudflare incident procedures are their own).
  • No incident register table in the database — the audit log records actions but not incidents. Adding BreachIncident is a small migration; until it exists, the register is a file.
Classification memo

Classification memo — what kind of service is Flip Social Club?

Date: 8 November 2026 · Owner: compliance · Review trigger: every time a feature ships that changes who authors content, who can message whom, or which country the gate opens to. This memo is not a legal opinion; it is the recorded answer we can show a regulator, with the citations we checked and the ones we did not resolve.

Three questions decide most of the compliance cost on the roadmap. Each has an answer today, a design alternative that changes the answer, and a cost attached to each branch.


(a) Is it a "regulated service" under the UK Online Safety Act 2023?

Answer today: yes, as currently built — which is why the UK is gated.

The Act applies when three things are true: the service is a user-to-user service (s.3 — users can generate content that other users encounter), it has UK links (s.4), and it is not exempt under Schedule 1. Deliberately opening to the UK satisfies s.4.

The decisive exemption is Schedule 1 paragraph 4 ("limited functionality services"): a service is exempt if users can communicate only by commenting on or reviewing content published by the provider, or by liking/rating it. Paragraph 5 extends this where the only other user content is email, SMS or one-to-one audio. Paragraph 7 exempts a closed, internal business group, and s.5(1) allows Part 3 (the duties) to be disapplied for just that closed part.

What makes us regulated right now: venues claim and edit their own listings, acts post their own profiles and photos, patrons submit venue suggestions, and users upload images. Content is user-authored, not provider-authored. The human approval queue mitigates risk but does not change the classification — the exemption turns on who publishes, not on whether a human reviews.

The alternative that changes the answer: platform-authored listings with venue confirmation. The curator writes the listing from public records; the venue owner confirms or corrects it; users may comment, review, like and "going"-mark, but not originate the listing. That is the Schedule 1 para 4 shape. It is a workflow change (the curation queue already exists), not a new feature.

Cost of each branch: the exempt route means no children's access assessment, no illegal-content governance, no transparency reporting, no Ofcom-facing reporting tools — a representative appointment and the ICO fee remain. The regulated route is the six-figure project: annual risk assessments, child-safety design, reporting and blocking mechanisms, and a documented enforcement process.

Unresolved: paragraph 4's exact scope was read from secondary summaries of the Act; the primary text and Ofcom guidance should be checked before we rely on it. [S/U → needs primary-source verification]


(b) Is it an "age-restricted social media platform" in Australia?

Answer today: probably not, but it is close enough that we gate Australia rather than argue about it.

The Online Safety Act 2021 (Cth) defines a social media service (s.7) and the Online Safety (Age-Restricted Social Media Platforms) Rules 2025 (amended 26 March 2026) set out the features that bring a service into the under-16 ban that commenced 10 December 2025. The description in those rules — profiles, follower relationships, content posting, messaging, liking — matches parts of our feature set almost exactly.

Two arguments for exemption:

  1. "Online social interaction does not include online business interaction." A venue-act booking calendar is closer to a commercial marketplace than to social networking. The follower/like layer is the counterweight: it is social interaction on its face.
  2. Small business operator exemption, s.6D of the Privacy Act as referenced in the roadmap: annual turnover ≤ A$3,000,000. That exemption is about privacy obligations, not the age-restricted platform rules, so it does not answer (b) by itself — do not conflate the two. Two live caveats: disclosing personal information about another individual to a third party for a benefit (a monetised venue-contact directory sits in that zone) and the OAIC's treatment of children's data as outside the exemption. An Australian-only 18+ floor would remove both.

Design alternatives that change the answer: remove or gate the follower/like/"going" features for Australian accounts; keep Australia as a read-only calendar with no accounts under 18; or restrict messaging to venue↔act threads tied to a booking (business interaction).

Action: run the eSafety self-assessment before the Australian gate comes down, record the date, the answers and the person who made the call. Until then, Australia stays blocked and the block is defensible as a precaution rather than as a claim of compliance.


(c) Is it an "online platform" under the EU Digital Services Act?

Answer today: as an intermediary we are at least a hosting service; a public calendar that users generate pushes us toward "online platform" (Art. 3(i)) — but we do not serve the EU, so the obligations are dormant.

The DSA distinguishes a mere hosting service (Art. 3(g)) from an online platform, which hosts and disseminates to the public content generated by users. Venue listings, event posts and photos are user-generated and publicly disseminated, so if we opened to the EU we would be an online platform.

Relevant carve-outs and mitigations:

  • Art. 3(i) excludes services where users cannot generate content without the provider's consent and the provider has full control over that content. Our curator gate is a partial argument, not a clean one.
  • Art. 13 requires a non-EU provider serving EU users to designate a legal representative in an EU Member State — separate from, and not the same as, a UK GDPR Art. 27 representative.
  • Arts. 16–18 notice-and-action and statements of reasons. We already implement the substance: every content report produces a written reasonGiven. Art. 18(1) relieves micro and small enterprises of submitting those statements to the DSA Transparency Database, which is the practical exemption we would rely on at this size.
  • Arts. 14–15 require clear terms and an annual transparency report; no micro-enterprise carve-out was found for Art. 15.

If the EU ever opens: the DSA duties are procedural (representative, terms, notice-and-action, transparency report) rather than architectural. The expensive part is not the DSA; it is the age verification and child-safety design that come with serving minors in a regulated market.


(d) Do we need a Data Protection Officer?

Assessment (GDPR Art. 37, recorded rather than assumed): no. We are not a public authority, our core processing is not "large-scale" special-category data, and date of birth is not a special category. No DPIA is triggered yet; one becomes necessary the moment we knowingly serve under-18 users at scale or introduce automated decision-making that affects individuals. Document the assessment and its date; a regulator asks for the date, not the intention.


(e) The gate is a classification instrument, not only a compliance wall

Every blocked country in RegionPolicy is a decision with a stated reason in the code and in the change log. The gate does two things at once: it keeps us out of markets where the classification answer is expensive or unresolved, and it makes the answer provable — we can show that we knew the obligation existed and did not walk into it. If the gate comes down for a country, this memo must be updated before the toggle is flipped, not after.

Next reviews due: before any UK, EU, Australian or Caribbean toggle; after any change to who can author content or message whom; and annually in any case.

Questions about anything on this page: [email protected]. To ask us to remove or correct a listing about you or your business: /legal/privacy-request.