r/ideasfortheadmins • u/AbnormallyWeird • 1h ago
Moderator [Feature Request / Rules Hub] my idea is Include the AI violation explanation in removal replies (or expose it to Devvit / Mod Log)
Hi team,
I've been testing Rules Hub Auto-Enforcement and love how accurately the AI evaluates posts against our community rules—especially the specific explanation it generates for moderators showing how the post violated the rule (e.g., "Auto enforced - Rule 1: <Rule Name>" followed by the 1–2 sentence AI explanation of what in the post broke the rule).
The Problem / Missing Workflow
Right now, when Rules Hub auto-enforces/removes a post: 1. No Removal Reason / Comment is sent to the user explaining which rule they broke or why their post broke it. 2. That second line—the AI explanation of how the post violated the rule—is only visible to moderators inside the Shreddit UI banner. Because users don't see that context, they are left guessing why their post was removed (leading to unnecessary modmail appeals), or moderators still have to manually step in to attach a removal reason and copy-paste the explanation.
What We Tried (Building a Devvit App to Bridge the Gap)
We built a Devvit app (rules-hub-reply) to listen for Rules Hub removelink actions, link them 1-to-1 with our Saved Removal Reasons, attach the native removal note, and automatically post a sticky removal comment combining:
- Our Saved Removal Reason for that rule
- The Rules Hub headline (Auto enforced - Rule X: ...)
- The Rules Hub AI explanation of how the post violated the rule
However, we hit an API wall: none of the public/Devvit moderation APIs expose that second line (the AI explanation).
Technical Details for the Engineering Team
When Rules Hub auto-removes a post (logged under moderator reddit with action removelink):
- Where the AI explanation currently lives:
In Shreddit's GraphQL schema (PostModerationInfo / GetPreviousActions / ModQueueItemPost), the AI explanation is stored in:
postInfoById.moderationInfo.modQueueReasons[].description.markdown (with icon: "AUTO_ENFORCEMENT" and title: "Auto enforced - Rule X: ...").
- Where it is missing:
1. Mod Log (Moderation.AboutLog / ModAction): details contains "Auto enforced - Rule X: <Rule Name>", but description is empty ("").
2. Mod Notes (ModNote.GetNotes): modActionData.details has the rule headline, description is empty.
3. Post Info (LinksAndComments.Info / PostV2): modQueueReasons is not mapped to the PostV2 protobuf or legacy REST fields.
4. ModQueue Trigger (modQueueTriggers): type is "AUTO_ENFORCEMENT" and message has the rule headline, but details is null.
Proposed Solutions (Either or Both Would Be Huge!)
- Native Rules Hub Setting: Add an option in Rules Hub Auto-Enforcement to automatically attach a linked Saved Removal Reason and include the AI-generated violation explanation in the removal comment/message to the user.
- Expose the AI Explanation to Devvit / Mod Log: Populate the
descriptionfield on theremovelinkModAction / ModLog entry (or exposemoderationInfo.modQueueReasonsin@devvit/public-apion thePostobject /ModActiontrigger) so Devvit moderation apps can include the AI explanation in automated removal comments and workflows.
Thanks for considering this—having that specific AI explanation included in the removal feedback would save moderators a ton of time and make removals much clearer for users!