Orphan and stuck-PR CI-failure paths in dev-poll.sh called handle_ci_exhaustion without check_only, incrementing the fix counter on every poll cycle even when guards (session checks, is_blocked) prevented an actual agent launch. This could exhaust the 3-attempt budget without any real fix attempts. Now both paths use the same two-phase pattern as the backlog scan: 1. check_only during the scan (no counter increment) 2. Increment atomically at actual launch time Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dev-agent.sh | ||
| dev-poll.sh | ||
| phase-handler.sh | ||
| phase-test.sh | ||