Skip to content

Add AI-powered issue classification agent#920

Draft
MackinnonBuck wants to merge 2 commits intomainfrom
mackinnonbuck/triage-agent
Draft

Add AI-powered issue classification agent#920
MackinnonBuck wants to merge 2 commits intomainfrom
mackinnonbuck/triage-agent

Conversation

@MackinnonBuck
Copy link
Collaborator

@MackinnonBuck MackinnonBuck commented Mar 24, 2026

Adds an agentic workflow that classifies newly opened issues with routing labels (bug, enhancement, question, documentation) and an ai-triaged review signal. Issues that don't fit any category get a comment explaining why. Labels are applied automatically (no staged approval).

Also updates gh-aw agent files and recompiles lock files for v0.62.5.

What's in this PR

  • issue-classification.md — agentic workflow triggered on issues.opened and workflow_dispatch, with classification instructions inline
  • Compiled lock file and gh-aw version upgrade

Roadmap

We're merging the classifier first so it can start producing data. The plan is to iterate in phases:

  1. Classification agent (this PR) — Classify issues and apply routing labels. Human reviewers correct misclassifications by changing the label. These corrections are visible in issue timelines.

  2. Self-improvement agent — A separate agentic workflow that queries ai-triaged issues, reconstructs corrections from timelines, identifies patterns the classifier gets wrong, and proposes prompt improvements via PR. This will be a separate draft PR, activated once we have enough correction data to act on.

  3. Investigation agents — Once the classifier has proven reliable, we'll expand the system with agents tailored to each issue type. Rather than the classifier directly labeling an issue as bug, it will hand off to a bug investigator that can request reproduction steps, check for duplicates, or identify the affected SDK. Similarly for enhancement requests, questions, and documentation issues.

New agentic workflow that classifies newly opened issues with routing
labels (bug, enhancement, question, documentation) plus an ai-triaged
review signal. Leaves a comment for issues that don't fit any category.

- issue-classification.md: agentic workflow with staged mode for testing
- shared/triage-classification.md: reusable classification instructions
- Updated gh-aw agent files and recompiled lock files for v0.62.5

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MackinnonBuck MackinnonBuck force-pushed the mackinnonbuck/triage-agent branch from 71c2e1d to 13ead9a Compare March 25, 2026 23:35
@MackinnonBuck MackinnonBuck changed the title Add AI-powered issue triage agent with human correction tracking Add AI-powered issue classification agent Mar 26, 2026
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.

1 participant