Add agentic issue-intents triage workflow#8226
Draft
alondahari wants to merge 5 commits into
Draft
Conversation
New gh-aw installation (compiled with stable gh-aw v0.82.14): a native issue-intents triage workflow that runs on issues opened/reopened. It reads the issue and comments, classifies the issue type when unset, adds only existing relevant labels, flags likely duplicate/related issues, and requests missing info only when needed. Every label/type action carries a rationale + confidence via native intent-capable safe outputs; low-confidence changes route as suggestions rather than applied. Existing labels are preserved and issues are never auto-closed. Uses only built-in safe outputs (no custom API jobs) and omits issue-field mutations (no repo evidence of issue fields in use). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18b601b7-747f-480d-aef9-47f0a799b3c4
|
Contributor
Author
Regenerate action-lock and maintenance workflow from a clean compile with stable gh-aw v0.82.14. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18b601b7-747f-480d-aef9-47f0a799b3c4
Recompile issue-triage lock, maintenance companion, and action-lock pins against stable gh-aw v0.83.1 (published 2026-07-23). Source workflow and behavior unchanged; additions-only scope preserved. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18b601b7-747f-480d-aef9-47f0a799b3c4
Format the issue-triage.md source with Prettier (cosmetic quote style; recompile is idempotent) and ignore the gh-aw generated lock/maintenance YAML in .prettierignore, since those are produced by `gh aw compile` and cannot be hand-formatted without breaking regeneration. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18b601b7-747f-480d-aef9-47f0a799b3c4
Strip intent-mechanics prose and hardcoded label/type names from the issue-triage workflow; rely on runtime discovery of issue types and labels. Add an assign-to-agent safe output so well-scoped, actionable issues can be suggested for handoff to Copilot. Recompiled with gh-aw v0.83.1. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 18b601b7-747f-480d-aef9-47f0a799b3c4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
This is a new installation of a gh-aw issue intents triage workflow on
primer/react. On issues opened/reopened, the agent reads the issue and its comments, classifies the issue type when it is unset, adds only existing relevant labels, flags likely duplicate/related issues, and asks the author for missing information only when genuinely needed.Issue intents let the triage agent attach its reasoning to each action it takes (issue type, labels) and surface a confidence level, so maintainers can see why a change was made and approve or reject low-confidence suggestions instead of having them applied silently. A key goal is to minimise the noise of agent-generated comments — rationale and confidence travel with the action itself rather than as a separate triage-report comment. Learn more: Review and approve Copilot agent actions on issues.
See it in action
issues.agentic.review.mp4
Changes
New workflow, using only built-in safe outputs (no custom GitHub API jobs), compiled with stable gh-aw v0.82.14:
.github/workflows/issue-triage.md+ compiledissue-triage.lock.yml, plus.github/aw/actions-lock.jsonand.gitattributes.set-issue-type(allowed Bug/Feature/Task — theprimerorg's configured issue types) andadd-labels, both withissue-intent: trueso every action carries a rationale + confidence. A singleadd-commentis reserved for missing-information requests; no routine triage report is posted.suggest: true) for maintainer approval rather than applied.set-issue-field— no evidence this repo uses repo/org issue fields, so field mutations are intentionally omitted.blocked, issues never auto-closed; the agent callsnoopwhen no visible change is needed.GH_AW_RUNTIME_FEATURES=issue_intents— set onprimer/react.Validation
Compiles clean (0 errors/warnings). Previously trialled in logical/capture mode against closed issue #7977 via
github/lukewar-gh-aw-trial(run 30002450477, all 6 jobs green): the agent correctly typed the untyped issue as Bug with rationale + HIGH confidence, added no invented labels, and posted no routine comment.Feature flags
The required flags (
update_issue_suggestions,update_issue_confidence_routing) are already enabled org-wide for thegithuborg.primeris a separate org — the onboarding team will enable the flags there; nothing is needed from repo maintainers.Relates to github/plan-track-agentic-toolkit#467 (rollout tracking). No per-repo sub-issue exists, so this links rather than closes it.