Skip to content

Claim endings: in-progress off at ready for review, swapped for agent-failed on failure #1902

Closed

Description

@JacobStephens2

This was generated by AI during a grill-with-docs session.

Parent

#1901

What to build

Make in-progress mean a live Run. When a Ticket run, Spec run or Custom process ends with its pull request ready for review, or with a Self-merge held and its pull request left ready, it takes in-progress off and puts nothing back, as a Custom process's Delivery already does. When one fails with work on origin, or a Security fix fails, it swaps in-progress for agent-failed in a single label edit. Pickup's take-over check no longer reads "neither in-progress nor needs-triage" as the Day shift taking over. agent-failed comes off only when ready-for-agent is back, when the Day shift removed it, when the issue is closed, or when a new Claim is made. The Sweep also takes in-progress off every open issue that carries agent-failed. These must land together, because the swap without the new check would let the next Pickup run clear every failure.

Update the guide and the hand-written site pages that describe Claims, agent-failed and the Failure limit. The glossary and ADR 0029 are already updated on branch 1165-triage, so merge or carry them.

Acceptance criteria

  • A Ticket run and a Spec run that end ready for review leave no in-progress on their issue, and Pickup doesn't take that issue again.
  • A Self-merge held with its pull request ready leaves no in-progress.
  • A Self-merge that merged without closing the issue still leaves in-progress until the issue is closed.
  • A Failed ticket run, a Failed spec run and a failed Custom process with work on origin end with agent-failed and without in-progress. A failed Security fix does too, even with nothing on origin.
  • An interrupted Run that wasn't stopped ends the same way as a Failed run. A Stop still leaves needs-triage, and a bug that can't be reproduced still leaves needs-info.
  • Pickup leaves agent-failed on an open issue that carries neither in-progress nor needs-triage, and it still counts toward the Failure limit.
  • Putting ready-for-agent back, removing agent-failed, and closing the issue each end the failure, as today.
  • The Sweep takes in-progress off an open issue that also carries agent-failed, keeping its other labels. A failed edit is only a warning.
  • A failed label edit at the end of a Run is a warning naming the edit to make by hand. Ending still finishes after Command interruption.
  • Tests go through the fake gh integration tests, with the existing in-memory Claim and Pickup seams for edge cases.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 9, 2026
  2. JacobStephens2 commented on Nov 10, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1929, merged into issue-1901 by a thirdshift Ticket run with Self-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions