Skip to content

Label gh-aw backlog issues by primary cluster - #79919

Merged
pelikhan merged 4 commits into
mainfrom
pelikhan/backlog-map
Nov 21, 2026
Merged

pelikhan merged 4 commits into
mainfrom
pelikhan/backlog-map

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

The open-issue list mixes engineering work with run alerts, recurring reports, and smoke-test artifacts. Primary backlog labels make those streams filterable without replacing existing component or narrower cluster: labels.

  • Define 14 primary backlog: labels and have local workflows attach them when creating issues with a known purpose, including grouped smoke-test issues and run alerts.
  • Extend Auto-Triage to classify issues that arrive without a primary label, including issues from upstream-managed workflows, while preserving any existing primary label.
  • The live backfill was verified separately: all 261 open issues at the time of the check had exactly one primary label.

Validation

All 370 workflows compiled. Focused publisher tests passed (123 tests), and JavaScript lint and impacted tests passed. The repository-wide drift check flagged two unrelated generated locks (daily-doc-updater and spec-librarian), left out of this PR. The broader failure-handler suite could not fully run because some tests require writes under /tmp/gh-aw, which the local sandbox blocks.

@pelikhan
pelikhan marked this pull request as ready for review November 21, 2026 22:25
Copilot AI adaptive review requested due to automatic review settings November 21, 2026 22:25
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

PR Code Quality Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.6K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~13 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

PR Specification Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by PR Specification Reviewer for #79919 · copilot · gpt56 · ~2 AIC · ⌖ ~2 AIC · ⊞ 1.7K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #79919 · codex · routed: gpt61 medium · ~6 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

Reviewed the current diff, including the auto-triage changes, issue-label helper updates, workflow producer labels, and generated workflow updates. I found no actionable correctness, regression, or maintainability issues on the changed lines. The specialist pass was unavailable because its pre-fetched diff read was denied; this verdict is based on the independent static review of the supplied diff.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-15e722fa-b2cd-47f8-91c5-f53669f9dcf4","parents":[],"payload":{"id":"ldg-c20c8ef0-6f77-4a7b-bf2c-f44bf748956e","operation":"append","value":{"finding_count":0,"head_sha":"4574ffd09b96ac917553317644b9e46ac42e5829","outcome":"aligned"}},"sha":"sha256:0ca43f1a3193fb4b195a44b85723c7d3caafab71cadffb64ac2d403f525488a5","timestamp":"2026-11-21T22:31:45.291Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-f8da1416-7a2c-4ae4-b991-a77c22df3282","parents":[],"payload":{"id":"ldg-dc787b53-45dd-479f-8b1a-eb1904e7534e","operation":"append","value":{"finding_count":0,"head_sha":"4574ffd09b96ac917553317644b9e46ac42e5829","outcome":"no_findings"}},"sha":"sha256:940b01b70b9574b66474f080d6a15a1d9054f7fddff71c6a4fc51f61c2878480","timestamp":"2026-11-21T22:32:28.572Z","type":"ledger_append","version":1}
History

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Active labeling issues can give run reports multiple primary labels and keep actionable security findings out of the security backlog, neither of which Auto-Triage corrects.

2 open issues
What changed in this PR

Adds primary backlog classification to gh-aw’s issue-producing workflows and run-report publishers, making engineering work easier to separate from alerts, recurring reports, and smoke-test artifacts.

Changes:

  • Defines 14 primary backlog: labels and documents their use alongside existing labels.
  • Adds purpose-specific labels to issue producers, fallback issues, and run reports.
  • Extends Auto-Triage to classify issues missing a primary label while preserving existing classifications.
