Repository navigation
Add skip-if-decision gates to ten more Copilot workflows - #76099
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
✅ 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.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: 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.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: 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 retry-skip gates can bypass unfinished validation and publication, while sensitive-content screening rejects the CLI and model evidence needed to justify valid skips.
4 open issues
What changed in this PR
This PR extends experimental pre-agent decision gates to ten locally managed Copilot workflows in gh-aw, aiming to avoid unnecessary invocations while preserving execution when evidence is uncertain.
Changes:
- Add workflow-specific skip predicates and document their intended boundaries.
- Prepare reusable dead-code analysis and a grader-fragment inventory.
- Update execution-dependent evaluations for recorded skips and regenerate all ten workflow locks.
| File | Description |
|---|---|
.github/workflows/test-quality-sentinel.md |
Adds a gate intended to preserve behavioral-test reviews. |
.github/workflows/test-quality-sentinel.lock.yml |
Compiles the test-review gate and evaluation update. |
.github/workflows/dependabot-burner.md |
Gates empty remediation batches while preserving slash-command explanations. |
.github/workflows/dependabot-burner.lock.yml |
Compiles the remediation gate and evaluation update. |
.github/workflows/dead-code-remover.md |
Prepares reusable analysis, diagnostics, and a no-candidates gate. |
.github/workflows/dead-code-remover.lock.yml |
Compiles analysis preparation and the decision gate. |
.github/workflows/daily-trajectory-grader-implementer.md |
Collects fragment inventory and gates completed catalogs. |
.github/workflows/daily-trajectory-grader-implementer.lock.yml |
Compiles inventory preparation and the catalog gate. |
.github/workflows/daily-model-inventory.md |
Adds an evidence-based alias and model-pin gate. |
.github/workflows/daily-model-inventory.lock.yml |
Compiles the inventory gate and evaluation update. |
.github/workflows/daily-graft-intelligence.md |
Gates housekeeping-only activity with no reportable signal. |
.github/workflows/daily-graft-intelligence.lock.yml |
Compiles the activity gate and evaluation update. |
.github/workflows/daily-geo-optimizer.md |
Gates Excellent audits with no actionable recommendations. |
.github/workflows/daily-geo-optimizer.lock.yml |
Compiles the audit gate and evaluation update. |
.github/workflows/code-simplifier.md |
Gates runs without eligible production-code candidates. |
.github/workflows/code-simplifier.lock.yml |
Compiles the scope gate and evaluation update. |
.github/workflows/cli-consistency-checker.md |
Adds a gate using collected help and CLI documentation. |
.github/workflows/cli-consistency-checker.lock.yml |
Compiles the CLI gate and evaluation update. |
.github/workflows/architecture-guardian.md |
Gates scans whose metrics establish no violations. |
.github/workflows/architecture-guardian.lock.yml |
Compiles the metrics gate and evaluation update. |
Review effort: Balanced (auto)
| skip-if-decision: | ||
| - >- | ||
| Do @/tmp/gh-aw/agent/all-help.txt and | ||
| @docs/src/content/docs/setup/cli.md conclusively establish that the |
| Do @/tmp/gh-aw/agent/model-inventory/inventory.json, | ||
| @/tmp/gh-aw/agent/model-inventory/reflect.json, |
| built-in alias update or workflow model-pin correction remains? Abstain | ||
| until this run's live Copilot reflect and deterministic pin check are | ||
| complete, or if provider evidence is unavailable, stale, or incomplete. |
| @pkg/workflow/data/model_aliases.json conclusively establish that no | ||
| built-in alias update or workflow model-pin correction remains? Abstain | ||
| until this run's live Copilot reflect and deterministic pin check are | ||
| complete, or if provider evidence is unavailable, stale, or incomplete. |
|
🎉 This pull request is included in a new release. Release: |

Summary
Avoid unnecessary agent invocations when workflow-specific evidence conclusively establishes that there is no actionable work. Adds experimental
skip-if-decisiongates to ten locally managed Copilot workflows, bringing adoption from two workflows to twelve.The questions use prepared scan, scope, audit, and catalog evidence. Missing, stale, incomplete, or inconsistent evidence abstains and preserves agent execution. Behavioral test changes and hard violations still receive reviews, and Dependabot slash-command triggers still receive required explanations.
.lock.ymlfiles without changing existing workflow intents.Review note: The model-inventory gate abstains on the initial invocation until live Copilot reflect and deterministic model-pin evidence exist; subsequent eligible invocations can skip when no correction remains. Decision gates are experimental and abstain if the decision service is unavailable.
Validation
make recompile: all 365 workflows compiled successfully.make agent-report-progress: passed, including impacted tests and workflow-lock drift checks.GH_AW_SKIP_IF_DECISIONconfiguration.The MCP compiler predates
skip-if-decisionand rejected the field; compilation and final validation used the repository's current local compiler.