Skip to content

fix: --swarm flag silently ignored in /review-pr and /fix-ci#15

Merged
iamladi merged 1 commit intomainfrom
fix/swarm-routing
Feb 10, 2026
Merged

fix: --swarm flag silently ignored in /review-pr and /fix-ci#15
iamladi merged 1 commit intomainfrom
fix/swarm-routing

Conversation

@iamladi
Copy link
Owner

@iamladi iamladi commented Feb 10, 2026

Summary

  • /review-pr: Replaced advisory "Argument Parsing" + "Mode Selection" with imperative "CRITICAL: Route Selection" gate
  • /fix-ci (ci-fix-loop skill): Strengthened "CRITICAL: Parse Flags First" with explicit SWARM_MODE=true variable and back-reference in Step 2.5 condition check

Root Cause

The LLM read the command prompt top-to-bottom and started executing the first actionable section (Standard Workflow) before processing the routing gate. The weak advisory language ("If user requested swarm mode, execute Swarm Workflow below") wasn't treated as a hard stop.

Test plan

  • /review-pr --swarm 123 triggers agent team creation and spawns 4 reviewer teammates
  • /review-pr 123 runs standard sequential review
  • /fix-ci --swarm with 2+ file errors triggers team-based parallel fixing
  • /fix-ci --loop runs standard serial fix loop

The LLM was skipping advisory "Mode Selection" and executing Standard
Workflow regardless of --swarm flag. Replaced with imperative "CRITICAL:
Route Selection" gate in review-pr and strengthened "Parse Flags First"
with explicit SWARM_MODE variable and back-reference in ci-fix-loop.
@iamladi iamladi merged commit b60eb25 into main Feb 10, 2026
1 check passed
@iamladi iamladi deleted the fix/swarm-routing branch February 10, 2026 12:35
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.

1 participant