Skip to content

feat: age-restrict effect for media moderation#8

Draft
mbradley wants to merge 1 commit into
mainfrom
divine/age-restrict-effect
Draft

feat: age-restrict effect for media moderation#8
mbradley wants to merge 1 commit into
mainfrom
divine/age-restrict-effect

Conversation

@mbradley
Copy link
Copy Markdown
Member

Summary

  • new AgeRestrictNostrEvent UDF + AgeRestrictEffect effect type, follows the BanNostrEvent pattern
  • RelayManagerSink handles AgeRestrictEffect by calling /api/moderate-media with AGE_RESTRICTED action + sha256 hash
  • label_routing.sml wires ConfirmedNudity and ConfirmedViolence rules to fire AgeRestrictNostrEvent using the label's LabelContentHash
  • rules guarded on LabelContentHash != '' so they only fire when a media hash is present in the label event

Test plan

@mbradley
Copy link
Copy Markdown
Member Author

slowing our roll on this one. preceding work needs to land and operating state on staging needs to be confirmed first:

once the pipeline is running end-to-end on staging and we can validate verdicts transparently, this is the next piece to wire up.

@mbradley mbradley force-pushed the divine/age-restrict-effect branch from 5fba183 to 90de023 Compare May 17, 2026 22:08
@mbradley mbradley force-pushed the divine/age-restrict-effect branch from 90de023 to 5f2c92a Compare May 18, 2026 15:13
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