File Description
actions/​setup/​js/​report_failed_jobs.cjs Uses shared run-report labels.
actions/​setup/​js/​issue_monster_workflow.test.cjs Updates security-label expectations.
actions/​setup/​js/​issue_label.test.cjs Tests repository-scoped run labels.
actions/​setup/​js/​issue_label.cjs Adds shared run-report label helper.
actions/​setup/​js/​handle_noop_message.cjs Labels new agent-run tracking issues.
actions/​setup/​js/​handle_detection_runs.cjs Labels new detection-run tracking issues.
actions/​setup/​js/​handle_agent_failure.cjs Labels failure reports and preserves existing classifications.
actions/​setup/​js/​check_workflow_recompile_needed.cjs Labels recompilation alerts.
.github/​workflows/​windows-cli-integration.yml Labels Windows integration alerts.
.github/​workflows/​weekly-network-domains-audit.md Classifies findings as security work.
.github/​workflows/​weekly-network-domains-audit.lock.yml Compiles security classification.
.github/​workflows/​upgrade-test.yml Labels upgrade-test alerts.
.github/​workflows/​uk-ai-operational-resilience.md Classifies findings as security work.
.github/​workflows/​smoke-work-queue.md Labels smoke-test artifacts.
.github/​workflows/​smoke-work-queue-monitor.md Labels queue-health alerts.
.github/​workflows/​smoke-update-cross-repo-pr.md Labels smoke-test artifacts.
.github/​workflows/​smoke-temporary-id.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-repo-memory-ledger.md Labels smoke-test artifacts.
.github/​workflows/​smoke-pydantic.md Labels smoke-test artifacts.
.github/​workflows/​smoke-project.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-pi.md Labels smoke-test artifacts.
.github/​workflows/​smoke-pi-sub-agents.md Labels staged smoke-test artifacts.
.github/​workflows/​smoke-pi-routed.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-pi-routed.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-pi-routed-claude.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-pi-routed-claude.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-otel-backends.md Labels telemetry smoke-test artifacts.
.github/​workflows/​smoke-opencode.md Labels smoke-test artifacts.
.github/​workflows/​smoke-mini-swe-agent.md Labels smoke-test artifacts.
.github/​workflows/​smoke-mini-swe-agent.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-langgraph.md Labels smoke-test artifacts.
.github/​workflows/​smoke-langgraph.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-kiro.md Labels smoke-test artifacts.
.github/​workflows/​smoke-goose.md Labels smoke-test artifacts.
.github/​workflows/​smoke-gemini.md Labels smoke-test artifacts.
.github/​workflows/​smoke-factory.md Labels smoke-test artifacts.
.github/​workflows/​smoke-drive.md Labels smoke-test artifacts.
.github/​workflows/​smoke-deepseek-harness.md Labels smoke-test artifacts.
.github/​workflows/​smoke-cursor.md Labels smoke-test artifacts.
.github/​workflows/​smoke-crush.md Labels smoke-test artifacts.
.github/​workflows/​smoke-create-cross-repo-pr.md Labels smoke-test artifacts.
.github/​workflows/​smoke-copilot.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-sub-agents.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-small.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-sdk.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-sdk-routed.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-sdk-routed.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-copilot-sdk-routed-claude.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-sdk-routed-claude.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-copilot-routed.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-routed.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-copilot-routed-steering.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-routed-steering.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-copilot-routed-claude.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-routed-claude.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-copilot-mai.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-dynamic-workflow.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-dynamic-workflow.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-copilot-arm.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-aoai-entra.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-copilot-aoai-apikey.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-codex.md Labels smoke-test artifacts.
.github/​workflows/​smoke-codex-routed.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-codex-routed.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-codex-routed-openai.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-codex-routed-openai.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-claude.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-claude-routed.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-claude-routed.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-claude-routed-anthropic.md Labels grouped smoke-test artifacts.
.github/​workflows/​smoke-claude-routed-anthropic.lock.yml Compiles smoke-test classification.
.github/​workflows/​smoke-ci.md Labels smoke-test artifacts.
.github/​workflows/​smoke-builtin-ledgers.md Labels smoke-test artifacts.
.github/​workflows/​smoke-aider.md Labels smoke-test artifacts.
.github/​workflows/​sighthound-security-scan.md Adds primary classification to scan issues.
.github/​workflows/​pr-triage-agent.md Labels recurring triage reports.
.github/​workflows/​pr-sous-chef.md Labels daily grouped reports.
.github/​workflows/​linter-miner.md Classifies fallback issues as engineering quality.
.github/​workflows/​firewall-escape.md Labels firewall test alerts.
.github/​workflows/​firewall-escape.lock.yml Compiles run-alert classification.
.github/​workflows/​enterprise-docs-audit.md Classifies documentation findings.
.github/​workflows/​enterprise-docs-audit.lock.yml Compiles documentation classification.
.github/​workflows/​deployment-incident-monitor.md Labels deployment incidents.
.github/​workflows/​deployment-incident-monitor.lock.yml Compiles incident classification.
.github/​workflows/​daily-work-queues-report.md Labels recurring queue reports.
.github/​workflows/​daily-work-queues-report.lock.yml Compiles report classification.
.github/​workflows/​daily-squid-image-scan.md Classifies findings as dependency work.
.github/​workflows/​daily-spending-forecast.md Labels spending reports.
.github/​workflows/​daily-spec-coverage-kiro.md Labels coverage reports.
.github/​workflows/​daily-spdd-spec-planner.md Passes report classification to its import.
.github/​workflows/​daily-schema-audit-cursor.md Labels schema audit reports.
.github/​workflows/​daily-schema-audit-cursor.lock.yml Compiles report classification.
.github/​workflows/​daily-safeoutputs-git-simulator.md Classifies safe-output and Git findings.
.github/​workflows/​daily-safe-output-optimizer.md Classifies safe-output fallback issues.
.github/​workflows/​daily-reliability-review.md Labels reliability reports.
.github/​workflows/​daily-regression-audit-kiro.md Labels regression reports.
.github/​workflows/​daily-pr-review-cursor.md Labels review reports.
.github/​workflows/​daily-model-resolution.md Labels model-resolution reports.
.github/​workflows/​daily-harness-experiment-proposer.md Labels experiment proposals.
.github/​workflows/​daily-github-docs-seo-optimizer.md Classifies documentation improvements.
.github/​workflows/​daily-github-docs-seo-optimizer.lock.yml Compiles documentation classification.
.github/​workflows/​daily-file-diet.md Passes engineering-quality classification to its import.
.github/​workflows/​daily-aw-cross-repo-compile-check.md Labels compatibility reports.
.github/​workflows/​daily-ambient-context-optimizer.md Labels optimization reports.
.github/​workflows/​daily-agentrx-trace-optimizer.md Labels trace-optimization reports.
.github/​workflows/​contribution-check.md Labels contribution reports.
.github/​workflows/​bot-detection.md Labels bot-detection reports.
.github/​workflows/​avenger.md Classifies fallback issues as engineering quality.
.github/​workflows/​auto-triage-issues.md Fetches and classifies issues missing primary labels.
.github/​workflows/​auto-triage-issues.lock.yml Compiles updated triage behavior.
.github/​workflows/​agent-persona-explorer.md Labels persona-exploration reports.
.github/​triage.md Documents the primary-label rule.
.github/​backlog-labels.json Defines the 14-label taxonomy.

