Skip to content

Admin safety tools: review a member's messages, report a message or photo, warn contacts on suspend - #20

Merged
WhatBoxLLC merged 4 commits into
mainfrom
claude/project-thread-s8ifre
Nov 29, 2026
Merged

WhatBoxLLC merged 4 commits into
mainfrom
claude/project-thread-s8ifre

Conversation

@WhatBoxLLC

Copy link
Copy Markdown
Owner

Requested by Jeff Oakes · project thread

Why

Jeff wants to see everything about a suspicious member in one place, read what they've been sending, let members report a single message or photo, and warn the people a removed member was talking to.

What changes

Admin member preview (Members tab, or "See profile" from any queue item)

  • Shows the risk hints from Flag possible scammers for review: sign-in country, Tor/VPN, writing hints, plus a one-time check of old-site members #17 and the niche review flags from Keep DateALittle and HFriends on-niche: niche-first Browse, dwarfism type and disability categories, account review flags #19, with their evidence.
  • New Profile answers list with every answer, including the ones not shown on the profile (for example type of dwarfism or disability categories), marked "not shown on profile".
  • Reports from members: a count, plus the latest reasons, who reported, and whether the report was about a message or a photo.
  • Review messages: read-only list of the member's conversations (sent, received, held and flagged counts). Open one to read both sides, with flagged and held messages marked and contact info highlighted. Nothing is marked read. Each list and conversation view is written to the audit log (member.messages.list, member.messages.view: who, when, which member, which conversation). Only admins with access to that site can open it, through the existing adminSite check.
  • Suspend… opens a form with a reason (Scam or fraud / Other safety concern / Other rule) and a Warn the members they messaged switch. The switch is on by default only for Scam or fraud.

Safety notice email (packages/core/src/safety-notice.ts, AcsNotifier.sendSafetyNotice)

  • Goes to everyone with delivered messages either way. Held messages don't count, and members without an email address on file are counted as skipped.
  • The wording is factual and neutral: the display name, that the account "was removed for violating our safety guidelines", a recommendation to be careful, and safety tips (never send money, be careful off-site, block and report). It never says why.
  • On sensitive sites (AfterH), the subject and opening line don't name the site.
  • Sent once per member (member.safetyNoticeAt), from the site's own sender, regardless of email preferences.

Member reporting

  • A Report link under each message you received, with reasons, sends messageId. Only the recipient can report a message.
  • Report this photo under the large photo on a profile (public or unlocked private) sends photoId.
  • Queue report items show the reported message or photo (click to enlarge), with Suspend member…, Remove photo (for photo reports), Dismiss and See profile.

Privacy Policy and Terms

  • Both now say moderators may review messages, photos and accounts for safety, that every review is logged, and that contacts may be told by display name when an account is removed.
  • addPolicyNotices adds the paragraph once to the existing prod pages on the next migrate. It only appends, and it never adds the paragraph again if an admin edits or removes it.

API: GET /admin/sites/:site/members/:id/conversations[/:other], PATCH …/members/:id takes reason and notifyContacts and returns { notified, noEmail }, POST /v1/members/:id/report takes messageId or photoId, and moderation adds the remove_photo decision. No schema or infra changes.

Not included

Admins can only suspend here. There is no admin "delete member" yet, so the notice goes out on suspension.

Testing

  • npm test: 70 pass. New tests cover message and photo reports, remove photo, report summary, read-only review with audit entries, the notice sent once with neutral and discreet wording, the policy paragraph added once, and that admins see every answer.
  • npm run typecheck: clean.
  • Checked in the web preview: message review, the suspend form, and risk flags in the preview.

Deploy

No workflow or infra changes. Deploying runs migrate, which appends the policy paragraph to each site's Privacy and Terms pages.


Generated by Claude Code

…or redact in place, fewer false contact flags, photo lightbox, member profile view

- Contact check no longer reads ordinary English ("a giver at heart. more later"), year
  ranges, measurements or "mixed signal" as contact info; spelled emails need a mail
  provider or a spelled "dot", bare domains are lower-case only, handles need a separator
  or a handle-like name, phone numbers must look like phone numbers.
- Profile items show the member's whole About me, with each match highlighted and named.
- New decisions: redact (remove only the contact details) and edit (save corrected text).
- Re-check button marks waiting import flags fine when today's check finds nothing.
- Click a photo in the queue to see it larger.
- Members tab: click a member for their full profile plus every photo with its status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015x8UvSnJ9qFe7pZLH6BupP
…to, safety notice on suspend, policy text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015x8UvSnJ9qFe7pZLH6BupP
…file answer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015x8UvSnJ9qFe7pZLH6BupP
@WhatBoxLLC
WhatBoxLLC merged commit 5710771 into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants