Suppose I am affiliated with a product or service. I know that making no-disclosure promotional posts constitutes spam, so I don't do that, but instead I decide to clean up existing posts on my product. That is, I look for posts by other authors that reference my product and fix them up - improving spelling, grammar, formatting, and clarity in order to make these depictions of my product seem more "professional", but I refrain from adding "spammy" content - I'm just making these posts as best as they can be according to the intents of the original authors and in keeping with good style.
Is this spam?
If it is spam, can it be done if affiliation is disclosed? Would it be sufficient to include such a disclosure in the edit comments, or would such a disclosure need to be added to the body of the post?
Fixed spelling and punctuation, indented all code blocks, removed "thanks in advance", changed "conglomo gizmo" to the official name of "Conglom-O® Gizmo® brand self-sealing stem bolt". Disclaimer: I am a marketing manager for Conglom-O."