Good morning Fediverse.
I personally think the Fediverse needs more algorithms, e.g. one to decide if something is a tag or and attachment. Both reference resources not contained in the original AP object. I would say the difference is that a tag references the content, whereas an attachment doesn't. It's possible to formalize this into an algorithm, but currently awkward.