Repository navigation
Clarify workflow evaluation defaults, targets, and milestone triggers - #76697
Conversation
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
|
🔬 Test Quality Sentinel is analyzing test quality on this pull request... |
PR Code Quality ReviewerOutcome: 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.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: 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.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: 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.
|
There was a problem hiding this comment.
🟡 Changes recommended
The documentation overstates the single-item restriction: a fixed target can still allow comments on same-numbered items in other allowed repositories, so the claim needs qualification.
1 open issue
What changed in this PR
This PR refines gh-aw’s workflow-authoring guidance to address ambiguities identified in #76552, emphasizing explicit defaults, bounded targets, and milestone checks at issue creation.
Changes:
- Require labeled
Default:proposals for material undefined terms. - Recommend triggering-item or explicit-number targets instead of wildcard scope.
- Include guarded
openedevents for milestone checks and add guidance contract assertions.
| File | Description |
|---|---|
.github/skills/agentic-workflows/tests/test_guidance.py |
Adds assertions for defaults, target scope, and milestone guidance. |
.github/aw/safe-outputs-content.md |
Documents narrow targets and separate workflows for shared output types. |
.github/aw/create-agentic-workflow.md |
Requires explicit defaults in ad hoc recommendations. |
.github/aw/create-agentic-workflow-trigger-details.md |
Adds guarded issue-creation coverage to milestone trigger guidance. |
Review effort: Balanced (auto)
| allowed-repos: [owner/other] # Optional: additional repos agent can target (agent uses `repo` field in output) | ||
| ``` | ||
|
|
||
| **Target Scope**: Avoid `target: "*"` when a workflow needs to act on the triggering issue/PR and one known tracker: `*` lets the agent choose any issue/PR, not only those two. Keep triggering-item operations at the default `target: "triggering"` and configure tracker-specific operations with the tracker's explicit issue/PR number. Because each `target` constrains an output to one item, use separate workflows when both scopes need the same output type rather than treating `*` as a two-item allowlist. |
|
🎉 This pull request is included in a new release. Release: |

Ad hoc workflow recommendations should make material assumptions explicit and avoid overly broad targets. Milestone-trigger guidance also needs to account for issues created with a milestone already assigned.
target: "triggering"for the triggering item and an explicit issue/PR number for a named tracker; avoid treatingtarget: "*"as a two-item allowlist.openedand guard it for issues with a milestone; retainmilestonedanddemilestonedfor later changes.Default:for each material ambiguity, alongside clarifying questions when useful.