Seen on #247 (comment 5044300733): a first-time contributor quoted a maintainer comment containing a drive.google.com test-build link. The moderation workflow redacted the quoted link and pinged both the contributor and the maintainer.
Two problems:
- A URL already posted by a trusted user (maintainer) in the same thread is not spam; quoting it should not trigger redaction.
- The bot's comment @-mentions the contributor, generating an unwanted notification. Only the maintainer should be pinged.
Fix: before redacting, collect URLs posted in the thread by trusted authors (issue body + comments with a trusted author_association) and drop any flagged hit matching one of them. Render the contributor's handle in backticks so it does not notify.
Refs #222 (original workflow).
This issue was filed by Claude assisting @pliablepixels.
Seen on #247 (comment 5044300733): a first-time contributor quoted a maintainer comment containing a drive.google.com test-build link. The moderation workflow redacted the quoted link and pinged both the contributor and the maintainer.
Two problems:
Fix: before redacting, collect URLs posted in the thread by trusted authors (issue body + comments with a trusted author_association) and drop any flagged hit matching one of them. Render the contributor's handle in backticks so it does not notify.
Refs #222 (original workflow).
This issue was filed by Claude assisting @pliablepixels.