Install
Works with Drupal: ^10 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
17.25 KB
MD5: bf8de741fc7cea48fb158fda2ebc5786
SHA-1: 164d27804ee91109de3b141e1ac99593393efaf6
SHA-256: 3f3009ecaf4b89d2b884c62a5d59d1317f172627a458d628092559764451a967
Download zip
24.44 KB
MD5: 46a953bdd8fefdc9c5ccc01e852e112f
SHA-1: 842d7f0e3f758acb5640b572df48182e727454a2
SHA-256: 6f69c4894a496d8c84e4e93a2b39c03fb734a58975e50455371126b8e8c1e502
Release notes
This is the first alpha release of AI Comment Guard. It is functional and
ready for testing on non-production sites. Feedback on bugs, edge cases,
and API behaviour is very welcome via the issue queue.
What's included
- AI-powered comment moderation via the Anthropic Claude API
- Three moderation modes: Flag (unpublish for review), Replace (redact harmful phrases), Block (replace entire body)
- Configurable AI sensitivity: Low, Medium, High
- Custom rules field — extend the AI prompt with plain-language site policy
- Auto-unpublish flagged and blocked comments
- Bypass permission for trusted roles
- Optional email notification to comment authors
- Violation logging to Drupal watchdog
- Status Report warning when the API key is not configured
- Compatible with Drupal 10, 11, and 12
Known limitations in this release
- Only the default
comment_bodyfield is moderated — comments with custom body fields are not yet supported - No automated test coverage yet — being added before beta
- Moderation runs synchronously on comment submit — high-latency API responses may slow the form submission
- Only supports Anthropic Claude as the AI provider — multi-provider support planned for a future release
Upgrading
This is the initial release. No upgrade path needed.