Skip to content

fix: skip broad 'bug' keyword match for new-tool proposals#131

Open
burner-agent wants to merge 1 commit into
mainfrom
fix/triage-bug-label-false-positive
Open

fix: skip broad 'bug' keyword match for new-tool proposals#131
burner-agent wants to merge 1 commit into
mainfrom
fix/triage-bug-label-false-positive

Conversation

@burner-agent
Copy link
Copy Markdown
Owner

Immutable PR Policy: This PR will be reviewed exactly once, as-is. Any additional commits pushed after opening will automatically close it. Make sure everything is ready before you submit. See CONTRIBUTING.md.

Summary

Fixes false-positive bug label being applied to [new tool] proposals when the word "bug" appears incidentally in their body text (e.g. "debug", "diagnose failures").

Related Issue

Closes #128

Changes

  • Added isNewTool guard to skip the broad text.includes('bug') check when the issue title starts with [new tool]
  • Explicit [bug] title prefix still works as before

Testing

Checklist

  • Code follows project style guidelines
  • No unnecessary dependencies added
  • Package README updated (if applicable) — N/A
  • Root README table updated (if new package) — N/A
  • I understand this PR is final — no additional commits after opening

The triage-issue workflow applies the 'bug' label whenever the word
"bug" appears anywhere in the issue body. New-tool proposals often
mention "bug" incidentally (e.g. "debug", "diagnose failures"),
causing false-positive bug labels. This has required manual cleanup
on issues #100, #111, #124, and #127.

Skip the body-level keyword check when the title starts with
[new tool], so only explicit [bug]-prefixed issues get the label.

Closes #128
@github-actions
Copy link
Copy Markdown

Automated Review Checklist

✅ No : any types found


Build: ✅ Pass | Tests: ✅ Pass | Typecheck: ✅ Pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] triage-issue workflow: false-positive 'bug' label on new-tool proposals

1 participant