yeah now that instances actors are much more common I think it would be useful to revisit where and how reports are sent, we’re definitely open to feedback in this area.
report “categories” only really make sense on the local server though, I don’t think it makes sense for us to federate them. they’re tied very specifically to a set of local moderation categories defined by the instance admin.
the way i see it, sending to an instance actor only makes sense if the actor is managed by an instance. i’m not entirely sure if the sharedInbox is always equivalent to being on a hosted service, but it seems like a safe bet to send to sharedInbox if one is available.
the other thought i just had while looking at the payload was that maybe there should be a distinction between reported accounts and reported posts? cramming everything in object seems a bit awkward because the statuses are not really what is being reported primarily. it might make sense to migrate toward using attachment for reported statuses?
if this gets done, it would probably be like so:
start including statuses in attachment + support parsing attachment if available
at some future point, drop statuses from object so that object refers only to the reported account(s)
possible counterarguments: maybe the statuses are indeed being reported in the same semantic way as the account. maybe there is a use-case for reporting a status but not an account?
A category like “spam” is widely agreed upon, so transmitting this could make sense.
Concerning the inboxes: Does Mastodon care to which inbox this is sent? Otherwise I guess I try the system actor, if I find one. And as a fallback I will try the shared inbox.