Skip to content

Improve AI issue triage to detect unfilled templates#2030

Merged
JoannaaKL merged 1 commit intomainfrom
improve-ai-issue-triage
Feb 18, 2026
Merged

Improve AI issue triage to detect unfilled templates#2030
JoannaaKL merged 1 commit intomainfrom
improve-ai-issue-triage

Conversation

@JoannaaKL
Copy link
Contributor

@JoannaaKL JoannaaKL commented Feb 18, 2026

Problem

Issue #2029 and similar issues contain only unfilled template text but were not flagged as "Missing Details" by the AI assessment workflow. The issue has:

  • Meaningless title: "Zon VITAL"
  • Unmodified template text throughout the body
  • Placeholder values like Type this '...' that weren't replaced

Solution

Enhanced both AI triage prompts to explicitly detect and flag:

Template Detection

  • Unmodified template text like "A clear and concise description of what the bug is"
  • Common placeholders: '...', '....', XXX
  • Meaningless or spam-like titles

New Features

  • Added Invalid assessment category for obvious spam/test issues
  • AI now recommends specific labels:
    • waiting-for-reply for missing details
    • invalid for spam/test content
  • More specific feedback about which sections need actual content

Files Changed

  • .github/prompts/bug-report-review.prompt.yml - Enhanced bug report validation
  • .github/prompts/default-issue-review.prompt.yml - Added invalid detection + template checking

Testing

The updated prompts should now correctly flag issues like #2029 as "Missing Details" or "Invalid" when they contain only template text without actual information.

- Add explicit detection of unmodified template text and placeholders
- Add detection of meaningless/spam-like titles
- Add 'Invalid' assessment category for spam/test issues
- Add label recommendations (waiting-for-reply, invalid)
- Strengthen 'Missing Details' criteria with specific examples
- Add guidance to be specific about which sections need actual content

This addresses issues like #2029 where template text was not replaced
with actual information but was not flagged as missing details.
@JoannaaKL JoannaaKL marked this pull request as ready for review February 18, 2026 09:29
@JoannaaKL JoannaaKL requested a review from a team as a code owner February 18, 2026 09:29
Copilot AI review requested due to automatic review settings February 18, 2026 09:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the AI issue triage workflow to better detect unfilled issue templates and spam submissions. The changes directly address issue #2029, where an issue containing only unmodified template placeholders (title "Zon VITAL" with placeholder text like "Type this '...'") was not flagged as incomplete.

Changes:

  • Added explicit template detection criteria to both AI prompt files, including specific examples of placeholder text that must be replaced
  • Introduced an "Invalid" assessment category for spam/test issues in the default prompt (used for non-bug issues)
  • Enhanced guidance for the "Missing Details" category to explicitly flag unmodified template text
  • Added label recommendations (waiting-for-reply, invalid) to help with issue triage

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/prompts/default-issue-review.prompt.yml Added comprehensive template detection criteria, new "Invalid" assessment category for spam, and specific guidance about which sections need actual content vs. template text
.github/prompts/bug-report-review.prompt.yml Enhanced with explicit unfilled template detection, specific placeholder examples from the bug template, and clearer guidance about required vs. template content

@JoannaaKL JoannaaKL merged commit eec84f7 into main Feb 18, 2026
21 checks passed
@JoannaaKL JoannaaKL deleted the improve-ai-issue-triage branch February 18, 2026 10:20
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

Comments