| name | pr-review-loop |
| description | Launch a multi-lens PR review workflow for blocking issues. |
PR Review Loop
Generate a workflow script that runs N review lenses concurrently over a package diff,
adversarially verifies every finding, and loops until dry — then launches it.
Intent Classification
Classify from args and stop at the first matching row. Do NOT launch a workflow before the user confirms.
| Signal | Route |
|---|
| No args, empty args, or unrecognized args | STOP — show pre-launch DX menu (see below); do not launch |
| Lens names or lens customisation request (e.g. "new reviewers", "use X instead of Y") | STOP — show pre-launch DX menu with proposed lenses listed; wait for user confirmation before launching |
mode: fast or "fast" in args | Skip menu — launch with defaults immediately |
| Package name or path supplied | Launch with pkg override |
baseRef / branch name supplied | Launch with baseRef override |
resume / run ID supplied | Resume paused run via resumeFromRunId |
Findings at 0 blocking, 0 major | Hand off to /bitbucket |
Pre-launch DX menu
REQUIRED when no args are supplied. Show this block verbatim — state defaults, then present numbered choices and wait for user input. Do not proceed until the user replies.
Ready to launch PR review.