Skip to content

Conversation

@vcarl
Copy link
Member

@vcarl vcarl commented Feb 9, 2026

No description provided.

vcarl and others added 4 commits February 7, 2026 18:42
Multi-signal spam detection pipeline with content analysis, behavioral
heuristics, velocity tracking, and honeypot support. Graduated response
system (low/medium/high/honeypot tiers) with configurable thresholds.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Replace the old regex-based isSpam helper with the new Effect-based
SpamDetectionService in the automod MESSAGE_CREATE handler.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…ove double-fire

- Move SpamDetectionServiceLive into AppLayer so it's constructed once at
  startup, fixing per-message DB connection and cache recreation
- Remove legacy honeypotTracker.ts (new service.ts already handles honeypot),
  fixing double-softban on honeypot messages
- Inline spamPatterns.ts into contentAnalyzer.ts (sole consumer)
- Remove SpamDetectionError (created only to be immediately caught), simplify
  to Effect.tryPromise + catchAll
- Inline hashContent (one-liner used once)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant