@ilja I also think feature flags is the right solution, but in many cases the flag is not needed because another property already exists.
For example, https://friends.grishka.me/users/1 contains the friends property which points to its collection of friends. But if actor doesn't support friend requests, it probably shouldn't have the friends property. If this is the case, we can use friends property as a capability indicator.
(I'm not familiar with Smithereen, maybe supportsFriendRequests exists for a reason)
Another example: emoji reactions. Currently there is no way to tell whether actor supports emoji reactions or not. But if there were a reacted collection (similar to liked), we could use it as an indicator.