Skip to content

A Ready issue goes ahead of an Architect run #327

Closed

Description

@JacobStephens2

Parent

#311

What to build

A Ready issue goes ahead of an Architect run. While the repository has a Ready issue, by the same search the Pickup run uses, an Architect run is skipped before any review, so that work a human shaped goes ahead of Weeding. The Architect run makes no Sweep and holds no Claim limit. This check comes last: after the lock, open Architect plans and Architect ideas waiting for triage. The skip prints the Ready issue's URL on stdout and names it on stderr (e.g. that it goes first). It sends no Run notification, as no skip does.

An issue labelled ready-for-agent that is not a Ready issue (claimed, unsettled, blocked, a Ticket inside a Spec, a Base fix's issue) does not skip the Architect run.

Acceptance criteria

  • A repository with a Ready issue skips the Architect run before any review: exit 0, the issue's URL on stdout, the reason on stderr.
  • A ready-for-agent issue that carries a Claim, was shaped less than the settle time ago, or has an open blocker does not skip it.
  • With both a waiting Architect idea and a Ready issue, the skip reports the idea. With an open Architect plan and a Ready issue, it reports the plan.
  • The Pickup run's behaviour is unchanged, and its suite passes.
  • The README says an Architect run waits for a Ready issue, and warns that ready-for-agent issues with no Pickup line to take them keep Architect runs from starting.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions