feat: add --swarm flag to /review-pr and /fix-ci#12
Merged
Conversation
Add parallel team-based fixing capability to CI fix loop: - Add --swarm flag to "When to Use" section - Add Argument Parsing section for flag extraction - Modify Step 2.5 with conditional swarm logic: * Use team only if 2+ files with errors AND --swarm set * Partition errors by file (max 4 teammates) * Teammates restricted to file editing only * Lead collects changes in single commit * Team created/torn down within iteration - Update Step 2.6 to note swarm handles commit/push - Add swarm constraints to Safety Mechanisms Phase 3 of agent-teams-expansion plan
Phase 2 of agent-teams-expansion: Add parallel team-based PR review - Add Argument Parsing section to extract --swarm flag - Add Mode Selection section to route between workflows - Add comprehensive Swarm Workflow with 4 specialized reviewers - Security Reviewer: OWASP, injection, auth/authz, secrets - Performance Reviewer: algorithmic complexity, N+1, caching - Test Coverage Reviewer: adequacy, edge cases, quality - Architecture Reviewer: SOLID, design patterns, API design - Each reviewer includes cross-concern finding protocol - Add Completion Protocol with 10-min timeout - Add Consolidation section with attribution markers - Add Resource Cleanup with TeamDelete - Rename existing workflow to "Standard Workflow" - Preserve all existing Standard Workflow content unchanged
Version bump for --swarm flag additions to /review-pr and /fix-ci.
Replace bare "CRITICAL CONSTRAINTS" blocks with reasoning-based constraints across all 4 reviewer teammate templates and ci-fix-loop teammate template. Replace exhaustive review checklists with judgment criteria for severity. Replace rigid FINDINGS FORMAT with judgment-guided FINDINGS GUIDANCE.
Keep 1.5.0 version, incorporate 1.4.1 changelog entry from main.
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
--swarmflag to/review-prfor parallel specialized PR review[Security],[Performance], etc.)--swarmflag to/fix-ci(ci-fix-loop) for parallel error fixingPart of cross-repo
--swarmexpansion: agent-teams-expansion planRelated PRs: primitives-plugin, workflows-plugin, sdlc-plugin (same feature across repos)
Test plan
/review-pr <number> --swarmwithCLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1/fix-ci --swarmwith multi-file CI failuresbun run validatepasses