You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A Ticket run that fails with nothing on origin can be retaken on every Pickup pass #1906
This was generated by AI during a grill-with-docs session.
Problem
A Ticket run that fails with nothing on origin (no Issue branch, no pull request) releases its Claim, putting ready-for-agent back, and gets no agent-failed. The Failure limit counts only agent-failed issues, so nothing stops a Pickup run taking the same issue again on its next pass. A Harness that fails before its first commit, such as one out of credit or at capacity, would fail the same issue on every pass, burning a session and sending a Run notification each time.
Should a release count toward the Failure limit, or have a brake of its own, such as a back-off per issue or a count of consecutive releases per repository?
Should the issue show on GitHub that it was released after a failure?
Confirmed against selected Base branch main at dbdd894. A failed Ticket run with no Issue branch or pull request on origin restores ready-for-agent, receives no agent-failed label, and posts no Recovery comment. Later Pickup passes can take it again without a retry budget.
Evidence:
src/run.rs:364 maps ordinary failures to Ending::Failed. src/claim.rs:411 and :646 release an unstarted issue and restore its prior readiness instead of labelling it agent-failed.
src/pickup.rs:394 counts only open agent-failed issues toward the Failure limit, so released failures do not accumulate toward that brake.
Important qualification: src/github.rs:548 records the restored ready-for-agent label as a shaping event; src/ready.rs:544 enforces the settling window. src/config.rs:186 defaults that window to five minutes. Therefore retries are unbounded after settling, rather than necessarily occurring on every closely spaced pass. Setting pickup.wait_minutes to zero permits immediate eligibility.
ADR 0017 explicitly allows a fresh later pass to select Ready again; origin reservations prevent overlapping dispatch, not repeated later attempts.
Four focused integration tests passed, covering no-work failure release, no-work interruption release and absence of comments, Failure-limit accounting, and configurable settling behavior.
Recommendation: keep #1906 for a Day shift policy decision. Prefer a separate release brake that preserves the Failure limit's existing meaning. Counting releases toward that limit would revise the policy recorded in ADR 0026 and #1532; adding release comments would revise #1901's no-comment decision. Retry scope, budget, reset behavior and visibility are not settled enough for an Agent Brief.
Related open issues are distinct: #584 covers service recovery within one Command and explicitly excludes retries on later scheduled passes; #1546 concerns Harness/Model fallback. No duplicate was identified.
After policy selection, validate repeated empty failures across passes, settling enabled and disabled, budget exhaustion and reset, behavior across hosts, and absence of session/notification churn during deferred passes. Preserve existing handling of waiting Specs, Stops, Security fixes and failures with published work unless explicitly changed.
Repository investigation confirms unlimited later retries after a no-work failure. The existing five-minute settling window delays retries but does not bound them. The following decisions are needed before implementation:
What exact delay progression, maximum attempts or elapsed-time budget, and exhaustion behavior should apply? Specify whether exhaustion waits for the Day shift or eventually permits another automatic attempt. This defines observable acceptance criteria.
Should the brake be shared across hosts and survive restarts? What resets it—successful work, elapsed time, or an explicit Day shift action—and should a manually started Issue URL command bypass it? This defines persistence, recovery and operator control.
Should GitHub show a released failure, and when: first release, budget exhaustion, or through one updated comment? Recommend avoiding a new comment on every retry. Decide also whether deferred passes remain silent. This settles the change to Spec: in-progress marks only a live Run #1901's deliberate no-comment behavior and the notification contract.
Activity
JacobStephens2 commentedon Nov 11, 2026
Investigation summary
Confirmed against selected Base branch main at dbdd894. A failed Ticket run with no Issue branch or pull request on origin restores ready-for-agent, receives no agent-failed label, and posts no Recovery comment. Later Pickup passes can take it again without a retry budget.
Evidence:
in-progressmarks only a live Run #1901 deliberately excluded it. Spec Spec:in-progressmarks only a live Run #1901 also deliberately required no comment on released failures.Four focused integration tests passed, covering no-work failure release, no-work interruption release and absence of comments, Failure-limit accounting, and configurable settling behavior.
Recommendation: keep #1906 for a Day shift policy decision. Prefer a separate release brake that preserves the Failure limit's existing meaning. Counting releases toward that limit would revise the policy recorded in ADR 0026 and #1532; adding release comments would revise #1901's no-comment decision. Retry scope, budget, reset behavior and visibility are not settled enough for an Agent Brief.
Related open issues are distinct: #584 covers service recovery within one Command and explicitly excludes retries on later scheduled passes; #1546 concerns Harness/Model fallback. No duplicate was identified.
After policy selection, validate repeated empty failures across passes, settling enabled and disabled, budget exhaustion and reset, behavior across hosts, and absence of session/notification churn during deferred passes. Preserve existing handling of waiting Specs, Stops, Security fixes and failures with published work unless explicitly changed.
Questionnaire
For the Day shift deciding #1906:
Repository investigation confirms unlimited later retries after a no-work failure. The existing five-minute settling window delays retries but does not bound them. The following decisions are needed before implementation:
in-progressmarks only a live Run #1901's deliberate no-comment behavior and the notification contract.