Review effort: Balanced (adaptive)

Comment thread actions/setup/js/issue_label.cjs Resolved
@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070177225

This status does not identify a specific code-quality issue, and the published review lists no actionable findings. No code change was made.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070177248

This notice only says the Matt Pocock Skills Reviewer started. It contains no finding or requested change.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070177596

This status does not identify a specific specification mismatch. No code change was made based on the flagged output.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070177840

The Ponytail Reviewer reported no action and provided no recommendation to implement, so no change was made.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070177965

The Test Quality Sentinel reported no action and identified no specific test gap, so no tests were changed.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070244611

This ledger entry records zero specification findings at 4574ffd. It is historical context, not validation of the current head or a request for changes.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070252886

This ledger entry records zero code-quality findings at 4574ffd and does not request a change.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Skills-Based Review 🧠

Applied /diagnosing-bugs and /codebase-design. Requesting changes on one contract conflict in the triage prompt, one backfill gap, and three label-cluster mismatches.

📋 Key Themes & Highlights

Key Themes

  • Contract conflict (blocking): the prompt requires exactly one backlog: label but also says to use needs-triage when unclear. needs-triage is not a backlog: label.
  • Backfill gap (blocking): the missing-backlog-label.json filter excludes issues with needs-triage, so the hardest cases are never revisited.
  • Cluster mismatches: security-scan and bot-detection findings are labeled backlog:reports, and firewall-escape uses backlog:run-alerts. The taxonomy has backlog:security for these.
  • Repo-specific logic in shared code: issue_label.cjs hard-codes github/gh-aw to push backlog:run-alerts.

Positive Highlights

  • ✅ Every backlog: label used in the diff exists in the repo and in .github/backlog-labels.json.
  • ✅ Lock files at HEAD are in sync with their .md sources (no missing backlog: labels).
  • ✅ The fallback-labels change is deliberate: it keeps the PR's labels and adds the backlog label for fallback issues.
  • ✅ Smoke-test workflows consistently use backlog:smoke-tests.

Scope and Limits

  • The pr-triage step and skill discovery were skipped. This review used direct analysis of the pre-fetched diff.
  • The diff was 1381 lines, under the 3000-line cap, so it was not truncated.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~13 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again

Comment thread .github/workflows/auto-triage-issues.md Resolved
Comment thread actions/setup/js/issue_label.cjs Resolved
Comment thread .github/workflows/bot-detection.md Resolved
Comment thread .github/workflows/firewall-escape.md Resolved
Comment thread .github/workflows/auto-triage-issues.md Resolved
@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070318485

The status notice did not identify a code-quality issue. This batch addresses the separate inline findings, not the flagged status output.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070318674

Small correction: the skills reviewer reported that it had completed, not started. The requested changes were in the separate inline comments, which this batch addresses.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070318871

The status notice did not identify a specification mismatch. No change in this batch relies on the flagged output.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070319130

The Ponytail review reported no action, so there was no separate change to make for that notice.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070319379

The sentinel reported no specific test gap. The new regression tests cover the separate inline feedback on backlog labeling and backfill.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070319673

This entry describes the earlier revision only. I used fresh validation for the changes in this batch.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

Re: comment 7070319903

This ledger entry was historical and did not request a change. The current actionable feedback was handled in the inline threads.

@pelikhan
pelikhan merged commit 1e76faf into main Nov 21, 2026
91 checks passed
@pelikhan
pelikhan deleted the pelikhan/backlog-map branch November 21, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants