A tool for parsing traffic on the jetstream and applying a moderation workstream based on regexp based rules
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

v2.1.0: Starter pack threshold, label negation, login retry & documentation #1

open opened by skywatch.blue targeting main from 2.1.0

Summary#

  • New starter pack threshold monitoring system for detecting follow-farming
  • Account label negation support (remove labels when criteria no longer match)
  • Login retry logic with configurable attempts
  • Configurable time window units (minutes, hours, days) for threshold labeling
  • Refactored profile checking into single unified function

New Features#

Starter Pack Threshold System#

  • New src/starterPackThreshold.ts module
  • Monitors starter pack creation per account within rolling time windows
  • Configurable threshold, window, and actions (label/report/comment)
  • Per-config allowlist support
  • 3 new Prometheus metrics for monitoring

Label Negation#

  • New negateAccountLabel() function in accountModeration
  • New getAllAccountLabels() to retrieve current labels
  • New deleteAccountLabelClaim() for Redis cache invalidation
  • Enables unlabel: true in check configs to auto-remove labels

Configurable Window Units#

  • Changed from windowDays: number to window: number + windowUnit: WindowUnit
  • Supports "minutes", "hours", "days"
  • Applies to both account threshold and starter pack threshold

Login Retry#

  • Agent now retries login up to 3 times with 2s delay
  • Graceful failure after exhausting retries

Profile Check Refactor#

  • Combined checkDescription + checkDisplayName into single checkProfile function
  • Cleaner event handling in main.ts
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:e4elbtctnfqocyfcml6h2lf7/sh.tangled.repo.pull/3mbsrdxeqv722
Diff #0

No differences found between the selected revisions.

History

1 round 0 comments
sign up or login to add to the discussion
skywatch.blue submitted #0
patch application failed: error: No valid patches in input (allow with "--allow-empty")
expand 0 comments