feat: autonomous agent pipeline — CI fixer, review responder, quality gate#51
Merged
feat: autonomous agent pipeline — CI fixer, review responder, quality gate#51
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an autonomous “agent PR” pipeline in GitHub Actions (via gh-aw) to automatically fix CI failures, respond to review comments, and apply an approval/merge quality gate for agent-created PRs (labeled aw).
Changes:
- Introduces new agent workflows: CI Fixer, Review Responder, and Quality Gate (plus compiled
*.lock.ymlworkflows). - Updates CI to dispatch CI Fixer when CI fails on
aw-labeled PRs. - Updates Issue Implementer to run ruff/pyright/pytest before committing, open non-draft PRs, label
aw, and request auto-merge.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/review-responder.md | Defines Review Responder agent prompt + safe-outputs for replying/resolving review threads and pushing fixes. |
| .github/workflows/review-responder.lock.yml | Compiled workflow for Review Responder execution. |
| .github/workflows/quality-gate.md | Defines Quality Gate agent prompt + safe-outputs for approving or commenting based on impact/quality. |
| .github/workflows/quality-gate.lock.yml | Compiled workflow for Quality Gate execution. |
| .github/workflows/issue-implementer.md | Enables auto-merge for agent PRs and tightens “run CI locally” + labeling/non-draft PR instructions. |
| .github/workflows/issue-implementer.lock.yml | Compiled workflow updates reflecting Issue Implementer config changes. |
| .github/workflows/ci.yml | Adds dispatch-ci-fixer job to trigger CI Fixer when CI fails on aw PRs. |
| .github/workflows/ci-fixer.md | Defines CI Fixer agent prompt with label-guard to avoid infinite retries. |
| .github/workflows/ci-fixer.lock.yml | Compiled workflow for CI Fixer execution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Closed
… gate - Upgrade implementer: run lint/pyright before push, non-draft PRs, auto-merge enabled - New ci-fixer agent: dispatched on CI failure for aw-labeled PRs, label guard for max retries - New review-responder agent: triggers on pull_request_review, addresses comments, resolves threads - New quality-gate agent: triggers on Copilot approval, evaluates quality + blast radius, approves or flags - Update CI workflow: dispatch ci-fixer on check failure for aw PRs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- review-responder: cap at 10 threads, leave summary for overflow - ci.yml: skip dispatch when ci-fix-attempted label already present - quality-gate: use footer 'always' + include brief approval summary Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Agents need network access to astral.sh, pypi.org, conda.anaconda.org, and repo.anaconda.com to run uv sync and install dependencies for CI checks. Uses the 'python' ecosystem identifier. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3a116ae to
7b6993b
Compare
Prevents agents from posting to a tracking issue every time they run but decide no action is needed. Reduces noise. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Closes #53
What
Autonomous pipeline for agent-created PRs. Once merged + repo settings configured, agent PRs will be fully self-service:
Changes
Modified
auto-merge: true, addawlabel, Python network accessaw-labeled PRsNew agents
ci-fix-attempted) prevents infinite loopspull_request_review, addresses comments, resolves threadsPost-merge setup needed