The /ultrareview command now validates that the current directory is a GitHub repository and provides helpful error messages:
- "Could not detect a GitHub repository for the current directory. Run
/ultrareview <PR#> from inside the repo's checkout." - "PR mode only supports github.com repositories — this remote is on ..."
- Suggests running
/ultrareview without a number to review the current branch when the PR number doesn't match
Evidence
GitHub validation (search for "Could not detect a GitHub repository") — cw6 at line ~530000 area
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.116 →