porting all github actions from bluesky-social/indigo to tangled CI
at main 806 B view raw
1// Auto-Moderation rules engine for anti-spam and other moderation tasks. 2// 3// This package (`github.com/bluesky-social/indigo/automod`) contains a "rules engine" to augment human moderators in the atproto network. Batches of rules are processed for novel "events" such as a new post or update of an account handle. Counters and other statistics are collected, which can drive subsequent rule invocations. The outcome of rules can be moderation events like "report account for human review" or "label post". A lot of what this package does is collect and maintain caches of relevant metadata about accounts and pieces of content, so that rules have efficient access to this information. 4// 5// See `automod/README.md` for more background, and `cmd/hepa` for a daemon built on this package. 6package automod