Skip to content

Add agentic issue triage (gh-aw) with native issue intents#3117

Closed
alondahari wants to merge 1 commit into
mainfrom
alondahari-setup-aw-issue-triage
Closed

Add agentic issue triage (gh-aw) with native issue intents#3117
alondahari wants to merge 1 commit into
mainfrom
alondahari-setup-aw-issue-triage

Conversation

@alondahari

Copy link
Copy Markdown

What & why

This is a new installation of gh-aw agentic issue triage on primer/css. On every issue opened / reopened, an agent reads the issue and its comments and helps maintainers act quickly: it classifies the issue type when unset (Bug / Feature / Task — the org's native issue types), adds only existing, relevant labels (type:*, area:*, needs more info), checks for likely duplicate/related issues, and asks the author for missing information only when needed.

It uses issue intents so the agent attaches its reasoning to each action (issue type, labels) and surfaces 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 separate comments, and there is no routine triage report. Learn more: Review and approve Copilot agent actions on issues.

See it in action

issues.agentic.review.mp4

Changes

This is a fresh install (the repo had no .github/workflows/*.md AW workflow), configured conservatively for this repo:

  • New workflow .github/workflows/issue-triage.md + compiled issue-triage.lock.yml.
  • Native safe outputs onlyset_issue_type and add_labels with built‑in rationale/confidence/suggest. No custom GitHub API jobs.
  • No set_issue_fieldprimer/css tracks effort/impact as labels, not repo issue fields, so no field mutations are added.
  • Preserves existing labels (add‑only), never auto‑closes issues, and calls noop when no visible change is needed.
  • Repo variable GH_AW_RUNTIME_FEATURES=issue_intents — set (wires the native intent path).
  • Includes the shared gh‑aw runtime scaffolding: .github/aw/actions-lock.json (action‑lock), .github/agents/, .github/skills/, .gitattributes, and the auto‑generated agentics-maintenance.yml + copilot-setup-steps.yml.
  • Validated with a trial run against a real closed issue — see below.

Trial validation

Ran gh aw trial in logical mode (capture‑only, no mutation of the live repo) against closed issue primer/css#3052, hosted in github/lukewar-gh-aw-trial:

  • Run: https://github.com/github/lukewar-gh-aw-trial/actions/runs/30002395162
  • Captured safe outputs:
    • set_issue_typeBug (confidence HIGH) — "reproducible SCSS compilation failure due to @primer/primitives version mismatch breaking import paths."
    • add_labelstype: bug 🐞 (HIGH) and migration (HIGH), each with a rationale.
    • No comment, no close — minimal noise, as intended.

Trial mode runs in capture mode — safe outputs are recorded, not applied — so it proves the auth / engine / checkout / safe‑output plumbing. The on‑issue rationale/confidence UI becomes visible on the first real run once the workflow is enabled.

Rollout

Part of the AW agentic triage rollout — github/plan-track-agentic-toolkit#467. Linking (not closing): no per‑repo sub‑issue exists for primer/css.

Any required feature flags are enabled org‑wide for the github org and handled by the onboarding team; nothing is needed from repo maintainers here.

/cc @jonrohan for review.

New gh-aw installation: an agentic issue-triage workflow that runs on
issues opened/reopened. It reads the issue and comments, classifies the
issue type when unset (Bug/Feature/Task), adds only existing relevant
labels, checks for likely duplicates/related issues, and asks for missing
information only when needed.

Uses native issue-intents safe outputs (set_issue_type, add_labels) so
rationale and confidence travel with each action; low-confidence changes
are suggested for maintainer approval rather than applied silently. No
custom API jobs, no issue-field mutations, no automatic closing; existing
labels are preserved and noop is called when no visible change is needed.

Includes the compiled lock file, the action-lock, and the shared gh-aw
runtime scaffolding. Repo variable GH_AW_RUNTIME_FEATURES=issue_intents
wires the native intent path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c058b80f-b718-49c7-96e5-f336efcbdc34
@changeset-bot

changeset-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9ae1be2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@alondahari
alondahari requested a review from jonrohan July 23, 2026 11:21
@alondahari

Copy link
Copy Markdown
Author

Closing because this PR was created from a superseded target list; no Primer component repositories are in scope for the stable gh-aw refresh.

@alondahari

Copy link
Copy Markdown
Author

Superseded by #3118 (rebuilt on stable gh-aw v0.82.14). This PR's branch was deleted during a scope correction, so GitHub can't reopen it — continuing in #3118.

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