From 81d255b638737d11b786122176d301635054e24c Mon Sep 17 00:00:00 2001 From: donpetry-bot <{}+donpetry-bot@users.noreply.github.com> Date: Sat, 6 Jun 2026 08:56:42 -0500 Subject: [PATCH] chore(dev-lead): retire the legacy `claude` issue-trigger label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dev-lead historically accepted both `dev-lead` and `claude` labels on issues:labeled, with `claude` kept as backward-compat from the retired claude.yml workflow. We are removing the `claude` label org-wide, so the classifier now routes only the `dev-lead` label to the `issue` intent; a `claude`-labeled issue is skipped like any other non-trigger label. - dev-lead-intent.sh: `dev-lead|claude)` → `dev-lead)`. - test_intent_issue.bats: the backward-compat test now asserts `claude` → skip. - spec.md: issue intent triggers on `dev-lead` only. Companion to petry-projects/.github#400, which migrates the compliance audit to create/cycle the `dev-lead` label and ships the one-time runtime migration (re-label existing `claude` issues, then delete the `claude` label). Note: the `@claude` trigger *phrase* (TRIGGER_PHRASES) is unaffected — this change is only about the issue *label*. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/dev-lead/spec.md | 4 ++-- scripts/dev-lead-intent.sh | 4 ++-- tests/dev-lead/unit/test_intent_issue.bats | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/dev-lead/spec.md b/docs/dev-lead/spec.md index 60c80023a..220a71905 100644 --- a/docs/dev-lead/spec.md +++ b/docs/dev-lead/spec.md @@ -106,7 +106,7 @@ Every GitHub webhook event that reaches `dev-lead.yml` is classified into exactl | `issue_comment` created on PR | Trusted bot (`sonarqubecloud[bot]`, `coderabbitai[bot]`) | `fix-bot-comment` | `dev-lead-fix-reviews.sh` | | `issue_comment` created on PR | Human OWNER/MEMBER/COLLABORATOR + trigger phrase | `human` | `dev-lead-fix-reviews.sh` | | `issue_comment` created on PR | `