Skip to content

Share the Ready issue search between the Pickup run and the Architect run #324

Closed

Description

@JacobStephens2

Parent

#311

What to build

A prefactor that changes no behaviour. The Pickup run's search for the lowest-numbered Ready issue in a repository (Unready labels, Claim, Ticket inside a Spec, Base fix issue, open blockers, started, Spec whose Tickets are all closed, settle time) becomes one function that any run can call, so that an Architect run can later ask "does this repository have a Ready issue?" against the very same definition. The Sweep and the Claim limit stay in the Pickup run: they belong to it, not to the search.

Acceptance criteria

  • The Ready issue search can be called from outside the Pickup run and returns the lowest-numbered Ready issue, if any, with whether it is a Spec.
  • The Pickup run uses that function. Its progress lines, its "why each issue was passed over" lines and its gh calls are unchanged, in the same order.
  • The existing Pickup run suite passes unchanged. cargo test, cargo clippy --all-targets -- -D warnings and cargo fmt --check pass.

Blocked by

None (can start immediately)

Activity

  1. JacobStephens2 commented on Oct 3, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #329, merged into issue-311 by a thirdshift Merge run.

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

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions