You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Adds a standalone maintainer-only /issue triageGitHub Agentic Workflow, following the command-driven approach discussed in #38807. It covers the existing manual issue-label taxonomy, rather than broadening the opening-event area/platform labeler. No new Azure pipeline is introduced.
Documents how labels currently arise from issue forms, the automatic labeler, human/partner triage and Policy Service, with representative issue histories and a machine-readable eligibility policy.
Requires existing positive authorized reproduction for confirmation labels and explicit existing maintainer decisions for priority, acceptance, backport, release and ownership commitments. Registered read-only partner validators can support reproduction, not business approvals. Tentative decisions, review claims and no-repro outcomes are withheld; unsuccessful reproduction must concern the reported issue, not an instruction or hypothesis.
Allows evidence-backed additions and narrow corrections/removals, with exact source quotations, chronology checks, actionable feedback requests, conflicting-priority/status prevention and documented Policy Service side effects. Same-second contrary evidence vetoes support conservatively. First-bad-version validation checks the complete enclosing cited paragraph, not a selectively shortened quote. Required removals retain their independent authority/transition checks; unrelated pre-existing conflicts are not cleaned up.
Accepts only the exact new /issue triage comment on an open issue from a current write/maintain/admin caller, running default-branch infrastructure. Rechecks requester authority, source-command identity and independently hashed issue context before handing off publication. Job reruns are deliberately unsupported: authorization, pool/analysis guards and the trusted publication validator require attempt one.
Uses the existing GPT-6.1 Sol/Copilot and PAT-pool configuration. Shell/GitHub tools are disabled for analysis. Native safeoutputs MCP tools declare the structured comment/deltas; a separate trusted validator renders the comment and reconciles the delta before built-in safe-output handlers execute. The pinned runtime's automatic comment temporary ID is narrowly validated and discarded before publication; numeric targeting and incomplete-result rejection are unchanged.
Provides staged manual dispatch by default. Enforces complete bounded intake and at most 20 total changes/10 additions/10 removals/one comment; fails rather than silently truncating required evidence. Documents non-atomic publication and the explicit fresh-invocation recovery contract.
The existing automatic labeler, interactive milestone-triage flow, Policy Service and Azure/PR-review pipelines are unchanged.
Recovery contract: after a failure, inspect the original run and its validated report artifact, then use a fresh command or dispatch to assess remaining deltas. The report is retained before label/comment handlers execute, independently of comment success. If labels succeed but comment delivery fails, the artifact remains the historical explanation; a fresh no-op does not reconstruct or prove delivery of that missing comment. This avoids unsupported rerun promises with gh-aw v0.86.2's immutable fixed-name artifacts. Publication remains non-atomic.
Validation
gh aw compile issue-triage --strict --no-check-update — passed with gh-aw v0.86.2; one workflow compiled, zero warnings. Source and generated lock are committed together.
actionlint -ignore 'unexpected key "queue" for "concurrency" section' .github/workflows/issue-triage.lock.yml — passed. The narrow exception covers only compiler-generated queue: max, unsupported by actionlint 1.7.12; the generated lock was not manually edited.
git diff --cached --check — passed.
PowerShell AST and policy JSON parsing — passed with:
Actual hosted GPT-6.1 Sol proposals, dispatched on an isolated kubaflo/maui branch, passed both hosted staged execution and fresh local trusted validation without editing the model output:
Final hosted context bytes matched the original independently hashed real intake. Both actual usage artifacts identify gpt-6.1-sol. Initial mixed missing-tool/label output was rejected, not filtered into success; native MCP guidance and generated-comment-ID compatibility were fixed before these passing reruns.
Both untouched successful hosted proposals again passed the changed trusted validator with fresh upstream GETs after the assessment, chronology and status hardening. This was local positive-compatibility validation, not new hosted inference or negative-case coverage.
No surveyed issue labels or comments were changed. No synthetic evidence, product/device tests or pipeline test files were introduced.
Hosted validation limitation: these were split-validation fork canaries, not production end-to-end authorization. Both existing fork credentials returned HTTP 403 on upstream collaborator-permission reads, so the existing local CLI login performed actual Gather and final Validate GETs; its credential was never copied to Actions or provisioned as a new secret. Bounded compressed dispatch data supplied the real evidence, and literal staged handlers suppressed writes. A registered workflow path was repurposed only on the isolated fork feature branch; both default branches and production repository/ref guards were unchanged. Production default-branch/slash-command authorization, PAT-pool selection, fully hosted authority revalidation, apply-mode delivery and the new job-rerun guards remain unexercised on production infrastructure. The documented deployment step remains an authorized production dispatch with staged=true and artifact inspection before intentional application.
Credential/permission note: reuses existing pool secrets and SHA-pinned existing actions, with no new credential provisioning. PAT selection is gated on successful trusted intake; analysis and publication are separate jobs. The generic v0.86.2 remove-label handler generates pull-requests: write in publication jobs even though this command is issue-only; trusted issue-type checks, exact-target validation and fixed built-in output targets constrain its use. The pool job is fully redeclared because this compiler version replaces imported job definitions instead of merging an added condition; other workflows and the shared pool are unchanged.
Issues Fixed
N/A — new maintainer tooling, not a product bug fix. Related command reference: #38807.
Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.
@kubaflo — new skill validation results are available based on this last commit: a7bd740.
To request a fresh validation after new comments or commits, comment /evaluate-skills.
Replaced line-based decision filtering with Markdown-aware handling of lazy quotes and indented/fenced/inline code.
Extracted related references outside code, with complete token boundaries and explicit context for color-shaped shorthand.
Exposed separate addition/removal eligibility, including supported removal-only placeholders.
Required label-specific technical assessments and reused their supporting evidence for transitions.
Prevented older confirmations from undoing newer maintainer removals.
Narrowed report deny patterns so i/great-reporter remains maintainer-authorized.
All seven current inline threads have replies and are resolved. The Pester suggestion was declined within the documented no-new-pipeline-tests scope. Strict gh-aw compilation, actionlint (the documented generated-queue compatibility exception), PowerShell/JSON parsing, skill validation, and real read-only intake/proposal validation passed. No surveyed issue labels/comments were changed; hosted staged execution still awaits default-branch registration.
This session is configured to check for new feedback every hour, handle useful in-scope changes, and avoid duplicate follow-up comments. It stops when the PR closes or merges.
Recognize later inability-to-confirm comments as stale evidence vetoes
.github/scripts/IssueTriage.ps1:458
The stale-confirmation veto only recognizes negative forms of “reproduce.” A later validator comment such as “unable to confirm this on 10.0.110” or “could not verify the reported behavior” is contrary evidence under the policy, but it is ignored and an older confirmation can still add s/verified or i/regression. Extend this check to the confirm/verify/validate forms already handled by Get-Confirmation, while distinguishing infrastructure-only failures.
This issue also appears on line 465 of the same file.
Addressed the four new review findings in 94f897d and replied to/resolved their threads:
Exact label-token matching now applies to approvals, superseding decisions and negation normalization; longer labels cannot authorize their prefixes.
Positive confirmation and the full-context stale-evidence veto share negative reproduce/confirm/verify/validate matching. Failed validation withholds confirmation; it does not assign no-repro.
Safe-output publication is pinned to the built-in Actions token, matching the author-plus-marker retry check instead of selecting another configured publisher.
Standard Fixes/Closes/Resolves/See/reference wording preserves three-digit linked context without removing the existing code/color safeguards.
Strict gh-aw compilation, actionlint with the documented generated-queue exception, PowerShell/JSON parsing, skill metadata and whitespace checks passed. Fresh read-only intake and trusted rendering also passed for #38925 and #37440; no issue labels/comments were changed and no pipeline test files were added.
The new-HEAD Pester run finished with 2,200 passed and the same three pre-existing GPT model-pin assertion failures. The assertion and model-configuration files are untouched by this PR, so no unrelated patch was added. Static skill validation passed. Hosted triage and partial-publication retry execution still require default-branch registration; local validation is not an end-to-end canary.
This treats the bare word reproducible as positive confirmation, so a validator comment such as “This should be reproducible on Android” passes both this regex and Test-NegativeValidation. That can authorize s/verified or i/regression without the explicit positive reproduction required by the policy. Require affirmative reproduction wording or reject tentative/modal phrasing before accepting confirmation.
Comment edits are ignored in confirmation chronology
.github/scripts/IssueTriage.ps1:466
Confirmation chronology is ordered by createdAt even though comment bodies can be edited and updatedAt is captured. If an older validator comment is edited after a newer positive confirmation to say reproduction failed, it is not considered later contrary evidence, so a stale confirmation can still be published. Use the comment's updatedAt (with createdAt for immutable events) consistently for latest/supersession comparisons.
Withheld labels can duplicate or overlap changed labels
.github/scripts/IssueTriage.ps1:652
Withheld decisions are validated separately from additions/removals, so the same live label can be both changed and reported as withheld (or appear multiple times). The trusted renderer would then publish a contradictory decision record. Reject duplicate withheld names and any overlap with $names before rendering.
Enabling remove-labels compiles this issue-only publisher with pull-requests: write (see the generated safe_outputs and conclusion jobs), even though no PR mutation is required. Target validation reduces reachability but does not remove the unnecessary credential from the prompt-output publication boundary. Use a gh-aw version/handler that supports issue-only removal permissions, or publish removals through a trusted issue-only mechanism before enabling this workflow.
💡 Security — Markdown link metadata can be interpreted as a maintainer label decision (2/3 reviewers).
Test coverage: no focused automated tests cover these new trusted-validator parsing and chronology contracts. Existing review feedback was checked; the items above are not duplicates.
Scope: code review only. CI/check status and merge readiness were not evaluated; use the repository's CI-analysis workflow for that assessment.
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
area-ai-agentsCopilot CLI agents, agent skills, AI-assisted development
4 participants
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.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description of Change
Adds a standalone maintainer-only
/issue triageGitHub Agentic Workflow, following the command-driven approach discussed in #38807. It covers the existing manual issue-label taxonomy, rather than broadening the opening-event area/platform labeler. No new Azure pipeline is introduced./issue triagecomment on an open issue from a current write/maintain/admin caller, running default-branch infrastructure. Rechecks requester authority, source-command identity and independently hashed issue context before handing off publication. Job reruns are deliberately unsupported: authorization, pool/analysis guards and the trusted publication validator require attempt one.The existing automatic labeler, interactive milestone-triage flow, Policy Service and Azure/PR-review pipelines are unchanged.
Recovery contract: after a failure, inspect the original run and its validated report artifact, then use a fresh command or dispatch to assess remaining deltas. The report is retained before label/comment handlers execute, independently of comment success. If labels succeed but comment delivery fails, the artifact remains the historical explanation; a fresh no-op does not reconstruct or prove delivery of that missing comment. This avoids unsupported rerun promises with gh-aw v0.86.2's immutable fixed-name artifacts. Publication remains non-atomic.
Validation
gh aw compile issue-triage --strict --no-check-update— passed with gh-aw v0.86.2; one workflow compiled, zero warnings. Source and generated lock are committed together.actionlint -ignore 'unexpected key "queue" for "concurrency" section' .github/workflows/issue-triage.lock.yml— passed. The narrow exception covers only compiler-generatedqueue: max, unsupported by actionlint 1.7.12; the generated lock was not manually edited.git diff --cached --check— passed.pwsh -NoProfile -Command '$tokens = $null; $errors = $null; $null = [System.Management.Automation.Language.Parser]::ParseFile((Join-Path $PWD ".github/scripts/IssueTriage.ps1"), [ref]$tokens, [ref]$errors); if ($errors.Count -gt 0) { $errors | Format-List; exit 1 }; $null = Get-Content .github/skills/issue-triage-labels/references/label-policy.json -Raw | ConvertFrom-Json -AsHashtable; "PowerShell AST and label-policy JSON: passed"'quick_validate.py— passed for the new skill.perf/generaland withholding unsupportedp/0; [android] Editor auto expands wrongly to MaximumHeightRequest #37440, addingmaterial3and removing the disputedhas-workaround. These manually supplied proposals used actual GitHub evidence. Additional intake covered [Windows] Button flickers when BackgroundColor is set to Transparent #39017; closed Performance degradation when using CommunityToolkit IconTintColorBehavior with Microsoft.Maui.Controls versions newer than 10.0.51 #35965 was rejected.kubaflo/mauibranch, passed both hosted staged execution and fresh local trusted validation without editing the model output:perf/general,has-workaround,version/android-16; withhold unsupported priority/confirmation decisions.material3,version/android-14,potential-regression; removehas-workaround; preserve the existing area and withhold unproven confirmed-regression decisions.gpt-6.1-sol. Initial mixed missing-tool/label output was rejected, not filtered into success; native MCP guidance and generated-comment-ID compatibility were fixed before these passing reruns.No surveyed issue labels or comments were changed. No synthetic evidence, product/device tests or pipeline test files were introduced.
Hosted validation limitation: these were split-validation fork canaries, not production end-to-end authorization. Both existing fork credentials returned HTTP 403 on upstream collaborator-permission reads, so the existing local CLI login performed actual Gather and final Validate GETs; its credential was never copied to Actions or provisioned as a new secret. Bounded compressed dispatch data supplied the real evidence, and literal staged handlers suppressed writes. A registered workflow path was repurposed only on the isolated fork feature branch; both default branches and production repository/ref guards were unchanged. Production default-branch/slash-command authorization, PAT-pool selection, fully hosted authority revalidation, apply-mode delivery and the new job-rerun guards remain unexercised on production infrastructure. The documented deployment step remains an authorized production dispatch with
staged=trueand artifact inspection before intentional application.Credential/permission note: reuses existing pool secrets and SHA-pinned existing actions, with no new credential provisioning. PAT selection is gated on successful trusted intake; analysis and publication are separate jobs. The generic v0.86.2 remove-label handler generates
pull-requests: writein publication jobs even though this command is issue-only; trusted issue-type checks, exact-target validation and fixed built-in output targets constrain its use. The pool job is fully redeclared because this compiler version replaces imported job definitions instead of merging an added condition; other workflows and the shared pool are unchanged.Issues Fixed
N/A — new maintainer tooling, not a product bug fix. Related command reference: #38807.