diff --git a/.github/workflows/issue-bot.yml b/.github/workflows/issue-bot.yml index 363ee6892..939726564 100644 --- a/.github/workflows/issue-bot.yml +++ b/.github/workflows/issue-bot.yml @@ -76,11 +76,12 @@ jobs: return; } - // Reaching here with the honeypot means AI usage was not disclosed in the form, so that - // message can name the cause. // A missing template label only tells us the issue did not come from the form, which - // is reason enough to close it, but not proof of how it was written. - const body = honeypot + // is reason enough to close it, but not proof of how it was written. It takes priority: + // a hand-built body can carry the honeypot *and* a disclosure, and the form message is + // the only one that is accurate for both. Reaching the honeypot message means the issue + // came from the form without disclosing AI usage, so that message can name the cause. + const body = honeypot && !bypassedTemplate ? 'This issue was automatically closed because it contains a marker that is only visible to ' + 'automated tools, which indicates it was generated by an AI agent, but the "AI usage" field does not ' + 'disclose this.\n\n' +