feat: add /fix workflow — iterative review → fix → re-review loop (v2)#661
Merged
feat: add /fix workflow — iterative review → fix → re-review loop (v2)#661
Conversation
Adds /fix slash command for iterative review/fix cycles on PRs: - 3-model adversarial review (Opus + Sonnet + Codex) - Auto-fix all findings (CRITICAL, MODERATE, MINOR) - Re-review after fixes, up to 3 rounds - Push all commits via push-to-pull-request-branch safe output - Cross-platform verification via verify-build.yml Also adds: - review-retro.agent.md: Post-merge review retrospective - verify-build.yml: Cross-platform build + test workflow - noop safe-output for clean PRs All 9 review findings from PR #640 addressed: - workflow_dispatch checkout, concurrency groups, target: *, --no-restore removed, explicit round counter, scoped re-review diff, inline validation aligned, cancel-in-progress documented Supersedes #640. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1f1544e to
6e2fa1d
Compare
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.
Summary
Rebased clean version of #640. Adds a new gh-aw workflow that implements an iterative review → fix → re-review loop, triggered via the
/fixslash command on any PR.How It Works
All 9 Review Findings from #640 Addressed
steps:block for manual dispatchreview-<PR>groups toreview.agent.mdandreview-on-open.agent.mdadd-commentmissingtarget: "*"dotnet test --no-restorefails in fresh workspace--no-restore, added security note about sandboxed buildsfix_round_countvariable with clear increment/checkgit diff <baseline_sha>..HEAD(only fix commits)Additional Improvements over #640
get_pull_request,list_pull_request_files) instead ofghCLI (credentials are scrubbed in agent container)noopsafe-output for clean PRs (Step 4d)Files
.github/workflows/fix.agent.md/fix).github/workflows/shared/fix-shared.md.github/workflows/verify-build.yml.github/workflows/review-retro.agent.mdSupersedes #640.