[Bug] UltraReview consumed quota on failed runs without completing review
## Summary
/ultrareview (no-argument / current-branch form) reproducibly fails. The
pipeline reaches Setup ✓ → Find ✓ → Verify ✗ ("Review failed"), and the
Dedupe stage never starts. It failed 2/2 consecutive runs — and each failed
run still consumed one of the 3 free /ultrareview runs.
## Environment
- Claude Code 2.1.146
- macOS 26.5
- Standard git repo; review target
review/all-unmerged-0521 → main,
~52 files / ~4,500 insertions
## Repro
- On a multi-commit branch, run
/ultrareviewwith no arguments. - Confirm the launch dialog; the review runs in the cloud.
- Watch the pipeline view.
## Expected
The review completes Setup → Find → Verify → Dedupe and returns findings.
A run that fails before completing should not consume a free-run credit.
## Actual
- Setup ✓
- Find ✓ (run 1 surfaced 2 candidates; run 2 surfaced 1)
- Verify ✗ — red error icon, header changes to "Review failed"
- Dedupe — never starts
- The heartbeat log pane is empty apart from a single
[heartbeat] HH:MM:SS
line — no error detail, no explanation of why Verify failed.
Both failed runs were still counted against the quota
("Free ultrareview 1 of 3", then "2 of 3").
## Secondary bug — a failed review is indistinguishable from a clean one
When a run fails at Verify, the completion notification still reports
status: completed with an empty findings array []. Anything
consuming the result — or a user reading "0 findings" — cannot tell a
failed review from a genuinely clean one. A failed run should surface a
distinct error status rather than completed + [].
## Failed sessions
- Run 1 —
session_01ShwA5SdXgiaYr3gqs5qr2L - Run 2 —
session_018meDNWV8cSGTmVi4A82ZWU
## Impact
/ultrareviewis currently unusable on this repo (2/2 runs failed).- 2 of 3 free runs consumed for zero completed reviews.
- The
completed+[]-on-failure behavior risks a false "clean review"
signal to both users and tooling.
<img width="1406" height="485" alt="Image" src="https://github.com/user-attachments/assets/2b210e18-c1ad-4b06-81b6-e78b236bfe18" />
<img width="1390" height="488" alt="Image" src="https://github.com/user-attachments/assets/b61be278-0885-4e88-9f3c-0a5dabf89b44" />
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