Skip to content

Add skip-if-decision gates to ten more Copilot workflows - #76099

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan/skip-decision-workflows
Nov 9, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan/skip-decision-workflows

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Avoid unnecessary agent invocations when workflow-specific evidence conclusively establishes that there is no actionable work. Adds experimental skip-if-decision gates 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.

  • Prepare a complete grader-fragment inventory and reusable dead-code analysis, retaining analysis failures and diagnostics.
  • Adjust execution-dependent evals to return UNKNOWN for recorded pre-agent decision skips, and document each gate in its workflow prompt.
  • Regenerate all ten corresponding .lock.yml files 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.
  • Verified exactly ten newly gated, locally managed Copilot sources and matching compiled GH_AW_SKIP_IF_DECISION configuration.
  • Exercised dead-code preparation with empty, candidate, and failed-analysis fixtures; verified complete grader inventory generation.

The MCP compiler predates skip-if-decision and rejected the field; compilation and final validation used the repository's current local compiler.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 9, 2026 03:00
Copilot AI adaptive review requested due to automatic review settings November 9, 2026 03:00
@pelikhan
pelikhan merged commit abc124e into main Nov 9, 2026
36 checks passed
@pelikhan
pelikhan deleted the pelikhan/skip-decision-workflows branch November 9, 2026 03:00
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification 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 from PR Specification Reviewer · gpt56 · ~1 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 1.7K · ◷

Generated by PR Specification Reviewer for #76099

@github-actions

github-actions Bot commented Nov 9, 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 from Ponytail Reviewer · routed: gpt61 medium · ~6 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 181 · ◷

Generated by Ponytail Reviewer for #76099

@github-actions

github-actions Bot commented Nov 9, 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

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ 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: 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 from Design Decision Gate 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.6K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 9, 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.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

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

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
Comment on lines +24 to +25
Do @/tmp/gh-aw/agent/model-inventory/inventory.json,
@/tmp/gh-aw/agent/model-inventory/reflect.json,
Comment on lines +28 to +30
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.
Comment on lines +27 to +30
@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.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants