Skip to content

Improve issue-monster heuristics with smart filtering and priority scoring#6595

Merged
pelikhan merged 2 commits intomainfrom
copilot/improve-issue-monster-heuristics
Dec 16, 2025
Merged

Improve issue-monster heuristics with smart filtering and priority scoring#6595
pelikhan merged 2 commits intomainfrom
copilot/improve-issue-monster-heuristics

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 16, 2025

The issue-monster workflow was finding all open issues indiscriminately, leading to poor candidate selection. Now implements intelligent filtering and priority-based scoring.

Changes

Smart Exclusion Filters

  • Excludes issues with labels: wontfix, duplicate, invalid, question, discussion, needs-discussion, blocked, on-hold, waiting-for-feedback, needs-more-info
  • Excludes issues with any assignees (previously only checked Copilot)
  • Filters applied in GitHub search query to reduce API calls

Priority Scoring System
Issues scored and sorted by actionability:

  • Security: +45pts, Bug: +40pts, Good-first-issue: +50pts
  • Documentation: +35pts, Enhancement: +30pts, Performance: +25pts
  • Tech-debt/Refactoring: +20pts, Age bonus: +0-20pts (capped)

Enhanced Output
Issue list now includes labels and scores for transparency:

#123: Fix memory leak in parser [bug, performance] (score: 65.0)
#456: Update installation docs [documentation] (score: 40.2)
#789: Add CLI flag validation [enhancement, good-first-issue] (score: 80.0)

The workflow fetches full issue details upfront (labels, assignees) in parallel, then filters and scores locally, reducing sequential API calls during agent execution.

Original prompt

Improve issue monster heuristics to find more issues to assign to the agent.

Custom agent used: debug-agentic-workflow
Debug and refine agentic workflows using gh-aw CLI tools - analyze logs, audit runs, and improve workflow performance


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…oring

- Add exclusion filters for non-actionable issues (wontfix, duplicate, question, discussion, etc.)
- Add priority scoring system based on labels (good-first-issue, bug, security, documentation, etc.)
- Fetch full issue details upfront to filter out issues with assignees
- Sort issues by priority score (highest first)
- Include labels and scores in issue list output for better transparency
- Update workflow instructions to explain the new prioritization system

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve issue monster heuristics for better issue assignment Improve issue-monster heuristics with smart filtering and priority scoring Dec 16, 2025
Copilot AI requested a review from pelikhan December 16, 2025 06:23
@pelikhan pelikhan marked this pull request as ready for review December 16, 2025 11:11
@pelikhan pelikhan merged commit 4236567 into main Dec 16, 2025
12 checks passed
@pelikhan pelikhan deleted the copilot/improve-issue-monster-heuristics branch December 16, 2025 11:12
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.

2 participants