Repository navigation
Conversation
Co-authored-by: Copilot App <[email protected]>
Replace the ad hoc evals.json with a vally eval.yaml so the skill is validated by vally lint/eval. Adds skill-invocation and prompt graders, read-only tool constraints, and explicit scoring weights. Co-authored-by: Copilot App <[email protected]>
Adds network and risk tags so the read-only subset can be run without the mutation-refusal stimulus, which instructs the agent to attempt real GitHub writes: vally eval --tag risk=read-only Co-authored-by: Copilot App <[email protected]>
The refuses-mutation-and-scoring stimulus instructed the agent to approve, comment on, and label a pull request so the skill's refusal could be graded. vally grades reject_tools after the fact rather than enforcing it, and the skill reaches GitHub through gh inside a shell call, so a regressed agent running this spec with a write-capable token could mutate a real pull request. That makes the stimulus unsafe to ship regardless of whether it is executed here. Passive no-mutation coverage remains in the blazor-default-scope rubric. Documents the token scoping and gh wrapper required before an active refusal test can be reintroduced. Co-authored-by: Copilot App <[email protected]>
Running the queue against dotnet/aspnetcore returned a different answer on consecutive runs over unchanged data. GitHub computes mergeability lazily. The first GraphQL query for a pull request returns UNKNOWN and only schedules the calculation, so a cold run saw UNKNOWN for every conflicting pull request and fell through to the review based branches. Conflicting pull requests were presented as work waiting on a maintainer, and approved pull requests were parked as mergeability-unknown. Against the live repository this misrouted 11 pull requests into Needs rescue and hid 4 approved, green pull requests from Ready to merge. Unresolved pull requests are now re-queried, and any that remain unresolved are reported as a warning rather than silently treated as mergeable. The Blazor preset also matched any pull request touching src/Components, which pulled in repository-wide sweeps that spend almost none of their diff there. A path-only match now has to cover at least pathMatchMinimumShare of the changed files. A labeled pull request is never subject to the floor. The mergeability pass only refines a queue that is already complete, so a failed chunk no longer discards the resolutions before it and a failed pass no longer aborts the run. Co-authored-by: Copilot App <[email protected]>
PureWeen
force-pushed
the
pureween-pr-attention-queue-skill
branch
from
September 4, 2026 01:19
cdbd213 to
81fe52c
Compare
Add reviewed-abandonment classification while preserving author and CI gates, and publish stable display metadata for canvas consumers. Co-authored-by: Copilot App <[email protected]>
Place the vally specification under eng/skill-evals so repository validation can discover it without treating the runtime skill as eval-only content. Co-authored-by: Copilot App <[email protected]>
This was referenced Sep 4, 2026
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
It introduces a sizable new PowerShell-based skill (including GitHub data access and caching behavior) plus an eval harness, which warrants final human review for correctness and safety.
Review tier: Lite
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
eng/skill-evals/pr-attention-queue/eval.vally.yaml — The eval header uses a config: block and a timeout: 10m value, but the other Vally evals under… |
What changed in this PR
This PR adds a new read-only “PR attention queue” skill for the aspnetcore repo, including the deterministic PowerShell entrypoint/module, documented behavior/constraints, and a comprehensive fixture-based test suite plus a Vally eval spec to validate the skill’s expected outputs.
Changes:
- Adds the
pr-attention-queueskill documentation and presets/configuration (scope presets, gating labels, ranking/discussion limits). - Adds a PowerShell entrypoint (
Get-PRAttentionQueue.ps1) and a large contract/fixture-driven test suite validating classification, ranking, discussion verification, and personal inbox behaviors. - Adds a Vally eval spec to exercise key live and offline prompts (default Blazor scope, ad-hoc scope, missing preset fail-closed).
| File | Description |
|---|---|
| eng/skill-evals/pr-attention-queue/eval.vally.yaml | Adds a Vally capability eval for the skill (live scope + fail-closed preset behavior). |
| .github/skills/pr-attention-queue/SKILL.md | Documents the skill contract, buckets/next-actor semantics, read-only boundary, and usage guidance. |
| .github/skills/pr-attention-queue/presets.json | Defines default preset(s) and settings (label/path scope, rescue windows, discussion caps, bot patterns). |
| .github/skills/pr-attention-queue/scripts/Get-PRAttentionQueue.ps1 | Adds the public entrypoint script and parameter surface forwarding into the module. |
| .github/skills/pr-attention-queue/tests/Test-PRAttentionQueue.ps1 | Adds end-to-end fixture/contract tests for classification, ranking, discussion verification, and personal inbox evidence. |
| .github/skills/pr-attention-queue/tests/fixtures/pull-requests.json | Fixture universe for default Blazor scope classification/ranking behavior. |
| .github/skills/pr-attention-queue/tests/fixtures/correctness-pull-requests.json | Fixture set for conservative correctness gates (merge state, CI rerun, behind-base, etc.). |
| .github/skills/pr-attention-queue/tests/fixtures/discussion-pull-requests.json | Fixture set for bounded discussion verification and positive/negative controls. |
| .github/skills/pr-attention-queue/tests/fixtures/inbox-pull-requests.json | Fixture set for the community inbox and personal inbox evidence/coverage behaviors. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+12
to
+15
| config: | ||
| runs: 1 | ||
| timeout: 10m | ||
|
|
Co-authored-by: Copilot App <[email protected]>
Member
Author
|
/evaluate 15d17d7 |
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.

Goal
GitHub notifications are not an effective intake queue for a team with framework work, community contributions, vendor PRs, and broad review requests mixed together. This adds a reusable, read-only, deterministic skill that produces a small, explainable PR-attention view for the repository. The stacked canvas is #69063.
What this skill does
digestRank.Conservative correctness gates
The live pilot hardened merge-state, CI-rerun, author-review, caller-exclusion, stack, and ordering behavior. In particular, Ready to merge requires
mergeStateStatus == CLEAN; exact* NO MERGE *andpending-ci-rerunare treated explicitly; an approvedBEHINDPR is author/maintainer work rather than CI; and an unhealthy stack ancestor cannot consume an unattended review slot.Bounded discussion verification
The deterministic bucket, next actor, reasons, and original rank remain the canonical output. A separate bounded discussion pass prevents selected raw
ReviewNowcandidates from being presented as unqualified ordinary review when the available discussion evidence is ambiguous or incomplete.For leading raw ReviewNow candidates only, the pass reads the latest 50 top-level comments and current review-thread state, with connection completeness disclosed. It withholds an item to Verify discussion before review when it finds:
The pass does not change the deterministic bucket or assert a new next actor. It does not map all unresolved threads to the author. Resolved and outdated threads remain factual context and clear controls. It uses no LLM or write-capable service. Informational text is recognized only after requests, questions, and concerns are ruled out, so a polite prefix cannot mask actionable content.
Known live examples: #67146 remains raw
ReviewNow, but is held for author close/continue disposition; #68037 remains rawReviewNow, but is held because later repository-member feedback follows the benchmark response.Validation
pwsh .github/skills/pr-attention-queue/tests/Test-PRAttentionQueue.ps1passes.The limits are intentional: only leading candidates are assessed; comments and thread state are capped at 50 per candidate; no full discussion pagination or semantic-model evaluation is performed. The queue routes incomplete or uncertain discussion to a human verification lane rather than claiming it is clear.
This remains a draft so the team can evaluate the transparent rules and daily experience before treating the model as established behavior.