Skip to content

Issue triage agent is told to add gh-* command labels it cannot apply #14026

Open

Description

@williammartin

Description

issue-triage.md fetches skills/issue-classifier/references/label-taxonomy.md from desktop/gh-cli-and-desktop-shared-workflows as its label reference. That file has a "Command Labels (cli/cli)" section listing gh-* labels (gh-pr, gh-issue, gh-repo, and so on) and instructs the agent to "add the relevant command label".

The agent cannot do this. add-labels.allowed in .github/workflows/issue-triage.md does not contain any gh-* label, so gh-aw's safe-output layer silently drops them.

The result is that the agent is being told to do something on every issue that is guaranteed to have no effect. This is pre-existing and unrelated to any recent change; it was noticed while consolidating the spam-detection workflows.

Expected Output

Either:

  1. Add the gh-* command labels to the add-labels allowlist in issue-triage.md, or
  2. Drop the command-label instruction from the shared taxonomy, since it does not apply to this repo's configuration.

Worth deciding deliberately - option 1 meaningfully increases the number of labels the agent can emit, which interacts with the max: 3 cap.

Notes

The allowlist is at .github/workflows/issue-triage.md. Any change there needs gh aw compile to regenerate issue-triage.lock.yml.

Activity

  1. cli-triage commented on Jul 31, 2026

    @cli-triage

    Suggesting bug for this issue: the label taxonomy instructs the triage agent to apply gh-* command labels, but none of those labels are in the add-labels allowlist in the workflow config, so they are silently dropped on every run. No duplicates were found. No priority label is added since this is an internal tooling issue with no user-facing impact - a maintainer can decide between expanding the allowlist or removing the command-label instruction from the shared taxonomy.

    Generated by Issue Triage (skills-driven) for #14026 · sonnet46 · 19.5 AIC · ⌖ 5.08 AIC · ⊞ 5.5K · ◷

  2. added
    tech-debt
    and removed
    needs-triage
    on Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staletech-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions